Changeset 19768 for branches/version-2_5-dev/data/class/SC_View.php
- Timestamp:
- 2010/12/25 20:58:13 (15 years ago)
- File:
-
- 1 edited
-
branches/version-2_5-dev/data/class/SC_View.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_5-dev/data/class/SC_View.php
r19737 r19768 182 182 183 183 // ヘッダとフッタを割り当て 184 $templatePath = SC_Helper_PageLayout_Ex::getTemplatePath($device_type_id , true);184 $templatePath = SC_Helper_PageLayout_Ex::getTemplatePath($device_type_id); 185 185 $header_tpl = $templatePath . "header.tpl"; 186 186 $footer_tpl = $templatePath . "footer.tpl"; 187 188 // ユーザー作成のテンプレートが無ければ, 指定テンプレートを割り当て189 $templatePath = SC_Helper_PageLayout_Ex::getTemplatePath($device_type_id);190 if (!$this->_smarty->template_exists($header_tpl)) {191 $header_tpl = $templatePath . "header.tpl";192 }193 if (!$this->_smarty->template_exists($footer_tpl)) {194 $footer_tpl = $templatePath . "footer.tpl";195 }196 187 197 188 $this->assign("header_tpl", $header_tpl);
Note: See TracChangeset
for help on using the changeset viewer.
