Beispiel #1
0
function guiStandardBodyEnd(&$session, $pos)
{
    $session->trace(TC_Gui1, 'guiStandardBodyEnd');
    $html = guiParam($session, $pos, null);
    if (!empty($html)) {
        echo $session->replaceMacrosNoHTML($html);
    } else {
        if (!defined('Th_LoginBodyEnd')) {
            define('Th_LoginBodyEnd', 0);
        }
        # $session->trace (TC_X, "guiStandardBodyEnd: Pos: $pos " . (0+Th_LoginBodyEnd));
        if ($pos != Th_LoginBodyEnd) {
            guiLine($session, 1);
            modStandardLinks($session);
            guiParagraph($session, 'Laufzeit auf dem Server: ' . $session->getMacro(TM_RuntimeSecMilli), false);
            echo TAG_BODY_END;
        }
    }
    echo TAG_BODY_HTML_END;
}
Beispiel #2
0
function guiStandardBodyEnd(&$session, $pos)
{
    $session->trace(TC_Gui1, 'guiStandardBodyEnd');
    $html = guiParam($session, $pos, null);
    if (!empty($html)) {
        echo $session->replaceMacrosNoHTML($html);
    } else {
        if (!defined('Th_LoginBodyEnd')) {
            define('Th_LoginBodyEnd', 0);
        }
        if ($pos != Th_LoginBodyEnd) {
            guiLine(1);
            modStandardLinks($session);
            echo '</body>';
        }
    }
    echo "\n" . '</body></html>' . "\n";
}