Commit Graph

208 Commits

Author SHA1 Message Date
messju
0a66a27fe1 removed emission of unnecessary notices for unavailable config-files
in config_load()
2004-01-22 23:54:51 +00:00
messju
cf0ee7bdd8 added handling of resources for {config_load} 2004-01-21 17:21:26 +00:00
messju
07b151bf3e fixed bug when using arrays with tr_attr and td_attr in {html_table} 2004-01-19 12:47:59 +00:00
messju
146ecb7a85 forgot to remove duplicate is_secure()-check 2004-01-15 15:04:33 +00:00
messju
ea53ef5a58 fix: $smarty->security is now correctly handled
minor optimizations:
   core/core.is_secure.php is only included when needed
   $dpi_default is only determined when needed
2004-01-15 15:00:09 +00:00
messju
36ac900ceb removed extract(). enhanced parameter parsing. 2003-12-19 17:20:19 +00:00
messju
f6bb3389f6 removed tabs. fixed indentiation. 2003-12-19 17:18:56 +00:00
messju
6711d0cebf removed tabs 2003-12-19 15:22:55 +00:00
messju
cc87a960f4 removed extract() from parameter-parsing 2003-12-19 08:49:17 +00:00
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