diff --git a/category.php b/category.php index 20dfaed9f..e35155c87 100644 --- a/category.php +++ b/category.php @@ -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 diff --git a/template/default/category.vtp b/template/default/category.vtp index 64d0d6005..087d80bcd 100644 --- a/template/default/category.vtp +++ b/template/default/category.vtp @@ -2,7 +2,9 @@ {#frame_start}100%{#frame_begin} -
{#categories}
+
+ {#categories} +