From 5a7723ff10ee2b01770542b2b5726cdfb8769e4a Mon Sep 17 00:00:00 2001 From: rvelices Date: Fri, 7 Mar 2008 02:07:55 +0000 Subject: - some more smarty migration (admin upload ws_checker profile and plugin) git-svn-id: http://piwigo.org/svn/trunk@2260 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/admin/plugin.tpl | 6 +- template/yoga/admin/profile.tpl | 6 +- template/yoga/admin/upload.tpl | 68 ++++++++------- template/yoga/admin/ws_checker.tpl | 170 +++++++++++++++++-------------------- 4 files changed, 120 insertions(+), 130 deletions(-) (limited to 'template') diff --git a/template/yoga/admin/plugin.tpl b/template/yoga/admin/plugin.tpl index 8a10b02cf..5a0a1fbe7 100644 --- a/template/yoga/admin/plugin.tpl +++ b/template/yoga/admin/plugin.tpl @@ -1,7 +1,7 @@ - +{* $Id$ *}
-

{PLUGIN_TITLE}

+

{$PLUGIN_TITLE}

-{PLUGIN_ADMIN_CONTENT} +{$PLUGIN_ADMIN_CONTENT} diff --git a/template/yoga/admin/profile.tpl b/template/yoga/admin/profile.tpl index 383841a79..f6326319c 100644 --- a/template/yoga/admin/profile.tpl +++ b/template/yoga/admin/profile.tpl @@ -1,6 +1,6 @@ - +{* $Id$ *}
-

{lang:Profile}

+

{'Profile'|@translate}

-{PROFILE_CONTENT} +{$PROFILE_CONTENT} diff --git a/template/yoga/admin/upload.tpl b/template/yoga/admin/upload.tpl index 755e5ac35..419a01ec0 100644 --- a/template/yoga/admin/upload.tpl +++ b/template/yoga/admin/upload.tpl @@ -1,51 +1,53 @@ - - +{* $Id$ *}
-

{lang:waiting} {TABSHEET_TITLE}

- {TABSHEET} +

{'waiting'|@translate} {$TABSHEET_TITLE}

+ {$TABSHEET}
-

{lang:title_upload}

+

{'title_upload'|@translate}

-
- + +
- - - - - + + + + + - - - - - + + + - - - - + {/foreach} + {/if}
{lang:category}{lang:date}{lang:file}{lang:thumbnail}{lang:Author}{'category'|@translate}{'date'|@translate}{'file'|@translate}{'thumbnail'|@translate}{'Author'|@translate}  
{picture.CATEGORY_IMG}{picture.DATE_IMG} - {picture.FILE_IMG} + + {if not empty($pictures) } + {foreach from=$pictures item=picture name=picture_loop} +
{$picture.CATEGORY_IMG}{$picture.DATE_IMG} + {$picture.FILE_IMG} - - {picture.thumbnail.FILE_TN_IMG} - + + {if not empty($picture.thumbnail) } + {$picture.thumbnail.FILE_TN_IMG} + {/if} - {picture.UPLOAD_USERNAME} + + {$picture.UPLOAD_USERNAME} - - + + +

- - - - - + + + + +

diff --git a/template/yoga/admin/ws_checker.tpl b/template/yoga/admin/ws_checker.tpl index b61d75176..cce3c7f49 100644 --- a/template/yoga/admin/ws_checker.tpl +++ b/template/yoga/admin/ws_checker.tpl @@ -1,93 +1,87 @@ - - +{* $Id$ *}
-

{lang:title_wscheck} - {lang:web_services}

+

{'title_wscheck'|@translate} - {'web_services'|@translate}

- +{if !empty($update_results)} - +{/if} - -
+{* Add Access *} +
- {lang:ws_adding_legend} + {'ws_adding_legend'|@translate} - + {* Access key *} - + {* Target (cat/ids, tag/ids, or list/ids ids=id,id-id,...) *} - + {* Restricted access to specific request *} - + {* Limit number of images information to be return *} - - - --> + + *} - + {* Opened service only for n days *} - + {* Idendify your partner (name / website / phone) as you want *} - + {* Add submit button *}
- + + id="add_partner" value="{$F_ADD_PARTNER}" + title="{'Basis of access key calculation'|@translate}" />
- + - ({lang:Access: see help text for more}) + id="add_target" value="{$F_ADD_ACCESS}" + title="{'Facultative and restrictive option'|@translate}" /> + ({'Access: see help text for more'|@translate})
- + - ({lang:ws_Methods}) + ({'ws_Methods'|@translate})
- +
- +
- +
+ rows="4" cols="80">{'Comment to identify your partner clearly'|@translate}
+ value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED} + title="{'Add this access definition'|@translate}" />
- +{if !empty($access_list)} -
- - - - - - + + + + + + +
- {lang:ws_update_legend} + {'ws_update_legend'|@translate} - - - - - - + + + + + + - - + {foreach from=$access_list item=access name=access_loop} + - - - - - - + value="{$access.ID}" id="selection-{$access.ID}"> + + + + + + + - + {/foreach}
 {lang:ws_KeyName}{lang:ws_Access}{lang:ws_End}{lang:ws_Request}{lang:ws_Limit}{lang:ws_Comment}{'ws_KeyName'|@translate}{'ws_Access'|@translate}{'ws_End'|@translate}{'ws_Request'|@translate}{'ws_Limit'|@translate}{'ws_Comment'|@translate}
- {acc_list.access.TARGET}{acc_list.access.END}{acc_list.access.REQUEST}{acc_list.access.LIMIT}{acc_list.access.COMMENT}{$access.TARGET}{$access.END}{$access.REQUEST}{$access.LIMIT}{$access.COMMENT}
- {lang:ws_delete_legend} + {'ws_delete_legend'|@translate} + value="{'Delete'|@translate}" {$TAG_INPUT_ENABLED}>
@@ -202,29 +193,26 @@ - + + value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}> - ({lang:Web Services availability duration in days}) + ({'Web Services availability duration in days'|@translate})
- -

{acc_list.ws_status.VALUE}

- - +{/if} + +{if isset($WS_STATUS)} +

{$WS_STATUS}

+{/if} -- cgit v1.2.3