mirror of
https://github.com/jimeh/dlist.git
synced 2026-02-19 07:56:41 +00:00
forgot to rename render.exc.php to render.exec.php in the simple template.
Changes from the previous revision follow: - renamed view.php to index.php - renamed exec files from *.exc.php to *.exec.php - updated simple template - added local language names caching to cache/local_names.ini, language must be used before it can read the local name from the language file and cache it if not already cached git-svn-id: file:///Users/jimeh/Desktop/dlist/trunk@17 a5845835-ea0f-0410-a762-dd0bfe9bfde8
This commit is contained in:
44
templates/simple/render.exec.php
Normal file
44
templates/simple/render.exec.php
Normal file
@@ -0,0 +1,44 @@
|
||||
<?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;
|
||||
?>
|
||||
Reference in New Issue
Block a user