CODE STYLE Formating workflow/engine/methods/authSources/authSources_kindof.php

Change format files in workflow/engine/methods/authSources/authSources_kindof.php
This commit is contained in:
norahmollo
2012-10-17 20:20:44 +00:00
parent 7e753292c0
commit 0df3c88ad1

View File

@@ -20,13 +20,12 @@
*
* For more information, contact Colosa Inc, 2566 Le Jeune Rd.,
* Coral Gables, FL, 33134, USA, or email info@colosa.com.
*
*/
global $RBAC;
if ($RBAC->userCanAccess('PM_SETUP_ADVANCE') != 1) {
G::SendTemporalMessage('ID_USER_HAVENT_RIGHTS_PAGE', 'error', 'labels');
G::header('location: ../login/login');
die;
if ($RBAC->userCanAccess( 'PM_SETUP_ADVANCE' ) != 1) {
G::SendTemporalMessage( 'ID_USER_HAVENT_RIGHTS_PAGE', 'error', 'labels' );
G::header( 'location: ../login/login' );
die();
}
$G_MAIN_MENU = 'processmaker';
@@ -34,10 +33,11 @@ $G_SUB_MENU = 'users';
$G_ID_MENU_SELECTED = 'USERS';
$G_ID_SUB_MENU_SELECTED = 'AUTH_SOURCES';
$aAuthSourceTypes = array(array('sType' => 'char', 'sLabel' => 'char'));
$oDirectory = dir(PATH_RBAC . 'plugins' . PATH_SEP);
$aAuthSourceTypes = array (array ('sType' => 'char','sLabel' => 'char'));
$oDirectory = dir( PATH_RBAC . 'plugins' . PATH_SEP );
$G_PUBLISH = new Publisher();
$oHeadPublisher =& headPublisher::getSingleton();
$oHeadPublisher->addExtJsScript('authSources/authSourceskindof', true); //adding a javascript file .js
$oHeadPublisher->assign('sprovider', $_GET['sprovider']);
G::RenderPage('publish', 'extJs');
$oHeadPublisher = & headPublisher::getSingleton();
$oHeadPublisher->addExtJsScript( 'authSources/authSourceskindof', true ); //adding a javascript file .js
$oHeadPublisher->assign( 'sprovider', $_GET['sprovider'] );
G::RenderPage( 'publish', 'extJs' );