File tree Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Expand file tree Collapse file tree 4 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 11<?php
2- namespace Modules \HtmlWidget \Actions ;
2+ namespace Modules \ShrankHtmlWidget \Actions ;
33use CControllerDashboardWidgetView ,
44 CControllerResponseData ;
55class WidgetView extends CControllerDashboardWidgetView {
Original file line number Diff line number Diff line change 11<?php
2- namespace Modules \HtmlWidget \Includes ;
2+ namespace Modules \ShrankHtmlWidget \Includes ;
33use Zabbix \Widgets \CWidgetForm ;
44use Zabbix \Widgets \Fields \CWidgetFieldTextArea ;
55class WidgetForm extends CWidgetForm {
Original file line number Diff line number Diff line change 11{
22 "manifest_version" : 2.0 ,
3- "id" : " html_widget " ,
3+ "id" : " shrank_html_widget " ,
44 "type" : " widget" ,
55 "name" : " HTML" ,
6- "namespace" : " HtmlWidget " ,
6+ "namespace" : " ShrankHtmlWidget " ,
77 "version" : " 1.0" ,
88 "author" : " shrank" ,
99 "actions" : {
10- "widget.html_widget .view" : {
10+ "widget.shrank_html_widget .view" : {
1111 "class" : " WidgetView"
1212 }
1313 }
Original file line number Diff line number Diff line change 88
99 (new CWidgetFormView ($ data ))
1010 ->addField (
11- new CWidgetFieldTextArea ($ data ['fields ' ]['content ' ])
11+ new CWidgetFieldTextAreaView ($ data ['fields ' ]['content ' ])
1212 )
1313 ->show ();
1414?>
You can’t perform that action at this time.
0 commit comments