/[cvs]/nfo/php/libs/net.php.smarty/plugins/function.debug.php
ViewVC logotype

Contents of /nfo/php/libs/net.php.smarty/plugins/function.debug.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations)
Thu Dec 19 16:40:20 2002 UTC (21 years, 8 months ago) by joko
Branch: MAIN
Changes since 1.1: +4 -22 lines
+ updated to version 2.3.1

1 <?php
2
3 /*
4 * Smarty plugin
5 * -------------------------------------------------------------
6 * Type: function
7 * Name: debug
8 * Version: 1.0
9 * Date: July 1, 2002
10 * Author: Monte Ohrt <monte@ispi.net>
11 * Purpose: popup debug window
12 * -------------------------------------------------------------
13 */
14 function smarty_function_debug($params, &$smarty)
15 {
16 if($params['output']) {
17 $smarty->assign('_smarty_debug_output',$params['output']);
18 }
19 echo $smarty->_generate_debug_output();
20 }
21
22 /* vim: set expandtab: */
23
24 ?>

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed