Feature: Agregar soporte i18n a todas las páginas restantes
- recurrentes.php, sent_messages.php, gallery.php - admin/users.php, recipients.php, languages.php, comandos.php - admin/test_discord_connection.php, ia_agent.php - profile.php, set_webhook.php, chat_telegram.php - translate_message.php, admin_send_message.php - telegram/admin/telegram_bot_interactions.php - telegram/admin/telegram_welcome.php
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
<?php
|
||||
require_once __DIR__ . '/includes/db.php';
|
||||
require_once __DIR__ . '/includes/session_check.php';
|
||||
require_once __DIR__ . '/includes/i18n.php';
|
||||
checkSession();
|
||||
require_once __DIR__ . '/includes/message_handler.php';
|
||||
|
||||
$pageTitle = 'Mensajes Enviados';
|
||||
$pageTitle = t('Mensajes Enviados');
|
||||
|
||||
$userId = getCurrentUserId();
|
||||
$messages = getSentMessages(isAdmin() ? null : $userId, 100);
|
||||
@@ -13,23 +14,23 @@ require_once __DIR__ . '/templates/header.php';
|
||||
?>
|
||||
|
||||
<div class="d-flex justify-content-between align-items-center mb-4">
|
||||
<h2><i class="bi bi-send"></i> Mensajes Enviados</h2>
|
||||
<h2><i class="bi bi-check2-all"></i> <?= t('Mensajes Enviados') ?></h2>
|
||||
</div>
|
||||
|
||||
<div class="card border-0 shadow-sm">
|
||||
<div class="card-body">
|
||||
<?php if (empty($messages)): ?>
|
||||
<p class="text-muted text-center py-4">No hay mensajes enviados</p>
|
||||
<p class="text-muted text-center py-4"><?= t('No hay mensajes enviados') ?></p>
|
||||
<?php else: ?>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-hover">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>ID</th>
|
||||
<th>Destinatario</th>
|
||||
<th>Plataforma</th>
|
||||
<th>Fecha de Envío</th>
|
||||
<th>Mensajes Enviados</th>
|
||||
<th><?= t('ID') ?></th>
|
||||
<th><?= t('Destinatario') ?></th>
|
||||
<th><?= t('Plataforma') ?></th>
|
||||
<th><?= t('Fecha de Envío') ?></th>
|
||||
<th><?= t('Mensajes Enviados') ?></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
Reference in New Issue
Block a user