Changeset 519 for trunk/include
- Timestamp:
- Sep 7, 2004, 10:10:36 PM (20 years ago)
- Location:
- trunk/include
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/config.inc.php
r516 r519 46 46 $conf['slideshow_period'] = array(2,5,10); 47 47 $conf['last_days'] = array(1,2,3,10,30,365); 48 $conf['version'] = 'BSF'; 48 49 49 // $conf['file_ext'] lists all extensions (case insensitive) allowed for 50 50 // your PhpWebGallery installation -
trunk/include/constants.php
r507 r519 26 26 // +-----------------------------------------------------------------------+ 27 27 28 // Default Language28 // Default settings 29 29 define('DEFAULT_LANGUAGE', 'en_UK.iso-8859-1'); 30 define('PHPWG_VERSION', 'BSF'); 31 define('PHPWG_URL', 'http://www.phpwebgallery.net'); 32 define('PHPWG_FORUM_URL', 'http://forum.phpwebgallery.net'); 30 33 31 34 // Debug Level -
trunk/include/functions.inc.php
r512 r519 278 278 { 279 279 list($language_name) = @file($path.'/iso.txt'); 280 $languages[$ file] = $language_name;280 $languages[$language_name] = $file; 281 281 } 282 282 } … … 352 352 $query.= ",'".$file."','".$category."','".$picture."');"; 353 353 mysql_query( $query ); 354 }355 }356 357 function templatize_array( $array, $global_array_name, $handle )358 {359 global $vtp, $lang, $page, $user, $conf;360 361 foreach ( $array as $value ) {362 if (isset(${$global_array_name}[$value]))363 $vtp->setGlobalVar( $handle, $value, ${$global_array_name}[$value] );364 354 } 365 355 } -
trunk/include/functions_html.inc.php
r514 r519 134 134 $templates = get_templates(); 135 135 136 $style_selected = '<select name="' . $select_name . '" >'; 136 137 foreach ($templates as $template) 137 138 { 138 139 $selected = ( $template == $default_style ) ? ' selected="selected"' : ''; 139 $style_select.= '<option value="'.$template.'"'.$selected.'>'; 140 $style_select.= $template.'</option>'; 141 } 142 return $style_select; 140 $style_selected.= '<option value="'.$template.'"'.$selected.'>'; 141 $style_selected.= $template.'</option>'; 142 } 143 $style_selected .= '</select>'; 144 return $style_selected; 143 145 } 144 146 -
trunk/include/page_tail.php
r516 r519 34 34 array( 35 35 'TIME' => $time, 36 'VERSION' => $conf['version'],36 'VERSION' => PHPWG_VERSION, 37 37 'MAIL'=>$conf['mail_webmaster'], 38 38
Note: See TracChangeset
for help on using the changeset viewer.