BUG 0000 User Experience (single app option added) 1st commit
- login added - "single application" option added - simplified improved
BIN
workflow/public_html/images/classic/arrowB.gif
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
workflow/public_html/images/classic/failed.png
Normal file
|
After Width: | Height: | Size: 886 B |
BIN
workflow/public_html/images/classic/grid.png
Normal file
|
After Width: | Height: | Size: 25 KiB |
BIN
workflow/public_html/images/classic/grid.title.gray.gif
Normal file
|
After Width: | Height: | Size: 79 B |
BIN
workflow/public_html/images/classic/grid.title.green.gif
Normal file
|
After Width: | Height: | Size: 105 B |
BIN
workflow/public_html/images/classic/grid.title.greenLight.gif
Normal file
|
After Width: | Height: | Size: 158 B |
BIN
workflow/public_html/images/classic/grid.title.orange.gif
Normal file
|
After Width: | Height: | Size: 157 B |
BIN
workflow/public_html/images/classic/grid.title.violet.gif
Normal file
|
After Width: | Height: | Size: 158 B |
BIN
workflow/public_html/images/classic/grid.titlebar.bg1.gif
Normal file
|
After Width: | Height: | Size: 90 B |
BIN
workflow/public_html/images/classic/grid.titlebar.bg1.png
Normal file
|
After Width: | Height: | Size: 278 B |
BIN
workflow/public_html/images/classic/icons.gif
Normal file
|
After Width: | Height: | Size: 11 KiB |
BIN
workflow/public_html/images/classic/info.png
Normal file
|
After Width: | Height: | Size: 1.9 KiB |
BIN
workflow/public_html/images/classic/loader_B.gif
Normal file
|
After Width: | Height: | Size: 3.2 KiB |
BIN
workflow/public_html/images/classic/loader_B_blank.gif
Normal file
|
After Width: | Height: | Size: 4.1 KiB |
BIN
workflow/public_html/images/classic/maximizar.gif
Normal file
|
After Width: | Height: | Size: 214 B |
BIN
workflow/public_html/images/classic/maximizar1.gif
Normal file
|
After Width: | Height: | Size: 200 B |
|
After Width: | Height: | Size: 925 B |
BIN
workflow/public_html/images/classic/module.grid/page-first.gif
Normal file
|
After Width: | Height: | Size: 925 B |
|
After Width: | Height: | Size: 923 B |
BIN
workflow/public_html/images/classic/module.grid/page-last.gif
Normal file
|
After Width: | Height: | Size: 923 B |
|
After Width: | Height: | Size: 875 B |
BIN
workflow/public_html/images/classic/module.grid/page-next.gif
Normal file
|
After Width: | Height: | Size: 875 B |
|
After Width: | Height: | Size: 879 B |
BIN
workflow/public_html/images/classic/module.grid/page-prev.gif
Normal file
|
After Width: | Height: | Size: 879 B |
BIN
workflow/public_html/images/classic/nc.gif
Normal file
|
After Width: | Height: | Size: 302 B |
BIN
workflow/public_html/images/classic/nr.gif
Normal file
|
After Width: | Height: | Size: 297 B |
BIN
workflow/public_html/images/classic/nr.png
Normal file
|
After Width: | Height: | Size: 474 B |
BIN
workflow/public_html/images/classic/ok.png
Normal file
|
After Width: | Height: | Size: 866 B |
BIN
workflow/public_html/images/classic/panel.bg.title.1x20.gif
Normal file
|
After Width: | Height: | Size: 98 B |
BIN
workflow/public_html/images/classic/panel.bg.title.1x23.gif
Normal file
|
After Width: | Height: | Size: 100 B |
BIN
workflow/public_html/images/classic/panel.bg.title.1x29.gif
Normal file
|
After Width: | Height: | Size: 154 B |
BIN
workflow/public_html/images/classic/panel.bg.title.gif
Normal file
|
After Width: | Height: | Size: 147 B |
BIN
workflow/public_html/images/classic/panel.bg.title.png
Normal file
|
After Width: | Height: | Size: 21 KiB |
BIN
workflow/public_html/images/classic/panel.close.static.gif
Normal file
|
After Width: | Height: | Size: 554 B |
BIN
workflow/public_html/images/classic/panel.resize.11x11.png
Normal file
|
After Width: | Height: | Size: 259 B |
BIN
workflow/public_html/images/classic/panel.tabSelected.1x25.gif
Normal file
|
After Width: | Height: | Size: 13 KiB |
BIN
workflow/public_html/images/classic/panel.tabSelected.1x3.gif
Normal file
|
After Width: | Height: | Size: 49 B |
BIN
workflow/public_html/images/classic/question.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
BIN
workflow/public_html/images/classic/roll.static.gif
Normal file
|
After Width: | Height: | Size: 200 B |
BIN
workflow/public_html/images/classic/separator.down.gif
Normal file
|
After Width: | Height: | Size: 82 B |
BIN
workflow/public_html/images/classic/separator.up.gif
Normal file
|
After Width: | Height: | Size: 81 B |
BIN
workflow/public_html/images/classic/separatorTable.gif
Normal file
|
After Width: | Height: | Size: 45 B |
|
After Width: | Height: | Size: 329 B |
BIN
workflow/public_html/images/classic/silverBackgroundSubMenu.jpg
Normal file
|
After Width: | Height: | Size: 13 KiB |
|
After Width: | Height: | Size: 296 B |
BIN
workflow/public_html/images/classic/star.gif
Normal file
|
After Width: | Height: | Size: 1.1 KiB |
BIN
workflow/public_html/images/classic/star_s.gif
Normal file
|
After Width: | Height: | Size: 513 B |
BIN
workflow/public_html/images/classic/star_u.gif
Normal file
|
After Width: | Height: | Size: 250 B |
BIN
workflow/public_html/images/classic/tabs_li_bg.gif
Normal file
|
After Width: | Height: | Size: 2.3 KiB |
BIN
workflow/public_html/images/simplified/logout-grey.png
Normal file
|
After Width: | Height: | Size: 660 B |
BIN
workflow/public_html/images/simplified/titlebar.png
Normal file
|
After Width: | Height: | Size: 191 B |
@@ -517,19 +517,31 @@
|
||||
$RBAC->loadUserRolePermission( $RBAC->sSystem, $_SESSION['USER_LOGGED'] , PATH_DATA, session_id());
|
||||
}
|
||||
else {
|
||||
// this is the blank list to allow execute scripts with no login (without session started)
|
||||
$noLoginFiles = array();
|
||||
$noLoginFiles[] = 'login';
|
||||
$noLoginFiles[] = 'authentication';
|
||||
$noLoginFiles[] = 'login_Ajax';
|
||||
$noLoginFiles[] = 'dbInfo';
|
||||
$noLoginFiles[] = 'sysLoginVerify';
|
||||
$noLoginFiles[] = 'processes_Ajax';
|
||||
$noLoginFiles[] = 'updateTranslation';
|
||||
$noLoginFiles[] = 'autoinstallProcesses';
|
||||
$noLoginFiles[] = 'autoinstallPlugins';
|
||||
$noLoginFiles[] = 'heartbeatStatus';
|
||||
$noLoginFiles[] = 'showLogoFile';
|
||||
$noLoginFiles[] = 'forgotPassword';
|
||||
$noLoginFiles[] = 'retrivePassword';
|
||||
$noLoginFiles[] = 'services';
|
||||
$noLoginFiles[] = 'tracker';
|
||||
$noLoginFiles[] = 'defaultAjaxDynaform';
|
||||
$noLoginFiles[] = 'dynaforms_checkDependentFields';
|
||||
$noLoginFiles[] = 'cases_ShowDocument';
|
||||
|
||||
//This sentence is used when you lost the Session
|
||||
if ( SYS_TARGET != 'authentication' and SYS_TARGET != 'login' and SYS_TARGET != 'login_Ajax'
|
||||
and SYS_TARGET != 'dbInfo' and SYS_TARGET != 'sysLoginVerify' and SYS_TARGET != 'processes_Ajax'
|
||||
and SYS_TARGET != 'updateTranslation'
|
||||
and SYS_TARGET != 'autoinstallProcesses'
|
||||
and SYS_TARGET != 'autoinstallPlugins'
|
||||
and SYS_TARGET != 'heartbeatStatus'
|
||||
and SYS_TARGET != 'showLogoFile'
|
||||
and SYS_TARGET != 'forgotPassword'
|
||||
and SYS_TARGET != 'retrivePassword'
|
||||
and SYS_COLLECTION != 'services' and SYS_COLLECTION != 'tracker' and $collectionPlugin != 'services'
|
||||
and $bWE != true and SYS_TARGET != 'defaultAjaxDynaform' and SYS_TARGET != 'dynaforms_checkDependentFields' and SYS_TARGET != 'cases_ShowDocument') {
|
||||
if ( !in_array(SYS_TARGET, $noLoginFiles) && $bWE != true && $collectionPlugin != 'services') {
|
||||
$bRedirect = true;
|
||||
|
||||
if (isset($_GET['sid'])) {
|
||||
G::LoadClass('sessions');
|
||||
$oSessions = new Sessions();
|
||||
@@ -545,11 +557,19 @@
|
||||
}
|
||||
}
|
||||
if ($bRedirect) {
|
||||
if (empty($_POST)) {
|
||||
header('location: ' . SYS_URI . 'login/login?u=' . urlencode($_SERVER['REQUEST_URI']));
|
||||
//g::pr($_SERVER); die;
|
||||
if (strpos($_SERVER['REQUEST_URI'], '/home') !== false) {
|
||||
$loginUrl = 'home/login';
|
||||
}
|
||||
else {
|
||||
header('location: ' . SYS_URI . 'login/login');
|
||||
$loginUrl = 'login/login';
|
||||
}
|
||||
|
||||
if (empty($_POST)) {
|
||||
header('location: ' . SYS_URI . $loginUrl . '?u=' . urlencode($_SERVER['REQUEST_URI']));
|
||||
}
|
||||
else {
|
||||
header('location: ' . SYS_URI . $loginUrl);
|
||||
}
|
||||
die();
|
||||
}
|
||||
|
||||