Simplified media upload submit; added icon button.

This commit is contained in:
Matthias Mees 2013-06-19 10:26:12 +02:00
parent 0dd6014135
commit e1aac9cc13
2 changed files with 3 additions and 5 deletions

View File

@ -62,13 +62,10 @@
{serendipity_hookPlugin hook="backend_image_addform" hookAll=true}
<div class="form_buttons">
<input id="add_upload" type="button" value="{$CONST.IMAGE_MORE_INPUT}">
<input id="all_authors" name="serendipity[all_authors]" type="hidden" value="true" checked="checked">
</div>
<div class="form_buttons">
<a id="add_upload" class="button_link" href="#" title="{$CONST.IMAGE_MORE_INPUT}"><span class="icon-plus"></span><span class="visuallyhidden"> {$CONST.IMAGE_MORE_INPUT}</span></a>
<input class="check_inputs" type="submit" value="{$CONST.GO}">
<span class="hilite_b"> {$CONST.WORD_OR} </span>
<input class="check_inputs" name="go_properties" type="submit" value="{$CONST.GO_ADD_PROPERTIES|@escape}">
</div>
</div>

View File

@ -827,6 +827,7 @@ function highlightComment(id, checkvalue) {
}
$('#add_upload').click(function(e) {
e.preventDefault();
hideForeign();
addUploadField();
});