forked from mx504/freepbx-endpointmanager
-
Notifications
You must be signed in to change notification settings - Fork 72
/
page.epm_config.php
39 lines (34 loc) · 957 Bytes
/
page.epm_config.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php
global $active_modules;
if (!empty($active_modules[endpoint][rawname])) {
if (FreePBX::Endpointman()->configmod->get("disable_endpoint_warning") !== "1") {
include('page.epm_warning.php');
}
}
?>
<?PHP
/**
* Endpoint Manager FreePBX File
*
* @author Javier Pastor
* @license MPL / GPLv2 / LGPL
* @package Endpoint Manager
*/
if (!defined('FREEPBX_IS_AUTH')) { die('No direct script access allowed'); }
$epm = FreePBX::create()->Endpointman;
?>
<div class="container-fluid" id="epm_config">
<h1><?php echo _("End Point Configuration Manager")?></h1>
<h2><?php echo _("Package Manager")?></h2>
<div class = "display full-border">
<div class="row">
<div class="col-sm-12">
<div class="fpbx-container">
<?php
echo load_view(__DIR__.'/views/epm_config_manager.page.php', array('epm' => $epm));
?>
</div>
</div>
</div>
</div>
</div>