diff options
author | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-13 23:42:30 +0000 |
---|---|---|
committer | Jim Hu <jimhu@users.sourceforge.net> | 2008-12-13 23:42:30 +0000 |
commit | 99cfde6479207ba9349d8c4a093ef14a1026154d (patch) | |
tree | 5c4f3639242a494c5e83434fa0de12ce1c78aaa4 /functions/list_functions.php | |
parent | 1e5db3ceb99588223035c3ceed055bc03511e04b (diff) | |
download | phpicalendar-99cfde6479207ba9349d8c4a093ef14a1026154d.tar.gz phpicalendar-99cfde6479207ba9349d8c4a093ef14a1026154d.tar.bz2 phpicalendar-99cfde6479207ba9349d8c4a093ef14a1026154d.zip |
debug rrules; fix cookie injection vuln
Diffstat (limited to 'functions/list_functions.php')
-rw-r--r-- | functions/list_functions.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/functions/list_functions.php b/functions/list_functions.php index 7f6d817..8a6344d 100644 --- a/functions/list_functions.php +++ b/functions/list_functions.php @@ -13,14 +13,14 @@ function list_jumps() { } function list_calcolors() { - global $template, $master_array, $unique_colors; + global $phpiCal_config, $master_array; $return = ''; $i = 1; if (is_array($master_array['-3'])) { foreach ($master_array['-3'] as $key => $val) { - if ($i > $unique_colors) $i = 1; + if ($i > $phpiCal_config->unique_colors) $i = 1; $val = str_replace ("\,", ",", $val); - $return .= '<img src="templates/'.$template.'/images/monthdot_'.$i.'.gif" alt="" /> '.$val.'<br />'; + $return .= '<img src="templates/'.$phpiCal_config->template.'/images/monthdot_'.$i.'.gif" alt="" /> '.$val.'<br />'; $i++; } } |