mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-10-10 11:02:41 +00:00
fix #413
This commit is contained in:
parent
3f41c99f3a
commit
6f7b3b68e5
|
@ -8,6 +8,8 @@
|
||||||
- make buttons on admin page smaller
|
- make buttons on admin page smaller
|
||||||
- pass optional parameter to hook documentListItem() which turns off the
|
- pass optional parameter to hook documentListItem() which turns off the
|
||||||
surrounding tr tag
|
surrounding tr tag
|
||||||
|
- do not be strict anymore when checking if config value of extension is
|
||||||
|
in list of possible values (Closes #413)
|
||||||
|
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
Changes in version 5.1.8
|
Changes in version 5.1.8
|
||||||
|
|
|
@ -486,7 +486,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site'));
|
||||||
echo "<select class=\"chzn-select\" name=\"extensions[".$extname."][".$confkey."][]\"".(!empty($conf['multiple']) ? " multiple" : "").(!empty($conf['size']) ? " size=\"".$conf['size']."\"" : "").">";
|
echo "<select class=\"chzn-select\" name=\"extensions[".$extname."][".$confkey."][]\"".(!empty($conf['multiple']) ? " multiple" : "").(!empty($conf['size']) ? " size=\"".$conf['size']."\"" : "").">";
|
||||||
foreach($conf['options'] as $key=>$opt) {
|
foreach($conf['options'] as $key=>$opt) {
|
||||||
echo "<option value=\"".$key."\"";
|
echo "<option value=\"".$key."\"";
|
||||||
if(in_array($key, $selections, true))
|
if(in_array($key, $selections))
|
||||||
echo " selected";
|
echo " selected";
|
||||||
echo ">".htmlspecialchars($opt)."</option>";
|
echo ">".htmlspecialchars($opt)."</option>";
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user