mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
fix header in debug template, fix typo in header.tpl example
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
{popup_init src="/javascripts/hiermenus.js"}
|
||||
{popup_init src="/javascripts/overlib.js"}
|
||||
</HEAD>
|
||||
<BODY bgcolor="#ffffff">
|
||||
<TITLE>{$title} - {$Name}</TITLE>
|
||||
|
@@ -4,29 +4,11 @@
|
||||
* Smarty plugin
|
||||
* -------------------------------------------------------------
|
||||
* Type: function
|
||||
* Name: cycle
|
||||
* Version: 1.3
|
||||
* Date: May 3, 2002
|
||||
* Name: debug
|
||||
* Version: 1.0
|
||||
* Date: July 1, 2002
|
||||
* Author: Monte Ohrt <monte@ispi.net>
|
||||
* Credits: Mark Priatel <mpriatel@rogers.com>
|
||||
* Gerard <gerard@interfold.com>
|
||||
* Jason Sweat <jsweat_php@yahoo.com>
|
||||
* Purpose: cycle through given values
|
||||
* Input: name = name of cycle (optional)
|
||||
* values = comma separated list of values to cycle,
|
||||
* or an array of values to cycle
|
||||
* (this can be left out for subsequent calls)
|
||||
*
|
||||
* reset = boolean - resets given var to true
|
||||
* print = boolean - print var or not. default is true
|
||||
* advance = boolean - whether or not to advance the cycle
|
||||
* delimiter = the value delimiter, default is ","
|
||||
* assign = boolean, assigns to template var instead of
|
||||
* printed.
|
||||
*
|
||||
* Examples: {cycle values="#eeeeee,#d0d0d0d"}
|
||||
* {cycle name=row values="one,two,three" reset=true}
|
||||
* {cycle name=row}
|
||||
* Purpose: popup debug window
|
||||
* -------------------------------------------------------------
|
||||
*/
|
||||
function smarty_function_debug($params, &$smarty)
|
||||
|
@@ -4,29 +4,11 @@
|
||||
* Smarty plugin
|
||||
* -------------------------------------------------------------
|
||||
* Type: function
|
||||
* Name: cycle
|
||||
* Version: 1.3
|
||||
* Date: May 3, 2002
|
||||
* Name: debug
|
||||
* Version: 1.0
|
||||
* Date: July 1, 2002
|
||||
* Author: Monte Ohrt <monte@ispi.net>
|
||||
* Credits: Mark Priatel <mpriatel@rogers.com>
|
||||
* Gerard <gerard@interfold.com>
|
||||
* Jason Sweat <jsweat_php@yahoo.com>
|
||||
* Purpose: cycle through given values
|
||||
* Input: name = name of cycle (optional)
|
||||
* values = comma separated list of values to cycle,
|
||||
* or an array of values to cycle
|
||||
* (this can be left out for subsequent calls)
|
||||
*
|
||||
* reset = boolean - resets given var to true
|
||||
* print = boolean - print var or not. default is true
|
||||
* advance = boolean - whether or not to advance the cycle
|
||||
* delimiter = the value delimiter, default is ","
|
||||
* assign = boolean, assigns to template var instead of
|
||||
* printed.
|
||||
*
|
||||
* Examples: {cycle values="#eeeeee,#d0d0d0d"}
|
||||
* {cycle name=row values="one,two,three" reset=true}
|
||||
* {cycle name=row}
|
||||
* Purpose: popup debug window
|
||||
* -------------------------------------------------------------
|
||||
*/
|
||||
function smarty_function_debug($params, &$smarty)
|
||||
|
@@ -1,6 +1,6 @@
|
||||
<HTML>
|
||||
<HEAD>
|
||||
{popup_init src="/javascripts/hiermenus.js"}
|
||||
{popup_init src="/javascripts/overlib.js"}
|
||||
</HEAD>
|
||||
<BODY bgcolor="#ffffff">
|
||||
<TITLE>{$title} - {$Name}</TITLE>
|
||||
|
Reference in New Issue
Block a user