Changeset 183 for trunk


Ignore:
Timestamp:
Oct 8, 2003, 8:10:47 PM (21 years ago)
Author:
z0rglub
Message:

Wash filename if it has to be used as page title

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r180 r183  
    219219else
    220220{
    221   $vtp->setGlobalVar( $handle, 'page_title', $page['file'] );
     221  $page_title = str_replace("_"," ",get_filename_wo_extension($page['file']));
     222  $vtp->setGlobalVar( $handle, 'page_title', $page_title );
    222223}
    223224//-------------------------------------------------- previous picture thumbnail
Note: See TracChangeset for help on using the changeset viewer.