|
55
by Toni Van Remortel
Initial frontend with gettext support. |
1 |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
2 |
<html xmlns="http://www.w3.org/1999/xhtml"> |
|
3 |
<head>
|
|
4 |
<?php
|
|
|
144.1.3
by Pierre Buyle
* application/controllers/language.php: Use language specified in URI. |
5 |
$this->load->helper('url'); |
6 |
$this->lang->init(); |
|
|
55
by Toni Van Remortel
Initial frontend with gettext support. |
7 |
?>
|
8 |
||
|
58
by Toni Van Remortel
Updated Google Map with correct markers, including tabbed info popups. |
9 |
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
|
163
by Mark Van den Borre
Small spelling and language fixes and improvements. |
10 |
<meta name="description" content="Ubuntu support points"> |
|
55
by Toni Van Remortel
Initial frontend with gettext support. |
11 |
<meta name="keywords" content="Ubuntu, Kubuntu, Xubuntu, Support, supportpoint, map, support map, help, install, cd"> |
12 |
||
|
163
by Mark Van den Borre
Small spelling and language fixes and improvements. |
13 |
<title><?=_('Ubuntu support points')?></title> |
|
100
by Pierre Buyle
Implement bug #77715 |
14 |
<link rel="stylesheet" type="text/css" href="<?=site_url('skin/css');?>"> |
15 |
<script src="<?=site_url('js');?>" type="text/javascript"></script> |
|
|
55
by Toni Van Remortel
Initial frontend with gettext support. |
16 |
|
17 |
<?php
|
|
18 |
# parse javascript options
|
|
19 |
if ( isset($javascript_src) ) |
|
|
100
by Pierre Buyle
Implement bug #77715 |
20 |
{
|
21 |
if(!is_array($javascript_src)) |
|
22 |
$javascript_src = array($javascript_src); |
|
23 |
foreach($javascript_src as $src) |
|
24 |
if(is_string($src)) |
|
25 |
print('<script src="'.$src.'" type="text/javascript"></script>'."\n"); |
|
26 |
}
|
|
|
55
by Toni Van Remortel
Initial frontend with gettext support. |
27 |
if ( isset($javascript) ) |
|
100
by Pierre Buyle
Implement bug #77715 |
28 |
print "<script type=\"text/javascript\">\n".$javascript."</script>\n"; |
|
55
by Toni Van Remortel
Initial frontend with gettext support. |
29 |
# parse body options
|
30 |
$body_extra = ""; |
|
31 |
if ( isset($onload) ) |
|
32 |
$body_extra[] = 'onload="'.$onload.'"'; |
|
33 |
if ( isset($onunload) ) |
|
34 |
$body_extra[] = 'onunload="'.$onunload.'"'; |
|
35 |
if ( is_array($body_extra) ) |
|
36 |
$body = join(' ', $body_extra); |
|
37 |
else
|
|
38 |
$body = ""; |
|
39 |
?>
|
|
40 |
||
41 |
</head>
|
|
42 |
<body <?=$body?>> |
|
|
61
by Toni Van Remortel
Defined the navigation structure and basic layout. |
43 |
<div id="page_title"> |
|
163
by Mark Van den Borre
Small spelling and language fixes and improvements. |
44 |
<?=_('Ubuntu support points')?> |
|
61
by Toni Van Remortel
Defined the navigation structure and basic layout. |
45 |
</div>
|
46 |
||
47 |
<div id="page_title_separator"> |
|
48 |
</div>
|
|
49 |
||
|
129
by Pierre Buyle
* application/controllers/auth.php: Remove unused controller. |
50 |
<?php $this->load->view('nav_perso.php'); ?> |
51 |
||
52 |
<?php $this->load->view('language_selector', array('class_drop'=>'lang_selector', 'class_button'=>'lang_selector_highlight')); ?> |
|
|
61
by Toni Van Remortel
Defined the navigation structure and basic layout. |
53 |
|
|
68
by Pierre Buyle
* Fix Session lib loading |
54 |
<div id="site_content"> |