瀏覽代碼

for 向前兼容

stanley-king 8 年之前
父節點
當前提交
5a53f4ae12
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      admin/templates/default/mb_special_item.edit.php
  2. 1 1
      helper/special_helper.php

+ 1 - 0
admin/templates/default/mb_special_item.edit.php

@@ -95,6 +95,7 @@
                     <option value="brand">品牌</option>
                     <option value="category">分类</option>
                     <option value="url">网页链接</option>
+                    <option value="innerurl">内置网页链接</option>
                     <option value="video">视频链接</option>
                     <option value="appjump">软件内部功能跳转</option>
                 </select>

+ 1 - 1
helper/special_helper.php

@@ -444,7 +444,7 @@ class special_formater
     {
         foreach($items as &$item)
         {
-            static $action_types = array('url','video','appjump');
+            static $action_types = array('url','innerurl','video','appjump');
             static $show_types = array('webview','video');
 
             if(in_array($item['type'],$action_types)){