User-defined and predefined constants can be inserted into content %%thisway%%. View content source.
©2004-2007 cms4site group
Dec 10, 2007 00:06:14
Predefined constants are:
- sysvers - system version
- sysyear - current year
- sysdate - current date
- systime - current time
- any constants from XMMLocale() function, e.g. 'Reload page'
User-defined constants comes from site description file, if this is provided by site developer.
They are useful to define company name, phone number, email address, etc. So, if you use phone number many times in different places, you can define it as a constant and change it only in one file, when necessary.
PHP ||| Comments