Change serendipity_customfields from id to class
This is to avoid duplicate ids in the backend.
This commit is contained in:
		| @@ -460,7 +460,7 @@ class serendipity_event_entryproperties extends serendipity_event | ||||
|  | ||||
|                 <span class="wrap_legend"><legend><?php echo PLUGIN_EVENT_ENTRYPROPERTIES_CUSTOMFIELDS; ?>: <span><?php echo PLUGIN_EVENT_ENTRYPROPERTIES_CUSTOMFIELDS_DESC1 . sprintf(PLUGIN_EVENT_ENTRYPROPERTIES_CUSTOMFIELDS_DESC3, 'serendipity_admin.php?serendipity[adminModule]=plugins&serendipity[plugin_to_conf]=' . $this->instance); ?></span></legend></span> | ||||
|  | ||||
|                 <div id="serendipity_customfields" class="clearfix"> | ||||
|                 <div class="serendipity_customfields clearfix"> | ||||
| <?php | ||||
|                 foreach($fields AS $fieldname) { | ||||
|                     $fieldparts = explode(':', $fieldname); | ||||
|   | ||||
| @@ -936,7 +936,7 @@ input[type=checkbox], | ||||
| .filter_pane, | ||||
| #s9y_links > 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; | ||||
| } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user