Ejemplo n.º 1
0
    $valuesToPersist[$selectedPackageID] = $selectedPackage;
    RegisterPopup($pageName, true, $valuesToPersist);
}
?>

<body>
    <table cellspacing="0" cellpadding="0" border="0" class="main">
        <tr>
            <?php 
DisplaySiteHeader(false, true, false, false, $formName, NULL);
?>
        </tr>
        <tr class="logDisplayTable"> 
            <!-- Contents Area -->
                <?php 
BeginContentArea(null);
DisplayTitleBar($pageTitle, NULL);
DisplayConfirmationMsg($confirmationMsg);
DisplayErrorMsg($errorMsg);
?>

                <table class="logDisplayTable" align="center" >
                    <tr>
                        <td class="logDisplayTable"><textarea class="logDisplayTable"><?php 
echo $logContents;
?>
</textarea></td>
                    </tr>
                </table>

                <?php 
Ejemplo n.º 2
0
<body>
    <table cellspacing="0" cellpadding="0" border="0" class="main">
        <tr>
            <?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;
?>
">
Ejemplo n.º 3
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;
}