• R/O
  • SSH
  • HTTPS

jeanscms: コミット


コミットメタ情報

リビジョン357 (tree)
日時2015-05-05 07:53:42
作者kmorimatsu

ログメッセージ

Debug: <%include%> <%parsedinclude%> <%phpinclude%> tags.

変更サマリ

差分

--- plugins/Nucleus/trunk/nucleus/jp_Nucleus_skin.php (revision 356)
+++ plugins/Nucleus/trunk/nucleus/jp_Nucleus_skin.php (revision 357)
@@ -168,6 +168,7 @@
168168 showmedia::tag_popuptext();
169169 }
170170 static public function tag_include(&$data,$skin){
171+ if (!preg_match('/^j.*\.inc/',$skin)) $skin="j$skin.inc";
171172 view::tag_include($data,$skin,'html');
172173 }
173174 static public function tag_item(&$data,$template){
@@ -277,6 +278,7 @@
277278 Examples
278279 <%parsedinclude(filename.txt)%>
279280 <%parsedinclude(/home/user/myself/filename.txt)%>*/
281+ if (!preg_match('/^j.*\.inc/',$skin)) $skin="j$skin.inc";
280282 view::tag_parse($data,$skin);
281283 }
282284 static public function tag_phpinclude(&$data,$skin){
@@ -292,6 +294,7 @@
292294 Examples
293295 <%phpinclude(filename.php)%>
294296 <%phpinclude(/home/user/myself/filename.php)%>*/
297+ if (!preg_match('/^j.*\.inc/',$skin)) $skin="j$skin.inc";
295298 view::tag_parse($data,$skin);
296299 }
297300 static public function tag_plugin(&$data){
旧リポジトリブラウザで表示