
04-06-2013, 11:30 AM
|
|
|
Join Date: May 2004
Posts: 140
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Ok it looks like this:
Quote:
print_select_row($vbphrase['check_feed_every'], 'ttl', array(
600 => construct_phrase($vbphrase['x_minutes'], 10),
1200 => construct_phrase($vbphrase['x_minutes'], 20),
1800 => construct_phrase($vbphrase['x_minutes'], 30),
3600 => construct_phrase($vbphrase['x_minutes'], 60),
7200 => construct_phrase($vbphrase['x_hours'], 2),
14400 => construct_phrase($vbphrase['x_hours'], 4),
21600 => construct_phrase($vbphrase['x_hours'], 6),
28800 => construct_phrase($vbphrase['x_hours'], 8),
36000 => construct_phrase($vbphrase['x_hours'], 10),
43200 => construct_phrase($vbphrase['x_hours'], 12),
86400 => construct_phrase($vbphrase['x_hours'], 24),
172800 => construct_phrase($vbphrase['x_hours'], 48),
259200 => construct_phrase($vbphrase['x_hours'], 72),
345600 => construct_phrase($vbphrase['x_hours'], 96),
432000 => construct_phrase($vbphrase['x_hours'], 120),
518400 => construct_phrase($vbphrase['x_hours'], 144),
), $feed['ttl']);
|
The problem is, if I want to select 120 hours or what ever I added, it will reset to default 30 minutes after I saved. Any ideas?
Thank you
|