public static function submitPage($cmd) { $header = new LitHeader("Submit Job"); echo <<<HERE <html> <head> HERE; $header->litPageHeader(); echo <<<HERE </head> <body> HERE; $header->litHeader(array()); echo <<<HERE <div>{$cmd}</div> HERE; $header->litFooter(); echo <<<HERE </body> </html> HERE; exit; }
include '../web/header.php'; $status = ""; $CUSTOM = custom::instance(); $hasPerm = $CUSTOM->isUserCollectionOwner(); if ($hasPerm) { testArgs(); } header('Content-type: text/html; charset=UTF-8'); ?> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <?php $header = new LitHeader("Update OAI and Clear OAI Cache"); $header->litPageHeader(); ?> </head> <body> <?php $header->litHeaderAuth(array(), $hasPerm); ?> <div id="formMetadata"> <form method="POST" action="" onsubmit="jobQueue();return true;" enctype="multipart/form-data" > <div id="status"><?php echo $status; ?> </div> <fieldset class="mapfile"> <p>Click the "Submit" button to clean OAI cache on this DSpace instance.</p>