BUG 0000 BUG 0000 User Inbox Simplified (third commit)

This commit is contained in:
Erik Amaru Ortiz
2012-01-31 18:45:30 -04:00
parent 6bc409131d
commit 8c91f1c057
16 changed files with 205 additions and 60 deletions

View File

@@ -61,12 +61,26 @@ class adminProxy extends HttpProxyController
return array('success' => true, 'message'=>'done', 'groups'=>$row);
}
function getUxTypesList()
function getUxTypesList($type = 'assoc')
{
return Array(
'NORMAL' => 'Normal',
'SIMPLIFIED' => 'Simplified'
);
$list = array();
if ($type == 'assoc') {
$list = array(
'NORMAL' => 'Normal',
'SIMPLIFIED' => 'Simplified',
'SWITCHABLE' => 'Switchable'
);
}
else {
$list = array(
array('NORMAL', 'Normal'),
array('SIMPLIFIED', 'Simplified'),
array('SWITCHABLE', 'Switchable')
);
}
return $list;
}
function calendarSave()