commit
767afd3c9f
@ -354,7 +354,7 @@ if (($action=="create") || ($action=="edit"))
|
|||||||
print $langs->trans('CronEvery')."</td>";
|
print $langs->trans('CronEvery')."</td>";
|
||||||
print "<td><select name=\"nbfrequency\">";
|
print "<td><select name=\"nbfrequency\">";
|
||||||
for($i=1; $i<=60; $i++){
|
for($i=1; $i<=60; $i++){
|
||||||
if(($object->frequency/$object->unitfrequency) == $i){
|
if(!is_null($object->unitfrequency) && ($object->frequency/$object->unitfrequency) == $i){
|
||||||
print "<option value='".$i."' selected='selected'>".$i."</option>";
|
print "<option value='".$i."' selected='selected'>".$i."</option>";
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
|
|||||||
@ -258,6 +258,7 @@ days=days
|
|||||||
Hours=Hours
|
Hours=Hours
|
||||||
Minutes=Minutes
|
Minutes=Minutes
|
||||||
Seconds=Seconds
|
Seconds=Seconds
|
||||||
|
Weeks=Weeks
|
||||||
Today=Today
|
Today=Today
|
||||||
Yesterday=Yesterday
|
Yesterday=Yesterday
|
||||||
Tomorrow=Tomorrow
|
Tomorrow=Tomorrow
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user