68 $this->CachedMultyFS =
get_package(
'cached_multy_fs' ,
'last' , __FILE__ );
69 $this->Security =
get_package(
'security' ,
'last' , __FILE__ );
70 $this->String =
get_package(
'string' ,
'last' , __FILE__ );
100 $this->Output = $this->CachedMultyFS->get_template( __FILE__ ,
'permitions_form.tpl' );
102 $PermitAccess =
get_package(
'permit::permit_access' ,
'last' , __FILE__ );
103 $PageAlias = $this->Security->get_p(
'page_record_id' ,
'command' );
104 $Permitions = $PermitAccess->get_permits_for_page( $PageAlias );
105 $Permitions = implode(
',' , $Permitions );
107 $this->Output = str_replace(
'{prefix}' ,
'page' , $this->Output );
108 $this->Output = str_replace(
'{page_permitions}' , $Permitions , $this->Output );
109 $this->Output = str_replace(
'{page_alias}' , $PageAlias , $this->Output );
111 catch( Exception $e )
143 $ContextSet =
get_package(
'gui::context_set' ,
'last' , __FILE__ );
145 $ContextSet->add_context( dirname( __FILE__ ).
'/conf/cfcxs_packages_form' );
147 $ContextSet->add_context( dirname( __FILE__ ).
'/conf/cfcxs_permitions_form' );
149 $ContextSet->execute( $Options , $this , __FILE__ );
151 return( $this->Output );
153 catch( Exception $e )