aboutsummaryrefslogtreecommitdiffstats
path: root/themes/smartpocket/admin/admin.tpl
diff options
context:
space:
mode:
authorflop25 <flop25@piwigo.org>2013-06-30 21:15:06 +0000
committerflop25 <flop25@piwigo.org>2013-06-30 21:15:06 +0000
commit18cfd1bb208eb12cd1be736780d813fb2de6830e (patch)
treedf9b2b4ad981c6bdd1b5f0425e5b6678b39ec08b /themes/smartpocket/admin/admin.tpl
parent19ae5b7e2ecd0948f202ac72e714b87808db7ccb (diff)
bug:2848
added two options for the slideshow ToDo lang var git-svn-id: http://piwigo.org/svn/trunk@23718 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/smartpocket/admin/admin.tpl')
-rw-r--r--themes/smartpocket/admin/admin.tpl35
1 files changed, 35 insertions, 0 deletions
diff --git a/themes/smartpocket/admin/admin.tpl b/themes/smartpocket/admin/admin.tpl
new file mode 100644
index 000000000..26cae2160
--- /dev/null
+++ b/themes/smartpocket/admin/admin.tpl
@@ -0,0 +1,35 @@
+{combine_css path="themes/default/js/ui/theme/jquery.ui.button.css"}
+{combine_css path="themes/smartpocket/admin/jquery.ui.button.css"}
+{footer_script require='jquery.ui.button'}
+{literal}
+jQuery(document).ready(function(){
+ jQuery( ".radio" ).buttonset();
+});
+{/literal}
+{/footer_script}
+
+<div class="titrePage">
+ <h2>{'Smartpocket, Configuration Page'|@translate}</h2>
+</div>
+<form method="post" class="properties" action="" ENCTYPE="multipart/form-data" name="form" class="properties">
+<div id="configContent">
+ <fieldset>
+ <legend>{'Slideshow Options'|@translate}</legend>
+ <ul>
+ <li class="radio" >
+ <label for="loop"><span class="property">{'Loop the slideshow'|@translate}</span>&nbsp;</label>
+ <input type="radio" id="loop_true" name="loop" value="true" {if $options.loop}checked="checked"{/if}><label for="loop_true">{'Yes'|@translate}</label>
+ <input type="radio" id="loop_false" name="loop" value="false" {if !$options.loop}checked="checked"{/if}><label for="loop_false">{'No'|@translate}</label>
+ </li>
+ <li class="radio" >
+ <label for="autohide"><span class="property">{'Autohide the bar of the slideshow'|@translate}</span>&nbsp;</label>
+ <input type="radio" id="autohide_on" name="autohide" value="5000" {if $options.autohide==5000}checked="checked"{/if}><label for="autohide_on">{'Yes'|@translate}</label>
+ <input type="radio" id="autohide_off" name="autohide" value="0" {if $options.autohide==0}checked="checked"{/if}><label for="autohide_off">{'No'|@translate}</label>
+ </li>
+ </ul>
+ </fieldset>
+</div>
+<p>
+ <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit_smartpocket" />
+</p>
+</form>