add link to the start page
git-svn-id: http://piwigo.org/svn/branches/release-1_3@314 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
parent
c2035bc574
commit
eedb9e3d62
2 changed files with 4 additions and 1 deletions
|
@ -135,6 +135,7 @@ $nb_total_pictures = count_user_total_images();
|
|||
$vtp->setGlobalVar( $handle, 'nb_total_pictures',$nb_total_pictures );
|
||||
|
||||
//------------------------------------------------------------- categories menu
|
||||
$vtp->setVar( $handle, 'home_url', add_session_id( 'category.php' ) );
|
||||
// normal categories
|
||||
foreach ( $page['structure'] as $category ) {
|
||||
// display category is a function relative to the template
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
<tr>
|
||||
<td valign="top" style="width:1%;padding:10px;">
|
||||
{#frame_start}100%{#frame_begin}
|
||||
<div class="titreMenu">{#categories}</div>
|
||||
<div class="titreMenu">
|
||||
<a href="{#home_url}">{#categories}</a>
|
||||
</div>
|
||||
<div class="menu">
|
||||
<!--VTP_category-->{#indent}<!--VTP_bullet_w_link--><a href="{#bullet_link}"><img src="{#bullet_url}" style="border:none;" alt=">" /></a><!--/VTP_bullet_w_link--><!--VTP_bullet_wo_link--><img src="{#bullet_url}" style="border:none;" alt=">" /><!--/VTP_bullet_wo_link--> <a href="{#link_url}"><span title="{#hint_category}" style="{#name_style}">{#link_name}</span> <span class="menuInfoCat">[ <!--VTP_subcat--><span title="{#nb_subcats} {#sub-cat}">{#nb_subcats}</span> - <!--/VTP_subcat--><span title="{#total_cat} {#images_available}">{#total_cat}</span> ]</span></a>{#cat_icon}<br />
|
||||
<!--/VTP_category-->
|
||||
|
|
Loading…
Reference in a new issue