From fbfe11375e1ee84a2a9ba102ee34acb5ee1c3d26 Mon Sep 17 00:00:00 2001 From: plegall Date: Mon, 22 Mar 2010 00:21:25 +0000 Subject: feature 1505: improvement, when there is no photo yet in the gallery, first shows a connection box (and only this), then if the user is an admin shows the "Hello %s, your gallery is empty...". I've also added the ability to deactivate this message. Only an admin can deactivate it. git-svn-id: http://piwigo.org/svn/trunk@5240 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/template/no_photo_yet.tpl | 53 ++++++++++++++++++++++++++++++-- 1 file changed, 51 insertions(+), 2 deletions(-) (limited to 'themes/default/template') diff --git a/themes/default/template/no_photo_yet.tpl b/themes/default/template/no_photo_yet.tpl index 1ced9efca..81b0e0c09 100644 --- a/themes/default/template/no_photo_yet.tpl +++ b/themes/default/template/no_photo_yet.tpl @@ -2,6 +2,7 @@ + Piwigo, {'Welcome'|@translate} {literal} {/literal} @@ -55,8 +79,33 @@ border:2px solid #FF3363;
+ +{if $step == 1}

{'Welcome to your Piwigo photo gallery!'|@translate}

- + +
+ + + + + + + + + +
{'Username'|@translate}
{'Password'|@translate}
+ +

+
+ + +{else} +

{$intro}

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