BUG 0000 User Inbox Simplified (6th commit)

This commit is contained in:
Erik Amaru Ortiz
2012-02-03 09:46:27 -04:00
parent 862215fd62
commit 5e0d7d9f98
11 changed files with 407 additions and 9 deletions

View File

@@ -69,14 +69,16 @@ class adminProxy extends HttpProxyController
$list = array(
'NORMAL' => 'Normal',
'SIMPLIFIED' => 'Simplified',
'SWITCHABLE' => 'Switchable'
'SWITCHABLE' => 'Switchable'/*,
'SINGLE' => 'Single Application'*/
);
}
else {
$list = array(
array('NORMAL', 'Normal'),
array('SIMPLIFIED', 'Simplified'),
array('SWITCHABLE', 'Switchable')
array('SWITCHABLE', 'Switchable')/*,
array('SINGLE', 'Single Application')*/
);
}

View File

@@ -56,7 +56,14 @@ class Home extends Controller
$processList = $case->getStartCasesPerType ( $_SESSION ['USER_LOGGED'], 'category' );
unset($processList[0]);
$this->setView('home/index');
if ($this->userUxType == 'SINGLE') {
$this->setView('home/index2');
}
else {
$this->setView('home/index');
}
$this->setVar('usrUid', $this->userID);
$this->setVar('userName', $this->userName);
$this->setVar('processList', $processList);