aboutsummaryrefslogtreecommitdiffstats
path: root/picture.php
diff options
context:
space:
mode:
Diffstat (limited to 'picture.php')
-rw-r--r--picture.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/picture.php b/picture.php
index ecf6679f5..100e4a11d 100644
--- a/picture.php
+++ b/picture.php
@@ -218,7 +218,8 @@ if ( $page['name'] != '' )
}
else
{
- $vtp->setGlobalVar( $handle, 'page_title', $page['file'] );
+ $page_title = str_replace("_"," ",get_filename_wo_extension($page['file']));
+ $vtp->setGlobalVar( $handle, 'page_title', $page_title );
}
//-------------------------------------------------- previous picture thumbnail
if ( $page['num'] >= 1 )