mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 23:42:11 +00:00
check if $conf['help'] and $conf['size'] is set before using it
This commit is contained in:
parent
53f646114a
commit
97bab1ead8
|
@ -738,7 +738,7 @@ if(!is_writeable($settings->_configFilePath)) {
|
|||
<?php
|
||||
foreach($extconf['config'] as $confkey=>$conf) {
|
||||
?>
|
||||
<tr title="<?php echo $extconf['title'];?>">
|
||||
<tr title="<?php echo isset($conf['help']) ? $conf['help'] : '';?>">
|
||||
<td><?php echo $conf['title'];?>:</td><td>
|
||||
<?php
|
||||
switch($conf['type']) {
|
||||
|
@ -749,7 +749,7 @@ if(!is_writeable($settings->_configFilePath)) {
|
|||
break;
|
||||
default:
|
||||
?>
|
||||
<input type="text" name="<?php echo "extensions[".$extname."][".$confkey."]"; ?>" title="<?php echo isset($conf['help']) ? $conf['help'] : ''; ?>" value="<?php if(isset($settings->_extensions[$extname][$confkey])) echo $settings->_extensions[$extname][$confkey]; ?>" size="<?php echo $conf['size']; ?>" />
|
||||
<input type="text" name="<?php echo "extensions[".$extname."][".$confkey."]"; ?>" title="<?php echo isset($conf['help']) ? $conf['help'] : ''; ?>" value="<?php if(isset($settings->_extensions[$extname][$confkey])) echo $settings->_extensions[$extname][$confkey]; ?>" <?php echo isset($conf['size']) ? 'size="'.$conf['size'].'"' : ""; ?>" />
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user