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
This commit is contained in:
grum
2008-08-09 21:27:58 +00:00
parent 526d8006a1
commit d4a7be644b
5 changed files with 41 additions and 22 deletions
@@ -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}
@@ -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>
+1 -1
View File
@@ -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());