diff --git a/app/pages/config.php b/app/pages/config.php index b333ce2..c4415fd 100644 --- a/app/pages/config.php +++ b/app/pages/config.php @@ -159,6 +159,7 @@ if ($_SERVER['REQUEST_METHOD'] == 'POST') { if (isset($action) && $action === 'add') { include '../app/templates/config-host-add.php'; } elseif (isset($action) && $action === 'edit') { + $hostDetails = $hostObject->getHostDetails($platform_id, $agent); include '../app/templates/config-host-edit.php'; } elseif (isset($action) && $action === 'delete') { $hostDetails = $hostObject->getHostDetails($platform_id, $agent); diff --git a/app/templates/config-configfile-edit.php b/app/templates/config-configfile-edit.php index eb67959..ce5264d 100644 --- a/app/templates/config-configfile-edit.php +++ b/app/templates/config-configfile-edit.php @@ -1,10 +1,9 @@
-

Jilo configuration file

+

Jilo configuration file :: edit

-

editing the Jilo Server configuration file

this may break everything, use with extreme caution

@@ -16,8 +15,9 @@ echo "\n"; ?>

this may break everything, use with extreme caution

- Cancel - + Cancel +    +
diff --git a/app/templates/config-configfile.php b/app/templates/config-configfile.php index d628d94..e61ec96 100644 --- a/app/templates/config-configfile.php +++ b/app/templates/config-configfile.php @@ -11,7 +11,7 @@ echo "\n"; ?>
- Edit + Edit
diff --git a/app/templates/config-host-add.php b/app/templates/config-host-add.php index e8354ce..8f220b2 100644 --- a/app/templates/config-host-add.php +++ b/app/templates/config-host-add.php @@ -1,6 +1,6 @@ - -
+ +

Add new host in Jitsi platform

@@ -41,9 +41,10 @@
- Cancel - + Cancel +    +
- + diff --git a/app/templates/config-host-delete.php b/app/templates/config-host-delete.php index 8a84230..835b03a 100644 --- a/app/templates/config-host-delete.php +++ b/app/templates/config-host-delete.php @@ -1,6 +1,6 @@ -
+

Jilo configuration for Jitsi platform ""

delete a host:

@@ -24,8 +24,9 @@ foreach ($hostDetails[0] as $key => $value) {

Are you sure you want to delete this host?


- Cancel - + Cancel +    +
diff --git a/app/templates/config-host-edit.php b/app/templates/config-host-edit.php new file mode 100644 index 0000000..c1fccbc --- /dev/null +++ b/app/templates/config-host-edit.php @@ -0,0 +1,52 @@ + + +
+

Jilo configuration for Jitsi platform ""

+
+

edit host details:

+
+ +
+
+ + * +
+
+ +

DNS name or IP address of the machine

+
+
+ +
+
+ + * +
+
+ +

port on which the Jilo Agent is listening

+
+
+ +
+
+ +
+
+ +

description or name of the host (optional)

+
+
+ + + + + +
+ Cancel +    + +
+
+
+ diff --git a/app/templates/config-host.php b/app/templates/config-host.php index 459c568..1c39565 100644 --- a/app/templates/config-host.php +++ b/app/templates/config-host.php @@ -13,18 +13,21 @@

platform

- +

- total   + total jilo     add new

diff --git a/app/templates/config-platform-add.php b/app/templates/config-platform-add.php index 2c18911..e9c23b9 100644 --- a/app/templates/config-platform-add.php +++ b/app/templates/config-platform-add.php @@ -1,6 +1,6 @@ -
+

Add new Jitsi platform

@@ -42,8 +42,9 @@
- Cancel - + Cancel +    +
diff --git a/app/templates/config-platform-delete.php b/app/templates/config-platform-delete.php index d672041..a0f3db7 100644 --- a/app/templates/config-platform-delete.php +++ b/app/templates/config-platform-delete.php @@ -1,9 +1,8 @@ -
-

Jilo web configuration for Jitsi platform ""

+
+

Jilo configuration for Jitsi platform "" :: delete

-

delete a platform:

$value) { @@ -24,8 +23,9 @@ foreach ($platformDetails[0] as $key => $value) {

Are you sure you want to delete this platform?


- Cancel - + Cancel +    +
diff --git a/app/templates/config-platform-edit.php b/app/templates/config-platform-edit.php index 10f8054..5e5651f 100644 --- a/app/templates/config-platform-edit.php +++ b/app/templates/config-platform-edit.php @@ -1,9 +1,8 @@ -
-

Jilo web configuration for Jitsi platform ""

+
+

Jilo configuration for Jitsi platform "" :: edit

-

edit the platform details:

$value) { @@ -28,8 +27,9 @@ foreach ($platformDetails[0] as $key => $value) {
- Cancel - + Cancel +    +