Changeset 16272 for branches/feature-module-update/data/class/SC_View.php
- Timestamp:
- 2007/10/05 20:37:33 (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/feature-module-update/data/class/SC_View.php
r16266 r16272 77 77 $this->assign("TPL_DIR", URL_DIR . USER_DIR 78 78 . "templates/" . TEMPLATE_NAME . "/"); 79 80 // ヘッダとフッタを割り当て 81 $header_tpl = USER_INC_PATH . "header.tpl"; 82 $footer_tpl = USER_INC_PATH . "footer.tpl"; 83 84 // ユーザー作成のテンプレートが無ければ, 指定テンプレートを割り当て 85 if (!$this->_smarty->template_exists($header_tpl)) { 86 $header_tpl = TEMPLATE_DIR . "header.tpl"; 87 } 88 if (!$this->_smarty->template_exists($footer_tpl)) { 89 $footer_tpl = TEMPLATE_DIR . "footer.tpl"; 90 } 91 92 $this->assign("header_tpl", $header_tpl); 93 $this->assign("footer_tpl", $footer_tpl); 79 94 } 80 95
Note: See TracChangeset
for help on using the changeset viewer.
