Ejemplo n.º 1
0
 protected function Form_Run()
 {
     // Security check for ALLOW_REMOTE_ADMIN
     // To allow access REGARDLESS of ALLOW_REMOTE_ADMIN, simply remove the line below
     QApplication::CheckRemoteAdmin();
     QApplication::$LoadedPage = 'My Contacts';
 }
Ejemplo n.º 2
0
 protected function Form_Run()
 {
     QApplication::$LoadedPage = 'Home';
     QApplication::CheckRemoteAdmin();
     isset($_SESSION['User']) ? $_SESSION['User'] = $_SESSION['User'] : ($_SESSION['User'] = '');
     if ($_SESSION['User'] != '') {
         QApplication::Redirect('postlogin.php');
     }
 }
Ejemplo n.º 3
0
<?php

// Include prepend.inc to load Qcodo
require '../includes/prepend.inc.php';
/* if you DO NOT have "includes/" in your include_path */
// require('prepend.inc.php');				/* if you DO have "includes/" in your include_path */
// Include the classfile for ShipmentListFormBase
require __FORMBASE_CLASSES__ . '/ShipmentListFormBase.class.php';
// Security check for ALLOW_REMOTE_ADMIN
// To allow access REGARDLESS of ALLOW_REMOTE_ADMIN, simply remove the line below
QApplication::CheckRemoteAdmin();
/**
 * This is a quick-and-dirty draft form object to do the List All functionality
 * of the Shipment class.  It extends from the code-generated
 * abstract ShipmentListFormBase class.
 *
 * Any display customizations and presentation-tier logic can be implemented
 * here by overriding existing or implementing new methods, properties and variables.
 *
 * Additional qform control objects can also be defined and used here, as well.
 * 
 * @package My Application
 * @subpackage FormDraftObjects
 * 
 */
class ShipmentListForm extends ShipmentListFormBase
{
}
// Go ahead and run this form object to generate the page and event handlers, using
// generated/shipment_list.tpl.php as the included HTML template file
ShipmentListForm::Run('ShipmentListForm', 'generated/shipment_list.tpl.php');
Ejemplo n.º 4
0
 protected function Form_Run()
 {
     QApplication::CheckRemoteAdmin();
     QApplication::$LoadedPage = 'Import Contacts';
 }
Ejemplo n.º 5
0
 protected function Form_Run()
 {
     QApplication::CheckRemoteAdmin();
 }
Ejemplo n.º 6
0
 protected function Form_Run()
 {
     QApplication::$LoadedPage = 'Asset Log';
     QApplication::CheckRemoteAdmin();
 }
Ejemplo n.º 7
0
 protected function Form_Run()
 {
     QApplication::CheckRemoteAdmin();
     QApplication::$LoadedPage = 'Search and Add Assets';
 }
Ejemplo n.º 8
0
 protected function Form_Run()
 {
     QApplication::CheckRemoteAdmin();
     QApplication::$LoadedPage = 'My Library';
 }