Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 4516b7a9dd
Fetching contributors…

Cannot retrieve contributors at this time

file 45 lines (31 sloc) 1.285 kb
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 35 36 37 38 39 40 41 42 43 44 45
<?php
/**
* This the TODO page
*
* @version V2.0
* @since 4 sept 2006
* @author Vernet Loic
* @copyright SQL-Technologies
* @package PHP_Debug_Website
*/


// CONFIG ======================================================================


// Applications variables & gen includes ======================================
require_once '../config/ApplicationCfg.php';
require_once PD_WEB_INCLUDES_ROOT. 'common.inc.php';

// Page constants ==============================================================
define('PAGE_ID' , 'todo'. PD_WEB_FILE_EXT);
define('PAGE_TR_ID' , 'todo');
define('_FILE_', basename(__FILE__));
define('DEFAULT_ACTION', 'TODO');


// MODEL =======================================================================


// CONTROLLER ==================================================================
$Dbg->setAction(DEFAULT_ACTION);

$todo = file_get_contents(PD_WEB_DOCS_ROOT. DEFAULT_ACTION);
$smarty->assign('todo', $todo);


// VIEW ========================================================================

// Assign debug infos
$smarty->assign('file', PD_WEB_PHP_DEBUG_ROOT. DIRECTORY_SEPARATOR. PAGE_ID);
$smarty->assign('bodyTpl', PAGE_TR_ID);
$smarty->assign('debugBuffer', $Dbg->getOutput());

// Display template
$smarty->display('index.tpl');
Something went wrong with that request. Please try again.