Update Version 0.0.14
Update Version 0.0.14
This commit is contained in:
@@ -55,7 +55,7 @@ class acp_mchat_module
|
||||
|
||||
public function main($id, $mode)
|
||||
{
|
||||
global $config, $db, $cache, $request, $template, $user, $phpbb_root_path, $phpbb_admin_path, $phpEx, $table_prefix;
|
||||
global $config, $db, $cache, $request, $template, $user, $phpbb_root_path, $phpbb_admin_path, $phpEx, $table_prefix, $phpbb_log;
|
||||
global $phpbb_container;
|
||||
|
||||
$this->functions_mchat = $phpbb_container->get('dmzx.mchat.functions_mchat');
|
||||
@@ -175,7 +175,7 @@ class acp_mchat_module
|
||||
$config->set('mchat_message_top', $request->variable('mchat_message_top', 0));
|
||||
|
||||
// and an entry into the log table
|
||||
add_log('admin', 'LOG_MCHAT_CONFIG_UPDATE');
|
||||
$phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_MCHAT_CONFIG_UPDATE');
|
||||
|
||||
// purge the cache
|
||||
$this->cache->destroy('_mchat_config');
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
"type": "phpbb-extension",
|
||||
"description": "mChat Extension for phpbb 3.1.x",
|
||||
"homepage": "http://www.dmzx-web.net",
|
||||
"version": "0.0.13",
|
||||
"version": "0.0.14",
|
||||
"time": "2015-03-10",
|
||||
"keywords": ["phpbb", "extension", "mchat"],
|
||||
"license": "GPL-2.0",
|
||||
|
||||
@@ -12,6 +12,7 @@ services:
|
||||
- @config
|
||||
- @controller.helper
|
||||
- @template
|
||||
- @log
|
||||
- @user
|
||||
- @auth
|
||||
- @dbal.conn
|
||||
@@ -26,6 +27,7 @@ services:
|
||||
- @template
|
||||
- @user
|
||||
- @auth
|
||||
- @log
|
||||
- @dbal.conn
|
||||
- @cache
|
||||
- %core.table_prefix%
|
||||
|
||||
@@ -51,14 +51,14 @@ class functions_mchat
|
||||
* @param \phpbb\cache\service $cache
|
||||
* @param $table_prefix
|
||||
*/
|
||||
public function __construct(\phpbb\template\template $template, \phpbb\user $user, \phpbb\auth\auth $auth, \phpbb\db\driver\driver_interface $db, \phpbb\cache\service $cache, $table_prefix)
|
||||
public function __construct(\phpbb\template\template $template, \phpbb\user $user, \phpbb\auth\auth $auth, \phpbb\log\log_interface $log, \phpbb\db\driver\driver_interface $db, \phpbb\cache\service $cache, $table_prefix)
|
||||
{
|
||||
$this->template = $template;
|
||||
$this->user = $user;
|
||||
$this->auth = $auth;
|
||||
$this->db = $db;
|
||||
$this->cache = $cache;
|
||||
|
||||
$this->phpbb_log = $log;
|
||||
$this->table_prefix = $table_prefix;
|
||||
}
|
||||
|
||||
@@ -293,7 +293,8 @@ class functions_mchat
|
||||
WHERE message_id < ' . (int) $delete_id;
|
||||
$this->db->sql_query($sql);
|
||||
|
||||
add_log('admin', 'LOG_MCHAT_TABLE_PRUNED');
|
||||
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_MCHAT_TABLE_PRUNED');
|
||||
|
||||
}
|
||||
// free up some memory...variable(s) are no longer needed.
|
||||
unset($mchat_total_messages);
|
||||
|
||||
@@ -58,7 +58,7 @@ class render_helper
|
||||
* @param $phpEx
|
||||
* @param $table_prefix
|
||||
*/
|
||||
public function __construct(\dmzx\mchat\core\functions_mchat $functions_mchat, \phpbb\config\config $config, \phpbb\controller\helper $helper, \phpbb\template\template $template, \phpbb\user $user, \phpbb\auth\auth $auth, \phpbb\db\driver\driver_interface $db, \phpbb\cache\service $cache, \phpbb\request\request $request, $phpbb_root_path, $phpEx, $table_prefix)
|
||||
public function __construct(\dmzx\mchat\core\functions_mchat $functions_mchat, \phpbb\config\config $config, \phpbb\controller\helper $helper, \phpbb\template\template $template, \phpbb\log\log_interface $log, \phpbb\user $user, \phpbb\auth\auth $auth, \phpbb\db\driver\driver_interface $db, \phpbb\cache\service $cache, \phpbb\request\request $request, $phpbb_root_path, $phpEx, $table_prefix)
|
||||
{
|
||||
$this->functions_mchat = $functions_mchat;
|
||||
$this->config = $config;
|
||||
@@ -71,6 +71,7 @@ class render_helper
|
||||
$this->request = $request;
|
||||
$this->phpbb_root_path = $phpbb_root_path;
|
||||
$this->phpEx = $phpEx;
|
||||
$this->phpbb_log = $log;
|
||||
$this->table_prefix = $table_prefix;
|
||||
}
|
||||
|
||||
@@ -91,12 +92,7 @@ class render_helper
|
||||
//chat enabled
|
||||
if (!$this->config['mchat_enable'])
|
||||
{
|
||||
// Return for: $this->helper->error(error_text, error_type);
|
||||
return array(
|
||||
'error' => true,
|
||||
'error_type' => E_USER_NOTICE,
|
||||
'error_text' => $this->user->lang['MCHAT_ENABLE'],
|
||||
);
|
||||
trigger_error($user->lang['MCHAT_ENABLE'], E_USER_NOTICE);
|
||||
}
|
||||
|
||||
// avatars
|
||||
@@ -129,7 +125,7 @@ class render_helper
|
||||
|
||||
// needed variables
|
||||
// Request options.
|
||||
$mchat_mode = request_var('mode', '');
|
||||
$mchat_mode = $this->request->variable('mode', '');
|
||||
$mchat_read_mode = $mchat_archive_mode = $mchat_custom_page = $mchat_no_message = false;
|
||||
// set redirect if on index or custom page
|
||||
$on_page = $include_on_index ? 'index' : 'mchat';
|
||||
@@ -181,12 +177,7 @@ class render_helper
|
||||
else
|
||||
{
|
||||
// Show no rules
|
||||
// Return for: \$this->helper->error(error_text, error_type);
|
||||
return array(
|
||||
'error' => true,
|
||||
'error_type' => E_USER_NOTICE,
|
||||
'error_text' => 'NO_MCHAT_RULES',
|
||||
);
|
||||
trigger_error('MCHAT_NO_RULES', E_USER_NOTICE);
|
||||
}
|
||||
|
||||
break;
|
||||
@@ -202,7 +193,7 @@ class render_helper
|
||||
include($this->phpbb_root_path . 'includes/functions_user.' . $this->phpEx);
|
||||
}
|
||||
|
||||
$this->user_ip = request_var('ip', '');
|
||||
$this->user_ip = $this->request->variable('ip', '');
|
||||
|
||||
$this->template->assign_var('WHOIS', user_ipwhois($this->user_ip));
|
||||
|
||||
@@ -216,12 +207,7 @@ class render_helper
|
||||
else
|
||||
{
|
||||
// Show not authorized
|
||||
// Return for: \$this->helper->error(error_text, error_type);
|
||||
return array(
|
||||
'error' => true,
|
||||
'error_type' => E_USER_NOTICE,
|
||||
'error_text' => 'NO_AUTH_OPERATION',
|
||||
);
|
||||
trigger_error('NO_AUTH_OPERATION', E_USER_NOTICE);
|
||||
}
|
||||
break;
|
||||
// Clean function...
|
||||
@@ -238,16 +224,11 @@ class render_helper
|
||||
else if (!$mchat_founder)
|
||||
{
|
||||
// Show not authorized
|
||||
// Return for: \$this->helper->error(error_text, error_type);
|
||||
return array(
|
||||
'error' => true,
|
||||
'error_type' => E_USER_NOTICE,
|
||||
'error_text' => 'NO_AUTH_OPERATION',
|
||||
);
|
||||
trigger_error('NO_AUTH_OPERATION', E_USER_NOTICE);
|
||||
}
|
||||
}
|
||||
|
||||
$mchat_redirect = request_var('redirect', '');
|
||||
$mchat_redirect = $this->request->variable('redirect', '');
|
||||
$mchat_redirect = ($mchat_redirect == 'index') ? append_sid("{$this->phpbb_root_path}index.{$this->phpEx}") : $this->helper->route('dmzx_mchat_controller', array('#mChat'));
|
||||
|
||||
if(confirm_box(true))
|
||||
@@ -257,19 +238,14 @@ class render_helper
|
||||
$this->db->sql_query($sql);
|
||||
|
||||
meta_refresh(3, $mchat_redirect);
|
||||
// Return for: \$this->helper->error(error_text, error_type);
|
||||
// return array(
|
||||
// 'error' => true,
|
||||
// 'error_type' => E_USER_NOTICE,
|
||||
// 'error_text' => $this->user->lang['MCHAT_CLEANED'].'<br /><br />'.sprintf($this->user->lang['RETURN_PAGE'], '<a href="'.$mchat_redirect.'">', '</a>'),
|
||||
// );
|
||||
trigger_error($this->user->lang['MCHAT_CLEANED']. '<br /><br />' . sprintf($this->user->lang['RETURN_PAGE'], '<a href="' . $mchat_redirect . '">', '</a>'));
|
||||
}
|
||||
else
|
||||
{
|
||||
// Display confirm box
|
||||
confirm_box(false, $this->user->lang['MCHAT_DELALLMESS']);
|
||||
}
|
||||
add_log('admin', 'LOG_MCHAT_TABLE_PRUNED');
|
||||
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_MCHAT_TABLE_PRUNED');
|
||||
redirect($mchat_redirect);
|
||||
break;
|
||||
|
||||
@@ -282,12 +258,7 @@ class render_helper
|
||||
$mchat_redirect = append_sid("{$this->phpbb_root_path}index.{$this->phpEx}");
|
||||
// Redirect to previous page
|
||||
meta_refresh(3, $mchat_redirect);
|
||||
// Return for: \$this->helper->error(error_text, error_type);
|
||||
return array(
|
||||
'error' => true,
|
||||
'error_type' => E_USER_NOTICE,
|
||||
'error_text' => $this->user->lang['MCHAT_NOACCESS_ARCHIVE'].'<br /><br />'.sprintf($this->user->lang['RETURN_PAGE'], '<a href="' . $mchat_redirect . '">', '</a>'),
|
||||
);
|
||||
trigger_error($this->user->lang['MCHAT_NOACCESS_ARCHIVE']. '<br /><br />' . sprintf($this->user->lang['RETURN_PAGE'], '<a href="' . $mchat_redirect . '">', '</a>'));
|
||||
}
|
||||
|
||||
if ($this->config['mchat_enable'] && $mchat_read_archive && $mchat_view)
|
||||
@@ -304,7 +275,7 @@ class render_helper
|
||||
}
|
||||
|
||||
// Reguest...
|
||||
$mchat_archive_start = request_var('start', 0);
|
||||
$mchat_archive_start = $this->request->variable('start', 0);
|
||||
$sql_where = $this->user->data['user_mchat_topics'] ? '' : 'WHERE m.forum_id = 0';
|
||||
// Message row
|
||||
$sql = 'SELECT m.*, u.username, u.user_colour, u.user_avatar, u.user_avatar_type, u.user_avatar_width, u.user_avatar_height, u.user_allow_pm
|
||||
@@ -408,7 +379,7 @@ class render_helper
|
||||
$this->functions_mchat->mchat_sessions($mchat_session_time, true);
|
||||
}
|
||||
// Request
|
||||
$mchat_message_last_id = request_var('message_last_id', 0);
|
||||
$mchat_message_last_id = $this->request->variable('message_last_id', 0);
|
||||
$sql_and = $this->user->data['user_mchat_topics'] ? '' : 'AND m.forum_id = 0';
|
||||
$sql = 'SELECT m.*, u.username, u.user_colour, u.user_avatar, u.user_avatar_type, u.user_avatar_width, u.user_avatar_height, u.user_allow_pm
|
||||
FROM ' . $this->table_prefix . \dmzx\mchat\core\functions_mchat::MCHAT_TABLE . ' m, ' . USERS_TABLE . ' u
|
||||
@@ -540,7 +511,7 @@ class render_helper
|
||||
}
|
||||
|
||||
// Reguest...
|
||||
$message = utf8_ucfirst(utf8_normalize_nfc(request_var('message', '', true)));
|
||||
$message = utf8_ucfirst(utf8_normalize_nfc($this->request->variable('message', '', true)));
|
||||
|
||||
// must have something other than bbcode in the message
|
||||
if (empty($mchatregex))
|
||||
@@ -656,7 +627,7 @@ class render_helper
|
||||
// Edit function...
|
||||
case 'edit':
|
||||
|
||||
$message_id = request_var('message_id', 0);
|
||||
$message_id = $this->request->variable('message_id', 0);
|
||||
|
||||
// If mChat disabled and not edit
|
||||
if (!$this->config['mchat_enable'] || !$message_id)
|
||||
@@ -682,7 +653,7 @@ class render_helper
|
||||
throw new \phpbb\exception\http_exception(403, 'MCHAT_ERROR_FORBIDDEN');
|
||||
}
|
||||
// Reguest...
|
||||
$message = request_var('message', '', true);
|
||||
$message = $this->request->variable('message', '', true);
|
||||
|
||||
// must have something other than bbcode in the message
|
||||
if (empty($mchatregex))
|
||||
@@ -800,8 +771,9 @@ class render_helper
|
||||
unset($old_cfg['max_post_smilies']);
|
||||
}
|
||||
//adds a log
|
||||
$message_author = get_username_string('no_profile', $row['user_id'], $row['username'], $row['user_colour'], $this->user->lang['GUEST']);
|
||||
add_log('admin', 'LOG_EDITED_MCHAT', $message_author);
|
||||
// $message_author = get_username_string('no_profile', $row['user_id'], $row['username'], $row['user_colour'], $this->user->lang['GUEST']);
|
||||
// add_log('admin', 'LOG_EDITED_MCHAT', $message_author);
|
||||
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_EDITED_MCHAT', false, array($row['username']));
|
||||
// insert user into the mChat sessions table
|
||||
$this->functions_mchat->mchat_sessions($mchat_session_time, true);
|
||||
// If read mode request set true
|
||||
@@ -812,7 +784,7 @@ class render_helper
|
||||
// Delete function...
|
||||
case 'delete':
|
||||
|
||||
$message_id = request_var('message_id', 0);
|
||||
$message_id = $this->request->variable('message_id', 0);
|
||||
// If mChat disabled
|
||||
if (!$this->config['mchat_enable'] || !$message_id)
|
||||
{
|
||||
@@ -843,8 +815,9 @@ class render_helper
|
||||
WHERE message_id = ' . (int) $message_id;
|
||||
$this->db->sql_query($sql);
|
||||
//adds a log
|
||||
$message_author = get_username_string('no_profile', $row['user_id'], $row['username'], $row['user_colour'], $this->user->lang['GUEST']);
|
||||
add_log('admin', 'LOG_DELETED_MCHAT', $message_author);
|
||||
// $message_author = get_username_string('no_profile', $row['user_id'], $row['username'], $row['user_colour'], $this->user->lang['GUEST']);
|
||||
// add_log('admin', 'LOG_DELETED_MCHAT', $message_author);
|
||||
$this->phpbb_log->add('admin', $this->user->data['user_id'], $this->user->ip, 'LOG_DELETED_MCHAT', false, array($row['username']));
|
||||
// insert user into the mChat sessions table
|
||||
$this->functions_mchat->mchat_sessions($mchat_session_time, true);
|
||||
|
||||
@@ -878,23 +851,13 @@ class render_helper
|
||||
$mchat_redirect = append_sid("{$this->phpbb_root_path}index.{$this->phpEx}");
|
||||
// Redirect to previous page
|
||||
meta_refresh(3, $mchat_redirect);
|
||||
// Return for: \$this->helper->error(error_text, error_type);
|
||||
return array(
|
||||
'error' => true,
|
||||
'error_type' => E_USER_NOTICE,
|
||||
'error_text' => $this->user->lang['MCHAT_NO_CUSTOM_PAGE'].'<br /><br />'.sprintf($this->user->lang['RETURN_PAGE'], '<a href="' . $mchat_redirect . '">', '</a>'),
|
||||
);
|
||||
trigger_error($this->user->lang['MCHAT_NO_CUSTOM_PAGE']. '<br /><br />' . sprintf($this->user->lang['RETURN_PAGE'], '<a href="' . $mchat_redirect . '">', '</a>'));
|
||||
}
|
||||
|
||||
// user has permissions to view the custom chat?
|
||||
if (!$mchat_view && $mchat_custom_page)
|
||||
{
|
||||
// Return for: \$this->helper->error(error_text, error_type);
|
||||
return array(
|
||||
'error' => true,
|
||||
'error_type' => E_USER_NOTICE,
|
||||
'error_text' => $this->user->lang['NOT_AUTHORISED'],
|
||||
);
|
||||
trigger_error($user->lang['NOT_AUTHORISED'], E_USER_NOTICE);
|
||||
}
|
||||
|
||||
// if whois true
|
||||
|
||||
@@ -70,6 +70,7 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_MINUTES' => 'Minuten ',
|
||||
'MCHAT_MESS_LONG' => 'Deine Nachricht ist zu lang.\nBitte kürze deine Nachricht auf %s Zeichen',
|
||||
'MCHAT_NO_CUSTOM_PAGE' => 'Die separate Seite für mChat ist derzeit nicht aktiviert!',
|
||||
'MCHAT_NO_RULES' => 'The mChat rules page is not activated at this time!',
|
||||
'MCHAT_NOACCESS' => 'Du hast keine Berechtigung im mChat zu schreiben',
|
||||
'MCHAT_NOACCESS_ARCHIVE' => 'Du hast keine Berechtigung das Archiv zu sehen',
|
||||
'MCHAT_NOJAVASCRIPT' => 'Dein Browser unterstützt kein Javascript oder Javascript ist deaktiviert',
|
||||
|
||||
@@ -70,6 +70,7 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_MINUTES' => 'minutes ',
|
||||
'MCHAT_MESS_LONG' => 'Your message is too long.\nPlease limit it to %s characters',
|
||||
'MCHAT_NO_CUSTOM_PAGE' => 'The mChat custom page is not activated at this time!',
|
||||
'MCHAT_NO_RULES' => 'The mChat rules page is not activated at this time!',
|
||||
'MCHAT_NOACCESS' => 'You don’t have permission to post in the mChat',
|
||||
'MCHAT_NOACCESS_ARCHIVE' => 'You don’t have permission to view the archive',
|
||||
'MCHAT_NOJAVASCRIPT' => 'Your browser does not support JavaScript or JavaScript is disabled',
|
||||
|
||||
@@ -71,6 +71,7 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_MESS_LONG' => 'Su mensaje es demasiado largo.\nPor favor, el limite está en %s caracteres',
|
||||
'MCHAT_NO_CUSTOM_PAGE' => '¡La página personalizada de mChat no está activada en este momento!',
|
||||
'MCHAT_NOACCESS' => 'No tiene permisos para enviar mensajes al mChat',
|
||||
'MCHAT_NO_RULES' => 'The mChat rules page is not activated at this time!',
|
||||
'MCHAT_NOACCESS_ARCHIVE' => 'No tiene permisos para ver el archivo',
|
||||
'MCHAT_NOJAVASCRIPT' => 'Su navegador no soporta JavaScript o JavaScript esta desactivado',
|
||||
'MCHAT_NOMESSAGE' => 'No hay mensajes',
|
||||
@@ -106,16 +107,16 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_NEW_QUOTE' => 'Respondió Citando',
|
||||
'MCHAT_NEW_EDIT' => 'Editado',
|
||||
// UCP
|
||||
'UCP_PROFILE_MCHAT' => 'Preferencias de mChat',
|
||||
'DISPLAY_MCHAT' => 'Mostrar mChat en el índice',
|
||||
'SOUND_MCHAT' => 'Activar sonido en mChat',
|
||||
'UCP_PROFILE_MCHAT' => 'Preferencias de mChat',
|
||||
'DISPLAY_MCHAT' => 'Mostrar mChat en el índice',
|
||||
'SOUND_MCHAT' => 'Activar sonido en mChat',
|
||||
'DISPLAY_STATS_INDEX' => 'Mostrar estadisticas de quien esta chateando en la página índice',
|
||||
'DISPLAY_NEW_TOPICS' => 'Mostrar nuevos temas en el Chat',
|
||||
'DISPLAY_AVATARS' => 'Mostrar avatars en el Chat',
|
||||
'CHAT_AREA' => 'Tipo de entrada',
|
||||
'CHAT_AREA_EXPLAIN' => 'Elija que tipo de área usar en la entrada del Chat:<br />Un texto de área o<br />un área de entrada (una línea).',
|
||||
'INPUT_AREA' => 'Área de entrada (línea)',
|
||||
'TEXT_AREA' => 'Área de texto',
|
||||
'CHAT_AREA' => 'Tipo de entrada',
|
||||
'CHAT_AREA_EXPLAIN' => 'Elija que tipo de área usar en la entrada del Chat:<br />Un texto de área o<br />un área de entrada (una línea).',
|
||||
'INPUT_AREA' => 'Área de entrada (línea)',
|
||||
'TEXT_AREA' => 'Área de texto',
|
||||
'UCP_CAT_MCHAT' => 'mChat',
|
||||
'UCP_MCHAT_CONFIG' => 'mChat',
|
||||
//Preferences
|
||||
|
||||
@@ -51,29 +51,29 @@ $lang = array_merge($lang, array(
|
||||
'LOG_MCHAT_CONFIG_UPDATE' => '<strong>Actualizada configuración de mChat </strong>',
|
||||
'MCHAT_CONFIG_SAVED' => 'La configuración de Mini-Chat se ha actualizado',
|
||||
'MCHAT_TITLE' => 'Mini-Chat',
|
||||
'MCHAT_VERSION' => 'Versión:',
|
||||
'MCHAT_VERSION' => 'Versión:',
|
||||
'MCHAT_ENABLE' => 'Habilitar mChat MOD',
|
||||
'MCHAT_ENABLE_EXPLAIN' => 'Activar o desactivar el mod a nivel global.',
|
||||
'MCHAT_AVATARS' => 'Mostrar avatars',
|
||||
'MCHAT_AVATARS_EXPLAIN' => 'Si lo marca como si, los avatars serán mostrados a modo pequeño',
|
||||
'MCHAT_ON_INDEX' => 'mChat en el Index',
|
||||
'MCHAT_ON_INDEX_EXPLAIN' => 'Permitir la visualización de la mChat en la página prncipal.',
|
||||
'MCHAT_INDEX_HEIGHT' => 'Altura de la página índice',
|
||||
'MCHAT_INDEX_HEIGHT_EXPLAIN' => 'La altura del cuadro de charla en pixels en la página índice del foro.<br /><em>Está limitado de 50 a 1000</em>.',
|
||||
'MCHAT_INDEX_HEIGHT' => 'Altura de la página índice',
|
||||
'MCHAT_INDEX_HEIGHT_EXPLAIN' => 'La altura del cuadro de charla en pixels en la página índice del foro.<br /><em>Está limitado de 50 a 1000</em>.',
|
||||
'MCHAT_LOCATION' => 'Ubicación en el Foro',
|
||||
'MCHAT_LOCATION_EXPLAIN' => 'Elegir la ubicación de mChat en la página prncipal.',
|
||||
'MCHAT_TOP_OF_FORUM' => 'Inicio del Foro',
|
||||
'MCHAT_TOP_OF_FORUM' => 'Inicio del Foro',
|
||||
'MCHAT_BOTTOM_OF_FORUM' => 'Parte inferior del Foro',
|
||||
'MCHAT_REFRESH' => 'Refrescar',
|
||||
'MCHAT_REFRESH_EXPLAIN' => 'Número de segundos antes de que el chat se actualice automáticamente. <strong>No ponga menos de 5 segundos</strong>.',
|
||||
'MCHAT_PRUNE' => 'Habilitar purga',
|
||||
'MCHAT_REFRESH_EXPLAIN' => 'Número de segundos antes de que el chat se actualice automáticamente. <strong>No ponga menos de 5 segundos</strong>.',
|
||||
'MCHAT_PRUNE' => 'Habilitar purga',
|
||||
'MCHAT_PRUNE_EXPLAIN' => 'Se pone en SI para permitir la función purgar.<br /><em>Sólo ocurre si un usuario visita habitualmente las páginas de archivo</em>.',
|
||||
'MCHAT_PRUNE_NUM' => 'Numero de purga',
|
||||
'MCHAT_PRUNE_NUM_EXPLAIN' => 'El número de mensajes de retener en el chat.',
|
||||
'MCHAT_MESSAGE_LIMIT' => 'Limite de mensajes',
|
||||
'MCHAT_MESSAGE_LIMIT' => 'Limite de mensajes',
|
||||
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'El número máximo de mensajes que se muestran en la página principal del foro.<br /><em>Recomendado de 10 a 20</em>.',
|
||||
'MCHAT_MESSAGE_NUM' => 'Límite de mensajes de la página Índice',
|
||||
'MCHAT_MESSAGE_NUM_EXPLAIN' => 'El número máximo de mensajes a mostrar en el area del Chat en la página índice.<br /><em>Recomendado de 10 a 50</em>.',
|
||||
'MCHAT_MESSAGE_NUM_EXPLAIN' => 'El número máximo de mensajes a mostrar en el area del Chat en la página índice.<br /><em>Recomendado de 10 a 50</em>.',
|
||||
'MCHAT_ARCHIVE_LIMIT' => 'Limite del Archivo',
|
||||
'MCHAT_ARCHIVE_LIMIT_EXPLAIN' => 'El número máximo de mensajes que se muestran en la página de Archivo.<br /> <em>Recomendado de 25 a 50</em>.',
|
||||
'MCHAT_FLOOD_TIME' => 'Tiempo límite',
|
||||
@@ -81,28 +81,28 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_MAX_MESSAGE_LENGTH' => 'Máxima longitud del mensaje',
|
||||
'MCHAT_MAX_MESSAGE_LENGTH_EXPLAIN' => 'Número máximo de caracteres permitidos por mensaje enviado.<br /><em>Recomendado de 100 a 500, establece en 0 para deshabilitar</em>.',
|
||||
'MCHAT_CUSTOM_PAGE' => 'Página personalizada',
|
||||
'MCHAT_CUSTOM_PAGE_EXPLAIN' => 'Permitir el uso de la página personalizada.',
|
||||
'MCHAT_CUSTOM_HEIGHT' => 'Altura de página personalizada',
|
||||
'MCHAT_CUSTOM_HEIGHT_EXPLAIN' => 'La altura del cuadro de charla en pixels en la página por separado de mChat.<br /><em>Está limitado de 50 a 1000</em>.',
|
||||
'MCHAT_DATE_FORMAT' => 'Formato de fecha',
|
||||
'MCHAT_DATE_FORMAT_EXPLAIN' => 'La sintaxis usada es idéntica a la versión de ña función PHP <a href="http://www.php.net/date">date()</a>.',
|
||||
'MCHAT_CUSTOM_DATEFORMAT' => 'Personalizar...',
|
||||
'MCHAT_WHOIS' => 'Quienes',
|
||||
'MCHAT_CUSTOM_PAGE_EXPLAIN' => 'Permitir el uso de la página personalizada.',
|
||||
'MCHAT_CUSTOM_HEIGHT' => 'Altura de página personalizada',
|
||||
'MCHAT_CUSTOM_HEIGHT_EXPLAIN' => 'La altura del cuadro de charla en pixels en la página por separado de mChat.<br /><em>Está limitado de 50 a 1000</em>.',
|
||||
'MCHAT_DATE_FORMAT' => 'Formato de fecha',
|
||||
'MCHAT_DATE_FORMAT_EXPLAIN' => 'La sintaxis usada es idéntica a la versión de ña función PHP <a href="http://www.php.net/date">date()</a>.',
|
||||
'MCHAT_CUSTOM_DATEFORMAT' => 'Personalizar...',
|
||||
'MCHAT_WHOIS' => 'Quienes',
|
||||
'MCHAT_WHOIS_EXPLAIN' => 'Permitir una visualización de los usuarios que están chateando.',
|
||||
'MCHAT_WHOIS_REFRESH' => 'Actualizar Quienes',
|
||||
'MCHAT_WHOIS_REFRESH_EXPLAIN' => 'Número de segundos antes de que actualiza las estadísticas Quienes.<br /><strong>No ponga menos de 30 segundos</strong>.',
|
||||
'MCHAT_BBCODES_DISALLOWED' => 'Deshabilitar BBCodes',
|
||||
'MCHAT_BBCODES_DISALLOWED_EXPLAIN' => 'Aquí puede introducir el tipo de bbcode que <strong>no</strong> se van a utilizar en un mensaje.<br />Separar BBcodes con una barra vertical, por ejemplo: b|u|code',
|
||||
'MCHAT_STATIC_MESSAGE' => 'Mensaje estatico',
|
||||
'MCHAT_STATIC_MESSAGE_EXPLAIN' => 'Aquí puede definir un mensaje estatico que se mostrara a los usuarios en el chat.<br />Dejelo vacio para desactivarlo. Está limitado a 255 caracteres.<br /><strong>Este mensaje puede ser traducido.</strong> (solo necesita editar el archivo mchat_lang.php y leer las instrucciones).',
|
||||
'MCHAT_USER_TIMEOUT' => 'Tiempo de espera del usuario',
|
||||
'MCHAT_USER_TIMEOUT_EXPLAIN' => 'Ajuste una cantidad de tiempo, en segundos, hasta que la sesión del usuario del chat finalice. Ponga 0 para no tener tiempo de espera.<br /><em>Está limitado a %sAjustes de configuración de sesiones del foro%s que actualmente está en %s segundos</em>',
|
||||
'MCHAT_OVERRIDE_SMILIE_LIMIT' => 'Reemplazar límite de emoticonos',
|
||||
'MCHAT_WHOIS_REFRESH' => 'Actualizar Quienes',
|
||||
'MCHAT_WHOIS_REFRESH_EXPLAIN' => 'Número de segundos antes de que actualiza las estadísticas Quienes.<br /><strong>No ponga menos de 30 segundos</strong>.',
|
||||
'MCHAT_BBCODES_DISALLOWED' => 'Deshabilitar BBCodes',
|
||||
'MCHAT_BBCODES_DISALLOWED_EXPLAIN' => 'Aquí puede introducir el tipo de bbcode que <strong>no</strong> se van a utilizar en un mensaje.<br />Separar BBcodes con una barra vertical, por ejemplo: b|u|code',
|
||||
'MCHAT_STATIC_MESSAGE' => 'Mensaje estatico',
|
||||
'MCHAT_STATIC_MESSAGE_EXPLAIN' => 'Aquí puede definir un mensaje estatico que se mostrara a los usuarios en el chat.<br />Dejelo vacio para desactivarlo. Está limitado a 255 caracteres.<br /><strong>Este mensaje puede ser traducido.</strong> (solo necesita editar el archivo mchat_lang.php y leer las instrucciones).',
|
||||
'MCHAT_USER_TIMEOUT' => 'Tiempo de espera del usuario',
|
||||
'MCHAT_USER_TIMEOUT_EXPLAIN' => 'Ajuste una cantidad de tiempo, en segundos, hasta que la sesión del usuario del chat finalice. Ponga 0 para no tener tiempo de espera.<br /><em>Está limitado a %sAjustes de configuración de sesiones del foro%s que actualmente está en %s segundos</em>',
|
||||
'MCHAT_OVERRIDE_SMILIE_LIMIT' => 'Reemplazar límite de emoticonos',
|
||||
'MCHAT_OVERRIDE_SMILIE_LIMIT_EXPLAIN' => 'Poner en Si, para reemplazar el ajuste del limite de emoticonos de los foros para los mensajes del chat',
|
||||
'MCHAT_OVERRIDE_MIN_POST_CHARS' => 'Reemplazar límite de caracteres minimos',
|
||||
'MCHAT_OVERRIDE_MIN_POST_CHARS' => 'Reemplazar límite de caracteres minimos',
|
||||
'MCHAT_OVERRIDE_MIN_POST_CHARS_EXPLAIN' => 'Poner Si, para sobrescribir los ajustes de caracteres minimos del foro, en los mensajes del chat',
|
||||
'MCHAT_NEW_POSTS' => 'Mostrar nuevos mensajes',
|
||||
'MCHAT_NEW_POSTS_EXPLAIN' => 'Poner Si, para permitir nuevos mensajes del foro en el area de mensajes del chat.',
|
||||
'MCHAT_NEW_POSTS' => 'Mostrar nuevos mensajes',
|
||||
'MCHAT_NEW_POSTS_EXPLAIN' => 'Poner Si, para permitir nuevos mensajes del foro en el area de mensajes del chat.',
|
||||
'MCHAT_NEW_POSTS_TOPIC' => 'Mostrar nuevos mensajes en temas',
|
||||
'MCHAT_NEW_POSTS_TOPIC_EXPLAIN' => 'Poner Si, para permitir nuevos mensajes en temas del foro en el area de mensajes del chat.',
|
||||
'MCHAT_NEW_POSTS_REPLY' => 'Mostrar nuevos mensajes respondidos',
|
||||
@@ -119,13 +119,13 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_MESSAGE_TOP_EXPLAIN' => 'Esta publicará el mensaje en la parte inferior o superior del área de mensajes del chat.',
|
||||
'MCHAT_BOTTOM' => 'Abajo',
|
||||
'MCHAT_TOP' => 'Arriba',
|
||||
'MCHAT_MESSAGES' => 'Ajustes de mensaje',
|
||||
'MCHAT_PAUSE_ON_INPUT' => 'Pausa en la entrada',
|
||||
'MCHAT_MESSAGES' => 'Ajustes de mensaje',
|
||||
'MCHAT_PAUSE_ON_INPUT' => 'Pausa en la entrada',
|
||||
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Si pone Si, el chat no se actualizara automaticamente hasta que el usuario introduzca un mensaje',
|
||||
|
||||
// error reporting
|
||||
'MCHAT_NEEDS_UPDATING' => 'El MOD de mChat necesita ser actualizado. Por favor, que uno de los fundadores del foro visite esta sección para ejecutar el instalador.',
|
||||
'MCHAT_WRONG_VERSION' => 'Hay una versión del MOD instalada incorrecta. Por favor, ejecute el %sinstalador%s para la nueva versión de la modificación.',
|
||||
'MCHAT_NEEDS_UPDATING' => 'El MOD de mChat necesita ser actualizado. Por favor, que uno de los fundadores del foro visite esta sección para ejecutar el instalador.',
|
||||
'MCHAT_WRONG_VERSION' => 'Hay una versión del MOD instalada incorrecta. Por favor, ejecute el %sinstalador%s para la nueva versión de la modificación.',
|
||||
'WARNING' => 'Advertencia',
|
||||
'TOO_LONG_DATE' => 'El formato de fecha que ha entrado es demasiado largo.',
|
||||
'TOO_SHORT_DATE' => 'El formato de fecha que ha introducido es demasiado corto.',
|
||||
@@ -139,18 +139,18 @@ $lang = array_merge($lang, array(
|
||||
'TOO_LARGE_FLOOD_TIME' => 'El valor de tiempo limite es demasiado largo.',
|
||||
'TOO_SMALL_MAX_MESSAGE_LNGTH' => 'El máximo valor de longitud de cada mensaje demasiado corto.',
|
||||
'TOO_LARGE_MAX_MESSAGE_LNGTH' => 'El máximo valor de longitud de cada mensaje demasiado largo.',
|
||||
'TOO_SMALL_MAX_WORDS_LNGTH' => 'El valor máximo de palabras es demasiado corto.',
|
||||
'TOO_SMALL_MAX_WORDS_LNGTH' => 'El valor máximo de palabras es demasiado corto.',
|
||||
'TOO_LARGE_MAX_WORDS_LNGTH' => 'El valor máximo de palabras es demasiado largo.',
|
||||
'TOO_SMALL_WHOIS_REFRESH' => 'El valor de refresco de whois es demasiado corto.',
|
||||
'TOO_LARGE_WHOIS_REFRESH' => 'El valor de refresco de whois es demasiado largo.',
|
||||
'TOO_SMALL_INDEX_HEIGHT' => 'El valor de la altura del índice es demasiado corto.',
|
||||
'TOO_LARGE_INDEX_HEIGHT' => 'El valor de la altura del índice es demasiado largo.',
|
||||
'TOO_SMALL_INDEX_HEIGHT' => 'El valor de la altura del índice es demasiado corto.',
|
||||
'TOO_LARGE_INDEX_HEIGHT' => 'El valor de la altura del índice es demasiado largo.',
|
||||
'TOO_SMALL_CUSTOM_HEIGHT' => 'El valor de la altura personalizada es demasiado corto.',
|
||||
'TOO_LARGE_CUSTOM_HEIGHT' => 'El valor de la altura personalizada es demasiado largo.',
|
||||
'TOO_SHORT_STATIC_MESSAGE' => 'El valor del mensaje estatico es demasiado corto.',
|
||||
'TOO_LONG_STATIC_MESSAGE' => 'El valor del mensaje estatico es demasiado largo.',
|
||||
'TOO_SMALL_TIMEOUT' => 'El valor de tiempo de espera del usuario es demasiado corto.',
|
||||
'TOO_LARGE_TIMEOUT' => 'El valor de tiempo de espera del usuario es demasiado largo.',
|
||||
'TOO_SMALL_TIMEOUT' => 'El valor de tiempo de espera del usuario es demasiado corto.',
|
||||
'TOO_LARGE_TIMEOUT' => 'El valor de tiempo de espera del usuario es demasiado largo.',
|
||||
|
||||
// User perms
|
||||
'ACL_U_MCHAT_USE' => 'Puede usar mChat',
|
||||
|
||||
@@ -70,6 +70,7 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_MINUTES' => 'minutes ',
|
||||
'MCHAT_MESS_LONG' => 'Votre message est trop long.\nLimité à %s caractères',
|
||||
'MCHAT_NO_CUSTOM_PAGE' => 'La page personnalisée du mChat n’est pas activée en ce moment!',
|
||||
'MCHAT_NO_RULES' => 'The mChat rules page is not activated at this time!',
|
||||
'MCHAT_NOACCESS' => 'Vous n’avez pas les permissions pour poster dans le mini-chat.',
|
||||
'MCHAT_NOACCESS_ARCHIVE' => 'Vous n’avez pas les permissions pour voir les archives.',
|
||||
'MCHAT_NOJAVASCRIPT' => 'Votre navigateur ne supporte pas JavaScript ou JavaScript est désactivé.',
|
||||
|
||||
@@ -70,6 +70,7 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_MINUTES' => 'minuti ',
|
||||
'MCHAT_MESS_LONG' => 'Il tuo messaggio è troppo lungo.\n Perfavore limita a %s caratteri',
|
||||
'MCHAT_NO_CUSTOM_PAGE' => 'La pagina mChat personalizzata non si attiva in questo momento!',
|
||||
'MCHAT_NO_RULES' => 'The mChat rules page is not activated at this time!',
|
||||
'MCHAT_NOACCESS' => 'Non hai il permesso di postare in mChat',
|
||||
'MCHAT_NOACCESS_ARCHIVE' => 'Non hai il permesso di visualizzare questo archivio',
|
||||
'MCHAT_NOJAVASCRIPT' => 'Il tuo browser non supporta JavaScript oppure JavaScript è disabilitato',
|
||||
|
||||
@@ -70,6 +70,7 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_MINUTES' => 'minuten ',
|
||||
'MCHAT_MESS_LONG' => 'Jou bericht is te lang.Beperk dit a.u.b. tot %s karakters',
|
||||
'MCHAT_NO_CUSTOM_PAGE' => 'De gebruikte mChat pagina is niet actief op dit moment!',
|
||||
'MCHAT_NO_RULES' => 'The mChat rules page is not activated at this time!',
|
||||
'MCHAT_NOACCESS' => 'Je hebt geen permissie om een bericht in mChat te plaatsen',
|
||||
'MCHAT_NOACCESS_ARCHIVE' => 'Je hebt geen permissie om het archief te bekijken',
|
||||
'MCHAT_NOJAVASCRIPT' => 'Je browser ondersteunt geen JavaScript of JavaScript is uitgeschakeld',
|
||||
|
||||
@@ -70,6 +70,7 @@ $lang = array_merge($lang, array(
|
||||
'MCHAT_MINUTES' => 'minut ',
|
||||
'MCHAT_MESS_LONG' => 'Twoja wiadomość jest za długa.\Proszę ogranicz ją do %s znaków',
|
||||
'MCHAT_NO_CUSTOM_PAGE' => 'mChat w osobnym oknie jest aktualnie niedostępny!',
|
||||
'MCHAT_NO_RULES' => 'The mChat rules page is not activated at this time!',
|
||||
'MCHAT_NOACCESS' => 'Nie masz uprawnień do postowania na mChat',
|
||||
'MCHAT_NOACCESS_ARCHIVE' => 'Nie masz uprawnień do przeglądania archiwum',
|
||||
'MCHAT_NOJAVASCRIPT' => 'Twoja przeglądarka nie wspiera JavaScript albo JavaScript jest wyłączona',
|
||||
|
||||
@@ -25,7 +25,7 @@ class mchat_schema extends \phpbb\db\migration\migration
|
||||
array('config.add', array('mchat_new_posts_quote', false)),
|
||||
array('config.add', array('mchat_message_top', true)),
|
||||
array('config.add', array('mchat_stats_index', false)),
|
||||
array('config.add', array('mchat_version','0.0.13')),
|
||||
array('config.add', array('mchat_version','0.0.14')),
|
||||
|
||||
array('permission.add', array('u_mchat_use')),
|
||||
array('permission.add', array('u_mchat_view')),
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
</div>
|
||||
<div>
|
||||
<span style="float:left;"><!-- IF not MCHAT_ARCHIVE_MODE and MCHAT_ADD_MESSAGE --><!-- IF MCHAT_ALLOW_BBCODES --><!-- IF mchatrow.MCHAT_USERNAME_COLOR --><a class="mChatScriptLink" href="#" onclick="insert_text('@ [b][color={mchatrow.MCHAT_USERNAME_COLOR}]{mchatrow.MCHAT_USERNAME}[/color][/b], ', false);return false;" title="{L_MCHAT_RESPOND}"><span style="color: {mchatrow.MCHAT_USERNAME_COLOR}"><strong>@</strong></span></a><!-- ELSE --> <a href="#" class="mChatScriptLink" onclick="insert_text('@ [b]{mchatrow.MCHAT_USERNAME}[/b], ', false);return false;" title="{L_MCHAT_RESPOND}"><strong>@</strong></a><!-- ENDIF --><!-- ELSE --> <a href="#" class="mChatScriptLink" onclick="insert_text('@ {mchatrow.MCHAT_USERNAME}, ', false);return false;" title="{L_MCHAT_RESPOND}">@</a><!-- ENDIF --> <!-- ENDIF -->{mchatrow.MCHAT_USERNAME_FULL} - {mchatrow.MCHAT_TIME}</span>
|
||||
<span style="float:right;"><!-- IF mchatrow.U_USER_ID and mchatrow.BOT_USER_ID and MCHAT_ALLOW_PM --><a href="{mchatrow.U_USER_ID}" title="{L_MCHAT_SEND_PM}" return false;"><img src="{BOARD_URL}ext/dmzx/mchat/styles/prosilver/theme/images/message.gif" alt="{L_MCHAT_SEND_PM}" title="{L_MCHAT_SEND_PM}" class="mChatImage" /></a> <!-- ENDIF --><!-- IF mchatrow.U_USER_IDS and MCHAT_ALLOW_LIKE --><a href="#" onclick="insert_like('{mchatrow.MCHAT_USERNAME}','{mchatrow.MCHAT_MESSAGE_EDIT}'); return false;"><img src="{BOARD_URL}ext/dmzx/mchat/styles/prosilver/theme/images/like.png" alt="{L_REPLY_WITH_LIKE}" title="{L_REPLY_WITH_LIKE}" class="mChatImage" /></a><!-- ENDIF --> <!-- IF mchatrow.U_USER_IDS and MCHAT_ALLOW_QUOTE --><a href="#" onclick="insert_quote('{mchatrow.MCHAT_USERNAME}','{mchatrow.MCHAT_MESSAGE_EDIT}'); return false;"><img src="{BOARD_URL}ext/dmzx/mchat/styles/prosilver/theme/images/quota.png" alt="{L_REPLY_WITH_QUOTE}" title="{L_REPLY_WITH_QUOTE}" class="mChatImage" /></a><!-- ENDIF --> <!-- IF MCHAT_ALLOW_IP --><a href="{mchatrow.MCHAT_U_WHOIS}" onclick="popup(this.href, 750, 500); return false;"><img src="{BOARD_URL}ext/dmzx/mchat/styles/prosilver/theme/images/ip.gif" alt="{L_MCHAT_IP} {mchatrow.MCHAT_USER_IP}" title="{L_MCHAT_IP} {mchatrow.MCHAT_USER_IP}" class="mChatImage" /></a><!-- ENDIF --><!-- IF mchatrow.MCHAT_ALLOW_BAN --> <a href="{mchatrow.MCHAT_U_BAN}"><img src="{BOARD_URL}ext/dmzx/mchat/styles/prosilver/theme/images/ban.gif" alt="{L_MCHAT_PERMISSIONS}" title="{L_MCHAT_PERMISSIONS}" class="mChatImage" /></a><!-- ENDIF --><!-- IF mchatrow.MCHAT_ALLOW_EDIT --> <a href="#" onclick="mChat.edit('{mchatrow.MCHAT_MESSAGE_ID}');return false;"><img src="{BOARD_URL}ext/dmzx/mchat/styles/prosilver/theme/images/edit.gif" alt="{L_MCHAT_EDIT}" title="{L_MCHAT_EDIT}" class="mChatImage" /></a><!-- ENDIF --><input type="hidden" id="edit{mchatrow.MCHAT_MESSAGE_ID}" value="{mchatrow.MCHAT_MESSAGE_EDIT}" /><!-- IF mchatrow.MCHAT_ALLOW_DEL --> <a href="#" onclick="mChat.del('{mchatrow.MCHAT_MESSAGE_ID}');return false;"><img src="{BOARD_URL}ext/dmzx/mchat/styles/prosilver/theme/images/del.gif" alt="{L_MCHAT_DELITE}" title="{L_MCHAT_DELITE}" class="mChatImage" /></a><!-- ENDIF --></span><br /><div class="avatarMessage mChatMessage">{mchatrow.MCHAT_MESSAGE}</div>
|
||||
<span style="float:right;"><!-- IF mchatrow.U_USER_ID and mchatrow.BOT_USER_ID and MCHAT_ALLOW_PM and not MCHAT_ARCHIVE_MODE --><a href="{mchatrow.U_USER_ID}" title="{L_MCHAT_SEND_PM}" return false;"><img src="{BOARD_URL}ext/dmzx/mchat/styles/prosilver/theme/images/message.gif" alt="{L_MCHAT_SEND_PM}" title="{L_MCHAT_SEND_PM}" class="mChatImage" /></a> <!-- ENDIF --><!-- IF mchatrow.U_USER_IDS and MCHAT_ALLOW_LIKE and not MCHAT_ARCHIVE_MODE --><a href="#" onclick="insert_like('{mchatrow.MCHAT_USERNAME}','{mchatrow.MCHAT_MESSAGE_EDIT}'); return false;"><img src="{BOARD_URL}ext/dmzx/mchat/styles/prosilver/theme/images/like.png" alt="{L_REPLY_WITH_LIKE}" title="{L_REPLY_WITH_LIKE}" class="mChatImage" /></a><!-- ENDIF --> <!-- IF mchatrow.U_USER_IDS and MCHAT_ALLOW_QUOTE and not MCHAT_ARCHIVE_MODE --><a href="#" onclick="insert_quote('{mchatrow.MCHAT_USERNAME}','{mchatrow.MCHAT_MESSAGE_EDIT}'); return false;"><img src="{BOARD_URL}ext/dmzx/mchat/styles/prosilver/theme/images/quota.png" alt="{L_REPLY_WITH_QUOTE}" title="{L_REPLY_WITH_QUOTE}" class="mChatImage" /></a><!-- ENDIF --> <!-- IF MCHAT_ALLOW_IP --><a href="{mchatrow.MCHAT_U_WHOIS}" onclick="popup(this.href, 750, 500); return false;"><img src="{BOARD_URL}ext/dmzx/mchat/styles/prosilver/theme/images/ip.gif" alt="{L_MCHAT_IP} {mchatrow.MCHAT_USER_IP}" title="{L_MCHAT_IP} {mchatrow.MCHAT_USER_IP}" class="mChatImage" /></a><!-- ENDIF --><!-- IF mchatrow.MCHAT_ALLOW_BAN --> <a href="{mchatrow.MCHAT_U_BAN}"><img src="{BOARD_URL}ext/dmzx/mchat/styles/prosilver/theme/images/ban.gif" alt="{L_MCHAT_PERMISSIONS}" title="{L_MCHAT_PERMISSIONS}" class="mChatImage" /></a><!-- ENDIF --><!-- IF mchatrow.MCHAT_ALLOW_EDIT --> <a href="#" onclick="mChat.edit('{mchatrow.MCHAT_MESSAGE_ID}');return false;"><img src="{BOARD_URL}ext/dmzx/mchat/styles/prosilver/theme/images/edit.gif" alt="{L_MCHAT_EDIT}" title="{L_MCHAT_EDIT}" class="mChatImage" /></a><!-- ENDIF --><input type="hidden" id="edit{mchatrow.MCHAT_MESSAGE_ID}" value="{mchatrow.MCHAT_MESSAGE_EDIT}" /><!-- IF mchatrow.MCHAT_ALLOW_DEL --> <a href="#" onclick="mChat.del('{mchatrow.MCHAT_MESSAGE_ID}');return false;"><img src="{BOARD_URL}ext/dmzx/mchat/styles/prosilver/theme/images/del.gif" alt="{L_MCHAT_DELITE}" title="{L_MCHAT_DELITE}" class="mChatImage" /></a><!-- ENDIF --></span><br /><div class="avatarMessage mChatMessage">{mchatrow.MCHAT_MESSAGE}</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- END mchatrow -->
|
||||
|
||||
Reference in New Issue
Block a user