Assembla home | Assembla project page
 

Changeset 913

Show
Ignore:
Timestamp:
01/18/08 01:17:31 (10 months ago)
Author:
Pernod
Message:

Moved PLAYER_PAGE_CHARSET and CONFIG_PAGE_CHARSET from language file to system_prefs (defaults to Windows-1252).

Refs #124

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/swisscenter/base/page.php

    r910 r913  
    5353function charset() 
    5454{ 
    55   $cfg = str('PLAYER_PAGE_CHARSET'); 
    56   if (empty($cfg)) 
    57     return 'charset=Windows-1252'; 
    58   else 
    59     return 'charset='.$cfg; 
     55  return 'charset='.get_sys_pref('PLAYER_PAGE_CHARSET','Windows-1252'); 
    6056} 
    6157 
  • trunk/swisscenter/config/config_template.php

    r822 r913  
    77<html> 
    88<head> 
    9   <meta http-equiv="content-type" content="text/html;charset=<?php echo str('CONFIG_PAGE_CHARSET'); ?>" /> 
     9  <meta http-equiv="content-type" content="text/html;charset=<?php echo get_sys_pref('CONFIG_PAGE_CHARSET','Windows-1252') ?>" /> 
    1010  <title>SwissCenter Config</title> 
    1111  <link rel="stylesheet" type="text/css" media="screen" href="sdmenu.css" />