Changeset 21716
- Timestamp:
- 2012/04/09 02:49:39 (11 years ago)
- Location:
- branches/version-2_12-dev/data
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/version-2_12-dev/data/Smarty/templates/default/site_frame.tpl
r21539 r21716 22 22 *}--> 23 23 24 <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja" >24 <html xmlns="http://www.w3.org/1999/xhtml" lang="ja" xml:lang="ja" class="<!--{$tpl_page_class_name|h}-->"> 25 25 <head> 26 26 <meta http-equiv="Content-Type" content="text/html; charset=<!--{$smarty.const.CHAR_CODE}-->" /> -
branches/version-2_12-dev/data/Smarty/templates/sphone/site_frame.tpl
r21613 r21716 22 22 *}--> 23 23 24 <html lang="ja" >24 <html lang="ja" class="<!--{$tpl_page_class_name|h}-->"> 25 25 <head> 26 26 <meta charset="UTF-8"> -
branches/version-2_12-dev/data/class/pages/LC_Page.php
r21712 r21716 129 129 // スーパーフックポイントを実行. 130 130 $objPlugin->doAction('LC_Page_process', array($this)); 131 132 // ページクラス名をテンプレートに渡す 133 $arrBacktrace = debug_backtrace(); 134 if (strlen($this->tpl_page_class_name) === 0) { 135 $this->tpl_page_class_name = $arrBacktrace[1]['class']; 136 $this->tpl_page_class_name = preg_replace('/_Ex$/', '', $this->tpl_page_class_name); 137 } 131 138 132 139 $this->objDisplay->prepare($this);
Note: See TracChangeset
for help on using the changeset viewer.