added tests for getFormatterDefault(), fixing bug in compact design

This commit is contained in:
El RIDO
2017-05-26 20:55:45 +02:00
parent a30b31b315
commit fcfb02c2b7
2 changed files with 45 additions and 0 deletions

View File

@@ -230,6 +230,17 @@ if ($isCpct):
?>
</ul>
<select id="pasteFormatter" name="pasteFormatter" class="hidden">
<?php
foreach ($FORMATTER as $key => $value):
?>
<option value="<?php echo $key; ?>"<?php
if ($key == $FORMATTERDEFAULT):
?> selected="selected"<?php
endif;
?>><?php echo $value; ?></option>
<?php
endforeach;
?>
</select>
</li>
<?php