(04-08-2010 05:48 PM)WuChEn Wrote: If i add a CronJob,
MySQL write ARRAY into the Min /Hour / Day / Month / Weekdays.
Whats wrrong?
in /gui/client/cronjobs_add.php
comment lines
$min = explode(",", $min);
foreach($min as $k => $v)
{
$min[$k] = "TR_SELECTED_MIN_".$v;
$tpl->assign(array($min[$k] => tr('selected') ));
}
$hour = explode(",", $hour);
foreach($hour as $k=>$v)
{
$hour[$k] = "TR_SELECTED_HOUR_".$v;
$tpl->assign(array($hour[$k] => tr('selected') ));
}
$day_of_month = explode(",", $day_of_month);
foreach($day_of_month as $k=>$v)
{
$day_of_month[$k] = "TR_SELECTED_DOM_".$v;
$tpl->assign(array($day_of_month[$k] => tr('selected') ));
}
$month = explode(",", $month);
foreach($month as $k=>$v)
{
$month[$k] = "TR_SELECTED_MONTH_".$v;
$tpl->assign(array($month[$k] => tr('selected') ));
}
$day_of_week = explode(",", $day_of_week);
foreach($day_of_week as $k=>$v)
{
$day_of_week[$k] = "TR_SELECTED_DOW_".$v;
$tpl->assign(array($day_of_week[$k] => tr('selected') ));
}