* @link http://code.google.com/p/srbac/ */ /** * The view for the editing of the alwaysAllowed list * * @author Spyros Soldatos * @package srbac.views.authitem * @since 1.1.0 */ ?> $controller) { $title = $controller["title"]; $data = array(); foreach ($controller["actions"] as $key=>$val) { $data[$val] = $val; } if(sizeof($data) > 0) { $select = $controller["allowed"]; // It seems that this tabview conflicts with assign tabview so I raise the tab number by 3 //$cont[$n+3]["title"] = str_replace("Controller", "", $title); //$cont[$n+3]["content"] = SHtml::checkBoxList($title, $select, $data); $cont["tab_".$n] = array( "title"=>str_replace("Controller", "", $title), "content"=>SHtml::checkBoxList($title, $select, $data)); } } ?>
module->css); $this->widget('system.web.widgets.CTabView', array( 'tabs'=>$cont, 'cssFile'=>$this->module->getCssUrl(), )); ?>
'POST', 'update'=>'#wizard', 'beforeSend' => 'function(){ $("#wizard").addClass("srbacLoading"); }', 'complete' => 'function(){ $("#wizard").removeClass("srbacLoading"); }', ), array( 'name'=>'buttonSave', ) ) ?>