From 8dc1b995863426067ff10afacea459062c71c3df Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 8 Mar 2010 23:39:53 +0000 Subject: feature 1489: integrate UploadForm into Piwigo core. The integration is not 100% done, I just "made it work" on trunk. pclzip library was updated to version 2.8.2 for memory usage improvement. git-svn-id: http://piwigo.org/svn/trunk@5089 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/template/goto/photos_add_direct.tpl | 185 ++++++++++++++++++++++++++++++ 1 file changed, 185 insertions(+) create mode 100644 admin/template/goto/photos_add_direct.tpl (limited to 'admin/template/goto/photos_add_direct.tpl') diff --git a/admin/template/goto/photos_add_direct.tpl b/admin/template/goto/photos_add_direct.tpl new file mode 100644 index 000000000..419946734 --- /dev/null +++ b/admin/template/goto/photos_add_direct.tpl @@ -0,0 +1,185 @@ +{known_script id="jquery" src=$ROOT_URL|@cat:"template-common/lib/jquery.packed.js"} + +{literal} + +{/literal} + +{if $upload_mode eq 'html'} +{literal} + +{/literal} + +{elseif $upload_mode eq 'multiple'} + + + + +{/if} + +
+

{'Upload photos'|@translate}

+
+ +{if count($setup_errors) > 0} +
+ +
+{else} + +{if !empty($thumbnails)} +
+ {'Uploaded Photos'|@translate} +
+ {foreach from=$thumbnails item=thumbnail} + + {$thumbnail.file} + + {/foreach} +
+ +
+{/if} + + +
+{if $upload_mode eq 'multiple'} + +{/if} + +
+
{'Drop into category'|@translate}
+ + + + + + +
+ + + + + + + + + +
{'Parent category'|@translate} + +
{'Category name'|@translate} + +
+
+
+ +
+
{'Who can see these photos?'|@translate}
+ + +
+ +
+
{'Select files'|@translate}
+ +{if $upload_mode eq 'html'} +

{'... or switch to the multiple files form'|@translate}

+ +

{'JPEG files or ZIP archives with JPEG files inside please.'|@translate}

+ +
+ + +
+ +

+ +

+{elseif $upload_mode eq 'multiple'} + + +

+ +

+ +

{'... or switch to the old style form'|@translate}

+ +
+ + +

+ + +

+{/if} +
+{/if} -- cgit v1.2.3