add new 'suboption' ctype for plugins configs and fix misspelled separator ctype
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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}
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user