- Timestamp:
- 2009/11/07 01:38:52 (15 years ago)
- Location:
- branches/comu-ver2/html/user_data/plugins/google_analytics/classes/pages
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/comu-ver2/html/user_data/plugins/google_analytics/classes/pages/LC_Page_Admin_GoogleAnalytics.php
r18345 r18370 34 34 class LC_Page_Admin_GoogleAnalytics extends LC_Page { 35 35 36 /** プラグイン情報配列 (呼び出し元でセットする) */ 37 var $arrPluginInfo; 38 36 39 // }}} 37 40 // {{{ functions … … 44 47 function init() { 45 48 parent::init(); 46 $this->tpl_mainpage = PLUGIN_PATH . 'google_analytics/tpl/index.tpl'; 47 $this->tpl_subtitle = "Google Analytics Plugin"; 49 $this->tpl_mainpage = $this->arrPluginInfo['fullpath'] . 'tpl/admin/index.tpl'; 50 $this->tpl_mainno = 'plugin'; 51 $this->tpl_subno = $this->arrPluginInfo['path']; 52 $this->tpl_subtitle = "プラグイン「{$this->arrPluginInfo['name']}」の設定"; 48 53 49 54 if (empty($_POST["mode"])) { … … 102 107 $objView = new SC_AdminView(); 103 108 $objView->assignobj($this); 104 $objView->display( $this->tpl_mainpage);109 $objView->display(MAIN_FRAME); 105 110 } 106 111 … … 118 123 . htmlspecialchars($ua, ENT_QUOTES) . "');\n?>\n"; 119 124 120 $configFile = PLUGIN_PATH . "google_analytics/classes/pages/ga_config.php";125 $configFile = $this->arrPluginInfo['fullpath'] . "classes/pages/ga_config.php"; 121 126 $handle = fopen($configFile, "w"); 122 127 if (!$handle) { -
branches/comu-ver2/html/user_data/plugins/google_analytics/classes/pages/LC_Page_FrontParts_Bloc_GoogleAnalytics.php
r18345 r18370 34 34 class LC_Page_FrontParts_Bloc_GoogleAnalytics extends LC_Page { 35 35 36 /** プラグイン情報配列 (呼び出し元でセットする) */ 37 var $arrPluginInfo; 38 36 39 // }}} 37 40 // {{{ functions … … 44 47 function init() { 45 48 parent::init(); 46 $this->tpl_mainpage = USER_PATH . 'plugins/google_analytics/tpl/ga.tpl'; 47 $this->tpl_subtitle = "Google Analytics Plugin"; 49 $this->tpl_mainpage = $this->arrPluginInfo['fullpath'] . 'tpl/ga.tpl'; 48 50 } 49 51
Note: See TracChangeset
for help on using the changeset viewer.