Skip to content

Commit 72d46b8

Browse files
author
shrank
committed
first working version
1 parent 81bf3a7 commit 72d46b8

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

html_widget/actions/WidgetView.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Modules\HtmlWidget\Actions;
2+
namespace Modules\ShrankHtmlWidget\Actions;
33
use CControllerDashboardWidgetView,
44
CControllerResponseData;
55
class WidgetView extends CControllerDashboardWidgetView {

html_widget/includes/WidgetForm.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<?php
2-
namespace Modules\HtmlWidget\Includes;
2+
namespace Modules\ShrankHtmlWidget\Includes;
33
use Zabbix\Widgets\CWidgetForm;
44
use Zabbix\Widgets\Fields\CWidgetFieldTextArea;
55
class WidgetForm extends CWidgetForm {

html_widget/manifest.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,13 @@
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
}

html_widget/views/widget.edit.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
(new CWidgetFormView($data))
1010
->addField(
11-
new CWidgetFieldTextArea($data['fields']['content'])
11+
new CWidgetFieldTextAreaView($data['fields']['content'])
1212
)
1313
->show();
1414
?>

0 commit comments

Comments
 (0)