22.05.2014 Views

System Replacement Tags - phpwcms-docu for phpwcms

System Replacement Tags - phpwcms-docu for phpwcms

System Replacement Tags - phpwcms-docu for phpwcms

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Displays the current date - in short notation<br />

Notation:<br />

{ DATE_SHORT}<br />

Result: 2012/05/23<br />

Remark:<br />

To display date in other languages you must edit:<br />

config/<strong>phpwcms</strong>/conf.template_default.inc.php<br />

$template_default["date"]["language"]="EN";<br />

The Date <strong>for</strong>mat can be changed in<br />

config/<strong>phpwcms</strong>/conf.template_default.inc.php beginning<br />

from line 159<br />

{<br />

TIME_SHORT}<br />

Use:<br />

Displays the current date - in short notation<br />

Notation:<br />

{ TIME_SHORT}<br />

Result: 11:48<br />

Remark:<br />

The Time <strong>for</strong>mat can be changed in<br />

config/<strong>phpwcms</strong>/conf.template_default.inc.php beginning<br />

from line 159<br />

{<br />

TIME_LONG}<br />

Use:<br />

The current time of day - in long notation<br />

Notation:<br />

{ TIME_LONG}<br />

Result: 11:48:46<br />

Remark:<br />

The current time is server based<br />

The Time <strong>for</strong>mat can be changed in<br />

config/<strong>phpwcms</strong>/conf.template_default.inc.php beginning<br />

from line 159<br />

[<br />

PHP] PHP_code [/PHP]<br />

Use:<br />

Notation:<br />

Result:<br />

Remark:<br />

This tag supports the use of php code, which<br />

can be be entered directly between the<br />

opening and closing brackets<br />

[ PHP]echo PHP_VERSION;[/PHP]<br />

4.4.9-nmm4<br />

This is ideal <strong>for</strong> short PHP expressions<br />

[<br />

download=ID, ID ,ID] file-1 file-2 file-3[/download]<br />

2/7

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!