Archived
1
0

add new 'suboption' ctype for plugins configs and fix misspelled separator ctype

This commit is contained in:
Ian
2015-12-20 17:34:59 +01:00
parent 0f12a87e31
commit 7120d50bf6
3 changed files with 11 additions and 9 deletions
+7 -5
View File
@@ -287,10 +287,10 @@ function serendipity_plugin_config(&$plugin, &$bag, &$name, &$desc, &$config_nam
$hvalue = serendipity_specialchars($value);
}
$radio = array();
$select = array();
$per_row = null;
$text_rows = null;
$radio = array();
$select = array();
$per_row = null;
$text_rows = null;
$input_type = null;
$data['is_multi_select'] = $is_multi_select = false;
@@ -310,7 +310,9 @@ function serendipity_plugin_config(&$plugin, &$bag, &$name, &$desc, &$config_nam
switch ($ctype) {
case 'seperator':
case 'seperator':// compat, due being misspelled
case 'separator':
case 'suboption':
$assign_plugin_config($data);
break;
+2 -2
View File
@@ -23,7 +23,7 @@
<button type="submit">{$CONST.UPDATE_FAILACTION}</button>
</form>
</section>
<hr class="seperator">
<hr class="separator">
{else if $update}
<section id="dashboard_update">
<h3>{$CONST.UPDATE_NOTIFICATION}</h3>
@@ -31,7 +31,7 @@
<span class="msg_notice"><span class="icon-info-circled"></span> {$CONST.NEW_VERSION_AVAILABLE} {$curVersion}</span>
{$updateButton}
</section>
<hr class="seperator">
<hr class="separator">
{/if}
{/if}
+2 -2
View File
@@ -1812,10 +1812,10 @@ form > .button_link:first-of-type,
}
.compact_categories .cat_view_pad,
.seperator {
.separator, .seperator {
display: none !important;
visibility: hidden;
}
}/* compat - due to misspelled word 'seper...' */
.mfp-content #edit_entry_category .form_check label {
-webkit-box-sizing: border-box;