mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 21:57:51 +02:00
warnings removal
This commit is contained in:
@@ -97,9 +97,10 @@ class bbcode_shortcodes
|
|||||||
|
|
||||||
if (!empty($eplug_bb))
|
if (!empty($eplug_bb))
|
||||||
{
|
{
|
||||||
foreach($eplug_bb as $key=>$val) // allow plugins to plug into it.
|
foreach($eplug_bb as $val) // allow plugins to plug into it.
|
||||||
{
|
{
|
||||||
extract($val);
|
if(!$val) continue;
|
||||||
|
extract($val);
|
||||||
// echo "$onclick $onclick_var $helptext $icon <br />";
|
// echo "$onclick $onclick_var $helptext $icon <br />";
|
||||||
$bbcode[$name] = array($onclick,$onclick_var,$helptext,$icon,$function,$function_var);
|
$bbcode[$name] = array($onclick,$onclick_var,$helptext,$icon,$function,$function_var);
|
||||||
$iconpath[$name] = $icon;
|
$iconpath[$name] = $icon;
|
||||||
|
@@ -1533,10 +1533,10 @@ class e_form
|
|||||||
* @param string $key
|
* @param string $key
|
||||||
* @param mixed $value
|
* @param mixed $value
|
||||||
* @param array $attributes field attributes including render parameters, element options - see e_admin_ui::$fields for required format
|
* @param array $attributes field attributes including render parameters, element options - see e_admin_ui::$fields for required format
|
||||||
* #param array $required_data required array as defined in e_model/validator
|
* #param array (under construction) $required_data required array as defined in e_model/validator
|
||||||
* @return string
|
* @return string
|
||||||
*/
|
*/
|
||||||
function renderElement($key, $value, $attributes, $required_data)
|
function renderElement($key, $value, $attributes, $required_data = array())
|
||||||
{
|
{
|
||||||
$parms = vartrue($attributes['writeParms'], array());
|
$parms = vartrue($attributes['writeParms'], array());
|
||||||
$tp = e107::getParser();
|
$tp = e107::getParser();
|
||||||
|
Reference in New Issue
Block a user