18 require_once dirname(__FILE__).
'/../../../../../core/include/init.inc';
19 if (!isset($_GET[
'type_code']))
return FALSE;
21 $GLOBALS[
'SQ_SYSTEM']->am->includeAsset($_GET[
'type_code']);
22 $asset =
new $_GET[
'type_code']();
23 $keywords = $asset->getAvailableKeywords();
28 <title><?php echo htmlspecialchars(ucwords(str_replace(
'_',
' ', $_GET[
'type_code']))) ?> Format Keyword Replacements</title>
31 background-color: #FFFFFF;
34 body, p, td, ul, li, input, select, textarea{
36 font-family: Arial, Verdana Helvetica, sans-serif;
41 padding: 0px 10px 5px 5px;
42 border: 1px solid #E0E0E0;
52 <p><b><i>The following keyword replacements may be used for <?php echo htmlspecialchars(ucwords(str_replace('_', ' ', $_GET['type_code']))); ?> asset values.<br/>Note that the percentage signs (%) are required.</i></b></p>
56 <legend><b>
Asset Information</b></legend>
57 <table border="0" width="100%">
59 foreach ($keywords as $keyword => $description) {
61 <tr><td valign=
"top" width=
"200"><b>%<?php echo $keyword?>%</b></td><td valign=
"top"><?php echo isset($description) ? $description :
'' ?></td></tr>