Renames messages to feedback

main
Yasen Pramatarov 2025-02-17 10:24:50 +02:00
parent 3e9eb0d822
commit 3a9916e63b
20 changed files with 53 additions and 53 deletions

View File

@ -161,9 +161,9 @@ if ($_SERVER['REQUEST_METHOD'] === 'POST') {
*/ */
} }
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
// Load the template // Load the template
include '../app/templates/agents.php'; include '../app/templates/agents.php';

View File

@ -100,9 +100,9 @@ if ($response['db'] === null) {
array_push($filterMessage, 'Jitsi events for component ID&nbsp;"<strong>' . $_REQUEST['id'] . '</strong>"'); array_push($filterMessage, 'Jitsi events for component ID&nbsp;"<strong>' . $_REQUEST['id'] . '</strong>"');
} }
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
// display the widget // display the widget
include '../app/templates/components.php'; include '../app/templates/components.php';

View File

@ -159,9 +159,9 @@ if ($response['db'] === null) {
array_push($filterMessage, 'Conferences with ID "<strong>' . $_REQUEST['id'] . '</strong>"'); array_push($filterMessage, 'Conferences with ID "<strong>' . $_REQUEST['id'] . '</strong>"');
} }
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
// display the widget // display the widget
include '../app/templates/conferences.php'; include '../app/templates/conferences.php';

View File

@ -6,9 +6,9 @@
* This page handles the config file. * This page handles the config file.
*/ */
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
require '../app/classes/config.php'; require '../app/classes/config.php';

View File

@ -9,9 +9,9 @@
* 3. The most recent 10 conferences. * 3. The most recent 10 conferences.
*/ */
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
require '../app/classes/conference.php'; require '../app/classes/conference.php';
require '../app/classes/participant.php'; require '../app/classes/participant.php';

View File

@ -84,9 +84,9 @@ $widget['full'] = false;
$widget['name'] = 'Graphs'; $widget['name'] = 'Graphs';
$widget['title'] = 'Jitsi graphs'; $widget['title'] = 'Jitsi graphs';
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
// Load the template // Load the template
include '../app/templates/graphs.php'; include '../app/templates/graphs.php';

View File

@ -1,8 +1,8 @@
<?php <?php
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
include '../app/templates/help.php'; include '../app/templates/help.php';

View File

@ -99,9 +99,9 @@ foreach ($hosts as $host) {
} }
} }
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
// Load the template // Load the template
include '../app/templates/latest.php'; include '../app/templates/latest.php';

View File

@ -9,9 +9,9 @@ $settingsObject = new Settings();
$livejsData = $settingsObject->getPlatformJsFile($platformDetails[0]['jitsi_url'], $item, $raw); $livejsData = $settingsObject->getPlatformJsFile($platformDetails[0]['jitsi_url'], $item, $raw);
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
// Load the template // Load the template
include '../app/templates/livejs.php'; include '../app/templates/livejs.php';

View File

@ -121,9 +121,9 @@ if (!empty($config['login_message'])) {
echo Feedback::render('NOTICE', 'DEFAULT', $config['login_message'], false, false, false); echo Feedback::render('NOTICE', 'DEFAULT', $config['login_message'], false, false, false);
} }
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
// Load the template // Load the template
include '../app/templates/form-login.php'; include '../app/templates/form-login.php';

View File

@ -8,9 +8,9 @@
* It supports pagination and filtering. * It supports pagination and filtering.
*/ */
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
// Check for rights; user or system // Check for rights; user or system
$has_system_access = ($userObject->hasRight($user_id, 'superuser') || $has_system_access = ($userObject->hasRight($user_id, 'superuser') ||

View File

@ -169,9 +169,9 @@ if ($response['db'] === null) {
array_push($filterMessage, 'Conferences with participant IP matching "<strong>' . $participantIp . '</strong>"'); array_push($filterMessage, 'Conferences with participant IP matching "<strong>' . $participantIp . '</strong>"');
} }
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
// display the widget // display the widget
include '../app/templates/participants.php'; include '../app/templates/participants.php';

View File

@ -12,9 +12,9 @@
* - `edit`: Edit user profile details, rights, or avatar. * - `edit`: Edit user profile details, rights, or avatar.
*/ */
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
$action = $_REQUEST['action'] ?? ''; $action = $_REQUEST['action'] ?? '';

View File

@ -65,9 +65,9 @@ if ($config['registration_enabled'] == true) {
Feedback::flash('ERROR', 'DEFAULT', $e->getMessage()); Feedback::flash('ERROR', 'DEFAULT', $e->getMessage());
} }
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
// Load the template // Load the template
include '../app/templates/form-register.php'; include '../app/templates/form-register.php';

View File

@ -154,9 +154,9 @@ if ($section === 'ratelimit') {
$whitelisted = $rateLimiter->getWhitelistedIps(); $whitelisted = $rateLimiter->getWhitelistedIps();
$blacklisted = $rateLimiter->getBlacklistedIps(); $blacklisted = $rateLimiter->getBlacklistedIps();
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
// Load the template // Load the template
include '../app/templates/security.php'; include '../app/templates/security.php';

View File

@ -7,9 +7,9 @@
* adding, editing, and deleting platforms, hosts, agents. * adding, editing, and deleting platforms, hosts, agents.
*/ */
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
$action = $_REQUEST['action'] ?? ''; $action = $_REQUEST['action'] ?? '';
$agent = $_REQUEST['agent'] ?? ''; $agent = $_REQUEST['agent'] ?? '';

View File

@ -8,9 +8,9 @@
* It generates output for each platform and agent. * It generates output for each platform and agent.
*/ */
// Get any new messages // Get any new feedback messages
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
require '../app/classes/agent.php'; require '../app/classes/agent.php';
require '../app/classes/host.php'; require '../app/classes/host.php';

View File

@ -125,8 +125,8 @@ try {
} catch (Exception $e) { } catch (Exception $e) {
Feedback::flash('ERROR', 'DEFAULT', getError('Error connecting to the database.', $e->getMessage())); Feedback::flash('ERROR', 'DEFAULT', getError('Error connecting to the database.', $e->getMessage()));
include '../app/templates/page-header.php'; include '../app/templates/page-header.php';
include '../app/includes/messages.php'; include '../app/includes/feedback-get.php';
include '../app/includes/messages-show.php'; include '../app/includes/feedback-show.php';
include '../app/templates/page-footer.php'; include '../app/templates/page-footer.php';
exit(); exit();
} }