Commit Graph

240 Commits

Author SHA1 Message Date
mohrt
f42a23f504 fix config_load, compile fetched arrays to compile_dir, switch display
back to runtime. clean up var names and function names,  split up compile
testing and compiling to separate funcs, rename some template_* functions to
file_* functions and update logic so they can be used for file resources
other than templates.
2003-06-16 19:45:11 +00:00
messju
d62680f94e fixed little bug in _compile_custom_tag() 2003-06-16 17:30:48 +00:00
mohrt
6445150ba7 move core files into their own directory under SMARTY_DIR,
remove abstraction function _execute_core_function
2003-06-16 15:18:38 +00:00
mohrt
cdfe88be6d fix newline handling for template for all template tags 2003-06-16 14:38:57 +00:00
messju
15c968fb27 added config-option "request_use_auto_globals" to make auto-globals be
used as request vars instead of HTTP_*_VARS
2003-06-11 22:17:52 +00:00
mohrt
621629cd44 make config vars compile statically 2003-06-11 21:52:09 +00:00
messju
03922f14bb backed out newlines patch 2003-06-11 15:29:14 +00:00
messju
42fbae3186 removed newlines in compiled templates after closing tags 2003-06-11 14:38:24 +00:00
messju
5b4b13a319 added block-methods for registered objects 2003-06-08 01:07:39 +00:00
mohrt
6edf3b63d2 allow spaces in literal tags 2003-05-23 19:26:57 +00:00
mohrt
6d2e916a7b speed up compiled templates, hardcode plugin filepaths instead of
recalculate at runtime
2003-05-19 22:38:28 +00:00
messju
9390ce38d5 fixed warning due to missing param to _execute_core_function() 2003-05-09 19:46:37 +00:00
messju
84d5bfef20 fixed quoting in _compile_include_php 2003-05-09 14:18:28 +00:00
messju
688530acea fixed quoting of "file"-parameter in _compile_include_tag() 2003-05-09 07:36:27 +00:00
mohrt
5b67277699 abstract more private functions to plugin directory 2003-05-08 20:21:16 +00:00
mohrt
9e42d23f88 abstracted display_debug_console and assign_smarty_interface to plugin dir as a test 2003-05-07 18:54:41 +00:00
mohrt
2af5e72a7c add % to math 2003-05-05 18:36:11 +00:00
mohrt
deec21800c remove ++ and -- math operators on template vars 2003-05-05 14:19:57 +00:00
messju
eb3b9beec1 removed unused parameter $quote from Smarty_Compiler::_parse_attrs() 2003-05-04 22:08:44 +00:00
mohrt
406a148673 allow math on negative number 2003-05-02 19:05:21 +00:00
mohrt
b29b7f9025 added simple math operators to variables 2003-05-02 16:39:18 +00:00
messju
4389d50168 reverted patch for case-insensitive tag-names 2003-04-29 17:00:30 +00:00
messju
86aff4030b made plugin-names case-insensitive. this affects
compiler/block/custom-functions and modifers.
2003-04-27 18:04:33 +00:00
mohrt
f3dfdc5ec1 remove unnecessary close/open tags from compiled templates 2003-04-26 15:56:18 +00:00
cellog
02f56203ad updated all doc comments to phpDocumentor format 2003-04-20 21:12:13 +00:00
mohrt
815ac01d84 moved strip from smarty core to plugin, made textformat block function return output instead of echo it 2003-04-20 18:33:31 +00:00
mohrt
386515966b moved config_load from smarty core to plugin 2003-04-20 18:08:04 +00:00
messju
efd4ed83b5 added &$repeat-paramter to block-functions 2003-04-20 13:04:42 +00:00
messju
3f0821ed62 enabled hex-constants (0x...) as function-attributes, inside
if-statements and as modifier-parameters
2003-04-19 10:12:18 +00:00
messju
2ba21fd1e1 fixed bug with passing $smarty as reference in Smarty.compiler.class
quoted "<?php ... ?>" in comment to dis-annoy syntax-highlighting of a certain editor
2003-04-18 10:03:09 +00:00
mohrt
76a3ebd1a8 backed out comment patch 2003-04-17 18:30:41 +00:00
mohrt
9736393913 fix bug in new comment logic 2003-04-17 15:43:31 +00:00
mohrt
e19bfe73a0 corrected output with Smarty comments 2003-04-17 15:20:19 +00:00
mohrt
5eff9c73e5 commit german 2.5.0 docs 2003-04-17 14:50:49 +00:00
messju
e6db82c9cc added object-callbacks for all types of plugins and filters
(except for resources)
2003-04-15 10:41:13 +00:00
messju
7221c8afee fixed urls in headers ( http://smarty.php.net/ instead of
http://www.phpinsider.com )
2003-04-14 08:51:25 +00:00
mohrt
3cfcb5d223 update version numbers for 2.5.0 release 2003-04-11 13:40:40 +00:00
mohrt
d169624a9b change backtic syntax from $foo to $foo 2003-04-04 23:19:02 +00:00
mohrt
da67d8edce recognize $foo[][] syntax in embedded quotes without backticks 2003-04-04 20:15:48 +00:00
messju
b4a27fafa4 name=123 is passed as an integer (not a string) to plugins now 2003-04-03 17:00:17 +00:00
messju
9693d74260 added CVS $Id$ 2003-04-01 15:23:16 +00:00
messju
45ff82cf10 fixed flaw when generating an error for missing postfilter 2003-03-31 21:57:41 +00:00
mohrt
5529396ade committing RC2 2003-03-26 18:06:09 +00:00
mohrt
ec60516e34 fix notice when no parameter is passed to default 2003-03-20 14:31:18 +00:00
messju
8c73efec74 fixed errormessage in _compile_smarty_ref() 2003-03-19 12:51:34 +00:00
mohrt
67470219d2 fix (newly introduced) bug with passing multiple modifiers to a parameter 2003-03-18 14:47:41 +00:00
mohrt
2df1ca2d00 fix issue of embedded var and escaped double quotes 2003-03-17 14:56:39 +00:00
mohrt
76048d1ceb back out "@" logic, apply only to default modifier special case 2003-03-15 20:47:29 +00:00
mohrt
ab48cfa939 fix @ logic, only use upon an echo 2003-03-15 20:03:46 +00:00
mohrt
e4f2f8cf35 append "@" to template var echoes to supress possible notices 2003-03-15 19:34:46 +00:00