project-cms/404.php
Correl Roush 770cd87e0d Initial import of Project CMS
git-svn-id: file:///srv/svn/project_cms/trunk@1 40e7bcc2-511d-11de-b059-1b5981effdbe
2009-06-04 15:34:59 +00:00

16 lines
355 B
PHP

<?php
require_once('common.php');
if (!$template->is_cached('Gemstone/404.tpl')) {
$projects = get_projects();
$pages = get_pages(array('project' => 0));
$template->assign(array(
'error' => true,
'pages' => $pages,
'projects' => $projects,
'active_page' => false,
'active_project' => false,
));
}
$template->display('Gemstone/404.tpl');
?>