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

Diff for Metafox/admin/inc-db/config.inc.php between version 1.6 and 1.7

version 1.6, 2006/11/09 10:27:11 version 1.7, 2007/02/24 21:11:04
Line 28  $ezin_admin_config_items = array( /* {{{
Line 28  $ezin_admin_config_items = array( /* {{{
                         'select' => 'D',                          'select' => 'D',
                         'keys_are_values' => true,                          'keys_are_values' => true,
                         'values' => ezin_admin_config_get_themes()),                          'values' => ezin_admin_config_get_themes()),
                   'user_create_role_id' => array(
                           'disabled_eval' => true,
                           'select' => 'D',
                           'values' => ezin_admin_config_get_roles()),
                 'encoding' => array(                  'encoding' => array(
                         'disabled_eval' => true,                          'disabled_eval' => true,
                         'select' => 'D',                          'select' => 'D',
Line 513  function ezin_admin_config_get_themes()
Line 517  function ezin_admin_config_get_themes()
         return $output_ar;          return $output_ar;
 } /* }}} */  } /* }}} */
   
   function ezin_admin_config_get_roles() /* {{{ */
   {
           global $ezin_sys, $ezin_db_handle;
           ezin_check_db_handle();
           $query = 'SELECT id, name FROM '.$ezin_sys['db']['tables']['roles'];
           $result = @mysql_query($query, $ezin_db_handle)
                   or ezin_db_error('ezin_admin_config_get_roles()');
           $array = array(0 => '-- no role --');
           while ($row = @mysql_fetch_array($result, MYSQL_ASSOC)) {
                   $array[$row['id']] = $row['name'];
           }
           @mysql_free_result($result);
           return $array;
   } /* }}} */
   
 function ezin_admin_config_db_items($name, $value, $restricted = 0) /* {{{ */  function ezin_admin_config_db_items($name, $value, $restricted = 0) /* {{{ */
 {  {
         global $ezin_sys;          global $ezin_sys;

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

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