2.2
PrintShop Web Skinning Guide | 39
Special variables
In this section we list the special variables you can use in the Template.php and Style.php files.
Variables for Template.php
The functions in this section can be used in the Template.php file.
generateString
The generateString function retrieves a language string based on the supplied parameter. It is used to
insert language dependent text.
<? generateString(cSystemName); ?>
/* Renders to following text */
PrintShop Web
Custom strings can be added to the language strings. A string is made up of a name and a value,
which are seperated by the = symbol.
cSystemName=PrintShop Web
cAdditionalInfo=PSW
cFooter=PrintShop Web 2.0, www.objectiflune.com
setRowsPerPage
The setRowsPerPage function can be used to change the number of rows shown in overview tables.
The function can added to the Template.php file and should be insert before the generateContent
function. By default overview tables show 15 rows per page.
<? setRowsPerPage(25); ?>
<div id="content">
<? if (getFormCount() > 0){ ?>
<? generateContent(); ?>
<? } ?>
</div>










