-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathadmin.php
More file actions
34 lines (26 loc) · 893 Bytes
/
admin.php
File metadata and controls
34 lines (26 loc) · 893 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
28
29
30
31
32
33
34
<?php
define('PAGE', 'admin');
require 'includes/init.inc.php';
require 'includes/template.inc.php';
list($Date, $Milestone, $Product, $Project) =
load_models('Date', 'Milestone', 'Product', 'Project');
$template = new Template($product['theme'], $Config->get('theme'));
$template->render('head', array(
'title' => $product['name'].' Roadmap @ '. $Config->get('site_name').' moxie',
'css' => $template->cssString('global')
));
$template->render('header', array(
'site_name' => $Config->get('site_name'),
'product_name' => $product['name'],
'page_type' => 'roadmap',
'product_base_url' => $template->getBaseURL().'/'.$product['url']
));
$template->render('roadmap', array(
'product' => $product,
'quarters' => $quarters,
'elapsed' => $elapsed,
'view' => $view
));
$template->render('footer', array(
));
?>