aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorgrum <grum@piwigo.org>2008-08-09 21:27:58 +0000
committergrum <grum@piwigo.org>2008-08-09 21:27:58 +0000
commitd4a7be644b24729dd76067bef3f059d55fd5239a (patch)
tree8cd2c03cb047f8b27b787e49f54d5729de805684 /plugins
parent526d8006a16bd8b666d94aaf152346537045a0a5 (diff)
updating files for the Menu class (test_menu)
+ fixes "Links" translation bug updating files for the AMenuManager plugin + enhance links template updating common classes grum_plugins_classes-2 (needed for the AMenuManager plugin) + clearing the code updating the calendar_base.class.php the 'get_nav_bar_from_items' method was returning a hard coded html string now replaced by a template file (calendar_nav.tpl) git-svn-id: http://piwigo.org/svn/trunk@2469 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--plugins/AMenuManager/menu_templates/menubar_links.tpl2
-rw-r--r--plugins/test_menu/menu_templates/menubar_identification.tpl6
-rw-r--r--plugins/test_menu/menubar.inc.php2
3 files changed, 5 insertions, 5 deletions
diff --git a/plugins/AMenuManager/menu_templates/menubar_links.tpl b/plugins/AMenuManager/menu_templates/menubar_links.tpl
index 7d9360c5a..927a0f2cd 100644
--- a/plugins/AMenuManager/menu_templates/menubar_links.tpl
+++ b/plugins/AMenuManager/menu_templates/menubar_links.tpl
@@ -4,7 +4,7 @@
<dt>{$section.NAME|@translate}</dt>
{/if}
<dd>
- <ul>
+ <ul {if $section.ITEMS.icons=='y'}style="padding-left:4px;list-style:none;"{/if}>
{foreach from=$section.ITEMS.LINKS item=link}
<li>
{if $section.ITEMS.icons=='y'}<img src='{$link.icon}' style="position:relative;top:3px;"/>{/if}
diff --git a/plugins/test_menu/menu_templates/menubar_identification.tpl b/plugins/test_menu/menu_templates/menubar_identification.tpl
index a09f12425..c0c3891fe 100644
--- a/plugins/test_menu/menu_templates/menubar_identification.tpl
+++ b/plugins/test_menu/menu_templates/menubar_identification.tpl
@@ -35,18 +35,18 @@
<label>
{'Username'|@translate}
- <input type="text" name="username" size="15" value="">
+ <input type="text" name="username" size="15" value="" id="iusername">
</label>
<label>
{'Password'|@translate}
- <input type="password" name="password" size="15">
+ <input type="password" name="password" size="15" id="ipassword">
</label>
{if $section.ITEMS.AUTHORIZE_REMEMBERING}
<label>
{'remember_me'|@translate}
- <input type="checkbox" name="remember_me" value="1">
+ <input type="checkbox" name="remember_me" value="1" id="iremember_me">
</label>
{/if}
<p>
diff --git a/plugins/test_menu/menubar.inc.php b/plugins/test_menu/menubar.inc.php
index 5a504ce6d..45da0dc13 100644
--- a/plugins/test_menu/menubar.inc.php
+++ b/plugins/test_menu/menubar.inc.php
@@ -286,7 +286,7 @@ $datas['menu']['Notification']=array(
-$section = new Section('mbLinks', 'links', MENU_TEMPLATES_PATH.'menubar_links.tpl');
+$section = new Section('mbLinks', 'Links', MENU_TEMPLATES_PATH.'menubar_links.tpl');
$section->set_items($datas['links']);
$menu->add($section->get());