- Timestamp:
- 2012/02/08 13:55:06 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/class/pages/admin/LC_Page_Admin.php
r21441 r21455 65 65 $this->objDisplay = new SC_Display_Ex(); 66 66 67 // スーパーフックポイントを実行. 68 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance(); 69 $objPlugin->doAction('lc_page_preProcess', array($this)); 70 67 if($_SERVER['PHP_SELF'] !== "/admin/system/plugin.php") { 68 // スーパーフックポイントを実行. 69 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance(); 70 $objPlugin->doAction('lc_page_preProcess', array($this)); 71 } 72 71 73 // トランザクショントークンの検証と生成 72 74 $this->doValidToken(true); … … 89 91 function sendResponse() { 90 92 91 // HeadNaviにpluginテンプレートを追加する. 92 $objTemplateTransformList = SC_Plugin_Template_Transform_List::getSingletonInstance(); 93 $objTemplateTransformList->setHeadNaviBlocs($this->arrPageLayout['HeadNavi']); 93 if($_SERVER['PHP_SELF'] !== "/admin/system/plugin.php") { 94 95 // プラグインによってトランスフォームされたテンプレートがあればセットする 96 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance(); 97 $plugin_tmplpath = $objPlugin->getPluginTemplateCachePath($this); 98 if (file_exists($plugin_tmplpath)) $this->tpl_mainpage = $plugin_tmplpath; 94 99 95 // プラグインによってトランスフォームされたテンプレートがあればセットする96 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance();97 $plugin_tmplpath = $objPlugin->getPluginTemplateCachePath($this);98 if (file_exists($plugin_tmplpath)) $this->tpl_mainpage = $plugin_tmplpath;99 100 // スーパーフックポイントを実行.101 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance();102 $objPlugin->doAction('lc_page_process', array($this));103 100 // スーパーフックポイントを実行. 101 $objPlugin = SC_Helper_Plugin_Ex::getSingletonInstance(); 102 $objPlugin->doAction('lc_page_process', array($this)); 103 104 // HeadNaviにpluginテンプレートを追加する. 105 $objTemplateTransformList = SC_Plugin_Template_Transform_List::getSingletonInstance(); 106 $objTemplateTransformList->setHeadNaviBlocs($this->arrPageLayout['HeadNavi']); 107 } 108 104 109 $this->objDisplay->prepare($this, true); 105 110 $this->objDisplay->response->write();
Note: See TracChangeset
for help on using the changeset viewer.