</label> <select name="defaulttemplate" id="defaulttemplate"> <?php foreach ($templatenames as $templatename) { echo "<option value='{$templatename}'"; if ($thisdefaulttemplate == $templatename) { echo " selected='selected' "; } echo ">{$templatename}</option>"; } ?> </select> </li> <?php $thisadmintheme = getGlobalSetting('admintheme'); $adminthemes = array_keys(getAdminThemeList()); ?> <li><label for="admintheme"><?php $clang->eT("Administration template:"); ?> </label> <select name="admintheme" id="admintheme"> <?php foreach ($adminthemes as $templatename) { echo "<option value='{$templatename}'"; if ($thisadmintheme == $templatename) { echo " selected='selected' "; } echo ">{$templatename}</option>"; } ?>
foreach ($templatenames as $templatename) { echo "<option value='{$templatename}'"; if ($thisdefaulttemplate == $templatename) { echo " selected='selected' "; } echo ">{$templatename}</option>"; } ?> </select> </div> </div> <?php $thisadmintheme = getGlobalSetting('admintheme'); $adminthemes = getAdminThemeList(); ?> <div class="form-group"> <label class="col-sm-4 control-label" for="admintheme"> <?php eT("Administration template:"); ?> </label> <div class="col-sm-6"> <select class="form-control" name="admintheme" id="admintheme"> <?php foreach ($adminthemes as $templatename => $templateconfig) { echo "<option value='{$templatename}'"; if ($thisadmintheme == $templatename) { echo " selected='selected' "; }