mirror of
https://github.com/e107inc/e107.git
synced 2025-08-25 15:31:41 +02:00
Banner GUI fixes.
This commit is contained in:
@@ -1166,7 +1166,7 @@ class e_form
|
||||
* @param array $option_array
|
||||
* @param boolean $selected [optional]
|
||||
* @param string|array $options [optional]
|
||||
* @param boolean $defaultBlank [optional] set to TRUE if the first entry should be blank
|
||||
* @param boolean|string $defaultBlank [optional] set to TRUE if the first entry should be blank, or to a string to use it for the blank description.
|
||||
* @return string HTML text for display
|
||||
*/
|
||||
function selectbox($name, $option_array, $selected = false, $options = array(), $defaultBlank= false)
|
||||
@@ -1192,7 +1192,8 @@ class e_form
|
||||
}
|
||||
elseif($defaultBlank)
|
||||
{
|
||||
$text .= $this->option(' ', '');
|
||||
$diz = is_string($defaultBlank) ? $defaultBlank : ' ';
|
||||
$text .= $this->option($diz, '');
|
||||
}
|
||||
|
||||
if(varset($options['useValues'])) // use values as keys.
|
||||
|
Reference in New Issue
Block a user