61 $this->CommonButtons =
get_package(
'gui::context_set::common_buttons' ,
'last' , __FILE__ );
62 $this->FormButtons =
get_package(
'gui::context_set::form_buttons' ,
'last' , __FILE__ );
64 $this->String =
get_package(
'string' ,
'last' , __FILE__ );
106 for( ; $Parameters = $this->String->get_macro_parameters( $Str ,
'options' ) ; )
108 $this->MacroSettings->load_settings( $Parameters );
109 $Name = $this->MacroSettings->get_setting(
'name' );
111 $Value = $Options->get_setting( $Name , $Options->get_setting(
'default' ,
'0' ) );
113 $Str = str_replace(
"{options:$Parameters}" , $Value , $Str );
117 return( array( $Str , $Changed ) );
119 catch( Exception $e )
159 if( $Options->get_setting(
'view' , 0 ) == 1 )
161 $Str = $this->CommonButtons->compile_buttons( $ContextSetSettings , $Options , $Str );
163 $Str = $this->FormButtons->compile_buttons( $ContextSetSettings , $Options , $Str );
166 list( $Str , $Changed ) = $this->
compile_options( $Options , $Str , $Changed );
171 catch( Exception $e )