diff options
author | nikrou <nikrou@piwigo.org> | 2010-04-20 21:41:07 +0000 |
---|---|---|
committer | nikrou <nikrou@piwigo.org> | 2010-04-20 21:41:07 +0000 |
commit | 9559829f59a64c545dc1589427f467cf45419d02 (patch) | |
tree | 3dd0420c054c429f0fa2c94d43973af1efa30b5d /admin/themes/default/template/photos_add_direct.tpl | |
parent | c277a646c3ebe3f1706909172a03c2fb5814cdf8 (diff) |
Fix some errors in generated html
git-svn-id: http://piwigo.org/svn/trunk@5931 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes/default/template/photos_add_direct.tpl')
-rw-r--r-- | admin/themes/default/template/photos_add_direct.tpl | 26 |
1 files changed, 12 insertions, 14 deletions
diff --git a/admin/themes/default/template/photos_add_direct.tpl b/admin/themes/default/template/photos_add_direct.tpl index 652bada78..f5a8c7f53 100644 --- a/admin/themes/default/template/photos_add_direct.tpl +++ b/admin/themes/default/template/photos_add_direct.tpl @@ -5,8 +5,9 @@ <script type="text/javascript" src="{$uploadify_path}/swfobject.js"></script> <script type="text/javascript" src="{$uploadify_path}/jquery.uploadify.v2.1.0.min.js"></script> {/if} - +{html_head} <link rel="stylesheet" type="text/css" href="{$ROOT_URL}admin/themes/default/uploadify.jGrowl.css"> +{/html_head} {literal} <script type="text/javascript"> @@ -62,7 +63,7 @@ jQuery(document).ready(function(){ {if $upload_mode eq 'html'} {literal} function addUploadBox() { - var uploadBox = '<p class="file"><input type="file" size="60" name="image_upload[]" /></p>'; + var uploadBox = '<p class="file"><input type="file" size="60" name="image_upload[]"></p>'; $(uploadBox).appendTo("#uploadBoxes"); } @@ -233,13 +234,12 @@ var buttonText = 'Browse'; </div> <form id="uploadForm" enctype="multipart/form-data" method="post" action="{$F_ACTION}" class="properties"> -{if $upload_mode eq 'multiple'} -<input name="upload_id" value="{$upload_id}" type="hidden"> -{/if} - <fieldset> <legend>{'Drop into category'|@translate}</legend> - + {if $upload_mode eq 'multiple'} + <input name="upload_id" value="{$upload_id}" type="hidden"> + {/if} + <label><input type="radio" name="category_type" value="existing"> {'existing category'|@translate}</label> <label><input type="radio" name="category_type" value="new" checked="checked"> {'create a new category'|@translate}</label> @@ -294,13 +294,11 @@ var buttonText = 'Browse'; </fieldset> <p> - <input class="submit" type="submit" name="submit_upload" value="{'Upload'|@translate}" {$TAG_INPUT_ENABLED}/> + <input class="submit" type="submit" name="submit_upload" value="{'Upload'|@translate}" {$TAG_INPUT_ENABLED}> </p> {elseif $upload_mode eq 'multiple'} - </table> - <p> - <input type="file" name="uploadify" id="uploadify" /> + <input type="file" name="uploadify" id="uploadify"> </p> <p><a href="{$switch_url}">{'... or switch to the old style form'|@translate}</a></p> @@ -309,12 +307,12 @@ var buttonText = 'Browse'; </fieldset> <p> - <input class="submit" type="button" value="{'Upload'|@translate}"/> - <input type="submit" name="submit_upload" style="display:none"/> + <input class="submit" type="button" value="{'Upload'|@translate}"> + <input type="submit" name="submit_upload" style="display:none"> </p> {/if} </form> {/if} {* empty($thumbnails) *} {/if} {* $setup_errors *} -</div> <!-- photosAddContent -->
\ No newline at end of file +</div> <!-- photosAddContent --> |