Match to previous commit
Add missing comments
This commit is contained in:
parent
11af87ca38
commit
2f69bdb3fa
|
@ -22,7 +22,6 @@ if (empty($spage->class_error)) {
|
||||||
$display_page = $spage->infoServerShowPage();
|
$display_page = $spage->infoServerShowPage();
|
||||||
$display_info = _("SCCP Server Configuration");
|
$display_info = _("SCCP Server Configuration");
|
||||||
}
|
}
|
||||||
|
// standardise code to reduce base
|
||||||
include('page.html.php');
|
include('page.html.php');
|
||||||
?>
|
?>
|
||||||
<!-- End Modal alerts-->
|
|
||||||
|
|
|
@ -22,7 +22,6 @@ if (empty($spage->class_error)) {
|
||||||
$display_page = $spage->infoServerShowPage();
|
$display_page = $spage->infoServerShowPage();
|
||||||
$display_info = _("SCCP Server Configuration");
|
$display_info = _("SCCP Server Configuration");
|
||||||
}
|
}
|
||||||
|
// standardise code to reduce base
|
||||||
include('page.html.php');
|
include('page.html.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- End Modal alerts-->
|
|
||||||
|
|
|
@ -10,12 +10,9 @@ if (!defined('FREEPBX_IS_AUTH')) {
|
||||||
// AGPL v3 Licened
|
// AGPL v3 Licened
|
||||||
|
|
||||||
//
|
//
|
||||||
$spage = FreePBX::create()->Sccp_manager;
|
// Initialise page before to avoid double calls and improve performance
|
||||||
|
$display_page = FreePBX::create()->Sccp_manager->myShowPage();
|
||||||
$display_page = $spage->myShowPage();
|
|
||||||
$display_info = _("SCCP Server Settings");
|
$display_info = _("SCCP Server Settings");
|
||||||
|
// standardise code to reduce base
|
||||||
include('page.html.php');
|
include('page.html.php');
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<!-- End Modal alerts-->
|
|
||||||
|
|
Loading…
Reference in a new issue