install.php
changeset 330 c94af5b5c40f
parent 326 ab66d6d1f1f4
child 331 03850e101d7f
equal deleted inserted replaced
329:0437a7cf1acc 330:c94af5b5c40f
  1074     break;
  1074     break;
  1075   default:
  1075   default:
  1076     break;
  1076     break;
  1077 }
  1077 }
  1078 
  1078 
       
  1079 // Initialize language support
       
  1080 $lang = new Language('eng');
       
  1081 $lang->load_file('./language/english/install.json');
       
  1082 
  1079 $template = new template_nodb();
  1083 $template = new template_nodb();
  1080 $template->load_theme('stpatty', 'shamrock', false);
  1084 $template->load_theme('stpatty', 'shamrock', false);
  1081 
  1085 
  1082 $modestrings = Array(
  1086 $modestrings = Array(
  1083               'welcome' => $lang->get('welcome_modetitle'),
  1087               'welcome' => $lang->get('welcome_modetitle'),
  1149       $branch = 'unstable';
  1153       $branch = 'unstable';
  1150     else
  1154     else
  1151       $branch = 'stable';
  1155       $branch = 'stable';
  1152   }
  1156   }
  1153 }
  1157 }
       
  1158 
       
  1159 $template->header();
  1154 
  1160 
  1155 switch($_GET['mode'])
  1161 switch($_GET['mode'])
  1156 { 
  1162 { 
  1157   default:
  1163   default:
  1158   case 'welcome':
  1164   case 'welcome':