| version 1.15, 2013/10/17 16:57:24 |
version 1.16, 2015/01/15 16:22:21 |
| Line 47 function ezin_admin_maintenance_main($re |
|
| Line 47 function ezin_admin_maintenance_main($re |
|
| * 1.6 2012-05-14 15:38 - doplnene pre Boxes |
* 1.6 2012-05-14 15:38 - doplnene pre Boxes |
| * 1.7 2012-05-15 12:47 - link redirect |
* 1.7 2012-05-15 12:47 - link redirect |
| * 1.8 2013-07-24 08:32 - feedback flood timeout |
* 1.8 2013-07-24 08:32 - feedback flood timeout |
| |
* 2015-01-15 16:56 - datetime filter for article |
| * |
* |
| */ |
*/ |
| |
|
| Line 1306 function ezin_admin_maintenance_main($re |
|
| Line 1307 function ezin_admin_maintenance_main($re |
|
| WHERE a_key = "platon_newsletter_password"' |
WHERE a_key = "platon_newsletter_password"' |
| ); |
); |
| |
|
| |
// Enabled Article Datetime Filter |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Article Datetime Filter', |
| |
'test' => 'select a_key from ezin_config_info where a_key = "article_datetime_filter"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'article_datetime_filter', |
| |
'repair' => 'INSERT INTO ezin_config_info (a_key) VALUES ("article_datetime_filter")' |
| |
); |
| |
|
| |
$tests[] = array( |
| |
'type' => 'repair', |
| |
'description' => 'Article Datetime Filter - ezin_config_info', |
| |
'repair' => 'UPDATE ezin_config_info SET |
| |
ord = 420, |
| |
name = "Article datetime filter", |
| |
description = |
| |
"Showing only articles with datetime older as actual time." |
| |
WHERE a_key = "article_datetime_filter"' |
| |
); |
| |
|
| // ---- CONFIG - DATA ---- |
// ---- CONFIG - DATA ---- |
| $tests[] = array( |
$tests[] = array( |
| 'type' => 'comment', |
'type' => 'comment', |
| Line 1522 function ezin_admin_maintenance_main($re |
|
| Line 1544 function ezin_admin_maintenance_main($re |
|
| 'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("platon_newsletter_password", "")' |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("platon_newsletter_password", "")' |
| ); |
); |
| |
|
| |
// Article Datetime Filter |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Article Datetime Filter - default value', |
| |
'test' => 'select a_key from ezin_config where a_key = "article_datetime_filter"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'article_datetime_filter', |
| |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("article_datetime_filter", "1")' |
| |
); |
| |
|
| // ====[ Koniec definovania jednotlivych update ]=============================== |
// ====[ Koniec definovania jednotlivych update ]=============================== |
| |
|