71 $this->Security =
get_package(
'security' ,
'last' , __FILE__ );
72 $this->UserAlgorithms =
get_package(
'user::user_algorithms' ,
'last' , __FILE__ );
102 $PageJS =
get_package(
'page::page_js' ,
'last' , __FILE__ );
104 $PageJS->add_javascript(
"{http_host}/$PackagePath/include/js/review_view.js" );
107 $Lang->include_strings_js(
'review::review_view' );
109 catch( Exception $e )
137 $MasterId = $this->Security->get_gp(
'master_id' ,
'integer' , $this->UserAlgorithms->get_id() );
138 $MasterType = $Options->get_setting(
'master_type' ,
'command' ,
'user' );
141 $this->Output .=
"{review_line:master_id=$MasterId;master_type=$MasterType}";
142 $this->Output .=
"{permit:registered}{review_form:master_id=$MasterId;".
143 "master_type=$MasterType}{~permit}";
145 catch( Exception $e )
177 $ContextSet =
get_package(
'gui::context_set' ,
'last' , __FILE__ );
179 $ContextSet->add_context( dirname( __FILE__ ).
'/conf/cfcx_public_review_list' );
181 $ContextSet->execute( $Options , $this , __FILE__ );
183 return( $this->Output );
185 catch( Exception $e )