group entry status and buttons
This commit is contained in:
@@ -75,6 +75,25 @@
|
|||||||
<textarea id="serendipity[extended]" name="serendipity[extended]" rows="15">{$entry_vars.entry.extended|@escape}</textarea>
|
<textarea id="serendipity[extended]" name="serendipity[extended]" rows="15">{$entry_vars.entry.extended|@escape}</textarea>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
<div id="edit_entry_submit" class="clearfix">
|
||||||
|
<div>
|
||||||
|
<div id="edit_entry_status" class="form_select">
|
||||||
|
<label for="entry_status">Entry status</label> {* i18n *}
|
||||||
|
<select id="entry_status" name="serendipity[isdraft]">
|
||||||
|
{if $entry_vars.serendipityRightPublish}
|
||||||
|
<option value="false"{if $entry_vars.draft_mode == 'publish'} selected{/if}>{$CONST.PUBLISH}</option>
|
||||||
|
{/if}
|
||||||
|
<option value="true"{if $entry_vars.draft_mode == 'draft'} selected{/if}>{$CONST.DRAFT}</option>
|
||||||
|
</select>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="form_buttons">
|
||||||
|
<input class="entry_preview" type="submit" value="{$CONST.PREVIEW}">
|
||||||
|
<input type="submit" value="{$CONST.SAVE}">
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div id="edit_entry_status_comments" class="clearfix">
|
<div id="edit_entry_status_comments" class="clearfix">
|
||||||
<div class="form_check">
|
<div class="form_check">
|
||||||
<input id="checkbox_allow_comments" name="serendipity[allow_comments]" type="checkbox" value="true"{if $entry_vars.allow_comments} checked="checked"{/if}><label for="checkbox_allow_comments">{$CONST.COMMENTS_ENABLE}</label>
|
<input id="checkbox_allow_comments" name="serendipity[allow_comments]" type="checkbox" value="true"{if $entry_vars.allow_comments} checked="checked"{/if}><label for="checkbox_allow_comments">{$CONST.COMMENTS_ENABLE}</label>
|
||||||
@@ -85,22 +104,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div id="edit_entry_submit" class="clearfix">
|
|
||||||
<div id="edit_entry_status" class="form_select">
|
|
||||||
<label for="entry_status">Entry status</label> {* i18n *}
|
|
||||||
<select id="entry_status" name="serendipity[isdraft]">
|
|
||||||
{if $entry_vars.serendipityRightPublish}
|
|
||||||
<option value="false"{if $entry_vars.draft_mode == 'publish'} selected{/if}>{$CONST.PUBLISH}</option>
|
|
||||||
{/if}
|
|
||||||
<option value="true"{if $entry_vars.draft_mode == 'draft'} selected{/if}>{$CONST.DRAFT}</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="form_buttons">
|
|
||||||
<input class="entry_preview" type="submit" value="{$CONST.PREVIEW}">
|
|
||||||
<input type="submit" value="{$CONST.SAVE}">
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
{capture name='advanced_options'}{$entry_vars.entry|@serendipity_refhookPlugin:'backend_display'}{/capture}
|
{capture name='advanced_options'}{$entry_vars.entry|@serendipity_refhookPlugin:'backend_display'}{/capture}
|
||||||
{if ! empty($smarty.capture.advanced_options) }
|
{if ! empty($smarty.capture.advanced_options) }
|
||||||
|
|||||||
@@ -1121,7 +1121,6 @@ summary {
|
|||||||
width: 50%;
|
width: 50%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#edit_entry_status select,
|
|
||||||
#sort_entries .form_select select,
|
#sort_entries .form_select select,
|
||||||
#filter_entries .form_select select,
|
#filter_entries .form_select select,
|
||||||
#filter_entries .form_field input {
|
#filter_entries .form_field input {
|
||||||
@@ -1741,6 +1740,11 @@ form > .button_link:first-of-type,
|
|||||||
padding: .75em;
|
padding: .75em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#s9y_links ul li a {
|
||||||
|
font-size: .8em;
|
||||||
|
color: #98A4B1;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* LOGIN FORM
|
/* LOGIN FORM
|
||||||
----------------------------------------------------------------- */
|
----------------------------------------------------------------- */
|
||||||
@@ -2766,7 +2770,6 @@ img.mfp-img {
|
|||||||
}
|
}
|
||||||
|
|
||||||
#edit_entry_metadata > div,
|
#edit_entry_metadata > div,
|
||||||
#edit_entry_submit > div,
|
|
||||||
#karmafilters .form_field,
|
#karmafilters .form_field,
|
||||||
#karmafilters .form_select {
|
#karmafilters .form_select {
|
||||||
float: left;
|
float: left;
|
||||||
@@ -2873,8 +2876,16 @@ img.mfp-img {
|
|||||||
margin: 0 0 0 2%;
|
margin: 0 0 0 2%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#edit_entry_submit .form_buttons {
|
#edit_entry_submit {
|
||||||
text-align: right;
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#edit_entry_submit > div {
|
||||||
|
float: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
#entry_status {
|
||||||
|
width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
#preview {
|
#preview {
|
||||||
|
|||||||
Reference in New Issue
Block a user