summaryrefslogtreecommitdiff
path: root/libs/plugins/function.custom_table_pgconfig.php
blob: c1b2366964898496805ad706f8acef8e937a16fd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
function smarty_function_custom_table_pgconfig($args)
{
    global $message;
    extract($args);

echo <<<EOT
      <thead>
        <tr>
          <th>{$message['strParameter']}</th>
          <th>{$message['strValue']}</th>
        </tr>
      </thead>
EOT;

    if (isset($tfoot) && $tfoot == FALSE) { return; }

echo <<<EOT
      <tfoot>
        <tr>
          <td colspan="2"></td>
        </tr>
      </tfoot>
EOT;
}