mirror of
https://github.com/e107inc/e107.git
synced 2025-08-15 19:14:09 +02:00
Media-picker work. Add the following to e107_config.php to enable and test. define('e_DEBUG_MEDIAPICKER', true);
This commit is contained in:
@@ -4109,8 +4109,9 @@ class e_parser
|
||||
$idAtt = (!empty($parm['id'])) ? "id='".$parm['id']."' " : '';
|
||||
$style = (!empty($parm['style'])) ? "style='".$parm['style']."' " : '';
|
||||
$class = (!empty($parm['class'])) ? $parm['class']." " : '';
|
||||
$placeholder = isset($parm['placeholder']) ? $parm['placeholder'] : "<!-- -->";
|
||||
|
||||
$text = "<".$tag." {$idAtt}class='".$class.$prefix.$id.$size.$spin.$rotate.$fixedW."' {$style}><!-- --></".$tag.">" ;
|
||||
$text = "<".$tag." {$idAtt}class='".$class.$prefix.$id.$size.$spin.$rotate.$fixedW."' {$style}>".$placeholder."</".$tag.">" ;
|
||||
$text .= ($options !== false) ? $options : "";
|
||||
|
||||
return $text;
|
||||
|
Reference in New Issue
Block a user