| version 1.17, 2015/02/11 13:28:34 |
version 1.18, 2015/10/27 11:14:13 |
| Line 1345 function ezin_admin_maintenance_main($re |
|
| Line 1345 function ezin_admin_maintenance_main($re |
|
| WHERE a_key = "article_datetime_filter"' |
WHERE a_key = "article_datetime_filter"' |
| ); |
); |
| |
|
| |
// Enabled Loadmore for article items |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Article items Loadmore', |
| |
'test' => 'select a_key from ezin_config_info where a_key = "article_items_loadmore"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'article_items_loadmore', |
| |
'repair' => 'INSERT INTO ezin_config_info (a_key) VALUES ("article_items_loadmore")' |
| |
); |
| |
|
| |
$tests[] = array( |
| |
'type' => 'repair', |
| |
'description' => 'Article items Loadmore - ezin_config_info', |
| |
'repair' => 'UPDATE ezin_config_info SET |
| |
ord = 430, |
| |
name = "Article items Loadmore", |
| |
description = |
| |
"Added Javascript code for Loadmore after article items." |
| |
WHERE a_key = "article_items_loadmore"' |
| |
); |
| |
|
| // ---- CONFIG - DATA ---- |
// ---- CONFIG - DATA ---- |
| $tests[] = array( |
$tests[] = array( |
| 'type' => 'comment', |
'type' => 'comment', |
| Line 1571 function ezin_admin_maintenance_main($re |
|
| Line 1592 function ezin_admin_maintenance_main($re |
|
| 'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("article_datetime_filter", "1")' |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("article_datetime_filter", "1")' |
| ); |
); |
| |
|
| |
// Enabled Loadmore for article items |
| |
$tests[] = array( |
| |
'type' => 'update', |
| |
'description' => 'Article items Loadmore - default value', |
| |
'test' => 'select a_key from ezin_config where a_key = "article_items_loadmore"', |
| |
'method' => 'one', |
| |
'correct_answer' => 'article_items_loadmore', |
| |
'repair' => 'INSERT INTO ezin_config (a_key, value) VALUES ("article_items_loadmore", "1")' |
| |
); |
| |
|
| |
|
| // ====[ Koniec definovania jednotlivych update ]=============================== |
// ====[ Koniec definovania jednotlivych update ]=============================== |
| |
|
| if (!isset($_POST['action'])) { |
if (!isset($_POST['action'])) { |