1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

Update routine to correct avatar paths.

This commit is contained in:
CaMer0n
2012-06-17 10:51:13 +00:00
parent e68c582e5b
commit df2d4f4c5b
2 changed files with 27 additions and 0 deletions

View File

@@ -896,6 +896,8 @@ class e_shortcode
* @var e_vars
*/
protected $var = null; // value returned by each shortcode.
protected $mode = 'view'; // or edit. Used within shortcodes for form elements vs values only.
/**
* Storage for shortcode values
@@ -919,6 +921,12 @@ class e_shortcode
$this->var = $eVars;
return $this;
}
public function setMode($mode)
{
$this->mode = ($mode == 'edit') ? 'edit' : 'view';
return $this;
}
/**
* Get external simple parser object