mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
plugins: remove use of $main_buttons
PR: https://github.com/opnsense/core/issues/4216
This commit is contained in:
+1
-1
@@ -1,6 +1,6 @@
|
||||
PLUGIN_NAME= dyndns
|
||||
PLUGIN_VERSION= 1.24
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_REVISION= 2
|
||||
PLUGIN_COMMENT= Dynamic DNS Support
|
||||
PLUGIN_MAINTAINER= franco@opnsense.org
|
||||
|
||||
|
||||
@@ -67,10 +67,6 @@ include("head.inc");
|
||||
|
||||
legacy_html_escape_form_data($a_dyndns);
|
||||
|
||||
$main_buttons = array(
|
||||
array('label' => gettext('Add'), 'href' => 'services_dyndns_edit.php'),
|
||||
);
|
||||
|
||||
?>
|
||||
<body>
|
||||
<script>
|
||||
@@ -125,7 +121,11 @@ $main_buttons = array(
|
||||
<th><?=gettext("Hostname");?></th>
|
||||
<th><?=gettext("Cached IP");?></th>
|
||||
<th><?=gettext("Description");?></th>
|
||||
<th class="text-nowrap"></th>
|
||||
<th class="text-nowrap">
|
||||
<a href="services_dyndns_edit.php" class="btn btn-primary btn-xs" data-toggle="tooltip" title="<?= html_safe(gettext('Add')) ?>">
|
||||
<i class="fa fa-plus fa-fw"></i>
|
||||
</a>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
PLUGIN_NAME= rfc2136
|
||||
PLUGIN_VERSION= 1.6
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_REVISION= 2
|
||||
PLUGIN_COMMENT= RFC-2136 Support
|
||||
PLUGIN_MAINTAINER= franco@opnsense.org
|
||||
PLUGIN_DEPENDS= bind-tools
|
||||
|
||||
@@ -65,10 +65,6 @@ include("head.inc");
|
||||
|
||||
legacy_html_escape_form_data($a_rfc2136);
|
||||
|
||||
$main_buttons = array(
|
||||
array('label' => gettext('Add'), 'href' => 'services_rfc2136_edit.php'),
|
||||
);
|
||||
|
||||
?>
|
||||
<body>
|
||||
<script>
|
||||
@@ -124,7 +120,11 @@ $main_buttons = array(
|
||||
<th><?=gettext("Hostname");?></th>
|
||||
<th><?=gettext("Cached IP");?></th>
|
||||
<th><?=gettext("Description");?></th>
|
||||
<th class"text-nowrap"></th>
|
||||
<th class"text-nowrap">
|
||||
<a href="services_rfc2136_edit.php" class="btn btn-primary btn-xs" data-toggle="tooltip" title="<?= html_safe(gettext('Add')) ?>">
|
||||
<i class="fa fa-plus fa-fw"></i>
|
||||
</a>
|
||||
</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
PLUGIN_NAME= igmp-proxy
|
||||
PLUGIN_VERSION= 1.5
|
||||
PLUGIN_REVISION= 1
|
||||
PLUGIN_REVISION= 2
|
||||
PLUGIN_DEPENDS= igmpproxy
|
||||
PLUGIN_COMMENT= IGMP-Proxy Service
|
||||
PLUGIN_MAINTAINER= franco@opnsense.org
|
||||
|
||||
@@ -53,10 +53,6 @@ include("head.inc");
|
||||
|
||||
legacy_html_escape_form_data($a_igmpproxy);
|
||||
|
||||
$main_buttons = array(
|
||||
array('label' => gettext('Add'), 'href' => 'services_igmpproxy_edit.php'),
|
||||
);
|
||||
|
||||
?>
|
||||
<body>
|
||||
<script>
|
||||
@@ -102,7 +98,11 @@ $main_buttons = array(
|
||||
<td><?=gettext("Type");?></td>
|
||||
<td><?=gettext("Values");?></td>
|
||||
<td><?=gettext("Description");?></td>
|
||||
<td class="text-nowrap"></td>
|
||||
<td class="text-nowrap">
|
||||
<a href="services_igmpproxy_edit.php" class="btn btn-primary btn-xs" data-toggle="tooltip" title="<?= html_safe(gettext('Add')) ?>">
|
||||
<i class="fa fa-plus fa-fw"></i>
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user