Changeset 1834 for trunk/about.php
- Timestamp:
- Feb 17, 2007, 7:52:17 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/about.php
r1779 r1834 43 43 include(PHPWG_ROOT_PATH.'include/page_header.php'); 44 44 45 /** 46 * set in ./language/en_UK.iso-8859-1/local.lang.php (maybe to create) 47 * for example for clear theme: 48 $lang['Theme: clear'] = 'This is the clear theme based on yoga template. '. 49 ' A standard template/theme of PhpWebgallery.'; 50 * 51 * Don't forget php tags !!! 52 * 53 * Another way is to code it thru the theme itself in ./themeconf.inc.php 54 */ 55 @include(PHPWG_ROOT_PATH.'template/'.$user['template']. 56 '/theme/'.$user['theme'].'/themeconf.inc.php'); 57 45 58 $template->set_filenames( 46 59 array( … … 49 62 ) 50 63 ); 51 if ( isset( $themeconf['About']) and $themeconf['About']!=='')64 if ( isset($lang['Theme: '.$user['theme']]) ) 52 65 { 53 66 $template->assign_block_vars( 54 67 'theme', 55 68 array( 56 'ABOUT' => l10n( $themeconf['About']),69 'ABOUT' => l10n('Theme: '.$user['theme']), 57 70 ) 58 71 );
Note: See TracChangeset
for help on using the changeset viewer.