From d629e2d9d3297bce20b4b497df46805378e26ac0 Mon Sep 17 00:00:00 2001
From: Yasen Pramatarov
Date: Wed, 30 Oct 2024 17:23:22 +0200
Subject: [PATCH] Cleans up data configjs pages
---
app/pages/data.php | 4 ++--
app/templates/{config-list-configjs.php => data-configjs.php} | 4 ++--
...-list-interfaceconfigjs.php => data-interfaceconfigjs.php} | 4 ++--
3 files changed, 6 insertions(+), 6 deletions(-)
rename app/templates/{config-list-configjs.php => data-configjs.php} (84%)
rename app/templates/{config-list-interfaceconfigjs.php => data-interfaceconfigjs.php} (83%)
diff --git a/app/pages/data.php b/app/pages/data.php
index cb898be..e1b98d6 100644
--- a/app/pages/data.php
+++ b/app/pages/data.php
@@ -86,14 +86,14 @@ switch ($item) {
$mode = $_REQUEST['mode'] ?? '';
$raw = ($mode === 'raw');
$platformConfigjs = $configObject->getPlatformConfigjs($platformDetails[0]['jitsi_url'], $raw);
- include '../app/templates/config-list-configjs.php';
+ include '../app/templates/data-configjs.php';
break;
case 'interfaceconfigjs':
$mode = $_REQUEST['mode'] ?? '';
$raw = ($mode === 'raw');
$platformInterfaceConfigjs = $configObject->getPlatformInterfaceConfigjs($platformDetails[0]['jitsi_url'], $raw);
- include '../app/templates/config-list-interfaceconfigjs.php';
+ include '../app/templates/data-interfaceconfigjs.php';
break;
default:
diff --git a/app/templates/config-list-configjs.php b/app/templates/data-configjs.php
similarity index 84%
rename from app/templates/config-list-configjs.php
rename to app/templates/data-configjs.php
index 9fbce06..9430d9a 100644
--- a/app/templates/config-list-configjs.php
+++ b/app/templates/data-configjs.php
@@ -7,9 +7,9 @@
URL: = htmlspecialchars($platformDetails[0]['jitsi_url']) ?>
FILE: config.js
- view only active lines
+ view only active lines
- view raw file contents
+ view raw file contents
diff --git a/app/templates/config-list-interfaceconfigjs.php b/app/templates/data-interfaceconfigjs.php
similarity index 83%
rename from app/templates/config-list-interfaceconfigjs.php
rename to app/templates/data-interfaceconfigjs.php
index abfb015..bf47717 100644
--- a/app/templates/config-list-interfaceconfigjs.php
+++ b/app/templates/data-interfaceconfigjs.php
@@ -7,9 +7,9 @@
URL: = htmlspecialchars($platformDetails[0]['jitsi_url']) ?>
FILE: interface_config.js
- view only active lines
+ view only active lines
- view raw file contents
+ view raw file contents