make save button primary, translate options of select menu

This commit is contained in:
Uwe Steinmann 2020-08-12 07:25:35 +02:00
parent f2ae4e97bd
commit 969c9daba4

View File

@ -505,7 +505,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site'));
echo "<option value=\"".$key."\""; echo "<option value=\"".$key."\"";
if(in_array($key, $selections)) if(in_array($key, $selections))
echo " selected"; echo " selected";
echo ">".htmlspecialchars($opt)."</option>"; echo ">".htmlspecialchars(getMLText($extname.'_'.$opt, array(), $opt))."</option>";
} }
echo "</select>"; echo "</select>";
} elseif(!empty($conf['internal'])) { } elseif(!empty($conf['internal'])) {
@ -597,7 +597,7 @@ $this->showStartPaneContent('site', (!$currenttab || $currenttab == 'site'));
<?php <?php
if(is_writeable($settings->_configFilePath)) { if(is_writeable($settings->_configFilePath)) {
?> ?>
<button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText("save")?></button> <button type="submit" class="btn btn-primary"><i class="icon-save"></i> <?php printMLText("save")?></button>
<?php <?php
} }
?> ?>