messju
80290db3fc
fix plugin-name in error message
2003-12-17 10:45:57 +00:00
messju
fbb083d81f
remove extract-call from {html_select_time}
2003-12-17 09:33:30 +00:00
messju
331c2ef286
allow single-digit days and months without smarty_make_timestamp()
...
this makes dates like "1968-11-6" work correctly since no strtotime()
is involved
add warning when unknown parameter is passed
2003-12-17 09:32:30 +00:00
mohrt
d7311e2692
move set_path() call below the conditional bracket
2003-12-12 19:45:11 +00:00
mohrt
5b14130cef
fix config_load filepath bug
2003-12-12 14:38:42 +00:00
messju
0d6c033ee2
removed extract-call -> cleaner parameter-handling
2003-12-11 09:38:18 +00:00
messju
ec0a2dabd0
fixed indentiation
2003-12-11 09:25:23 +00:00
messju
e157a65085
added day_empty, month_empty, year_empty and all_empty attributes
...
to pass an undefined date use {html_select_date time="--" ...}
2003-12-10 16:43:39 +00:00
messju
3354f45c1f
removed extract()-call
2003-12-10 09:05:22 +00:00
messju
ba5cc2aaaa
fixed indetiation
2003-12-10 08:50:21 +00:00
messju
a7c3e88d8f
strict comparason didn't work in all cases. use type-casting now.
2003-12-09 20:02:06 +00:00
messju
aa2ee3cd66
fix bug when comparing array-keys to "selected" in html_options and
...
html_checkboxes
in_array() uses "strict" comparason now.
2003-12-09 19:38:25 +00:00
messju
37575a1982
removed tabs, fixed indentiation
2003-12-09 19:30:29 +00:00
messju
45e02b5033
fix: check $smarty->request_use_auto_globals at the last occurences of
...
HTTP_*_VARS
2003-12-04 11:37:27 +00:00
boots
549a69ba44
really make the fixes the last patch was supposed to do
2003-11-29 02:15:41 +00:00
boots
74034f776f
removed tabs and killed trailing white-space
2003-11-29 01:44:41 +00:00
boots
b0563469a0
changed $smarty->_syntax_error to $smarty->trigger_error
2003-11-29 00:49:09 +00:00
messju
7dfad44658
remove warning in debug_print_var on php-resources
2003-11-27 17:39:06 +00:00
messju
a688201f10
move function.assign.php to compiler.assign.php
2003-11-24 15:37:03 +00:00
messju
412e2c529b
remove use of extract() in smarty_function_assign()
2003-11-22 09:38:05 +00:00
messju
fbc2b127cb
tightened check for YYYYMMDDHHMMSS-format. thanks konstantin for
...
pointing this out.
removed a few tabs.
2003-10-11 09:33:50 +00:00
messju
d03febb244
fixed 2 notices in smarty_function_mailto()
2003-09-02 10:29:10 +00:00
messju
3c52a9aa7e
fixed PHPDocumentor-comments (thanks Konstantin)
2003-08-29 08:51:25 +00:00
messju
4b4157de20
fixed proper escaping of " and ' with escape:javascript
2003-08-25 13:37:27 +00:00
messju
60e984f942
reverted {strip} from a block-plugin back into the compiler
2003-08-20 14:48:36 +00:00
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