mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-06-02 04:15:05 +02:00
Wash filename if it has to be used as page title
git-svn-id: http://piwigo.org/svn/trunk@183 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
+2
-1
@@ -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 )
|
||||
|
||||
Reference in New Issue
Block a user