Platon Technologies
not logged in Login Registration
EnglishSlovak
open source software development celebrating 10 years of open source development! Wednesday, October 14, 2026

Diff for Metafox/admin/inc-db/maintenance.inc.php between version 1.15 and 1.16

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 ]===============================
   

Legend:
Removed from v.1.15  
changed lines
  Added in v.1.16

Platon Group <platon@platon.org> http://platon.org/
Copyright © 2002-2006 Platon Group
Site powered by Metafox CMS
Go to Top