code stringlengths 1 2.01M | repo_name stringlengths 3 62 | path stringlengths 1 267 | language stringclasses 231
values | license stringclasses 13
values | size int64 1 2.01M |
|---|---|---|---|---|---|
<?php
/**
* Smarty plugin to execute PHP code
*
* @package Smarty
* @subpackage PluginsBlock
* @author Uwe Tews
*/
/**
* Smarty {php}{/php} block plugin
*
* @param string $content contents of the block
* @param object $template template object
* @param boolean $ &$repeat repeat flag
* @return string con... | zy-sms | trunk/zy-sms/smarty/plugins/block.php.php | PHP | asf20 | 589 |
<?php
/**
* Smarty shared plugin
*
* @package Smarty
* @subpackage PluginsShared
*/
/**
* Function: smarty_make_timestamp<br>
* Purpose: used by other smarty functions to make a timestamp
* from a string.
* @author Monte Ohrt <monte at ohrt dot com>
* @param string $string
* @return string
*/
... | zy-sms | trunk/zy-sms/smarty/plugins/shared.make_timestamp.php | PHP | asf20 | 1,232 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {html_select_date} plugin
*
* Type: function<br>
* Name: html_select_date<br>
* Purpose: Prints the dropdowns for date selection.
*
* ChangeLog:<br>
* - 1.0 initial release
* - 1.... | zy-sms | trunk/zy-sms/smarty/plugins/function.html_select_date.php | PHP | asf20 | 11,433 |
<?php
/**
* Smarty shared plugin
*
* @package Smarty
* @subpackage PluginsShared
*/
/**
* escape_special_chars common function
*
* Function: smarty_function_escape_special_chars<br>
* Purpose: used by other smarty functions to escape
* special chars except for already escaped ones
* @author Mon... | zy-sms | trunk/zy-sms/smarty/plugins/shared.escape_special_chars.php | PHP | asf20 | 754 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {html_options} function plugin
*
* Type: function<br>
* Name: html_options<br>
* Purpose: Prints the list of <option> tags generated from
* the passed parameters
*
* @link http://smarty.php.n... | zy-sms | trunk/zy-sms/smarty/plugins/function.html_options.php | PHP | asf20 | 4,342 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty wordwrap modifier plugin
*
* Type: modifier<br>
* Name: wordwrap<br>
* Purpose: wrap a string of text at a given length
*
* @link http://smarty.php.net/manual/en/language.modifier.w... | zy-sms | trunk/zy-sms/smarty/plugins/modifiercompiler.wordwrap.php | PHP | asf20 | 845 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty cat modifier plugin
*
* Type: modifier<br>
* Name: cat<br>
* Date: Feb 24, 2003
* Purpose: catenate a value to a variable
* Input: string to catenate
* Example: {$var|cat:"f... | zy-sms | trunk/zy-sms/smarty/plugins/modifiercompiler.cat.php | PHP | asf20 | 649 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {html_image} function plugin
*
* Type: function<br>
* Name: html_image<br>
* Date: Feb 24, 2003<br>
* Purpose: format HTML tags for the image<br>
* Examples: {html_image file="/images/masthead.gif"}
... | zy-sms | trunk/zy-sms/smarty/plugins/function.html_image.php | PHP | asf20 | 4,461 |
<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {counter} function plugin
*
* Type: function<br>
* Name: counter<br>
* Purpose: print out a counter value
* @author Monte Ohrt <monte at ohrt dot com>
* @link http://smarty.php.net/manual/en/language.function.... | zy-sms | trunk/zy-sms/smarty/plugins/function.counter.php | PHP | asf20 | 1,797 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty date_format modifier plugin
*
* Type: modifier<br>
* Name: date_format<br>
* Purpose: format datestamps via strftime<br>
* Input:<br>
* - string: input date string
* - format: strftime ... | zy-sms | trunk/zy-sms/smarty/plugins/modifier.date_format.php | PHP | asf20 | 1,976 |
<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty replace modifier plugin
*
* Type: modifier<br>
* Name: replace<br>
* Purpose: simple search/replace
*
* @link http://smarty.php.net/manual/en/language.modifier.replace.php replace (Smarty online manual)
* @... | zy-sms | trunk/zy-sms/smarty/plugins/modifier.replace.php | PHP | asf20 | 764 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty count_sentences modifier plugin
*
* Type: modifier<br>
* Name: count_sentences
* Purpose: count the number of sentences in a text
* @link http://smarty.php.net/manual/en/language.modifi... | zy-sms | trunk/zy-sms/smarty/plugins/modifiercompiler.count_sentences.php | PHP | asf20 | 710 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty count_characters modifier plugin
*
* Type: modifier<br>
* Name: count_characteres<br>
* Purpose: count the number of characters in a text
*
* @link http://smarty.php.net/manual/en/l... | zy-sms | trunk/zy-sms/smarty/plugins/modifiercompiler.count_characters.php | PHP | asf20 | 1,405 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty truncate modifier plugin
*
* Type: modifier<br>
* Name: truncate<br>
* Purpose: Truncate a string to a certain length if necessary,
* optionally splitting in the middle of a word, and
* ... | zy-sms | trunk/zy-sms/smarty/plugins/modifier.truncate.php | PHP | asf20 | 2,255 |
<?php
if(!function_exists('smarty_mb_str_replace')) {
function smarty_mb_str_replace($search, $replace, $subject, &$count=0) {
if (!is_array($search) && is_array($replace)) {
return false;
}
if (is_array($subject)) {
// call mb_replace for each single string in $subject
... | zy-sms | trunk/zy-sms/smarty/plugins/shared.mb_str_replace.php | PHP | asf20 | 1,293 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty escape modifier plugin
*
* Type: modifier<br>
* Name: escape<br>
* Purpose: escape string for output
*
* @link http://smarty.php.net/manual/en/language.modifier.count.characters.php count_characters (Sm... | zy-sms | trunk/zy-sms/smarty/plugins/modifier.escape.php | PHP | asf20 | 2,808 |
<?php
/**
* Smarty plugin
*
* This plugin is only for Smarty2 BC
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {math} function plugin
*
* Type: function<br>
* Name: math<br>
* Purpose: handle math computations in template<br>
* @link http://smarty.php.net/manual/en/language.funct... | zy-sms | trunk/zy-sms/smarty/plugins/function.math.php | PHP | asf20 | 2,715 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifier
*/
/**
* Smarty regex_replace modifier plugin
*
* Type: modifier<br>
* Name: regex_replace<br>
* Purpose: regular expression search/replace
* @link http://smarty.php.net/manual/en/language.modifier.regex.replace.php
* ... | zy-sms | trunk/zy-sms/smarty/plugins/modifier.regex_replace.php | PHP | asf20 | 1,237 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFilter
*/
/**
* Smarty trimwhitespace outputfilter plugin
*
* File: outputfilter.trimwhitespace.php<br>
* Type: outputfilter<br>
* Name: trimwhitespace<br>
* Date: Jan 25, 2003<br>
* Purpose: trim leading white space and bl... | zy-sms | trunk/zy-sms/smarty/plugins/outputfilter.trimwhitespace.php | PHP | asf20 | 2,754 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFilter
*/
/**
* Smarty htmlspecialchars variablefilter plugin
*
* @param string $source input string
* @param object $ &$smarty Smarty object
* @return string filtered output
*/
function smarty_variablefilter_htmlspecialchars($source, $sm... | zy-sms | trunk/zy-sms/smarty/plugins/variablefilter.htmlspecialchars.php | PHP | asf20 | 384 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {html_select_time} function plugin
*
* Type: function<br>
* Name: html_select_time<br>
* Purpose: Prints the dropdowns for time selection
*
* @link http://smarty.php.net/manual/en/language.function.html.... | zy-sms | trunk/zy-sms/smarty/plugins/function.html_select_time.php | PHP | asf20 | 6,405 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsFunction
*/
/**
* Smarty {mailto} function plugin
*
* Type: function<br>
* Name: mailto<br>
* Date: May 21, 2002
* Purpose: automate mailto address link creation, and optionally
* encode them.<br>
*
* Examples:
... | zy-sms | trunk/zy-sms/smarty/plugins/function.mailto.php | PHP | asf20 | 5,341 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage PluginsModifierCompiler
*/
/**
* Smarty noprint modifier plugin
*
* Type: modifier<br>
* Name: noprint<br>
* Purpose: return an empty string
* @author Uwe Tews
* @param array $params parameters
* @return string with com... | zy-sms | trunk/zy-sms/smarty/plugins/modifiercompiler.noprint.php | PHP | asf20 | 427 |
<?php
/**
* Project: Smarty: the PHP compiling template engine
* File: Smarty.class.php
* SVN: $Id: Smarty.class.php 4074 2011-04-22 02:19:14Z uwe.tews@googlemail.com $
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Publi... | zy-sms | trunk/zy-sms/smarty/Smarty.class.php | PHP | asf20 | 27,931 |
{capture name='_smarty_debug' assign=debug_output}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
<title>Smarty Debug Console</title>
<style type="text/css">
{literal}
body, h1, h2, td, th, p {
fo... | zy-sms | trunk/zy-sms/smarty/debug.tpl | Smarty | asf20 | 2,827 |
<?php
/**
* Smarty Internal Plugin Compile Config Load
*
* Compiles the {config load} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Config Load Class
*/
class Smarty_Internal_Compile_Config_Load extends Smarty_Internal_CompileBase {
// attribut... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_config_load.php | PHP | asf20 | 1,995 |
<?php
/**
* Smarty Internal Plugin Compile Section
*
* Compiles the {section} {sectionelse} {/section} tags
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Section Class
*/
class Smarty_Internal_Compile_Section extends Smarty_Internal_CompileBase {
//... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_section.php | PHP | asf20 | 6,931 |
<?php
/**
* Smarty Internal Plugin Smarty Template Compiler Base
*
* This file contains the basic classes and methodes for compiling Smarty templates with lexer/parser
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
require_once("smarty_internal_parsetree.php");
/**
* Class SmartyTemplat... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php | PHP | asf20 | 2,526 |
<?php
/**
* Smarty Internal Plugin Resource File
*
* Implements the file system as resource for Smarty templates
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource File
*/
class Smarty_Internal_Resource_File {
public function __construct($... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_resource_file.php | PHP | asf20 | 3,852 |
<?php
/**
* Smarty Internal Plugin Compile Function_Call
*
* Compiles the calls of user defined tags defined by {function}
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Function_Call Class
*/
class Smarty_Internal_Compile_Call extends Smarty_Interna... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_call.php | PHP | asf20 | 4,213 |
<?php
/**
* Smarty read include path plugin
*
* @package Smarty
* @subpackage PluginsInternal
* @author Monte Ohrt
*/
/**
* Smarty Internal Read Include Path Class
*/
class Smarty_Internal_Get_Include_Path {
/**
* Return full file path from PHP include_path
*
* @param st... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_get_include_path.php | PHP | asf20 | 1,037 |
<?php
/**
* Smarty Internal Plugin Resource String
*
* Implements the strings as resource for Smarty template
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource String
*/
class Smarty_Internal_Resource_String {
public function __construct(... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_resource_string.php | PHP | asf20 | 3,860 |
<?php
/**
* Smarty Internal Plugin Compile Special Smarty Variable
*
* Compiles the special $smarty variables
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile special Smarty Variable Class
*/
class Smarty_Internal_Compile_Private_Special_Variable extend... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_private_special_variable.php | PHP | asf20 | 3,475 |
<?php
/**
* Smarty Internal Plugin Resource PHP
*
* Implements the file system as resource for PHP templates
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource PHP
*/
class Smarty_Internal_Resource_PHP {
/**
* Class constructor, enable... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_resource_php.php | PHP | asf20 | 3,506 |
<?php
/**
* Project: Smarty: the PHP compiling template engine
* File: smarty_internal_wrapper.php
* SVN: $Id: $
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundati... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_wrapper.php | PHP | asf20 | 5,254 |
<?php
/**
* Smarty Internal Plugin Compile Assign
*
* Compiles the {assign} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Assign Class
*/
class Smarty_Internal_Compile_Assign extends Smarty_Internal_CompileBase {
/**
* Compiles code for... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_assign.php | PHP | asf20 | 2,542 |
<?php
/**
* Smarty Internal Plugin Compile Modifier
*
* Compiles code for modifier execution
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Modifier Class
*/
class Smarty_Internal_Compile_Private_Modifier extends Smarty_Internal_CompileB... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_private_modifier.php | PHP | asf20 | 2,992 |
<?php
/**
* Smarty Internal Plugin Compile Registered Function
*
* Compiles code for the execution of a registered function
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Registered Function Class
*/
class Smarty_Internal_Compile_Privat... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_private_registered_function.php | PHP | asf20 | 2,695 |
<?php
/**
* Smarty Internal Plugin Configfilelexer
*
* This is the lexer to break the config file source into tokens
* @package Smarty
* @subpackage Config
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Configfilelexer
*/
class Smarty_Internal_Configfilelexer
{
public $data;
public $counter;
public $to... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_configfilelexer.php | PHP | asf20 | 17,782 |
<?php
/**
* Smarty Internal Plugin Templateparser Parsetrees
*
* These are classes to build parsetrees in the template parser
*
* @package Smarty
* @subpackage Compiler
* @author Thue Kristensen
* @author Uwe Tews
*/
abstract class _smarty_parsetree {
abstract public function to_smarty_php... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_parsetree.php | PHP | asf20 | 7,030 |
<?php
/**
* Project: Smarty: the PHP compiling template engine
* File: smarty_internal_utility.php
* SVN: $Id: $
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundati... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_utility.php | PHP | asf20 | 12,027 |
<?php
/**
* Smarty Internal Plugin Compile Break
*
* Compiles the {break} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Break Class
*/
class Smarty_Internal_Compile_Break extends Smarty_Internal_CompileBase {
// attribute definiti... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_break.php | PHP | asf20 | 2,137 |
<?php
/**
* Smarty Internal Plugin Config
*
* Main class for config variables
*
* @ignore
* @package Smarty
* @subpackage Config
* @author Uwe Tews
*/
class Smarty_Internal_Config {
static $config_objects = array();
public function __construct($config_resource, $smarty, $data = null)
{
... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_config.php | PHP | asf20 | 10,553 |
<?php
/**
* Smarty Internal Plugin Compile Block
*
* Compiles the {block}{/block} tags
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Block Class
*/
class Smarty_Internal_Compile_Block extends Smarty_Internal_CompileBase {
// attribute definitions
p... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_block.php | PHP | asf20 | 8,469 |
<?php
/**
* Smarty Internal Plugin Resource Registered
*
* Implements the registered resource for Smarty template
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource Registered
*/
class Smarty_Internal_Resource_Registered {
public function ... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_resource_registered.php | PHP | asf20 | 4,845 |
<?php
/**
* Smarty Internal Plugin Templatelexer
*
* This is the lexer to break the template source into tokens
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Templatelexer
*/
class Smarty_Internal_Templatelexer
{
public $data;
public $counter;
public $token;
... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_templatelexer.php | PHP | asf20 | 35,941 |
<?php
/**
* Smarty Internal Plugin Compile Function Plugin
*
* Compiles code for the execution of function plugin
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Function Plugin Class
*/
class Smarty_Internal_Compile_Private_Function_Plugin extends Sma... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_private_function_plugin.php | PHP | asf20 | 1,804 |
<?php
/**
* Smarty Internal Plugin Debug
*
* Class to collect data for the Smarty Debugging Consol
*
* @package Smarty
* @subpackage Debug
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Debug Class
*/
class Smarty_Internal_Debug extends Smarty_Internal_Data {
// template data
static $template_data = array();
... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_debug.php | PHP | asf20 | 4,562 |
<?php
/**
* Smarty Internal Plugin Configfileparser
*
* This is the config file parser.
* It is generated from the internal.configfileparser.y file
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
class TPC_yyToken implements ArrayAccess
{
public $string = '';
public $metadata = array();
fun... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_configfileparser.php | PHP | asf20 | 32,583 |
<?php
/**
* Smarty Internal Plugin Data
*
* This file contains the basic classes and methodes for template and variable creation
*
* @package Smarty
* @subpackage Templates
* @author Uwe Tews
*/
/**
* Base class with template and variable methodes
*/
class Smarty_Internal_Data {
// class used for templa... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_data.php | PHP | asf20 | 15,649 |
<?php
/**
* Smarty Internal Plugin Compile Capture
*
* Compiles the {capture} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Capture Class
*/
class Smarty_Internal_Compile_Capture extends Smarty_Internal_CompileBase {
// attribute definitions
... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_capture.php | PHP | asf20 | 2,528 |
<?php
/**
* Smarty Internal Plugin CacheResource File
*
* Implements the file system as resource for the HTML cache
* Version ussing nocache inserts
*
* @package Smarty
* @subpackage Cacher
* @author Uwe Tews
*/
/**
* This class does contain all necessary methods for the HTML cache on file system
*/
cla... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_cacheresource_file.php | PHP | asf20 | 8,077 |
<?php
/**
* Smarty Internal Plugin Compile Print Expression
*
* Compiles any tag which will output an expression or variable
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Print Expression Class
*/
class Smarty_Internal_Compile_Private_Print_Expressio... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_private_print_expression.php | PHP | asf20 | 3,069 |
<?php
/**
* Smarty Internal Plugin Compile Ldelim
*
* Compiles the {ldelim} tag
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Ldelim Class
*/
class Smarty_Internal_Compile_Ldelim extends Smarty_Internal_CompileBase {
/**
* Compiles code for the... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_ldelim.php | PHP | asf20 | 1,004 |
<?php
/**
* Smarty Internal Plugin Resource Stream
*
* Implements the streams as resource for Smarty template
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource Stream
*/
class Smarty_Internal_Resource_Stream {
public function __construct($smarty)
{... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_resource_stream.php | PHP | asf20 | 2,687 |
<?php
/**
* Smarty Internal Plugin Register
*
* External Smarty methods register/unregister
*
* @package Smarty
* @author Uwe Tews
*/
/**
* Class for register/unregister methods
*/
class Smarty_Internal_Register {
function __construct($smarty)
{
$this->smarty = $smarty;
}
/**
... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_register.php | PHP | asf20 | 4,959 |
<?php
/**
* Smarty Internal Plugin Compile Eval
*
* Compiles the {eval} tag
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Eval Class
*/
class Smarty_Internal_Compile_Eval extends Smarty_Internal_CompileBase {
public $required_attributes = array('var... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_eval.php | PHP | asf20 | 1,587 |
<?php
/**
* Smarty Internal Plugin Compile Debug
*
* Compiles the {debug} tag
* It opens a window the the Smarty Debugging Console
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Debug Class
*/
class Smarty_Internal_Compile_Debug extends Smarty_Internal_... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_debug.php | PHP | asf20 | 1,004 |
<?php
/**
* Smarty Internal Plugin Smarty Template Compiler Base
*
* This file contains the basic classes and methodes for compiling Smarty templates with lexer/parser
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Main compiler class
*/
class Smarty_Internal_TemplateCom... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_templatecompilerbase.php | PHP | asf20 | 22,063 |
<?php
/**
* Smarty Internal Plugin Function Call Handler
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
/**
* This class does call function defined with the {function} tag
*/
class Smarty_Internal_Function_Call_Handler extends Smarty_Internal_Template {
static function... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_function_call_handler.php | PHP | asf20 | 1,917 |
<?php
/**
* Smarty Internal Plugin Template
*
* This file contains the Smarty template engine
*
* @package Smarty
* @subpackage Templates
* @author Uwe Tews
*/
/**
* Main class with template data structures and methods
*/
class Smarty_Internal_Template extends Smarty_Internal_Data {
// object cache
... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_template.php | PHP | asf20 | 42,713 |
<?php
/**
* Smarty plugin
*
* @package Smarty
* @subpackage Security
* @author Uwe Tews
*/
/**
* This class does contain the security settings
*/
class Smarty_Security {
/**
* This determines how Smarty handles "<?php ... ?>" tags in templates.
* possible values:
* <ul>
* <li>Smart... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_security.php | PHP | asf20 | 7,140 |
<?php
/**
* Smarty Internal Plugin Compile Continue
*
* Compiles the {continue} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Continue Class
*/
class Smarty_Internal_Compile_Continue extends Smarty_Internal_CompileBase {
// attrib... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_continue.php | PHP | asf20 | 2,152 |
<?php
/**
* Smarty Internal Plugin Compile Object Funtion
*
* Compiles code for registered objects as function
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Object Function Class
*/
class Smarty_Internal_Compile_Private_Object_Function extends Smarty... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_private_object_function.php | PHP | asf20 | 2,440 |
<?php
/**
* Smarty Internal Plugin Compile Rdelim
*
* Compiles the {rdelim} tag
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Rdelim Class
*/
class Smarty_Internal_Compile_Rdelim extends Smarty_Internal_CompileBase {
/**
* Compiles code for the... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_rdelim.php | PHP | asf20 | 1,005 |
<?php
/**
* Smarty Internal Plugin Compile Insert
*
* Compiles the {insert} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Insert Class
*/
class Smarty_Internal_Compile_Insert extends Smarty_Internal_CompileBase {
// attribute definitions
pu... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_insert.php | PHP | asf20 | 5,020 |
<?php
/**
* Smarty Internal Plugin Config File Compiler
*
* This is the config file compiler class. It calls the lexer and parser to
* perform the compiling.
*
* @package Smarty
* @subpackage Config
* @author Uwe Tews
*/
/**
* Main config file compiler class
*/
class Smarty_Internal_Config_File_Compile... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_config_file_compiler.php | PHP | asf20 | 4,042 |
<?php
/**
* Smarty Internal Plugin Compile Append
*
* Compiles the {append} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Append Class
*/
class Smarty_Internal_Compile_Append extends Smarty_Internal_Compile_Assign {
/**
* Compiles code ... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_append.php | PHP | asf20 | 1,547 |
<?php
/**
* Smarty write file plugin
*
* @package Smarty
* @subpackage PluginsInternal
* @author Monte Ohrt
*/
/**
* Smarty Internal Write File Class
*/
class Smarty_Internal_Write_File {
/**
* Writes file in a save way to disk
*
* @param string $_filepath complete filepath
* @param... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_write_file.php | PHP | asf20 | 1,466 |
<?php
/**
* Smarty Internal Plugin Compile extend
*
* Compiles the {extends} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile extend Class
*/
class Smarty_Internal_Compile_Extends extends Smarty_Internal_CompileBase {
// attribute definitions
pub... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_extends.php | PHP | asf20 | 4,087 |
<?php
/**
* Smarty Internal Plugin Nocache Insert
*
* Compiles the {insert} tag into the cache file
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Insert Class
*/
class Smarty_Internal_Nocache_Insert {
/**
* Compiles code fo... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_nocache_insert.php | PHP | asf20 | 1,627 |
<?php
/**
* Smarty Internal Plugin Compile Object Block Function
*
* Compiles code for registered objects as block function
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Object Block Function Class
*/
class Smarty_Internal_Compile_Private_Object_Bloc... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_private_object_block_function.php | PHP | asf20 | 3,562 |
<?php
/**
* Smarty Internal Plugin Compile Include PHP
*
* Compiles the {include_php} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Insert Class
*/
class Smarty_Internal_Compile_Include_Php extends Smarty_Internal_CompileBase {
// attribute def... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_include_php.php | PHP | asf20 | 2,979 |
<?php
/**
* Smarty Internal Plugin Compile While
*
* Compiles the {while} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile While Class
*/
class Smarty_Internal_Compile_While extends Smarty_Internal_CompileBase {
/**
* Compiles code for the {while} tag... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_while.php | PHP | asf20 | 3,373 |
<?php
/**
* Smarty Internal Plugin Compile For
*
* Compiles the {for} {forelse} {/for} tags
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile For Class
*/
class Smarty_Internal_Compile_For extends Smarty_Internal_CompileBase {
/**
* Compiles cod... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_for.php | PHP | asf20 | 6,210 |
<?php
/**
* Smarty Internal Plugin Filter
*
* External Smarty filter methods
*
* @package Smarty
* @author Uwe Tews
*/
/**
* Class for filter methods
*/
class Smarty_Internal_Filter {
function __construct($smarty)
{
$this->smarty = $smarty;
}
/**
* Registers a filter functio... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_filter.php | PHP | asf20 | 2,137 |
<?php
/**
* Smarty Internal Plugin Resource Eval
*
* Implements the strings as resource for Smarty template
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource Eval
*/
class Smarty_Internal_Resource_Eval {
public function __... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_resource_eval.php | PHP | asf20 | 2,383 |
<?php
/**
* Smarty Internal Plugin Filter Handler
*
* Smarty filter handler class
*
* @package Smarty
* @subpackage PluginsInternal
* @author Uwe Tews
*/
/**
* Class for filter processing
*/
class Smarty_Internal_Filter_Handler {
/**
* Run filters over content
*
* The filters will be ... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_filter_handler.php | PHP | asf20 | 2,717 |
<?php
/**
* Smarty Internal Plugin CompileBase
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* This class does extend all internal compile plugins
*/
// abstract class Smarty_Internal_CompileBase implements TagCompilerInterface
class Smarty_Internal_CompileBase {
public $required_att... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compilebase.php | PHP | asf20 | 5,922 |
<?php
/**
* Smarty Internal Plugin Resource Extends
*
* Implements the file system as resource for Smarty which does extend a chain of template files templates
*
* @package Smarty
* @subpackage TemplateResources
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Resource Extends
*/
class Smarty_Internal_... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_resource_extends.php | PHP | asf20 | 6,615 |
<?php
/**
* Smarty Internal Plugin Compile Registered Block
*
* Compiles code for the execution of a registered block function
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Registered Block Class
*/
class Smarty_Internal_Compile_Private... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_private_registered_block.php | PHP | asf20 | 5,288 |
<?php
/**
* Smarty Internal Plugin Compile If
*
* Compiles the {if} {else} {elseif} {/if} tags
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile If Class
*/
class Smarty_Internal_Compile_If extends Smarty_Internal_CompileBase {
/**
* Compiles co... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_if.php | PHP | asf20 | 8,468 |
<?php
/**
* Smarty Internal Plugin Compile Function
*
* Compiles the {function} {/function} tags
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Function Class
*/
class Smarty_Internal_Compile_Function extends Smarty_Internal_CompileBase {
// attribut... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_function.php | PHP | asf20 | 6,198 |
<?php
/**
* Smarty Internal Plugin Compile Nocache
*
* Compiles the {nocache} {/nocache} tags
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Nocache Class
*/
class Smarty_Internal_Compile_Nocache extends Smarty_Internal_CompileBase {
/**
* Compi... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_nocache.php | PHP | asf20 | 1,860 |
<?php
/**
* Smarty Internal Plugin Templateparser
*
* This is the template parser.
* It is generated from the internal.templateparser.y file
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
class TP_yyToken implements ArrayAccess
{
public $string = '';
public $metadata = array();
function __... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_templateparser.php | PHP | asf20 | 169,148 |
<?php
/**
* Smarty Internal Plugin Compile Foreach
*
* Compiles the {foreach} {foreachelse} {/foreach} tags
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Foreach Class
*/
class Smarty_Internal_Compile_Foreach extends Smarty_Internal_CompileBase {
//... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_foreach.php | PHP | asf20 | 9,137 |
<?php
/**
* Smarty Internal Plugin Compile Block Plugin
*
* Compiles code for the execution of block plugin
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Block Plugin Class
*/
class Smarty_Internal_Compile_Private_Block_Plugin extends Smarty_Internal... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_private_block_plugin.php | PHP | asf20 | 3,264 |
<?php
/**
* Smarty Internal Plugin Compile Include
*
* Compiles the {include} tag
*
* @package Smarty
* @subpackage Compiler
* @author Uwe Tews
*/
/**
* Smarty Internal Plugin Compile Include Class
*/
class Smarty_Internal_Compile_Include extends Smarty_Internal_CompileBase {
// caching mode to create n... | zy-sms | trunk/zy-sms/smarty/sysplugins/smarty_internal_compile_include.php | PHP | asf20 | 9,309 |
$(document).ready(function(){
//Sidebar Accordion Menu:
$("#main-nav li ul").hide(); // Hide all sub menus
$("#main-nav li a.current").parent().find("ul").slideToggle("slow"); // Slide down the current menu item's sub menu
$("#main-nav li a.nav-top-item").click( // When a top menu item is clicked.... | zy-sms | trunk/zy-sms/js/simpla.jquery.configuration.js | JavaScript | asf20 | 3,599 |
/**
* WYSIWYG - jQuery plugin 0.5
*
* Copyright (c) 2008-2009 Juan M Martinez
* http://plugins.jquery.com/project/jWYSIWYG
*
* Dual licensed under the MIT and GPL licenses:
* http://www.opensource.org/licenses/mit-license.php
* http://www.gnu.org/licenses/gpl.html
*
* $Id: $
*/
(function( $ )
{
$.fn.... | zy-sms | trunk/zy-sms/js/jquery.wysiwyg.js | JavaScript | asf20 | 22,193 |
/*
* Facebox (for jQuery)
* version: 1.2 (05/05/2008)
* @requires jQuery v1.2 or later
*
* Examples at http://famspam.com/facebox/
*
* Licensed under the MIT:
* http://www.opensource.org/licenses/mit-license.php
*
* Copyright 2007, 2008 Chris Wanstrath [ chris@ozmm.org ]
*
* Usage:
*
* jQuery(documen... | zy-sms | trunk/zy-sms/js/facebox.js | JavaScript | asf20 | 9,294 |
<?php
/*
* Created on 2011-8-29
*======================================
*Author: Allen
*Project:health360
*File: common.php
*Date: 2011-8-29
*======================================
*/
$_LANG['WEBSITE_NAME']='WebNova短信平台';
$_LANG['VIEW_THE_SITE']='查看网站';
$_LANG['SIGN_OUT']='退出登录';
$_LANG['ENGLISH'... | zy-sms | trunk/zy-sms/language/chinese/admin/common.php | PHP | asf20 | 5,462 |
<?php
/*
* Created on 2011-8-29
*======================================
*Author: Allen
*Project:health360
*File: common.php
*Date: 2011-8-29
*======================================
*/
$_LANG['WEBSITE_NAME']='WebNova SMS Platform';
$_LANG['VIEW_THE_SITE']='View the Site';
$_LANG['SIGN_OUT']='Sign O... | zy-sms | trunk/zy-sms/language/english/admin/common.php | PHP | asf20 | 7,103 |
<?php
/*
* Created on 2011-10-14
*======================================
*Author: Allen
*Project:health360
*File: language.php
*Date: 2011-10-14
*======================================
*TODO
*@param @type @var @note
*/
$uplink = $_SERVER['HTTP_REFERER'];
if(strpos($uplink,"language=")>1){
... | zy-sms | trunk/zy-sms/language/language.php | PHP | asf20 | 755 |
<?php
/*
* Created on 2011-9-5
*======================================
*Author: Allen
*Project:health360
*File: company.php
*Date: 2011-9-5
*======================================
*TODO
*@param @type @var @note
*/
require ('../include/init.php');
$method = $_GET['method'];
global $view_file;... | zy-sms | trunk/zy-sms/customer/department.php | PHP | asf20 | 3,078 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2013 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zy-sms | trunk/zy-sms/customer/PHPExcel/CalcEngine/Logger.php | PHP | asf20 | 3,976 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2013 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zy-sms | trunk/zy-sms/customer/PHPExcel/CalcEngine/CyclicReferenceStack.php | PHP | asf20 | 2,395 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2013 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zy-sms | trunk/zy-sms/customer/PHPExcel/Cell/Hyperlink.php | PHP | asf20 | 2,993 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2013 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zy-sms | trunk/zy-sms/customer/PHPExcel/Cell/AdvancedValueBinder.php | PHP | asf20 | 8,903 |
<?php
/**
* PHPExcel
*
* Copyright (c) 2006 - 2013 PHPExcel
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later ve... | zy-sms | trunk/zy-sms/customer/PHPExcel/Cell/IValueBinder.php | PHP | asf20 | 1,545 |