From 02e0fa7b8ea9f5775e82ee341e15cb957c2c05ad Mon Sep 17 00:00:00 2001 From: Matthias Mees Date: Sat, 31 Jan 2015 12:57:24 +0100 Subject: [PATCH] Change serendipity_customfields from id to class This is to avoid duplicate ids in the backend. --- .../serendipity_event_entryproperties.php | 4 ++-- templates/2k11/admin/style.css | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php b/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php index b2f3548b..b16edb18 100644 --- a/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php +++ b/plugins/serendipity_event_entryproperties/serendipity_event_entryproperties.php @@ -234,7 +234,7 @@ class serendipity_event_entryproperties extends serendipity_event serendipity_plugin_api::hook_event('backend_entryproperties', $supported_properties); foreach($supported_properties AS $prop_key) { - // Do not delete a property if it is not subbmitted to this function, because serendipity_updertEntry + // Do not delete a property if it is not subbmitted to this function, because serendipity_updertEntry // possibly only wants to update entry metadata and left out any specific properties, which need to be kept. // An empty string like "" will properly remove an entryproperty, and POST values will always set an array index to an empty string. // $serendipipty['POST']['propertyform'] will be set whenever the entryeditor was properly displayed and unticked checkboxes shall remain. @@ -460,7 +460,7 @@ class serendipity_event_entryproperties extends serendipity_event : instance); ?> -
+
ul, #serendipity_category .inputs, -#serendipity_customfields textarea, +.serendipity_customfields textarea, #adv_opts { margin-top: .75em; margin-bottom: .75em; @@ -1153,7 +1153,7 @@ summary { overflow: hidden; } -#serendipity_customfields label { +.serendipity_customfields label { margin-right: 1em; } @@ -1171,7 +1171,7 @@ summary { #entries_list .form_check, .pagination .prev, .pagination .next, -#serendipity_customfields textarea, +.serendipity_customfields textarea, #dashboard_header h2 { float: left; }