OSDN Git Service

管理画面用スキンの呼び出しタイプ及びスキン変数の一部修正
authorshizuki <shizuki@kinezumi.net>
Fri, 13 Apr 2012 09:00:55 +0000 (18:00 +0900)
committershizuki <shizuki@kinezumi.net>
Fri, 13 Apr 2012 09:00:55 +0000 (18:00 +0900)
Admin::batchMoveSelectDestinationとAdmin::batchMoveCategorySelectDestinationの呼び出しタイプを修正
スキン変数<%batchmovetype%>に渡す値の設定
スキンタイプ「batchmovecat」で使用できるスキン変数を設定
Admin::action_batchteamから呼び出されるスキンタイプを修正

nucleus/libs/ADMIN.php
nucleus/libs/AdminActions.php

index 1c0ab0f..85857d7 100644 (file)
@@ -573,7 +573,7 @@ class Admin
                }\r
 \r
                $this->pagehead();\r
-               $this->parse('batchmember');\r
+               $this->parse('batchteam');\r
                $this->pagefoot();\r
        }\r
 \r
@@ -622,6 +622,7 @@ class Admin
         */\r
        function batchMoveSelectDestination($type, $ids)\r
        {\r
+               $_POST['batchmove'] = $type;\r
                $this->pagehead();\r
                $this->parse('batchmove');\r
                $this->pagefoot();\r
@@ -633,6 +634,7 @@ class Admin
         */\r
        function batchMoveCategorySelectDestination($type, $ids)\r
        {\r
+               $_POST['batchmove'] = $type;\r
                global $manager;\r
                $this->pagehead();\r
                $this->parse('batchmovecat');\r
index f6f791b..adb3b25 100644 (file)
@@ -399,6 +399,15 @@ class AdminActions extends BaseActions
                                        'batchmovebtn',
                                );
                                break;
+                       case 'batchmovecat':
+                               $extra_actions = array(
+                                       'batchmovetitle',
+                                       'batchmovetype',
+                                       'batchmovelist',
+                                       'movedistselect',
+                                       'batchmovebtn',
+                               );
+                               break;
                        case 'batchteam':
                                $extra_actions = array(
                                        'requestblogid',