aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
authorgweltas <gweltas@piwigo.org>2004-02-26 18:33:45 +0000
committergweltas <gweltas@piwigo.org>2004-02-26 18:33:45 +0000
commit9e993f2d21e9cf7bd44a7c676af567be550dca90 (patch)
treee6a4c049a28164631f75c087a91201a9b152cbf9 /picture.php
parent29a07c00d083b7687331cd7cc19f097a8849a3ea (diff)
New default template - User side
git-svn-id: http://piwigo.org/svn/trunk@375 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php13
1 files changed, 8 insertions, 5 deletions
diff --git a/picture.php b/picture.php
index 47f0d51d1..03d5300c3 100644
--- a/picture.php
+++ b/picture.php
@@ -203,13 +203,14 @@ if ( isset( $_GET['slideshow'] ) && $next)
}
$title_img = $picture['current']['name'];
+$title_nb = '';
if (is_numeric( $page['cat'] ))
{
- $title_img = get_cat_display_name( $page['cat_name'], " - ","font-style:italic;" );
+ $title_img = replace_space(get_cat_display_name( $page['cat_name'], " &gt; ","font-style:italic;" ));
$n = $page['num'] + 1;
- $title_img = replace_space( $title_img." - " ).$n.'/';
- $title_img.= $page['cat_nb_images']."<br />";
- $title_img.= $picture['current']['name'];
+ $title_nb = "Photo".' '.$n.'/';
+ $title_nb.= $page['cat_nb_images'];
+ //$title_img.= $picture['current']['name'];
}
else if ( $page['cat'] == 'search' )
{
@@ -237,7 +238,9 @@ $template->set_filenames(array('picture'=>'picture.tpl'));
initialize_template();
$template->assign_vars(array(
- 'TITLE' => $title_img,
+ 'CATEGORY' => $title_img,
+ 'PHOTO' => $title_nb,
+ 'TITLE' => $picture['current']['name'],
'PREV_TITLE_IMG' => $picture['prev']['name'],
'NEXT_TITLE_IMG' => $picture['next']['name'],
'PREV_IMG' => $picture['prev']['thumbnail'],