コード例 #1
0
ファイル: peopledetails_list.php プロジェクト: sarapsg/prayuj
 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';
 }
コード例 #2
0
ファイル: index.php プロジェクト: sarapsg/prayuj
 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');
     }
 }
コード例 #3
0
ファイル: shipment_list.php プロジェクト: heshuai64/einv2
<?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');
コード例 #4
0
ファイル: ImportContacts.php プロジェクト: sarapsg/prayuj
 protected function Form_Run()
 {
     QApplication::CheckRemoteAdmin();
     QApplication::$LoadedPage = 'Import Contacts';
 }
コード例 #5
0
ファイル: plugin_edit.php プロジェクト: eliud254/q-auction
 protected function Form_Run()
 {
     QApplication::CheckRemoteAdmin();
 }
コード例 #6
0
ファイル: AssetLog.php プロジェクト: sarapsg/prayuj
 protected function Form_Run()
 {
     QApplication::$LoadedPage = 'Asset Log';
     QApplication::CheckRemoteAdmin();
 }
コード例 #7
0
ファイル: AmazonSearch.php プロジェクト: sarapsg/prayuj
 protected function Form_Run()
 {
     QApplication::CheckRemoteAdmin();
     QApplication::$LoadedPage = 'Search and Add Assets';
 }
コード例 #8
0
ファイル: MyLibrary.php プロジェクト: sarapsg/prayuj
 protected function Form_Run()
 {
     QApplication::CheckRemoteAdmin();
     QApplication::$LoadedPage = 'My Library';
 }