aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/TakeATour/tpl
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2014-07-19 20:53:06 +0000
committerflop25 <flop25@piwigo.org>2014-07-19 20:53:06 +0000
commitf35908237c3d5f4302b0e0504649b048aa3be70b (patch)
treefbb6b1593481db53e12289b2692ab9f887e4f6d6 /plugins/TakeATour/tpl
parent5538e4824fb7beed14338fc418379a2edc03e84e (diff)
take a tour: privacy tour wip
git-svn-id: http://piwigo.org/svn/trunk@29058 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'plugins/TakeATour/tpl')
-rw-r--r--plugins/TakeATour/tpl/admin.tpl13
1 files changed, 12 insertions, 1 deletions
diff --git a/plugins/TakeATour/tpl/admin.tpl b/plugins/TakeATour/tpl/admin.tpl
index 8da067aeb..c89494fbc 100644
--- a/plugins/TakeATour/tpl/admin.tpl
+++ b/plugins/TakeATour/tpl/admin.tpl
@@ -8,7 +8,18 @@
<legend>{'First Contact'|@translate}</legend>
<div class="TAT_description">{'first_contact_descrp'|@translate}</div>
<form action="{$F_ACTION}" method="post">
- <input type="hidden" name="submited_tour_path" value=".../../admin/themes/first_contact">
+ <input type="hidden" name="submited_tour_path" value="tours/first_contact">
+ <input type="hidden" name="pwg_token" value="{$pwg_token}">
+ <input type="submit" name="button2" id="button2" value="{'Start the Tour'|@translate}">
+ </form>
+ </fieldset>
+ {/if}
+ {if !isset($TAT_tour_ignored) or (isset($TAT_tour_ignored) and in_array(privacy, $TAT_tour_ignored))}
+ <fieldset>
+ <legend>{'Privacy'|@translate}</legend>
+ <div class="TAT_description">{'privacy_descrp'|@translate}</div>
+ <form action="{$F_ACTION}" method="post">
+ <input type="hidden" name="submited_tour_path" value="tours/privacy">
<input type="hidden" name="pwg_token" value="{$pwg_token}">
<input type="submit" name="button2" id="button2" value="{'Start the Tour'|@translate}">
</form>