Skin/Templatevar: include
Includes a textfile into the output. The contents of the file is not parsed in any way,so you cannot use skin/templatevars or use PHP code (see parsedinclude and phpinclude if you want parsed includes)
Arguments
- filename: the name of the file to be included (either relative to the position of index.php,or absolute). Note that an URL can also be used here.
Notes
- This tag is affected by the parser settings
IncludeModeandIncludePrefix
Skintypes
all
Examples
<%include(filename.txt)%> <%include(/home/user/myself/filename.txt)%> <%include(http://mydomain.com/filename.html)%>
スキン/テンプレート変数:include
Webページ出力時に、指定されたテキストファイルを取り込んで挿入します。ファイルの中身がそのまま出力されるので、スキン/テンプレート変数やPHPコードを使っても反映されません。同じような変数に、取り込み時にスキン/テンプレート変数を展開するparsedincludeや、PHPコードを実行するphpincludeがあります。
引数
- 必須:
名前 値 filename 取り込むファイルの名前(index.phpからの相対位置でも絶対位置でもかまいません。URLを指定することもできます)
注意
スキンタイプ
全て
例
<%include(filename.txt)%> <%include(/home/user/myself/filename.txt)%> <%include(http://example.jp/filename.html)%>
コメント送信
Nucleusをご利用いただき、ありがとうございます。ヘルプファイルの内容について気がついた事がございましたら、コメントフォームよりご連絡ください。
いただきましたコメントは、次期バージョンの「オンラインヘルプ」に反映させてまいります。
なお、コチラでは個別対応は出来ませんので、疑問点などございましたら、サポートフォーラムへ投稿をお願いいたします。
コメント
gblsm (2011年02月05日 16:25:39)
改訳案(注意の部分のみ):
この変数は、スキンの「一般設定」にある「Includeモード」と「Includeプリフィックス」の影響を受けます。
この変数は、スキンの「一般設定」にある「Includeモード」と「Includeプリフィックス」の影響を受けます。
Yotaka (2011年03月19日 05:05:03)
ありがとうございます。訂正しました。