Simplified media upload submit; added icon button.
This commit is contained in:
parent
0dd6014135
commit
e1aac9cc13
@ -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>
|
||||
|
@ -827,6 +827,7 @@ function highlightComment(id, checkvalue) {
|
||||
}
|
||||
|
||||
$('#add_upload').click(function(e) {
|
||||
e.preventDefault();
|
||||
hideForeign();
|
||||
addUploadField();
|
||||
});
|
||||
|
Loading…
x
Reference in New Issue
Block a user