62 $this->CachedMultyFS =
get_package(
'cached_multy_fs' ,
'last' , __FILE__ );
64 'database::change_history::change_history_view' ,
'last' , __FILE__
66 $this->PageComposer =
get_package(
'page::page_composer' ,
'last' , __FILE__ );
67 $this->String =
get_package(
'string' ,
'last' , __FILE__ );
101 switch( $BlockSettings->get_setting(
'type' ,
'' ) )
103 case(
'href' ):$FileName =
'href_history_button.tpl';
break;
105 default:$FileName =
'image_history_button_48.tpl';
break;
108 return( $this->CachedMultyFS->get_template( __FILE__ , $FileName ) );
110 catch( Exception $e )
142 $id = $BlockSettings->get_setting(
'id' );
143 $ObjectType = $BlockSettings->get_setting(
'object_type' );
145 $Code = $this->ChangeHistoryView->get_changes_grid( $id , $ObjectType );
148 $Code = str_replace(
'{id}' , $id , $Code );
152 catch( Exception $e )