示例#1
0
            <?php 
DisplaySiteHeader(false, true, true, true, $formName, $homePage);
?>
        </tr>
        <tr>
            <?php 
DisplayLefthandSash($menuCategory);
?>

            <!-- Contents Area -->
            <?php 
BeginContentArea($formName);
?>

                <?php 
DeclareHiddenVars($pageName);
DisplayTitleBar($pageTitle, $helpPage);
DisplayConfirmationMsg($confirmationMsg);
DisplayErrorMsg($errorMsg);
?>
                    <input type="hidden" name="<?php 
echo TABLE_PAGE_ID;
?>
" value="<?php 
echo $currPage;
?>
">
                    <input type="hidden" name="<?php 
echo $sortColumnID;
?>
" value="<?php 
示例#2
0
function RegisterPopup($pageName, $registerSelf, $valuesToPersist)
{
    $popupForm = 'popupRegistrationForm';
    $popupName = $registerSelf ? 'window.name' : 'parent.name';
    echo '<body onLoad="SetElementValue(' . "'" . POPUP_NAME_ID . "', " . $popupName . " );SubmitForm('" . $popupForm . "');" . '">' . "\n";
    BeginContentArea($popupForm);
    DeclareHiddenVars($pageName);
    if ($valuesToPersist != NULL) {
        foreach ($valuesToPersist as $id => $val) {
            echo '<input type="hidden" name="' . $id . '" value="' . $val . '">', "\n";
        }
    }
    EndContentArea(true, $popupForm, NULL);
    echo '</body>' . "\n";
    exit;
}