1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/piwigo_ynh.git synced 2024-09-03 20:06:03 +02:00
piwigo_ynh/sources/plugins/TakeATour/tpl/admin.tpl
2016-09-05 13:40:09 +02:00

54 lines
No EOL
2.4 KiB
Smarty

{footer_script require="jquery"}
jQuery('.TAT_description a[href*="piwigo.org"]').addClass("externalLink");
{/footer_script}
<div class="titrePage">
<h2>{'takeatour_configpage'|@translate}</h2>
</div>
<div id="helpContent">
<p>{'TAT_descrp'|@translate}</p>
{if !isset($TAT_tour_ignored) or (isset($TAT_tour_ignored) and in_array(first_contact, $TAT_tour_ignored))}
<fieldset>
<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="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>
</fieldset>
{/if}
{if !isset($TAT_tour_ignored) or (isset($TAT_tour_ignored) and in_array(2_8_0, $TAT_tour_ignored))}
<fieldset>
<legend>{'2.8 Tour'|@translate}</legend>
<div class="TAT_description">{'2_8_0_descrp'|@translate|sprintf:$TAT_28URL}</div>
<form action="{$F_ACTION}" method="post">
<input type="hidden" name="submited_tour_path" value="tours/2_8_0">
<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(2_7_0, $TAT_tour_ignored))}
<fieldset>
<legend>{'2.7 Tour'|@translate}</legend>
<div class="TAT_description">{'2_7_0_descrp'|@translate}</div>
<form action="{$F_ACTION}" method="post">
<input type="hidden" name="submited_tour_path" value="tours/2_7_0">
<input type="hidden" name="pwg_token" value="{$pwg_token}">
<input type="submit" name="button2" id="button2" value="{'Start the Tour'|@translate}">
</form>
</fieldset>
{/if}
</div>