forked from goodylabs/internship-exercise2
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlogic.php
More file actions
27 lines (25 loc) · 765 Bytes
/
logic.php
File metadata and controls
27 lines (25 loc) · 765 Bytes
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
<?php
//Get Params & Settings
$logo = $this->params->get('logo');
$logotext = $this->params->get('logotext','Justified Nav Template');
$copyright = $this->params->get('copyright');
$show_frontpage_component = $this->params->get('show_frontpage_component');
$includejquery = $this->params->get('includejquery', 1);
//Get Application Object
$app = JFactory::getApplication();
//Get Document Object
$doc = JFactory::getDocument();
//Get Params Object
$templateparams = $app->getTemplate(true)->params;
//Get Menu Object
$menu = &JSite::getMenu();
//Get User Object
$user = &JFactory::getUser();
//Get Task
$task = JRequest::getCmd('task');
//Get Option
$option = JRequest::getCmd('option');
//Include Sidebar?
if ($this->countModules('sidebar'))
$sidebar = true;
?>