예제 #1
0
 * Alternate entry point for viewing phpdoc-generated
 * documentation for smdoc framework. 
 *
 * Modified by SquirrelMail Development
 * $Id$
 * 
 * @package smdoc
 */
/** 
 * Initial configuration, start session
 * @see config.default.php
 */
require 'smdoc_init.php';
/* 
 * Initialize smdoc/FOOWD environment
 */
$foowd = new smdoc($smdoc_parameters);
$foowd->template->assign('title', 'Site Framework');
$string = 'Packages: ' . '<a href="sqmdocs/li_Foowd.html" target="left_bottom">Foowd</a> | ' . '<a href="sqmdocs/li_smdoc.html" target="left_bottom">smdoc</a> | ' . '<a href="sqmdocs/li_textism.html" target="left_bottom">textism</a>';
$foowd->template->assign('method', $string);
$foowd->template->assign('body_template', 'smdoc_external.docs.tpl');
$foowd->template->assign('doc_elements', 'sqmdocs/li_smdoc.html');
$foowd->template->assign('doc_content', 'sqmdocs/blank.html');
$foowd->template->assign('doc_index', 'sqmdocs/index.html');
$foowd->template->display();
/*
 * destroy Foowd - triggers cleanup of database object and 
 * display of debug information.
 */
$foowd->__destruct();