configuration.php

来自「this the oscommerce 3.0 aplha 4」· PHP 代码 · 共 41 行

PHP
41
字号
<?php/*  $Id: $  osCommerce, Open Source E-Commerce Solutions  http://www.oscommerce.com  Copyright (c) 2007 osCommerce  This program is free software; you can redistribute it and/or modify  it under the terms of the GNU General Public License v2 (1991)  as published by the Free Software Foundation.*/  class osC_Access_Configuration extends osC_Access {    var $_module = 'configuration',        $_group = 'configuration',        $_icon = 'configure.png',        $_title,        $_sort_order = 200;    function osC_Access_Configuration() {      global $osC_Database, $osC_Language;      $this->_title = $osC_Language->get('access_configuration_title');      $this->_subgroups = array();      $Qgroups = $osC_Database->query('select configuration_group_id, configuration_group_title from :table_configuration_group where visible = 1 order by sort_order, configuration_group_title');      $Qgroups->bindTable(':table_configuration_group', TABLE_CONFIGURATION_GROUP);      $Qgroups->execute();      while ($Qgroups->next()) {        $this->_subgroups[] = array('icon' => 'configure.png',                                    'title' => $Qgroups->value('configuration_group_title'),                                    'identifier' => 'gID=' . $Qgroups->valueInt('configuration_group_id'));      }    }  }?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?