aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--themes/smartpocket/admin/admin.tpl4
-rw-r--r--themes/smartpocket/language/en_UK/index.php30
-rw-r--r--themes/smartpocket/language/en_UK/theme.lang.php7
-rw-r--r--themes/smartpocket/language/fr_FR/index.php30
-rw-r--r--themes/smartpocket/language/fr_FR/theme.lang.php7
-rw-r--r--themes/smartpocket/template/comments.tpl69
6 files changed, 76 insertions, 71 deletions
diff --git a/themes/smartpocket/admin/admin.tpl b/themes/smartpocket/admin/admin.tpl
index d572bcf2e..baf6d47fe 100644
--- a/themes/smartpocket/admin/admin.tpl
+++ b/themes/smartpocket/admin/admin.tpl
@@ -27,13 +27,13 @@ jQuery(document).ready(function() {
<ul>
<li><label>
- <span class="property">{'Loop the slideshow'|translate}</span>&nbsp;
+ <span class="property">{'Loop the slideshow'|@translate}</span>&nbsp;
<span class="graphicalCheckbox icon-check{if not $options.loop}-empty{/if}">&nbsp;</span>
<input type="checkbox" name="loop"{if $options.loop} checked="checked"{/if}>
</label></li>
<li><label>
- <span class="property">{'Autohide the bar of the slideshow'|translate}</span>&nbsp;
+ <span class="property">{'Autohide the bar of the slideshow'|@translate}</span>&nbsp;
<span class="graphicalCheckbox icon-check{if $options.autohide != 5000}-empty{/if}">&nbsp;</span>
<input type="checkbox" name="autohide"{if $options.autohide == 5000} checked="checked"{/if}>
</label></li>
diff --git a/themes/smartpocket/language/en_UK/index.php b/themes/smartpocket/language/en_UK/index.php
new file mode 100644
index 000000000..e3365959c
--- /dev/null
+++ b/themes/smartpocket/language/en_UK/index.php
@@ -0,0 +1,30 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/themes/smartpocket/language/en_UK/theme.lang.php b/themes/smartpocket/language/en_UK/theme.lang.php
new file mode 100644
index 000000000..51aabe3fd
--- /dev/null
+++ b/themes/smartpocket/language/en_UK/theme.lang.php
@@ -0,0 +1,7 @@
+<?php
+$lang['Smartpocket, Configuration Page'] = 'Smartpocket, Configuration Page';
+$lang['Slideshow Options'] = 'Slideshow Options';
+$lang['Loop the slideshow'] = 'Loop the slideshow';
+$lang['Autohide the bar of the slideshow'] = 'Autohide the bar of the slideshow';
+$lang['More Information'] = 'More Information';
+?> \ No newline at end of file
diff --git a/themes/smartpocket/language/fr_FR/index.php b/themes/smartpocket/language/fr_FR/index.php
new file mode 100644
index 000000000..e3365959c
--- /dev/null
+++ b/themes/smartpocket/language/fr_FR/index.php
@@ -0,0 +1,30 @@
+<?php
+// +-----------------------------------------------------------------------+
+// | Piwigo - a PHP based photo gallery |
+// +-----------------------------------------------------------------------+
+// | Copyright(C) 2008-2014 Piwigo Team http://piwigo.org |
+// | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net |
+// | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick |
+// +-----------------------------------------------------------------------+
+// | This program is free software; you can redistribute it and/or modify |
+// | it under the terms of the GNU General Public License as published by |
+// | the Free Software Foundation |
+// | |
+// | This program is distributed in the hope that it will be useful, but |
+// | WITHOUT ANY WARRANTY; without even the implied warranty of |
+// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
+// | General Public License for more details. |
+// | |
+// | You should have received a copy of the GNU General Public License |
+// | along with this program; if not, write to the Free Software |
+// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, |
+// | USA. |
+// +-----------------------------------------------------------------------+
+
+// Recursive call
+$url = '../';
+header( 'Request-URI: '.$url );
+header( 'Content-Location: '.$url );
+header( 'Location: '.$url );
+exit();
+?>
diff --git a/themes/smartpocket/language/fr_FR/theme.lang.php b/themes/smartpocket/language/fr_FR/theme.lang.php
new file mode 100644
index 000000000..322ac7714
--- /dev/null
+++ b/themes/smartpocket/language/fr_FR/theme.lang.php
@@ -0,0 +1,7 @@
+<?php
+$lang['Smartpocket, Configuration Page'] = 'Smartpocket, Page de configuration';
+$lang['Slideshow Options'] = 'Options du diaporama';
+$lang['Loop the slideshow'] = 'Boucler le diaporama';
+$lang['Autohide the bar of the slideshow'] = 'Cacher automatiquement la barre du diaporama';
+$lang['More Information'] = 'Plus d\'informations';
+?> \ No newline at end of file
diff --git a/themes/smartpocket/template/comments.tpl b/themes/smartpocket/template/comments.tpl
index 82e772051..87328d5ac 100644
--- a/themes/smartpocket/template/comments.tpl
+++ b/themes/smartpocket/template/comments.tpl
@@ -1,74 +1,5 @@
{include file='infos_errors.tpl'}
<div data-role="content">
-{**{if isset($MENUBAR)}{$MENUBAR}{/if}
-<div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}">
-
-<div class="titrePage">
- <ul class="categoryActions">
- </ul>
- <h2><a href="{$U_HOME}">{'Home'|@translate}</a>{$LEVEL_SEPARATOR}{'User comments'|@translate}</h2>
-</div>
-
-{include file='infos_errors.tpl'}
-
-<form class="filter" action="{$F_ACTION}" method="get">
-
- <fieldset>
- <legend>{'Filter'|@translate}</legend>
-
- <label>{'Keyword'|@translate}<input type="text" name="keyword" value="{$F_KEYWORD}"></label>
-
- <label>{'Author'|@translate}<input type="text" name="author" value="{$F_AUTHOR}"></label>
-
- <label>
- {'Album'|@translate}
- <select name="cat">
- <option value="0">------------</option>
- {html_options options=$categories selected=$categories_selected}
- </select>
- </label>
-
- <label>
- {'Since'|@translate}
- <select name="since">
- {html_options options=$since_options selected=$since_options_selected}
- </select>
- </label>
-
- </fieldset>
-
- <fieldset>
-
- <legend>{'Display'|@translate}</legend>
-
- <label>
- {'Sort by'|@translate}
- <select name="sort_by">
- {html_options options=$sort_by_options selected=$sort_by_options_selected}
- </select>
- </label>
-
- <label>
- {'Sort order'|@translate}
- <select name="sort_order">
- {html_options options=$sort_order_options selected=$sort_order_options_selected}
- </select>
- </label>
-
- <label>
- {'Number of items'|@translate}
- <select name="items_number">
- {html_options options=$item_number_options selected=$item_number_options_selected}
- </select>
- </label>
-
- </fieldset>
-
- <p><input type="submit" value="{'Filter and display'|@translate}"></p>
-
-</form>
-
-{if !empty($navbar) }{include file='navigation_bar.tpl'|@get_extent:'navbar'}{/if}**}
{if isset($comments)}
{include file='comment_list.tpl' comment_derivative_params=$derivative_params}