Files
dlist/templates/simple/render.exec.php
jim 5576f99ff6 dList v2.2.5 beta
- Tested and fixed bugs on PHP 5.x.
	Only remaining problem is that short tags is disabled by default in PHP 5.x. As of this moment dList templates use <? ?> style tags for simplicity.

- Other minor changes which i don't remember.

git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@23 a5845835-ea0f-0410-a762-dd0bfe9bfde8
2006-05-20 15:06:54 +00:00

45 lines
818 B
PHP

<?php die();
//
// Exec: render
//
// Copyright © 2006 Jim Myhrberg. All rights reserved.
// zynode@gmail.com
//
//_HEAD;
/* --- Configuration ---
Name: render
Priority: 40
Author: Jim Myhrberg
*/
//_SCRIPT;
//==========================
//>STAGE> init
//==========================
//>After> core.define_constants
$config->parse(TPL_PATH.'settings.php', true, 'tpl_');
//==========================
//>STAGE> render
//==========================
//>Section> set_view_mode
if ( !empty($_COOKIE['dList_simple_viewMode']) && !empty($config->tpl_modes[$_COOKIE['dList_simple_viewMode']]) ) {
$config->tpl_mode = $config->tpl_modes[$_COOKIE['dList_simple_viewMode']];
} else {
$config->tpl_mode = $config->tpl_modes[$config->tpl_mode];
}
//>Section> include_phtml
include(TPL_PATH.'index.phtml');
//_END;
?>