📄 init_category_path.php
字号:
<?php/** * @package admin * @copyright Copyright 2003-2006 Zen Cart Development Team * @copyright Portions Copyright 2003 osCommerce * @license http://www.zen-cart.com/license/2_0.txt GNU Public License V2.0 * @version $Id: init_category_path.php 3001 2006-02-09 21:45:06Z wilt $ */if (!defined('IS_ADMIN_FLAG')) { die('Illegal Access');}// calculate category path if (isset($_GET['cPath'])) { $cPath = $_GET['cPath']; } else { $cPath = ''; } if (zen_not_null($cPath)) { $cPath_array = zen_parse_category_path($cPath); $cPath = implode('_', $cPath_array); $current_category_id = $cPath_array[(sizeof($cPath_array)-1)]; } else { $current_category_id = 0; }// default open navigation box if (!$_SESSION['selected_box']) { $_SESSION['selected_box'] = 'configuration'; } if (isset($_GET['selected_box'])) { $_SESSION['selected_box'] = $_GET['selected_box']; }?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -