Commit Graph

224 Commits

Author SHA1 Message Date
messju
ef13d8b606 fixes in config_load:
- handling of section-attribute
- reusing the same config-file multiple times
- serialization of config-data for php<4.2.0 (no var_export)

many thanks to atu for pointing this out and for testing
2003-08-14 10:59:30 +00:00
messju
ab839a5b13 removed '\r' from debug_print_vars' output
properly escape vars in javascript-version of debug.tpl
2003-08-13 14:15:30 +00:00
messju
37d3caf18c fixed {debug} and removed tabs in function.debug.php 2003-08-07 21:18:41 +00:00
messju
f66b646479 moved _fetch_resource_info and _parse_resource_name back into Smarty.class.php
renamed smarty_include and smarty_eval wrappers to _include and _eval
2003-07-23 16:14:47 +00:00
messju
fe63515d03 fixed assign parameter for eval (must have gotton lost on its way to 2.5.0)
cleaned up indentiation
2003-07-17 14:23:18 +00:00
messju
ed6fee3542 match first character of file-attribute against "/" instead of
DIRECTORY_SEPARATOR since it is a url-path and not a file-path.
2003-06-30 15:44:25 +00:00
messju
f866f04d66 libs/plugins/function.html_image.php 2003-06-30 15:41:25 +00:00
messju
135bc2fad8 removed $this from smarty_include and smarty_include_php
added cleaner handling of $this to {eval}
2003-06-29 22:57:33 +00:00
messju
2f711dc162 added parsing of forgotton param "basedir" 2003-06-24 15:28:22 +00:00
messju
d52cb387c7 removed warning 2003-06-24 09:27:59 +00:00
messju
e17793eb4d fixed propagation of $this into evald code in smarty_function_eval() 2003-06-22 23:05:36 +00:00
messju
81bf74f327 started moving from $this to $smarty in core.*.php 2003-06-22 03:13:25 +00:00
mohrt
1bd3c2f992 fix more dir paths 2003-06-21 17:39:15 +00:00
mohrt
9526d1ed42 fix filepaths to core files to use DIRECTORY_SEPARATOR 2003-06-21 17:35:15 +00:00
mohrt
a889155fdc refactored var naming to better reflect "resource" instead of "file" where appropriate 2003-06-20 20:01:10 +00:00
mohrt
f869abbf9f split up _compile_template to _compile_file and _compile_source, fix eval function
VS: ----------------------------------------------------------------------
2003-06-19 14:04:49 +00:00
mohrt
96e1934b03 fix logic for _is_compiled() 2003-06-19 13:18:15 +00:00
mohrt
e837781093 fix path problems, rename some varibles from "template" to "file" 2003-06-17 14:11:57 +00:00
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
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
2d522b5d86 add compiler function to cvs repository 2003-06-11 22:47:54 +00:00
mohrt
621629cd44 make config vars compile statically 2003-06-11 21:52:09 +00:00
mohrt
f73864110e fix bug with resource_type resolving 2003-06-10 14:01:22 +00:00
mohrt
245e5e5650 fix problem with new default_resource_type changes 2003-06-06 20:30:53 +00:00
mohrt
a569bd39dc add default_resource_type, ignore 1 char resource names 2003-06-06 15:49:29 +00:00
mohrt
260085657c fix example in code comments 2003-06-03 13:38:08 +00:00
messju
ced3cf376e fixed behaviour of start=... for {counter} 2003-06-03 13:22:41 +00:00
messju
2e9424d567 fixed assign for {counter} 2003-06-02 15:13:18 +00:00
mohrt
d1c6ce0d60 add discrete error checking pertaining to $cache_dir
and $compile_dir, their existance and writability
2003-05-30 19:27:23 +00:00
messju
f1a3b53106 added params vdir, hdir and inner to html_table to allow looping over
the data in various directions
2003-05-28 22:30:58 +00:00
mohrt
833513ba44 fix problem with security and debug.tpl file 2003-05-28 19:40:30 +00:00
messju
79d955503f fixed multiple redundant occurrences for 'config' and 'template' in
$smarty->_cache_info
2003-05-12 07:53:57 +00:00
messju
8876777597 refurbished create_dir_structure to use '/' internally 2003-05-10 15:35:44 +00:00
messju
d57a0296d6 fixed windows absolute-paths in smarty_core_create_dir_structure() 2003-05-10 12:46:17 +00:00
messju
356ecf572e fixed error-message 2003-05-10 10:29:05 +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
15cd354bf8 correct misc varnames, abstract debug console display to plugin function 2003-05-07 16:37:07 +00:00
mohrt
900f27bd6d fix typo 2003-05-07 13:24:43 +00:00
messju
7f307b8a94 fixed DIR_SEP in html_image-plugin 2003-05-04 22:07:10 +00:00
messju
2bc360d3c3 changed "link" to "href" in html_image. "link" is still working but deprecated
html_image always renders an alt-tag now (default alt="")
cleaned up indentiation of function.html_image.php
2003-05-04 11:32:54 +00:00
messju
f5c4fd4534 fixed assign attribute for multiple counters 2003-05-02 22:33:15 +00:00
messju
c4479805af prevent assign from overruling print-attribute in function.counter.php 2003-04-27 18:29:21 +00:00
messju
56792e7ccd fixed problem with counter and assign 2003-04-27 18:16:24 +00:00
messju
448da66e39 fixed errornous creation of '//' in image_path in html_image 2003-04-21 17:42:50 +00:00
mohrt
4a6b5269a3 fix htmlspecialchars() conflict 2003-04-21 16:53:03 +00:00
mohrt
1f0f8d062c fix escapement of special chars in key values of debug console 2003-04-21 16:17:26 +00:00
mohrt
97e6b40b81 fixed debug timing logic for config_load 2003-04-21 14:22:46 +00:00
cellog
fac8fb59fc *** empty log message *** 2003-04-20 21:18:26 +00:00
cellog
02f56203ad updated all doc comments to phpDocumentor format 2003-04-20 21:12:13 +00:00