blob: def03770a191f2d764fac1904e734c82a6d8a60b (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
<?php
class IndexController extends Zend_Controller_Action
{
public function init()
{
$burl = $this->view->baseUrl();
$v = $this->view;
$v->headLink()
->prependStylesheet($burl .'/styles/site.css')
->appendStylesheet($burl.'/styles/smoothness/jquery-ui-1.7.2.custom.css');
$v->headScript()
->setFile($burl.'/js/jquery-1.3.2.min.js')
->appendFile($burl.'/js/jquery-ui-1.7.2.custom.min.js')
->appendFile($burl.'/js/pbs.js');
$v->menubar = array(
"Home" => "/",
"Bootmedia" => "/index/bootmedia",
"Menus" => "/index/menu",
"Menu Assignment" => "/index/menuassignment"#,
# "Systeminfo" => "/index/sysinfo"
);
}
public function indexAction()
{
$this->view->title = "Home";
$this->view->headTitle($this->view->title, 'APPEND');
}
public function menuAction()
{
$this->view->title = "Menus";
$this->view->headTitle($this->view->title, 'APPEND');
}
public function bootmediaAction()
{
$this->view->title = "Bootmedia";
$this->view->headTitle($this->view->title, 'APPEND');
}
public function menuassignmentAction()
{
$this->view->title = "Menu Assignment";
$this->view->headTitle($this->view->title, 'APPEND');
}
public function sysinfoAction()
{
$this->view->title = "System Information";
$this->view->headTitle($this->view->title, 'APPEND');
}
}
|