Update 0.0.4
Update 0.0.4
This commit is contained in:
@@ -13,7 +13,7 @@ class acp_mchat_module
|
|||||||
{
|
{
|
||||||
/** @var \dmzx\mchat\core\functions_mchat */
|
/** @var \dmzx\mchat\core\functions_mchat */
|
||||||
protected $functions_mchat;
|
protected $functions_mchat;
|
||||||
|
|
||||||
/** @var \phpbb\config\config */
|
/** @var \phpbb\config\config */
|
||||||
protected $config;
|
protected $config;
|
||||||
|
|
||||||
@@ -71,7 +71,6 @@ class acp_mchat_module
|
|||||||
$this->php_ext = $phpEx;
|
$this->php_ext = $phpEx;
|
||||||
$this->table_prefix = $phpbb_container->getParameter('core.table_prefix');
|
$this->table_prefix = $phpbb_container->getParameter('core.table_prefix');
|
||||||
|
|
||||||
|
|
||||||
// Add the wpm ACP lang file
|
// Add the wpm ACP lang file
|
||||||
$user->add_lang_ext('dmzx/mchat', 'info_acp_mchat');
|
$user->add_lang_ext('dmzx/mchat', 'info_acp_mchat');
|
||||||
|
|
||||||
@@ -84,10 +83,10 @@ class acp_mchat_module
|
|||||||
// Define the name of the form for use as a form key
|
// Define the name of the form for use as a form key
|
||||||
$form_name = 'acp_mchat';
|
$form_name = 'acp_mchat';
|
||||||
add_form_key($form_name);
|
add_form_key($form_name);
|
||||||
|
|
||||||
// something was submitted
|
// something was submitted
|
||||||
$submit = (isset($_POST['submit'])) ? true : false;
|
$submit = (isset($_POST['submit'])) ? true : false;
|
||||||
|
|
||||||
$mchat_row = array(
|
$mchat_row = array(
|
||||||
'location' => $request->variable('mchat_location', 0),
|
'location' => $request->variable('mchat_location', 0),
|
||||||
'refresh' => $request->variable('mchat_refresh', 0),
|
'refresh' => $request->variable('mchat_refresh', 0),
|
||||||
@@ -112,21 +111,21 @@ class acp_mchat_module
|
|||||||
'pause_on_input' => $request->variable('mchat_pause_on_input', 0),
|
'pause_on_input' => $request->variable('mchat_pause_on_input', 0),
|
||||||
'rules' => utf8_normalize_nfc($request->variable('mchat_rules', '', true)),
|
'rules' => utf8_normalize_nfc($request->variable('mchat_rules', '', true)),
|
||||||
'avatars' => $request->variable('mchat_avatars', 0),
|
'avatars' => $request->variable('mchat_avatars', 0),
|
||||||
);
|
);
|
||||||
|
|
||||||
if ($submit)
|
if ($submit)
|
||||||
{
|
{
|
||||||
if (!function_exists('validate_data'))
|
if (!function_exists('validate_data'))
|
||||||
{
|
{
|
||||||
include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
|
include($phpbb_root_path . 'includes/functions_user.' . $phpEx);
|
||||||
}
|
}
|
||||||
|
|
||||||
// validate the entries...most of them anyway
|
// validate the entries...most of them anyway
|
||||||
$mchat_array = array(
|
$mchat_array = array(
|
||||||
'static_message' => array('string', false, 0, 255),
|
'static_message' => array('string', false, 0, 255),
|
||||||
'index_height' => array('num', false, 50, 1000),
|
'index_height' => array('num', false, 50, 1000),
|
||||||
'custom_height' => array('num', false, 50, 1000),
|
'custom_height' => array('num', false, 50, 1000),
|
||||||
'whois_refresh' => array('num', false, 30, 300),
|
'whois_refresh' => array('num', false, 30, 300),
|
||||||
'refresh' => array('num', false, 5, 60),
|
'refresh' => array('num', false, 5, 60),
|
||||||
'message_limit' => array('num', false, 10, 30),
|
'message_limit' => array('num', false, 10, 30),
|
||||||
'message_num' => array('num', false, 10, 50),
|
'message_num' => array('num', false, 10, 50),
|
||||||
@@ -135,8 +134,8 @@ class acp_mchat_module
|
|||||||
'max_message_lngth' => array('num', false, 0, 500),
|
'max_message_lngth' => array('num', false, 0, 500),
|
||||||
'timeout' => array('num', false, 0, (int) $config['session_length']),
|
'timeout' => array('num', false, 0, (int) $config['session_length']),
|
||||||
'rules' => array('string', false, 0, 255),
|
'rules' => array('string', false, 0, 255),
|
||||||
);
|
);
|
||||||
|
|
||||||
$error = validate_data($mchat_row, $mchat_array);
|
$error = validate_data($mchat_row, $mchat_array);
|
||||||
|
|
||||||
if (!check_form_key('acp_mchat'))
|
if (!check_form_key('acp_mchat'))
|
||||||
@@ -145,8 +144,7 @@ class acp_mchat_module
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Replace "error" strings with their real, localised form
|
// Replace "error" strings with their real, localised form
|
||||||
$error = preg_replace('#^([A-Z_]+)$#e', "(!empty(\$user->lang['\\1'])) ? \$user->lang['\\1'] : '\\1'", $error);
|
$error = preg_replace('#^([A-Z_]+)$#e', "(!empty(\$user->lang['\\1'])) ? \$user->lang['\\1'] : '\\1'", $error);
|
||||||
|
|
||||||
|
|
||||||
if (!sizeof($error))
|
if (!sizeof($error))
|
||||||
{
|
{
|
||||||
@@ -157,7 +155,7 @@ class acp_mchat_module
|
|||||||
WHERE config_name = '" . $db->sql_escape($config_name) . "'";
|
WHERE config_name = '" . $db->sql_escape($config_name) . "'";
|
||||||
$db->sql_query($sql);
|
$db->sql_query($sql);
|
||||||
}
|
}
|
||||||
|
|
||||||
//update setting in config table for mod enabled or not
|
//update setting in config table for mod enabled or not
|
||||||
$config->set('mchat_enable', $request->variable('mchat_enable', 0));
|
$config->set('mchat_enable', $request->variable('mchat_enable', 0));
|
||||||
// update setting in config table for allowing on index or not
|
// update setting in config table for allowing on index or not
|
||||||
@@ -168,33 +166,32 @@ class acp_mchat_module
|
|||||||
$config->set('mchat_stats_index', $request->variable('mchat_stats_index', 0));
|
$config->set('mchat_stats_index', $request->variable('mchat_stats_index', 0));
|
||||||
// and an entry into the log table
|
// and an entry into the log table
|
||||||
add_log('admin', 'LOG_MCHAT_CONFIG_UPDATE');
|
add_log('admin', 'LOG_MCHAT_CONFIG_UPDATE');
|
||||||
|
|
||||||
// purge the cache
|
// purge the cache
|
||||||
$this->cache->destroy('_mchat_config');
|
$this->cache->destroy('_mchat_config');
|
||||||
|
|
||||||
// rebuild the cache
|
// rebuild the cache
|
||||||
$this->functions_mchat->mchat_cache();
|
$this->functions_mchat->mchat_cache();
|
||||||
|
|
||||||
trigger_error($user->lang['MCHAT_CONFIG_SAVED'] . adm_back_link($this->u_action));
|
trigger_error($user->lang['MCHAT_CONFIG_SAVED'] . adm_back_link($this->u_action));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// let's get it on
|
// let's get it on
|
||||||
$sql = 'SELECT * FROM ' . $this->table_prefix . \dmzx\mchat\core\functions_mchat::MCHAT_CONFIG_TABLE;
|
$sql = 'SELECT * FROM ' . $this->table_prefix . \dmzx\mchat\core\functions_mchat::MCHAT_CONFIG_TABLE;
|
||||||
$result = $db->sql_query($sql);
|
$result = $db->sql_query($sql);
|
||||||
$mchat_config = array();
|
$mchat_config = array();
|
||||||
while ($row = $db->sql_fetchrow($result))
|
while ($row = $db->sql_fetchrow($result))
|
||||||
{
|
{
|
||||||
$mchat_config[$row['config_name']] = $row['config_value'];
|
$mchat_config[$row['config_name']] = $row['config_value'];
|
||||||
}
|
}
|
||||||
$db->sql_freeresult($result);
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
$mchat_enable = isset($config['mchat_enable']) ? $config['mchat_enable'] : 0;
|
$mchat_enable = isset($config['mchat_enable']) ? $config['mchat_enable'] : 0;
|
||||||
$mchat_on_index = isset($config['mchat_on_index']) ? $config['mchat_on_index'] : 0;
|
$mchat_on_index = isset($config['mchat_on_index']) ? $config['mchat_on_index'] : 0;
|
||||||
$mchat_version = isset($config['mchat_version']) ? $config['mchat_version'] : '';
|
$mchat_version = isset($config['mchat_version']) ? $config['mchat_version'] : '';
|
||||||
$mchat_new_posts = isset($config['mchat_new_posts']) ? $config['mchat_new_posts'] : 0;
|
$mchat_new_posts = isset($config['mchat_new_posts']) ? $config['mchat_new_posts'] : 0;
|
||||||
$mchat_stats_index = isset($config['mchat_stats_index']) ? $config['mchat_stats_index'] : 0;
|
$mchat_stats_index = isset($config['mchat_stats_index']) ? $config['mchat_stats_index'] : 0;
|
||||||
|
|
||||||
|
|
||||||
$dateformat_options = '';
|
$dateformat_options = '';
|
||||||
foreach ($user->lang['dateformats'] as $format => $null)
|
foreach ($user->lang['dateformats'] as $format => $null)
|
||||||
@@ -226,12 +223,12 @@ class acp_mchat_module
|
|||||||
'MCHAT_MESSAGE_LIMIT' => !empty($mchat_row['message_limit']) ? $mchat_row['message_limit'] : $mchat_config['message_limit'],
|
'MCHAT_MESSAGE_LIMIT' => !empty($mchat_row['message_limit']) ? $mchat_row['message_limit'] : $mchat_config['message_limit'],
|
||||||
'MCHAT_MESSAGE_NUM' => !empty($mchat_row['message_num']) ? $mchat_row['message_num'] : $mchat_config['message_num'],
|
'MCHAT_MESSAGE_NUM' => !empty($mchat_row['message_num']) ? $mchat_row['message_num'] : $mchat_config['message_num'],
|
||||||
'MCHAT_ARCHIVE_LIMIT' => !empty($mchat_row['archive_limit']) ? $mchat_row['archive_limit'] : $mchat_config['archive_limit'],
|
'MCHAT_ARCHIVE_LIMIT' => !empty($mchat_row['archive_limit']) ? $mchat_row['archive_limit'] : $mchat_config['archive_limit'],
|
||||||
'MCHAT_AVATARS' => !empty($mchat_row['avatars']) ? $mchat_row['avatars'] : $mchat_config['avatars'],
|
'MCHAT_AVATARS' => !empty($mchat_row['avatars']) ? $mchat_row['avatars'] : $mchat_config['avatars'],
|
||||||
'MCHAT_FLOOD_TIME' => !empty($mchat_row['flood_time']) ? $mchat_row['flood_time'] : $mchat_config['flood_time'],
|
'MCHAT_FLOOD_TIME' => !empty($mchat_row['flood_time']) ? $mchat_row['flood_time'] : $mchat_config['flood_time'],
|
||||||
'MCHAT_MAX_MESSAGE_LNGTH' => !empty($mchat_row['max_message_lngth']) ? $mchat_row['max_message_lngth'] : $mchat_config['max_message_lngth'],
|
'MCHAT_MAX_MESSAGE_LNGTH' => !empty($mchat_row['max_message_lngth']) ? $mchat_row['max_message_lngth'] : $mchat_config['max_message_lngth'],
|
||||||
'MCHAT_CUSTOM_PAGE' => !empty($mchat_row['custom_page']) ? $mchat_row['custom_page'] : $mchat_config['custom_page'],
|
'MCHAT_CUSTOM_PAGE' => !empty($mchat_row['custom_page']) ? $mchat_row['custom_page'] : $mchat_config['custom_page'],
|
||||||
'MCHAT_DATE' => !empty($mchat_row['date']) ? $mchat_row['date'] : $mchat_config['date'],
|
'MCHAT_DATE' => !empty($mchat_row['date']) ? $mchat_row['date'] : $mchat_config['date'],
|
||||||
'MCHAT_DEFAULT_DATEFORMAT' => $config['default_dateformat'],
|
'MCHAT_DEFAULT_DATEFORMAT' => $config['default_dateformat'],
|
||||||
'MCHAT_RULES' => !empty($mchat_row['rules']) ? $mchat_row['rules'] : $mchat_config['rules'],
|
'MCHAT_RULES' => !empty($mchat_row['rules']) ? $mchat_row['rules'] : $mchat_config['rules'],
|
||||||
'MCHAT_WHOIS' => !empty($mchat_row['whois']) ? $mchat_row['whois'] : $mchat_config['whois'],
|
'MCHAT_WHOIS' => !empty($mchat_row['whois']) ? $mchat_row['whois'] : $mchat_config['whois'],
|
||||||
'MCHAT_STATS_INDEX' => ($mchat_stats_index) ? true : false,
|
'MCHAT_STATS_INDEX' => ($mchat_stats_index) ? true : false,
|
||||||
@@ -244,15 +241,15 @@ class acp_mchat_module
|
|||||||
'MCHAT_TIMEOUT' => !empty($mchat_row['timeout']) ? $mchat_row['timeout'] : $mchat_config['timeout'],
|
'MCHAT_TIMEOUT' => !empty($mchat_row['timeout']) ? $mchat_row['timeout'] : $mchat_config['timeout'],
|
||||||
'MCHAT_NEW_POSTS' => ($mchat_new_posts) ? true : false,
|
'MCHAT_NEW_POSTS' => ($mchat_new_posts) ? true : false,
|
||||||
'MCHAT_PAUSE_ON_INPUT' => !empty($mchat_row['pause_on_input']) ? $mchat_row['pause_on_input'] : $mchat_config['pause_on_input'],
|
'MCHAT_PAUSE_ON_INPUT' => !empty($mchat_row['pause_on_input']) ? $mchat_row['pause_on_input'] : $mchat_config['pause_on_input'],
|
||||||
|
|
||||||
'L_MCHAT_BBCODES_DISALLOWED_EXPLAIN' => sprintf($user->lang['MCHAT_BBCODES_DISALLOWED_EXPLAIN'], '<a href="' . append_sid("{$phpbb_admin_path}index.$phpEx", 'i=bbcodes', true, $user->session_id) . '">', '</a>'),
|
'L_MCHAT_BBCODES_DISALLOWED_EXPLAIN' => sprintf($user->lang['MCHAT_BBCODES_DISALLOWED_EXPLAIN'], '<a href="' . append_sid("{$phpbb_admin_path}index.$phpEx", 'i=bbcodes', true, $user->session_id) . '">', '</a>'),
|
||||||
'L_MCHAT_TIMEOUT_EXPLAIN' => sprintf($user->lang['MCHAT_USER_TIMEOUT_EXPLAIN'],'<a href="' . append_sid("{$phpbb_admin_path}index.$phpEx", 'i=board&mode=load', true, $user->session_id) . '">', '</a>', $config['session_length']),
|
'L_MCHAT_TIMEOUT_EXPLAIN' => sprintf($user->lang['MCHAT_USER_TIMEOUT_EXPLAIN'],'<a href="' . append_sid("{$phpbb_admin_path}index.$phpEx", 'i=board&mode=load', true, $user->session_id) . '">', '</a>', $config['session_length']),
|
||||||
|
|
||||||
'S_MCHAT_DATEFORMAT_OPTIONS' => $dateformat_options,
|
'S_MCHAT_DATEFORMAT_OPTIONS' => $dateformat_options,
|
||||||
'S_CUSTOM_DATEFORMAT' => $s_custom,
|
'S_CUSTOM_DATEFORMAT' => $s_custom,
|
||||||
|
|
||||||
'U_ACTION' => $this->u_action)
|
'U_ACTION' => $this->u_action)
|
||||||
);
|
);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -22,7 +22,7 @@
|
|||||||
<span>{L_MCHAT_NEW_POSTS_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_NEW_POSTS_EXPLAIN}</span></dt>
|
||||||
<dd><label><input type="radio" class="radio" name="mchat_new_posts" value="1"<!-- IF MCHAT_NEW_POSTS --> id="mchat_new_posts" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<dd><label><input type="radio" class="radio" name="mchat_new_posts" value="1"<!-- IF MCHAT_NEW_POSTS --> id="mchat_new_posts" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" class="radio" name="mchat_new_posts" value="0"<!-- IF not MCHAT_NEW_POSTS --> id="mchat_new_posts" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
<label><input type="radio" class="radio" name="mchat_new_posts" value="0"<!-- IF not MCHAT_NEW_POSTS --> id="mchat_new_posts" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_static_message">{L_MCHAT_STATIC_MESSAGE}{L_COLON}</label><br />
|
<dt><label for="mchat_static_message">{L_MCHAT_STATIC_MESSAGE}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_STATIC_MESSAGE_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_STATIC_MESSAGE_EXPLAIN}</span></dt>
|
||||||
@@ -32,18 +32,18 @@
|
|||||||
<dt><label for="mchat_refresh">{L_MCHAT_REFRESH}{L_COLON}</label><br />
|
<dt><label for="mchat_refresh">{L_MCHAT_REFRESH}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_REFRESH_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_REFRESH_EXPLAIN}</span></dt>
|
||||||
<dd><input type="text" name="mchat_refresh" id="mchat_refresh" size="10" value="{MCHAT_REFRESH}" /></dd>
|
<dd><input type="text" name="mchat_refresh" id="mchat_refresh" size="10" value="{MCHAT_REFRESH}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_timeout">{L_MCHAT_USER_TIMEOUT}{L_COLON}</label><br />
|
<dt><label for="mchat_timeout">{L_MCHAT_USER_TIMEOUT}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_TIMEOUT_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_TIMEOUT_EXPLAIN}</span></dt>
|
||||||
<dd><input type="text" name="mchat_timeout" id="mchat_timeout" size="10" maxlength="4" value="{MCHAT_TIMEOUT}" /></dd>
|
<dd><input type="text" name="mchat_timeout" id="mchat_timeout" size="10" maxlength="4" value="{MCHAT_TIMEOUT}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_on_index">{L_MCHAT_ON_INDEX}{L_COLON}</label><br />
|
<dt><label for="mchat_on_index">{L_MCHAT_ON_INDEX}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_ON_INDEX_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_ON_INDEX_EXPLAIN}</span></dt>
|
||||||
<dd><label><input type="radio" class="radio" name="mchat_on_index" value="1"<!-- IF MCHAT_ON_INDEX --> id="mchat_on_index" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<dd><label><input type="radio" class="radio" name="mchat_on_index" value="1"<!-- IF MCHAT_ON_INDEX --> id="mchat_on_index" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" class="radio" name="mchat_on_index" value="0"<!-- IF not MCHAT_ON_INDEX --> id="mchat_on_index" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
<label><input type="radio" class="radio" name="mchat_on_index" value="0"<!-- IF not MCHAT_ON_INDEX --> id="mchat_on_index" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_index_height">{L_MCHAT_INDEX_HEIGHT}{L_COLON}</label><br />
|
<dt><label for="mchat_index_height">{L_MCHAT_INDEX_HEIGHT}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_INDEX_HEIGHT_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_INDEX_HEIGHT_EXPLAIN}</span></dt>
|
||||||
@@ -59,7 +59,7 @@
|
|||||||
<span>{L_MCHAT_LOCATION_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_LOCATION_EXPLAIN}</span></dt>
|
||||||
<dd><label><input type="radio" class="radio" name="mchat_location" value="1"<!-- IF MCHAT_LOCATION --> id="mchat_location" checked="checked"<!-- ENDIF --> /> {L_MCHAT_TOP_OF_FORUM}</label>
|
<dd><label><input type="radio" class="radio" name="mchat_location" value="1"<!-- IF MCHAT_LOCATION --> id="mchat_location" checked="checked"<!-- ENDIF --> /> {L_MCHAT_TOP_OF_FORUM}</label>
|
||||||
<label><input type="radio" class="radio" name="mchat_location" value="0"<!-- IF not MCHAT_LOCATION --> id="mchat_location" checked="checked"<!-- ENDIF --> /> {L_MCHAT_BOTTOM_OF_FORUM}</label></dd>
|
<label><input type="radio" class="radio" name="mchat_location" value="0"<!-- IF not MCHAT_LOCATION --> id="mchat_location" checked="checked"<!-- ENDIF --> /> {L_MCHAT_BOTTOM_OF_FORUM}</label></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_custom_page">{L_MCHAT_CUSTOM_PAGE}{L_COLON}</label><br />
|
<dt><label for="mchat_custom_page">{L_MCHAT_CUSTOM_PAGE}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_CUSTOM_PAGE_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_CUSTOM_PAGE_EXPLAIN}</span></dt>
|
||||||
@@ -81,15 +81,15 @@
|
|||||||
<dt><label for="mchat_prune_num">{L_MCHAT_PRUNE_NUM}{L_COLON}</label><br />
|
<dt><label for="mchat_prune_num">{L_MCHAT_PRUNE_NUM}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_PRUNE_NUM_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_PRUNE_NUM_EXPLAIN}</span></dt>
|
||||||
<dd><input type="text" name="mchat_prune_num" size="10" id="mchat_prune_num" value="{MCHAT_PRUNE_NUM}" /></dd>
|
<dd><input type="text" name="mchat_prune_num" size="10" id="mchat_prune_num" value="{MCHAT_PRUNE_NUM}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{L_MCHAT_MESSAGES}</legend>
|
<legend>{L_MCHAT_MESSAGES}</legend>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_flood_time">{L_MCHAT_FLOOD_TIME}{L_COLON}</label><br />
|
<dt><label for="mchat_flood_time">{L_MCHAT_FLOOD_TIME}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_FLOOD_TIME_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_FLOOD_TIME_EXPLAIN}</span></dt>
|
||||||
<dd><input type="text" name="mchat_flood_time" id="mchat_flood_time" size="10" value="{MCHAT_FLOOD_TIME}" /></dd>
|
<dd><input type="text" name="mchat_flood_time" id="mchat_flood_time" size="10" value="{MCHAT_FLOOD_TIME}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_message_limit">{L_MCHAT_MESSAGE_LIMIT}{L_COLON}</label><br />
|
<dt><label for="mchat_message_limit">{L_MCHAT_MESSAGE_LIMIT}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_MESSAGE_LIMIT_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_MESSAGE_LIMIT_EXPLAIN}</span></dt>
|
||||||
@@ -105,13 +105,13 @@
|
|||||||
<span>{L_MCHAT_AVATARS_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_AVATARS_EXPLAIN}</span></dt>
|
||||||
<dd><label><input type="radio" class="radio" name="mchat_avatars" value="1"<!-- IF MCHAT_AVATARS --> id="mchat_avatars" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<dd><label><input type="radio" class="radio" name="mchat_avatars" value="1"<!-- IF MCHAT_AVATARS --> id="mchat_avatars" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" class="radio" name="mchat_avatars" value="0"<!-- IF not MCHAT_AVATARS --> id="mchat_avatars" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
<label><input type="radio" class="radio" name="mchat_avatars" value="0"<!-- IF not MCHAT_AVATARS --> id="mchat_avatars" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_pause_on_input">{L_MCHAT_PAUSE_ON_INPUT}{L_COLON}</label><br />
|
<dt><label for="mchat_pause_on_input">{L_MCHAT_PAUSE_ON_INPUT}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_PAUSE_ON_INPUT_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_PAUSE_ON_INPUT_EXPLAIN}</span></dt>
|
||||||
<dd><label><input type="radio" class="radio" name="mchat_pause_on_input" value="1"<!-- IF MCHAT_PAUSE_ON_INPUT --> id="mchat_pause_on_input" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<dd><label><input type="radio" class="radio" name="mchat_pause_on_input" value="1"<!-- IF MCHAT_PAUSE_ON_INPUT --> id="mchat_pause_on_input" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" class="radio" name="mchat_pause_on_input" value="0"<!-- IF not MCHAT_PAUSE_ON_INPUT --> id="mchat_pause_on_input" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
<label><input type="radio" class="radio" name="mchat_pause_on_input" value="0"<!-- IF not MCHAT_PAUSE_ON_INPUT --> id="mchat_pause_on_input" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_override_min_post_chars">{L_MCHAT_OVERRIDE_MIN_POST_CHARS}{L_COLON}</label><br />
|
<dt><label for="mchat_override_min_post_chars">{L_MCHAT_OVERRIDE_MIN_POST_CHARS}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_OVERRIDE_MIN_POST_CHARS_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_OVERRIDE_MIN_POST_CHARS_EXPLAIN}</span></dt>
|
||||||
@@ -123,7 +123,7 @@
|
|||||||
<span>{L_MCHAT_OVERRIDE_SMILIE_LIMIT_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_OVERRIDE_SMILIE_LIMIT_EXPLAIN}</span></dt>
|
||||||
<dd><label><input type="radio" class="radio" name="mchat_override_smilie_limit" value="1"<!-- IF MCHAT_OVERRIDE_SMILIE_LIMIT --> id="mchat_override_smilie_limit" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<dd><label><input type="radio" class="radio" name="mchat_override_smilie_limit" value="1"<!-- IF MCHAT_OVERRIDE_SMILIE_LIMIT --> id="mchat_override_smilie_limit" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" class="radio" name="mchat_override_smilie_limit" value="0"<!-- IF not MCHAT_OVERRIDE_SMILIE_LIMIT --> id="mchat_override_smilie_limit" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
<label><input type="radio" class="radio" name="mchat_override_smilie_limit" value="0"<!-- IF not MCHAT_OVERRIDE_SMILIE_LIMIT --> id="mchat_override_smilie_limit" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_max_message_lngth">{L_MCHAT_MAX_MESSAGE_LENGTH}{L_COLON}</label><br />
|
<dt><label for="mchat_max_message_lngth">{L_MCHAT_MAX_MESSAGE_LENGTH}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_MAX_MESSAGE_LENGTH_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_MAX_MESSAGE_LENGTH_EXPLAIN}</span></dt>
|
||||||
@@ -147,10 +147,10 @@
|
|||||||
<dt><label for="mchat_rules">{L_ACP_MCHAT_RULES}{L_COLON}</label><br />
|
<dt><label for="mchat_rules">{L_ACP_MCHAT_RULES}{L_COLON}</label><br />
|
||||||
<span>{L_ACP_MCHAT_RULES_EXPLAIN}</span></dt>
|
<span>{L_ACP_MCHAT_RULES_EXPLAIN}</span></dt>
|
||||||
<dd><textarea name="mchat_rules" id="mchat_rules" rows="8" cols="40">{MCHAT_RULES}</textarea></dd>
|
<dd><textarea name="mchat_rules" id="mchat_rules" rows="8" cols="40">{MCHAT_RULES}</textarea></dd>
|
||||||
</dl>
|
</dl>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset>
|
<fieldset>
|
||||||
<legend>{L_MCHAT_STATS}</legend>
|
<legend>{L_MCHAT_STATS}</legend>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_whois">{L_MCHAT_WHOIS}{L_COLON}</label><br />
|
<dt><label for="mchat_whois">{L_MCHAT_WHOIS}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_WHOIS_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_WHOIS_EXPLAIN}</span></dt>
|
||||||
@@ -161,19 +161,19 @@
|
|||||||
<dt><label for="mchat_stats_index">{L_MCHAT_STATS_INDEX}{L_COLON}</label><br />
|
<dt><label for="mchat_stats_index">{L_MCHAT_STATS_INDEX}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_STATS_INDEX_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_STATS_INDEX_EXPLAIN}</span></dt>
|
||||||
<dd><label><input type="radio" class="radio" name="mchat_stats_index" value="1"<!-- IF MCHAT_STATS_INDEX --> id="mchat_stats_index" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<dd><label><input type="radio" class="radio" name="mchat_stats_index" value="1"<!-- IF MCHAT_STATS_INDEX --> id="mchat_stats_index" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" class="radio" name="mchat_stats_index" value="0"<!-- IF not MCHAT_STATS_INDEX --> id="mchat_stats_index" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
<label><input type="radio" class="radio" name="mchat_stats_index" value="0"<!-- IF not MCHAT_STATS_INDEX --> id="mchat_stats_index" checked="checked"<!-- ENDIF --> /> {L_NO}</label></dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_whois">{L_MCHAT_WHOIS_REFRESH}{L_COLON}</label><br />
|
<dt><label for="mchat_whois">{L_MCHAT_WHOIS_REFRESH}{L_COLON}</label><br />
|
||||||
<span>{L_MCHAT_WHOIS_REFRESH_EXPLAIN}</span></dt>
|
<span>{L_MCHAT_WHOIS_REFRESH_EXPLAIN}</span></dt>
|
||||||
<dd><input type="text" name="mchat_whois_refresh" size="10" value="{MCHAT_WHOIS_REFRESH}" /></dd>
|
<dd><input type="text" name="mchat_whois_refresh" size="10" value="{MCHAT_WHOIS_REFRESH}" /></dd>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<p class="submit-buttons">
|
<p class="submit-buttons">
|
||||||
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
|
<input class="button1" type="submit" id="submit" name="submit" value="{L_SUBMIT}" />
|
||||||
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
|
<input class="button2" type="reset" id="reset" name="reset" value="{L_RESET}" />
|
||||||
{S_FORM_TOKEN}
|
{S_FORM_TOKEN}
|
||||||
</p>
|
</p>
|
||||||
</form>
|
</form>
|
||||||
<!-- INCLUDE overall_footer.html -->
|
<!-- INCLUDE overall_footer.html -->
|
||||||
@@ -4,48 +4,48 @@
|
|||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_index">{L_DISPLAY_MCHAT}{L_COLON}</label></dt>
|
<dt><label for="mchat_index">{L_DISPLAY_MCHAT}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" name="user_mchat_index" value="1"<!-- IF DISPLAY_MCHAT --> id="mchat_index" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<label><input type="radio" name="user_mchat_index" value="1"<!-- IF DISPLAY_MCHAT --> id="mchat_index" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" name="user_mchat_index" value="0"<!-- IF not DISPLAY_MCHAT --> id="mchat_index" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input type="radio" name="user_mchat_index" value="0"<!-- IF not DISPLAY_MCHAT --> id="mchat_index" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_sound">{L_SOUND_MCHAT}{L_COLON}</label></dt>
|
<dt><label for="mchat_sound">{L_SOUND_MCHAT}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" name="user_mchat_sound" value="1"<!-- IF SOUND_MCHAT --> id="mchat_sound" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<label><input type="radio" name="user_mchat_sound" value="1"<!-- IF SOUND_MCHAT --> id="mchat_sound" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" name="user_mchat_sound" value="0"<!-- IF not SOUND_MCHAT --> id="mchat_sound" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input type="radio" name="user_mchat_sound" value="0"<!-- IF not SOUND_MCHAT --> id="mchat_sound" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_statsindex">{L_DISPLAY_STATS_INDEX}{L_COLON}</label></dt>
|
<dt><label for="mchat_statsindex">{L_DISPLAY_STATS_INDEX}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" name="user_mchat_stats_index" value="1"<!-- IF STATS_MCHAT --> id="mchat_statsindex" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<label><input type="radio" name="user_mchat_stats_index" value="1"<!-- IF STATS_MCHAT --> id="mchat_statsindex" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" name="user_mchat_stats_index" value="0"<!-- IF not STATS_MCHAT --> id="mchat_statsindex" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input type="radio" name="user_mchat_stats_index" value="0"<!-- IF not STATS_MCHAT --> id="mchat_statsindex" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_topics">{L_DISPLAY_NEW_TOPICS}{L_COLON}</label></dt>
|
<dt><label for="mchat_topics">{L_DISPLAY_NEW_TOPICS}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" name="user_mchat_topics" value="1"<!-- IF TOPICS_MCHAT --> id="mchat_topics" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<label><input type="radio" name="user_mchat_topics" value="1"<!-- IF TOPICS_MCHAT --> id="mchat_topics" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" name="user_mchat_topics" value="0"<!-- IF not TOPICS_MCHAT --> id="mchat_topics" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input type="radio" name="user_mchat_topics" value="0"<!-- IF not TOPICS_MCHAT --> id="mchat_topics" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_avatars">{L_DISPLAY_AVATARS}{L_COLON}</label></dt>
|
<dt><label for="mchat_avatars">{L_DISPLAY_AVATARS}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" name="user_mchat_avatars" value="1"<!-- IF AVATARS_MCHAT --> id="mchat_avatars" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<label><input type="radio" name="user_mchat_avatars" value="1"<!-- IF AVATARS_MCHAT --> id="mchat_avatars" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" name="user_mchat_avatars" value="0"<!-- IF not AVATARS_MCHAT --> id="mchat_avatars" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input type="radio" name="user_mchat_avatars" value="0"<!-- IF not AVATARS_MCHAT --> id="mchat_avatars" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_input_type">{L_CHAT_AREA}{L_COLON}</label></dt>
|
<dt><label for="mchat_input_type">{L_CHAT_AREA}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" name="user_mchat_input_area" value="1"<!-- IF INPUT_AREA --> id="mchat_input_type" checked="checked"<!-- ENDIF --> /> {L_INPUT_AREA}</label>
|
<label><input type="radio" name="user_mchat_input_area" value="1"<!-- IF INPUT_AREA --> id="mchat_input_type" checked="checked"<!-- ENDIF --> /> {L_INPUT_AREA}</label>
|
||||||
<label><input type="radio" name="user_mchat_input_area" value="0"<!-- IF not INPUT_AREA --> id=""mchat_input_type" checked="checked"<!-- ENDIF --> /> {L_TEXT_AREA}</label>
|
<label><input type="radio" name="user_mchat_input_area" value="0"<!-- IF not INPUT_AREA --> id=""mchat_input_type" checked="checked"<!-- ENDIF --> /> {L_TEXT_AREA}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
<fieldset class="quick">
|
<fieldset class="quick">
|
||||||
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
|
<input class="button1" type="submit" name="update" value="{L_SUBMIT}" />
|
||||||
{S_FORM_TOKEN}
|
{S_FORM_TOKEN}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
@@ -1,32 +1,32 @@
|
|||||||
{
|
{
|
||||||
"name": "dmzx/mchat",
|
"name": "dmzx/mchat",
|
||||||
"type": "phpbb-extension",
|
"type": "phpbb-extension",
|
||||||
"description": "mChat Extension for phpbb 3.1.x",
|
"description": "mChat Extension for phpbb 3.1.x",
|
||||||
"homepage": "http://www.dmzx-web.net",
|
"homepage": "http://www.dmzx-web.net",
|
||||||
"version": "0.0.3",
|
"version": "0.0.4",
|
||||||
"time": "2015-03-10",
|
"time": "2015-03-10",
|
||||||
"keywords": ["phpbb", "extension", "mchat"],
|
"keywords": ["phpbb", "extension", "mchat"],
|
||||||
"license": "GPL-2.0",
|
"license": "GPL-2.0",
|
||||||
"authors": [
|
"authors": [
|
||||||
{
|
{
|
||||||
"name": "dmzx",
|
"name": "dmzx",
|
||||||
"homepage": "http://www.dmzx-web.net",
|
"homepage": "http://www.dmzx-web.net",
|
||||||
"email": "info@dmzx-web.net",
|
"email": "info@dmzx-web.net",
|
||||||
"role": "Extension Developer"
|
"role": "Extension Developer"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "Rich McGirr",
|
"name": "Rich McGirr",
|
||||||
"homepage": "http://rmcgirr83.org",
|
"homepage": "http://rmcgirr83.org",
|
||||||
"role": "Author"
|
"role": "Author"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
"php": ">=5.3.3"
|
"php": ">=5.3.3"
|
||||||
},
|
},
|
||||||
"extra": {
|
"extra": {
|
||||||
"display-name": "mChat Extension",
|
"display-name": "mChat Extension",
|
||||||
"soft-require": {
|
"soft-require": {
|
||||||
"phpbb/phpbb": "3.1.*"
|
"phpbb/phpbb": "3.1.*"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -13,9 +13,9 @@ class functions_mchat
|
|||||||
{
|
{
|
||||||
/**
|
/**
|
||||||
* CONSTANTS SECTION
|
* CONSTANTS SECTION
|
||||||
*
|
*
|
||||||
* To access them, you need to use the class.
|
* To access them, you need to use the class.
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
const MCHAT_CONFIG_TABLE = 'mchat_config';
|
const MCHAT_CONFIG_TABLE = 'mchat_config';
|
||||||
const MCHAT_TABLE = 'mchat';
|
const MCHAT_TABLE = 'mchat';
|
||||||
@@ -74,7 +74,7 @@ class functions_mchat
|
|||||||
$sql = 'SELECT * FROM ' . $this->table_prefix . self::MCHAT_CONFIG_TABLE;
|
$sql = 'SELECT * FROM ' . $this->table_prefix . self::MCHAT_CONFIG_TABLE;
|
||||||
$result = $this->db->sql_query($sql);
|
$result = $this->db->sql_query($sql);
|
||||||
$config_mchat = array();
|
$config_mchat = array();
|
||||||
while ($row = $this->db->sql_fetchrow($result))
|
while ($row = $this->db->sql_fetchrow($result))
|
||||||
{
|
{
|
||||||
$config_mchat[$row['config_name']] = $row['config_value'];
|
$config_mchat[$row['config_name']] = $row['config_value'];
|
||||||
}
|
}
|
||||||
@@ -109,9 +109,9 @@ class functions_mchat
|
|||||||
// fix the display of the time limit
|
// fix the display of the time limit
|
||||||
// hours, minutes, seconds
|
// hours, minutes, seconds
|
||||||
$chat_session = '';
|
$chat_session = '';
|
||||||
$chat_timeout = (int) $time;
|
$chat_timeout = (int) $time;
|
||||||
$hours = $minutes = $seconds = 0;
|
$hours = $minutes = $seconds = 0;
|
||||||
|
|
||||||
if ($chat_timeout >= 3600)
|
if ($chat_timeout >= 3600)
|
||||||
{
|
{
|
||||||
$hours = floor($chat_timeout / 3600);
|
$hours = floor($chat_timeout / 3600);
|
||||||
@@ -130,8 +130,8 @@ class functions_mchat
|
|||||||
{
|
{
|
||||||
$seconds = $seconds > 1 ? ($seconds . ' ' . $this->user->lang['MCHAT_SECONDS']) : ($seconds . ' ' . $this->user->lang['MCHAT_SECOND']);
|
$seconds = $seconds > 1 ? ($seconds . ' ' . $this->user->lang['MCHAT_SECONDS']) : ($seconds . ' ' . $this->user->lang['MCHAT_SECOND']);
|
||||||
$chat_session .= $seconds;
|
$chat_session .= $seconds;
|
||||||
}
|
}
|
||||||
return sprintf($this->user->lang['MCHAT_ONLINE_EXPLAIN'], $chat_session);
|
return sprintf($this->user->lang['MCHAT_ONLINE_EXPLAIN'], $chat_session);
|
||||||
}
|
}
|
||||||
|
|
||||||
// mchat_users
|
// mchat_users
|
||||||
@@ -141,19 +141,19 @@ class functions_mchat
|
|||||||
function mchat_users($session_time, $on_page = false)
|
function mchat_users($session_time, $on_page = false)
|
||||||
{
|
{
|
||||||
$check_time = time() - (int) $session_time;
|
$check_time = time() - (int) $session_time;
|
||||||
|
|
||||||
$sql = 'DELETE FROM ' . $this->table_prefix . self::MCHAT_SESSIONS_TABLE . ' WHERE user_lastupdate < ' . $check_time;
|
$sql = 'DELETE FROM ' . $this->table_prefix . self::MCHAT_SESSIONS_TABLE . ' WHERE user_lastupdate < ' . $check_time;
|
||||||
$this->db->sql_query($sql);
|
$this->db->sql_query($sql);
|
||||||
|
|
||||||
// add the user into the sessions upon first visit
|
// add the user into the sessions upon first visit
|
||||||
if($on_page && ($this->user->data['user_id'] != ANONYMOUS && !$this->user->data['is_bot']))
|
if($on_page && ($this->user->data['user_id'] != ANONYMOUS && !$this->user->data['is_bot']))
|
||||||
{
|
{
|
||||||
$this->mchat_sessions($session_time);
|
$this->mchat_sessions($session_time);
|
||||||
}
|
}
|
||||||
|
|
||||||
$mchat_user_count = 0;
|
$mchat_user_count = 0;
|
||||||
$mchat_user_list = '';
|
$mchat_user_list = '';
|
||||||
|
|
||||||
$sql = 'SELECT m.user_id, u.username, u.user_type, u.user_allow_viewonline, u.user_colour
|
$sql = 'SELECT m.user_id, u.username, u.user_type, u.user_allow_viewonline, u.user_colour
|
||||||
FROM ' . $this->table_prefix . self::MCHAT_SESSIONS_TABLE . ' m
|
FROM ' . $this->table_prefix . self::MCHAT_SESSIONS_TABLE . ' m
|
||||||
LEFT JOIN ' . USERS_TABLE . ' u ON m.user_id = u.user_id
|
LEFT JOIN ' . USERS_TABLE . ' u ON m.user_id = u.user_id
|
||||||
@@ -180,7 +180,7 @@ class functions_mchat
|
|||||||
}
|
}
|
||||||
$this->db->sql_freeresult($result);
|
$this->db->sql_freeresult($result);
|
||||||
|
|
||||||
$refresh_message = $this->mchat_session_time($session_time);
|
$refresh_message = $this->mchat_session_time($session_time);
|
||||||
if (!$mchat_user_count)
|
if (!$mchat_user_count)
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
@@ -208,7 +208,7 @@ class functions_mchat
|
|||||||
$check_time = time() - (int) $session_time;
|
$check_time = time() - (int) $session_time;
|
||||||
$sql = 'DELETE FROM ' . $this->table_prefix . self::MCHAT_SESSIONS_TABLE . ' WHERE user_lastupdate <' . $check_time;
|
$sql = 'DELETE FROM ' . $this->table_prefix . self::MCHAT_SESSIONS_TABLE . ' WHERE user_lastupdate <' . $check_time;
|
||||||
$this->db->sql_query($sql);
|
$this->db->sql_query($sql);
|
||||||
|
|
||||||
// insert user into the mChat sessions table
|
// insert user into the mChat sessions table
|
||||||
if ($this->user->data['user_type'] == USER_FOUNDER || $this->user->data['user_type'] == USER_NORMAL)
|
if ($this->user->data['user_type'] == USER_FOUNDER || $this->user->data['user_type'] == USER_NORMAL)
|
||||||
{
|
{
|
||||||
@@ -234,7 +234,7 @@ class functions_mchat
|
|||||||
$sql = 'UPDATE ' . $this->table_prefix . self::MCHAT_SESSIONS_TABLE . ' SET ' . $this->db->sql_build_array('UPDATE', $sql_ary) . ' WHERE user_id =' . (int) $this->user->data['user_id'];
|
$sql = 'UPDATE ' . $this->table_prefix . self::MCHAT_SESSIONS_TABLE . ' SET ' . $this->db->sql_build_array('UPDATE', $sql_ary) . ' WHERE user_id =' . (int) $this->user->data['user_id'];
|
||||||
$this->db->sql_query($sql);
|
$this->db->sql_query($sql);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -282,41 +282,41 @@ class functions_mchat
|
|||||||
$result = $this->db->sql_query_limit('SELECT * FROM '. $this->table_prefix . self::MCHAT_TABLE . ' ORDER BY message_id ASC', 1);
|
$result = $this->db->sql_query_limit('SELECT * FROM '. $this->table_prefix . self::MCHAT_TABLE . ' ORDER BY message_id ASC', 1);
|
||||||
$row = $this->db->sql_fetchrow($result);
|
$row = $this->db->sql_fetchrow($result);
|
||||||
$first_id = (int) $row['message_id'];
|
$first_id = (int) $row['message_id'];
|
||||||
|
|
||||||
$this->db->sql_freeresult($result);
|
$this->db->sql_freeresult($result);
|
||||||
|
|
||||||
// compute the delete id
|
// compute the delete id
|
||||||
$delete_id = $mchat_total_messages - $mchat_prune_amount + $first_id;
|
$delete_id = $mchat_total_messages - $mchat_prune_amount + $first_id;
|
||||||
|
|
||||||
// let's go delete them...if the message id is less than the delete id
|
// let's go delete them...if the message id is less than the delete id
|
||||||
$sql = 'DELETE FROM ' . $this->table_prefix . self::MCHAT_TABLE . '
|
$sql = 'DELETE FROM ' . $this->table_prefix . self::MCHAT_TABLE . '
|
||||||
WHERE message_id < ' . (int) $delete_id;
|
WHERE message_id < ' . (int) $delete_id;
|
||||||
$this->db->sql_query($sql);
|
$this->db->sql_query($sql);
|
||||||
|
|
||||||
add_log('admin', 'LOG_MCHAT_TABLE_PRUNED');
|
add_log('admin', 'LOG_MCHAT_TABLE_PRUNED');
|
||||||
}
|
}
|
||||||
// free up some memory...variable(s) are no longer needed.
|
// free up some memory...variable(s) are no longer needed.
|
||||||
unset($mchat_total_messages);
|
unset($mchat_total_messages);
|
||||||
|
|
||||||
// return to what we were doing
|
// return to what we were doing
|
||||||
return;
|
return;
|
||||||
|
|
||||||
}
|
}
|
||||||
// display_mchat_bbcodes
|
// display_mchat_bbcodes
|
||||||
// can't use the default phpBB one but
|
// can't use the default phpBB one but
|
||||||
// most of code is from similar function
|
// most of code is from similar function
|
||||||
/**
|
/**
|
||||||
* @param mixed $mchat_prune_amount set from mchat config entry
|
* @param mixed $mchat_prune_amount set from mchat config entry
|
||||||
*/
|
*/
|
||||||
function display_mchat_bbcodes()
|
function display_mchat_bbcodes()
|
||||||
{
|
{
|
||||||
// grab the bbcodes that aren't allowed
|
// grab the bbcodes that aren't allowed
|
||||||
$config_mchat = $this->cache->get('_mchat_config');
|
$config_mchat = $this->cache->get('_mchat_config');
|
||||||
|
|
||||||
$disallowed_bbcode_array = explode('|', strtoupper($config_mchat['bbcode_disallowed']));
|
$disallowed_bbcode_array = explode('|', strtoupper($config_mchat['bbcode_disallowed']));
|
||||||
preg_replace('#^(.*?)=#si','$1',$disallowed_bbcode_array);
|
preg_replace('#^(.*?)=#si','$1',$disallowed_bbcode_array);
|
||||||
$default_bbcodes = array('b','i','u','quote','code','list','img','url','size','color','email','flash');
|
$default_bbcodes = array('b','i','u','quote','code','list','img','url','size','color','email','flash');
|
||||||
|
|
||||||
// let's remove the default bbcodes
|
// let's remove the default bbcodes
|
||||||
if (sizeof($disallowed_bbcode_array))
|
if (sizeof($disallowed_bbcode_array))
|
||||||
{
|
{
|
||||||
@@ -347,7 +347,7 @@ class functions_mchat
|
|||||||
{
|
{
|
||||||
$bbcode_tag_name = strtoupper($row['bbcode_tag']);
|
$bbcode_tag_name = strtoupper($row['bbcode_tag']);
|
||||||
if (sizeof($disallowed_bbcode_array))
|
if (sizeof($disallowed_bbcode_array))
|
||||||
{
|
{
|
||||||
if (in_array($bbcode_tag_name, $disallowed_bbcode_array))
|
if (in_array($bbcode_tag_name, $disallowed_bbcode_array))
|
||||||
{
|
{
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
@@ -19,16 +19,16 @@ class listener implements EventSubscriberInterface
|
|||||||
protected $template;
|
protected $template;
|
||||||
|
|
||||||
protected $user;
|
protected $user;
|
||||||
|
|
||||||
protected $db;
|
protected $db;
|
||||||
|
|
||||||
protected $root_path;
|
protected $root_path;
|
||||||
|
|
||||||
protected $php_ext;
|
protected $php_ext;
|
||||||
|
|
||||||
/** @var \phpbb\controller\helper */
|
/** @var \phpbb\controller\helper */
|
||||||
protected $controller_helper;
|
protected $controller_helper;
|
||||||
|
|
||||||
public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\controller\helper $controller_helper, \phpbb\template\template $template, \phpbb\user $user, \phpbb\db\driver\driver_interface $db, $root_path, $php_ext, $auth)
|
public function __construct(\phpbb\auth\auth $auth, \phpbb\config\config $config, \phpbb\controller\helper $controller_helper, \phpbb\template\template $template, \phpbb\user $user, \phpbb\db\driver\driver_interface $db, $root_path, $php_ext, $auth)
|
||||||
{
|
{
|
||||||
$this->config = $config;
|
$this->config = $config;
|
||||||
@@ -40,7 +40,7 @@ class listener implements EventSubscriberInterface
|
|||||||
$this->php_ext = $php_ext;
|
$this->php_ext = $php_ext;
|
||||||
$this->auth = $auth;
|
$this->auth = $auth;
|
||||||
}
|
}
|
||||||
|
|
||||||
static public function getSubscribedEvents()
|
static public function getSubscribedEvents()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DO NOT CHANGE!
|
* DO NOT CHANGE!
|
||||||
*/
|
*/
|
||||||
@@ -42,8 +41,8 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_TITLE' => 'Mini-Chat',
|
'MCHAT_TITLE' => 'Mini-Chat',
|
||||||
'MCHAT_ADD' => 'Send',
|
'MCHAT_ADD' => 'Send',
|
||||||
'MCHAT_ANNOUNCEMENT' => 'Announcement',
|
'MCHAT_ANNOUNCEMENT' => 'Announcement',
|
||||||
'MCHAT_ARCHIVE' => 'Archive',
|
'MCHAT_ARCHIVE' => 'Archive',
|
||||||
'MCHAT_ARCHIVE_PAGE' => 'Mini-Chat Archive',
|
'MCHAT_ARCHIVE_PAGE' => 'Mini-Chat Archive',
|
||||||
'MCHAT_BBCODES' => 'BBCodes',
|
'MCHAT_BBCODES' => 'BBCodes',
|
||||||
'MCHAT_CLEAN' => 'Purge',
|
'MCHAT_CLEAN' => 'Purge',
|
||||||
'MCHAT_CLEANED' => 'All messages have been successfully removed',
|
'MCHAT_CLEANED' => 'All messages have been successfully removed',
|
||||||
@@ -55,23 +54,23 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_DELITE' => 'Delete',
|
'MCHAT_DELITE' => 'Delete',
|
||||||
'MCHAT_EDIT' => 'Edit',
|
'MCHAT_EDIT' => 'Edit',
|
||||||
'MCHAT_EDITINFO' => 'Edit the message and click OK',
|
'MCHAT_EDITINFO' => 'Edit the message and click OK',
|
||||||
'MCHAT_ENABLE' => 'Sorry, the Mini-Chat is currently unavailable',
|
'MCHAT_ENABLE' => 'Sorry, the Mini-Chat is currently unavailable',
|
||||||
'MCHAT_ERROR' => 'Error',
|
'MCHAT_ERROR' => 'Error',
|
||||||
'MCHAT_FLOOD' => 'You can not post another message so soon after your last',
|
'MCHAT_FLOOD' => 'You can not post another message so soon after your last',
|
||||||
'MCHAT_FOE' => 'This message was made by <strong>%1$s</strong> who is currently on your ignore list.',
|
'MCHAT_FOE' => 'This message was made by <strong>%1$s</strong> who is currently on your ignore list.',
|
||||||
'MCHAT_HELP' => 'mChat Rules',
|
'MCHAT_HELP' => 'mChat Rules',
|
||||||
'MCHAT_HIDE_LIST' => 'Hide List',
|
'MCHAT_HIDE_LIST' => 'Hide List',
|
||||||
'MCHAT_HOUR' => 'hour ',
|
'MCHAT_HOUR' => 'hour ',
|
||||||
'MCHAT_HOURS' => 'hours',
|
'MCHAT_HOURS' => 'hours',
|
||||||
'MCHAT_IP' => 'IP whois for',
|
'MCHAT_IP' => 'IP whois for',
|
||||||
|
|
||||||
'MCHAT_MINUTE' => 'minute ',
|
'MCHAT_MINUTE' => 'minute ',
|
||||||
'MCHAT_MINUTES' => 'minutes ',
|
'MCHAT_MINUTES' => 'minutes ',
|
||||||
'MCHAT_MESS_LONG' => 'Your message is too long.\nPlease limit it to %s characters',
|
'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_CUSTOM_PAGE' => 'The mChat custom page is not activated at this time!',
|
||||||
'MCHAT_NOACCESS' => 'You don’t have permission to post in the mChat',
|
'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_NOACCESS_ARCHIVE' => 'You don’t have permission to view the archive',
|
||||||
'MCHAT_NOJAVASCRIPT' => 'Your browser does not support JavaScript or JavaScript is disabled',
|
'MCHAT_NOJAVASCRIPT' => 'Your browser does not support JavaScript or JavaScript is disabled',
|
||||||
'MCHAT_NOMESSAGE' => 'No messages',
|
'MCHAT_NOMESSAGE' => 'No messages',
|
||||||
'MCHAT_NOMESSAGEINPUT' => 'You have not entered a message',
|
'MCHAT_NOMESSAGEINPUT' => 'You have not entered a message',
|
||||||
'MCHAT_NOSMILE' => 'Smilies not found',
|
'MCHAT_NOSMILE' => 'Smilies not found',
|
||||||
@@ -79,14 +78,14 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_NOT_INSTALLED' => 'mChat database entries are missing.<br />Please run the %sinstaller%s to make the database changes for the modification.',
|
'MCHAT_NOT_INSTALLED' => 'mChat database entries are missing.<br />Please run the %sinstaller%s to make the database changes for the modification.',
|
||||||
'MCHAT_OK' => 'OK',
|
'MCHAT_OK' => 'OK',
|
||||||
'MCHAT_PAUSE' => 'Paused',
|
'MCHAT_PAUSE' => 'Paused',
|
||||||
'MCHAT_LOAD' => 'Loading',
|
'MCHAT_LOAD' => 'Loading',
|
||||||
'MCHAT_PERMISSIONS' => 'Change users permissions',
|
'MCHAT_PERMISSIONS' => 'Change users permissions',
|
||||||
'MCHAT_REFRESHING' => 'Refreshing...',
|
'MCHAT_REFRESHING' => 'Refreshing...',
|
||||||
'MCHAT_REFRESH_NO' => 'Autoupdate is off',
|
'MCHAT_REFRESH_NO' => 'Autoupdate is off',
|
||||||
'MCHAT_REFRESH_YES' => 'Autoupdate every <strong>%d</strong> seconds',
|
'MCHAT_REFRESH_YES' => 'Autoupdate every <strong>%d</strong> seconds',
|
||||||
'MCHAT_RESPOND' => 'Respond to user',
|
'MCHAT_RESPOND' => 'Respond to user',
|
||||||
'MCHAT_RESET_QUESTION' => 'Clear the input area?',
|
'MCHAT_RESET_QUESTION' => 'Clear the input area?',
|
||||||
'MCHAT_SESSION_OUT' => 'Chat session has expired',
|
'MCHAT_SESSION_OUT' => 'Chat session has expired',
|
||||||
'MCHAT_SHOW_LIST' => 'Show List',
|
'MCHAT_SHOW_LIST' => 'Show List',
|
||||||
'MCHAT_SECOND' => 'second ',
|
'MCHAT_SECOND' => 'second ',
|
||||||
'MCHAT_SECONDS' => 'seconds ',
|
'MCHAT_SECONDS' => 'seconds ',
|
||||||
@@ -95,21 +94,20 @@ $lang = array_merge($lang, array(
|
|||||||
|
|
||||||
'MCHAT_TOTALMESSAGES' => 'Total messages: <strong>%s</strong>',
|
'MCHAT_TOTALMESSAGES' => 'Total messages: <strong>%s</strong>',
|
||||||
'MCHAT_USESOUND' => 'Use sound?',
|
'MCHAT_USESOUND' => 'Use sound?',
|
||||||
|
|
||||||
|
|
||||||
'MCHAT_ONLINE_USERS_TOTAL' => 'In total there are <strong>%d</strong> users chatting ',
|
'MCHAT_ONLINE_USERS_TOTAL' => 'In total there are <strong>%d</strong> users chatting ',
|
||||||
'MCHAT_ONLINE_USER_TOTAL' => 'In total there is <strong>%d</strong> user chatting ',
|
'MCHAT_ONLINE_USER_TOTAL' => 'In total there is <strong>%d</strong> user chatting ',
|
||||||
'MCHAT_NO_CHATTERS' => 'No one is chatting',
|
'MCHAT_NO_CHATTERS' => 'No one is chatting',
|
||||||
'MCHAT_ONLINE_EXPLAIN' => 'based on users active over the past %s',
|
'MCHAT_ONLINE_EXPLAIN' => 'based on users active over the past %s',
|
||||||
|
|
||||||
'WHO_IS_CHATTING' => 'Who is chatting',
|
'WHO_IS_CHATTING' => 'Who is chatting',
|
||||||
'WHO_IS_REFRESH_EXPLAIN' => 'Refreshes every <strong>%d</strong> seconds',
|
'WHO_IS_REFRESH_EXPLAIN' => 'Refreshes every <strong>%d</strong> seconds',
|
||||||
'MCHAT_NEW_TOPIC' => '<strong>New Topic</strong>',
|
'MCHAT_NEW_TOPIC' => '<strong>New Topic</strong>',
|
||||||
'MCHAT_NEW_REPLY' => '<strong>New Reply</strong>',
|
'MCHAT_NEW_REPLY' => '<strong>New Reply</strong>',
|
||||||
|
|
||||||
// UCP
|
// UCP
|
||||||
'UCP_PROFILE_MCHAT' => 'mChat Preferences',
|
'UCP_PROFILE_MCHAT' => 'mChat Preferences',
|
||||||
|
|
||||||
'DISPLAY_MCHAT' => 'Display mChat on Index',
|
'DISPLAY_MCHAT' => 'Display mChat on Index',
|
||||||
'SOUND_MCHAT' => 'Enable mChat sound',
|
'SOUND_MCHAT' => 'Enable mChat sound',
|
||||||
'DISPLAY_STATS_INDEX' => 'Display the Who is Chatting stats on index page',
|
'DISPLAY_STATS_INDEX' => 'Display the Who is Chatting stats on index page',
|
||||||
@@ -118,7 +116,7 @@ $lang = array_merge($lang, array(
|
|||||||
'CHAT_AREA' => 'Input type',
|
'CHAT_AREA' => 'Input type',
|
||||||
'CHAT_AREA_EXPLAIN' => 'Choose which type of area to use to input a chat:<br />A text area or<br />an input area',
|
'CHAT_AREA_EXPLAIN' => 'Choose which type of area to use to input a chat:<br />A text area or<br />an input area',
|
||||||
'INPUT_AREA' => 'Input area',
|
'INPUT_AREA' => 'Input area',
|
||||||
'TEXT_AREA' => 'Text area',
|
'TEXT_AREA' => 'Text area',
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_MCHAT_RULES_EXPLAIN' => 'Enter the rules of the forum here. Each rule on a new line.<br />You are limited to 255 characters.<br /><strong>This message can be translated.</strong> (you must edit the mchat_lang.php file and read the instructions).',
|
'ACP_MCHAT_RULES_EXPLAIN' => 'Enter the rules of the forum here. Each rule on a new line.<br />You are limited to 255 characters.<br /><strong>This message can be translated.</strong> (you must edit the mchat_lang.php file and read the instructions).',
|
||||||
'LOG_MCHAT_CONFIG_UPDATE' => '<strong>Updated mChat config </strong>',
|
'LOG_MCHAT_CONFIG_UPDATE' => '<strong>Updated mChat config </strong>',
|
||||||
@@ -128,7 +126,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_ENABLE' => 'Enable mChat Extension',
|
'MCHAT_ENABLE' => 'Enable mChat Extension',
|
||||||
'MCHAT_ENABLE_EXPLAIN' => 'Enable or disable the extension globally.',
|
'MCHAT_ENABLE_EXPLAIN' => 'Enable or disable the extension globally.',
|
||||||
'MCHAT_AVATARS' => 'Display avatars',
|
'MCHAT_AVATARS' => 'Display avatars',
|
||||||
'MCHAT_AVATARS_EXPLAIN' => 'If set yes, resized user avatars will be displayed',
|
'MCHAT_AVATARS_EXPLAIN' => 'If set yes, resized user avatars will be displayed',
|
||||||
'MCHAT_ON_INDEX' => 'mChat On Index',
|
'MCHAT_ON_INDEX' => 'mChat On Index',
|
||||||
'MCHAT_ON_INDEX_EXPLAIN' => 'Allow the display of the mChat on the index page.',
|
'MCHAT_ON_INDEX_EXPLAIN' => 'Allow the display of the mChat on the index page.',
|
||||||
'MCHAT_INDEX_HEIGHT' => 'Index Page Height',
|
'MCHAT_INDEX_HEIGHT' => 'Index Page Height',
|
||||||
@@ -142,7 +140,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_PRUNE' => 'Enable Prune',
|
'MCHAT_PRUNE' => 'Enable Prune',
|
||||||
'MCHAT_PRUNE_EXPLAIN' => 'Set to yes to enable the prune feature.<br /><em>Only occurs if a user views the custom or archive pages</em>.',
|
'MCHAT_PRUNE_EXPLAIN' => 'Set to yes to enable the prune feature.<br /><em>Only occurs if a user views the custom or archive pages</em>.',
|
||||||
'MCHAT_PRUNE_NUM' => 'Prune Number',
|
'MCHAT_PRUNE_NUM' => 'Prune Number',
|
||||||
'MCHAT_PRUNE_NUM_EXPLAIN' => 'The number of messages to retain in the chat.',
|
'MCHAT_PRUNE_NUM_EXPLAIN' => 'The number of messages to retain in the chat.',
|
||||||
'MCHAT_MESSAGE_LIMIT' => 'Message limit',
|
'MCHAT_MESSAGE_LIMIT' => 'Message limit',
|
||||||
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'The maximum number of messages to show in the chat area.<br /><em>Recommended from 10 to 30</em>.',
|
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'The maximum number of messages to show in the chat area.<br /><em>Recommended from 10 to 30</em>.',
|
||||||
'MCHAT_MESSAGE_NUM' => 'Index page message limit',
|
'MCHAT_MESSAGE_NUM' => 'Index page message limit',
|
||||||
@@ -183,7 +181,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_MESSAGES' => 'Message Settings',
|
'MCHAT_MESSAGES' => 'Message Settings',
|
||||||
'MCHAT_PAUSE_ON_INPUT' => 'Pause on input',
|
'MCHAT_PAUSE_ON_INPUT' => 'Pause on input',
|
||||||
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'If set Yes, then the chat will not autoupdate upon a user entering a message in the input area',
|
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'If set Yes, then the chat will not autoupdate upon a user entering a message in the input area',
|
||||||
|
|
||||||
// error reporting
|
// error reporting
|
||||||
'MCHAT_NEEDS_UPDATING' => 'The mChat extension needs updating. Please have a forum founder visit this section to run the installer.',
|
'MCHAT_NEEDS_UPDATING' => 'The mChat extension needs updating. Please have a forum founder visit this section to run the installer.',
|
||||||
'MCHAT_WRONG_VERSION' => 'The wrong version of the extension is installed. Please run the %sinstaller%s for the new version of the modification.',
|
'MCHAT_WRONG_VERSION' => 'The wrong version of the extension is installed. Please run the %sinstaller%s for the new version of the modification.',
|
||||||
@@ -203,24 +201,24 @@ $lang = array_merge($lang, array(
|
|||||||
'TOO_SMALL_MAX_WORDS_LNGTH' => 'The max words length value is too small.',
|
'TOO_SMALL_MAX_WORDS_LNGTH' => 'The max words length value is too small.',
|
||||||
'TOO_LARGE_MAX_WORDS_LNGTH' => 'The max words length value is too large.',
|
'TOO_LARGE_MAX_WORDS_LNGTH' => 'The max words length value is too large.',
|
||||||
'TOO_SMALL_WHOIS_REFRESH' => 'The whois refresh value is too small.',
|
'TOO_SMALL_WHOIS_REFRESH' => 'The whois refresh value is too small.',
|
||||||
'TOO_LARGE_WHOIS_REFRESH' => 'The whois refresh value is too large.',
|
'TOO_LARGE_WHOIS_REFRESH' => 'The whois refresh value is too large.',
|
||||||
'TOO_SMALL_INDEX_HEIGHT' => 'The index height value is too small.',
|
'TOO_SMALL_INDEX_HEIGHT' => 'The index height value is too small.',
|
||||||
'TOO_LARGE_INDEX_HEIGHT' => 'The index height value is too large.',
|
'TOO_LARGE_INDEX_HEIGHT' => 'The index height value is too large.',
|
||||||
'TOO_SMALL_CUSTOM_HEIGHT' => 'The custom height value is too small.',
|
'TOO_SMALL_CUSTOM_HEIGHT' => 'The custom height value is too small.',
|
||||||
'TOO_LARGE_CUSTOM_HEIGHT' => 'The custom height value is too large.',
|
'TOO_LARGE_CUSTOM_HEIGHT' => 'The custom height value is too large.',
|
||||||
'TOO_SHORT_STATIC_MESSAGE' => 'The static message value is too short.',
|
'TOO_SHORT_STATIC_MESSAGE' => 'The static message value is too short.',
|
||||||
'TOO_LONG_STATIC_MESSAGE' => 'The static message value is too long.',
|
'TOO_LONG_STATIC_MESSAGE' => 'The static message value is too long.',
|
||||||
'TOO_SMALL_TIMEOUT' => 'The user timeout value is too small.',
|
'TOO_SMALL_TIMEOUT' => 'The user timeout value is too small.',
|
||||||
'TOO_LARGE_TIMEOUT' => 'The user timeout value is too large.',
|
'TOO_LARGE_TIMEOUT' => 'The user timeout value is too large.',
|
||||||
'UCP_CAT_MCHAT' => 'mChat',
|
'UCP_CAT_MCHAT' => 'mChat',
|
||||||
'UCP_MCHAT_CONFIG' => 'mChat', //Preferences
|
'UCP_MCHAT_CONFIG' => 'mChat', //Preferences
|
||||||
'LOG_MCHAT_TABLE_PRUNED' => 'mChat Table was pruned',
|
'LOG_MCHAT_TABLE_PRUNED' => 'mChat Table was pruned',
|
||||||
'ACP_USER_MCHAT' => 'mChat Settings',
|
'ACP_USER_MCHAT' => 'mChat Settings',
|
||||||
'LOG_DELETED_MCHAT' => '<strong>Deleted mChat message</strong><br />» %1$s',
|
'LOG_DELETED_MCHAT' => '<strong>Deleted mChat message</strong><br />» %1$s',
|
||||||
'LOG_EDITED_MCHAT' => '<strong>Edited mChat message</strong><br />» %1$s',
|
'LOG_EDITED_MCHAT' => '<strong>Edited mChat message</strong><br />» %1$s',
|
||||||
'MCHAT_MESSAGE_LNGTH_EXPLAIN' => 'Characters remaining: <span class="charsLeft error"><strong>%d</strong></span>',
|
'MCHAT_MESSAGE_LNGTH_EXPLAIN' => 'Characters remaining: <span class="charsLeft error"><strong>%d</strong></span>',
|
||||||
'MCHAT_TOP_POSTERS' => 'Top Spammers',
|
'MCHAT_TOP_POSTERS' => 'Top Spammers',
|
||||||
'MCHAT_NEW_CHAT' => 'New Chat Message!',
|
'MCHAT_NEW_CHAT' => 'New Chat Message!',
|
||||||
'FONT_COLOR' => 'Font colour',
|
'FONT_COLOR' => 'Font colour',
|
||||||
'FONT_COLOR_HIDE' => 'Hide font colour',
|
'FONT_COLOR_HIDE' => 'Hide font colour',
|
||||||
'FONT_HUGE' => 'Huge',
|
'FONT_HUGE' => 'Huge',
|
||||||
@@ -229,7 +227,7 @@ $lang = array_merge($lang, array(
|
|||||||
'FONT_SIZE' => 'Font size',
|
'FONT_SIZE' => 'Font size',
|
||||||
'FONT_SMALL' => 'Small',
|
'FONT_SMALL' => 'Small',
|
||||||
'FONT_TINY' => 'Tiny',
|
'FONT_TINY' => 'Tiny',
|
||||||
'MCHAT_SEND_PM' => 'Send Private Message',
|
'MCHAT_SEND_PM' => 'Send Private Message',
|
||||||
'MCHAT_PM' => '(PM)',
|
'MCHAT_PM' => '(PM)',
|
||||||
'MORE_SMILIES' => 'More Smilies',
|
'MORE_SMILIES' => 'More Smilies',
|
||||||
));
|
));
|
||||||
@@ -31,7 +31,6 @@ if (empty($lang) || !is_array($lang))
|
|||||||
// Some characters for use
|
// Some characters for use
|
||||||
// ’ » “ ” …
|
// ’ » “ ” …
|
||||||
|
|
||||||
|
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
|
|
||||||
// UMIL stuff
|
// UMIL stuff
|
||||||
@@ -56,7 +55,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_ENABLE' => 'Enable mChat Extension',
|
'MCHAT_ENABLE' => 'Enable mChat Extension',
|
||||||
'MCHAT_ENABLE_EXPLAIN' => 'Enable or disable the extension globally.',
|
'MCHAT_ENABLE_EXPLAIN' => 'Enable or disable the extension globally.',
|
||||||
'MCHAT_AVATARS' => 'Display avatars',
|
'MCHAT_AVATARS' => 'Display avatars',
|
||||||
'MCHAT_AVATARS_EXPLAIN' => 'If set yes, resized user avatars will be displayed',
|
'MCHAT_AVATARS_EXPLAIN' => 'If set yes, resized user avatars will be displayed',
|
||||||
'MCHAT_ON_INDEX' => 'mChat On Index',
|
'MCHAT_ON_INDEX' => 'mChat On Index',
|
||||||
'MCHAT_ON_INDEX_EXPLAIN' => 'Allow the display of the mChat on the index page.',
|
'MCHAT_ON_INDEX_EXPLAIN' => 'Allow the display of the mChat on the index page.',
|
||||||
'MCHAT_INDEX_HEIGHT' => 'Index Page Height',
|
'MCHAT_INDEX_HEIGHT' => 'Index Page Height',
|
||||||
@@ -70,7 +69,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_PRUNE' => 'Enable Prune',
|
'MCHAT_PRUNE' => 'Enable Prune',
|
||||||
'MCHAT_PRUNE_EXPLAIN' => 'Set to yes to enable the prune feature.<br /><em>Only occurs if a user views the custom or archive pages</em>.',
|
'MCHAT_PRUNE_EXPLAIN' => 'Set to yes to enable the prune feature.<br /><em>Only occurs if a user views the custom or archive pages</em>.',
|
||||||
'MCHAT_PRUNE_NUM' => 'Prune Number',
|
'MCHAT_PRUNE_NUM' => 'Prune Number',
|
||||||
'MCHAT_PRUNE_NUM_EXPLAIN' => 'The number of messages to retain in the chat.',
|
'MCHAT_PRUNE_NUM_EXPLAIN' => 'The number of messages to retain in the chat.',
|
||||||
'MCHAT_MESSAGE_LIMIT' => 'Message limit',
|
'MCHAT_MESSAGE_LIMIT' => 'Message limit',
|
||||||
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'The maximum number of messages to show in the chat area.<br /><em>Recommended from 10 to 30</em>.',
|
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'The maximum number of messages to show in the chat area.<br /><em>Recommended from 10 to 30</em>.',
|
||||||
'MCHAT_MESSAGE_NUM' => 'Index page message limit',
|
'MCHAT_MESSAGE_NUM' => 'Index page message limit',
|
||||||
@@ -111,7 +110,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_MESSAGES' => 'Message Settings',
|
'MCHAT_MESSAGES' => 'Message Settings',
|
||||||
'MCHAT_PAUSE_ON_INPUT' => 'Pause on input',
|
'MCHAT_PAUSE_ON_INPUT' => 'Pause on input',
|
||||||
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'If set Yes, then the chat will not autoupdate upon a user entering a message in the input area',
|
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'If set Yes, then the chat will not autoupdate upon a user entering a message in the input area',
|
||||||
|
|
||||||
// error reporting
|
// error reporting
|
||||||
'MCHAT_NEEDS_UPDATING' => 'The mChat extension needs updating. Please have a forum founder visit this section to run the installer.',
|
'MCHAT_NEEDS_UPDATING' => 'The mChat extension needs updating. Please have a forum founder visit this section to run the installer.',
|
||||||
'MCHAT_WRONG_VERSION' => 'The wrong version of the extension is installed. Please run the %sinstaller%s for the new version of the modification.',
|
'MCHAT_WRONG_VERSION' => 'The wrong version of the extension is installed. Please run the %sinstaller%s for the new version of the modification.',
|
||||||
@@ -131,16 +130,16 @@ $lang = array_merge($lang, array(
|
|||||||
'TOO_SMALL_MAX_WORDS_LNGTH' => 'The max words length value is too small.',
|
'TOO_SMALL_MAX_WORDS_LNGTH' => 'The max words length value is too small.',
|
||||||
'TOO_LARGE_MAX_WORDS_LNGTH' => 'The max words length value is too large.',
|
'TOO_LARGE_MAX_WORDS_LNGTH' => 'The max words length value is too large.',
|
||||||
'TOO_SMALL_WHOIS_REFRESH' => 'The whois refresh value is too small.',
|
'TOO_SMALL_WHOIS_REFRESH' => 'The whois refresh value is too small.',
|
||||||
'TOO_LARGE_WHOIS_REFRESH' => 'The whois refresh value is too large.',
|
'TOO_LARGE_WHOIS_REFRESH' => 'The whois refresh value is too large.',
|
||||||
'TOO_SMALL_INDEX_HEIGHT' => 'The index height value is too small.',
|
'TOO_SMALL_INDEX_HEIGHT' => 'The index height value is too small.',
|
||||||
'TOO_LARGE_INDEX_HEIGHT' => 'The index height value is too large.',
|
'TOO_LARGE_INDEX_HEIGHT' => 'The index height value is too large.',
|
||||||
'TOO_SMALL_CUSTOM_HEIGHT' => 'The custom height value is too small.',
|
'TOO_SMALL_CUSTOM_HEIGHT' => 'The custom height value is too small.',
|
||||||
'TOO_LARGE_CUSTOM_HEIGHT' => 'The custom height value is too large.',
|
'TOO_LARGE_CUSTOM_HEIGHT' => 'The custom height value is too large.',
|
||||||
'TOO_SHORT_STATIC_MESSAGE' => 'The static message value is too short.',
|
'TOO_SHORT_STATIC_MESSAGE' => 'The static message value is too short.',
|
||||||
'TOO_LONG_STATIC_MESSAGE' => 'The static message value is too long.',
|
'TOO_LONG_STATIC_MESSAGE' => 'The static message value is too long.',
|
||||||
'TOO_SMALL_TIMEOUT' => 'The user timeout value is too small.',
|
'TOO_SMALL_TIMEOUT' => 'The user timeout value is too small.',
|
||||||
'TOO_LARGE_TIMEOUT' => 'The user timeout value is too large.',
|
'TOO_LARGE_TIMEOUT' => 'The user timeout value is too large.',
|
||||||
|
|
||||||
// User perms
|
// User perms
|
||||||
'ACL_U_MCHAT_USE' => 'Can use mChat mchat',
|
'ACL_U_MCHAT_USE' => 'Can use mChat mchat',
|
||||||
'ACL_U_MCHAT_VIEW' => 'Can view mChat mchat',
|
'ACL_U_MCHAT_VIEW' => 'Can view mChat mchat',
|
||||||
@@ -155,5 +154,5 @@ $lang = array_merge($lang, array(
|
|||||||
|
|
||||||
// Admin perms
|
// Admin perms
|
||||||
'ACL_A_MCHAT' => array('lang' => 'Can manage mChat settings', 'cat' => 'permissions'), // Using a phpBB category here
|
'ACL_A_MCHAT' => array('lang' => 'Can manage mChat settings', 'cat' => 'permissions'), // Using a phpBB category here
|
||||||
|
|
||||||
));
|
));
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DO NOT CHANGE!
|
* DO NOT CHANGE!
|
||||||
*/
|
*/
|
||||||
@@ -42,8 +41,8 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_TITLE' => 'Mini-Chat',
|
'MCHAT_TITLE' => 'Mini-Chat',
|
||||||
'MCHAT_ADD' => 'Envoyer',
|
'MCHAT_ADD' => 'Envoyer',
|
||||||
'MCHAT_ANNOUNCEMENT' => 'Annonce',
|
'MCHAT_ANNOUNCEMENT' => 'Annonce',
|
||||||
'MCHAT_ARCHIVE' => 'Archives',
|
'MCHAT_ARCHIVE' => 'Archives',
|
||||||
'MCHAT_ARCHIVE_PAGE' => 'Archives du mini-chat',
|
'MCHAT_ARCHIVE_PAGE' => 'Archives du mini-chat',
|
||||||
'MCHAT_BBCODES' => 'BBCodes',
|
'MCHAT_BBCODES' => 'BBCodes',
|
||||||
'MCHAT_CLEAN' => 'Vider le mini-chat',
|
'MCHAT_CLEAN' => 'Vider le mini-chat',
|
||||||
'MCHAT_CLEANED' => 'Tous les messages ont été supprimés avec succès.',
|
'MCHAT_CLEANED' => 'Tous les messages ont été supprimés avec succès.',
|
||||||
@@ -55,23 +54,23 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_DELITE' => 'Supprimer',
|
'MCHAT_DELITE' => 'Supprimer',
|
||||||
'MCHAT_EDIT' => 'Éditer',
|
'MCHAT_EDIT' => 'Éditer',
|
||||||
'MCHAT_EDITINFO' => 'Éditez le message et cliquez sur OK.',
|
'MCHAT_EDITINFO' => 'Éditez le message et cliquez sur OK.',
|
||||||
'MCHAT_ENABLE' => 'Désolé, le mini-chat est actuellement indisponible.',
|
'MCHAT_ENABLE' => 'Désolé, le mini-chat est actuellement indisponible.',
|
||||||
'MCHAT_ERROR' => 'Erreur',
|
'MCHAT_ERROR' => 'Erreur',
|
||||||
'MCHAT_FLOOD' => 'Vous ne pouvez pas poster un autre message si peu de temps après votre dernier message.',
|
'MCHAT_FLOOD' => 'Vous ne pouvez pas poster un autre message si peu de temps après votre dernier message.',
|
||||||
'MCHAT_FOE' => 'Ce message a été écrit par <strong>%1$s</strong> qui est actuellement dans votre liste des ignorés.',
|
'MCHAT_FOE' => 'Ce message a été écrit par <strong>%1$s</strong> qui est actuellement dans votre liste des ignorés.',
|
||||||
'MCHAT_HELP' => 'Règles du mChat',
|
'MCHAT_HELP' => 'Règles du mChat',
|
||||||
'MCHAT_HIDE_LIST' => 'Masquer la liste',
|
'MCHAT_HIDE_LIST' => 'Masquer la liste',
|
||||||
'MCHAT_HOUR' => 'heure ',
|
'MCHAT_HOUR' => 'heure ',
|
||||||
'MCHAT_HOURS' => 'heures',
|
'MCHAT_HOURS' => 'heures',
|
||||||
'MCHAT_IP' => 'Whois pour l’IP',
|
'MCHAT_IP' => 'Whois pour l’IP',
|
||||||
|
|
||||||
'MCHAT_MINUTE' => 'minute ',
|
'MCHAT_MINUTE' => 'minute ',
|
||||||
'MCHAT_MINUTES' => 'minutes ',
|
'MCHAT_MINUTES' => 'minutes ',
|
||||||
'MCHAT_MESS_LONG' => 'Votre message est trop long.\nLimité à %s caractères',
|
'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_CUSTOM_PAGE' => 'La page personnalisée du mChat n’est pas activée en ce moment!',
|
||||||
'MCHAT_NOACCESS' => 'Vous n’avez pas les permissions pour poster dans le mini-chat.',
|
'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_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é.',
|
'MCHAT_NOJAVASCRIPT' => 'Votre navigateur ne supporte pas JavaScript ou JavaScript est désactivé.',
|
||||||
'MCHAT_NOMESSAGE' => 'Aucun message',
|
'MCHAT_NOMESSAGE' => 'Aucun message',
|
||||||
'MCHAT_NOMESSAGEINPUT' => 'Vous n’avez pas saisi de message.',
|
'MCHAT_NOMESSAGEINPUT' => 'Vous n’avez pas saisi de message.',
|
||||||
'MCHAT_NOSMILE' => 'Aucun smiley n’a été trouvé.',
|
'MCHAT_NOSMILE' => 'Aucun smiley n’a été trouvé.',
|
||||||
@@ -79,14 +78,14 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_NOT_INSTALLED' => 'La base de données de mChat saisie est introuvable.<br/>Démarrez l’%sinstallation%s pour modifier la base de données du MOD.',
|
'MCHAT_NOT_INSTALLED' => 'La base de données de mChat saisie est introuvable.<br/>Démarrez l’%sinstallation%s pour modifier la base de données du MOD.',
|
||||||
'MCHAT_OK' => 'OK',
|
'MCHAT_OK' => 'OK',
|
||||||
'MCHAT_PAUSE' => 'En pause',
|
'MCHAT_PAUSE' => 'En pause',
|
||||||
'MCHAT_LOAD' => 'Chargement',
|
'MCHAT_LOAD' => 'Chargement',
|
||||||
'MCHAT_PERMISSIONS' => 'Modifier les permissions des utilisateurs',
|
'MCHAT_PERMISSIONS' => 'Modifier les permissions des utilisateurs',
|
||||||
'MCHAT_REFRESHING' => 'Actualisation...',
|
'MCHAT_REFRESHING' => 'Actualisation...',
|
||||||
'MCHAT_REFRESH_NO' => 'La mise à jour automatique est désactivée',
|
'MCHAT_REFRESH_NO' => 'La mise à jour automatique est désactivée',
|
||||||
'MCHAT_REFRESH_YES' => 'Actualisation toutes les <strong>%d</strong> secondes',
|
'MCHAT_REFRESH_YES' => 'Actualisation toutes les <strong>%d</strong> secondes',
|
||||||
'MCHAT_RESPOND' => 'Répondez à l’utilisateur',
|
'MCHAT_RESPOND' => 'Répondez à l’utilisateur',
|
||||||
'MCHAT_RESET_QUESTION' => 'Effacer la zone de saisie?',
|
'MCHAT_RESET_QUESTION' => 'Effacer la zone de saisie?',
|
||||||
'MCHAT_SESSION_OUT' => 'La session de tchat a expirée',
|
'MCHAT_SESSION_OUT' => 'La session de tchat a expirée',
|
||||||
'MCHAT_SHOW_LIST' => 'Afficher la liste',
|
'MCHAT_SHOW_LIST' => 'Afficher la liste',
|
||||||
'MCHAT_SECOND' => 'seconde ',
|
'MCHAT_SECOND' => 'seconde ',
|
||||||
'MCHAT_SECONDS' => 'secondes ',
|
'MCHAT_SECONDS' => 'secondes ',
|
||||||
@@ -95,21 +94,20 @@ $lang = array_merge($lang, array(
|
|||||||
|
|
||||||
'MCHAT_TOTALMESSAGES' => 'Total des messages: <strong>%s</strong>',
|
'MCHAT_TOTALMESSAGES' => 'Total des messages: <strong>%s</strong>',
|
||||||
'MCHAT_USESOUND' => 'Utiliser le son?',
|
'MCHAT_USESOUND' => 'Utiliser le son?',
|
||||||
|
|
||||||
|
|
||||||
'MCHAT_ONLINE_USERS_TOTAL' => 'Au total, il y a <strong>%d</strong> utilisateurs qui discutent ',
|
'MCHAT_ONLINE_USERS_TOTAL' => 'Au total, il y a <strong>%d</strong> utilisateurs qui discutent ',
|
||||||
'MCHAT_ONLINE_USER_TOTAL' => 'Au total, il y a <strong>%d</strong> utilisateur qui discute ',
|
'MCHAT_ONLINE_USER_TOTAL' => 'Au total, il y a <strong>%d</strong> utilisateur qui discute ',
|
||||||
'MCHAT_NO_CHATTERS' => 'Personne ne tchat',
|
'MCHAT_NO_CHATTERS' => 'Personne ne tchat',
|
||||||
'MCHAT_ONLINE_EXPLAIN' => 'basé sur l’activité des utilisateurs depuis %s',
|
'MCHAT_ONLINE_EXPLAIN' => 'basé sur l’activité des utilisateurs depuis %s',
|
||||||
|
|
||||||
'WHO_IS_CHATTING' => 'Qui discute ?',
|
'WHO_IS_CHATTING' => 'Qui discute ?',
|
||||||
'WHO_IS_REFRESH_EXPLAIN' => 'Actualisation toutes les <strong>%d</strong> secondes',
|
'WHO_IS_REFRESH_EXPLAIN' => 'Actualisation toutes les <strong>%d</strong> secondes',
|
||||||
'MCHAT_NEW_TOPIC' => '<strong>Nouveau Sujet</strong>',
|
'MCHAT_NEW_TOPIC' => '<strong>Nouveau Sujet</strong>',
|
||||||
'MCHAT_NEW_REPLY' => '<strong>Nouvelle réponse</strong>',
|
'MCHAT_NEW_REPLY' => '<strong>Nouvelle réponse</strong>',
|
||||||
|
|
||||||
// UCP
|
// UCP
|
||||||
'UCP_PROFILE_MCHAT' => 'Préférences du mini-chat',
|
'UCP_PROFILE_MCHAT' => 'Préférences du mini-chat',
|
||||||
|
|
||||||
'DISPLAY_MCHAT' => 'Afficher le mini-chat sur l’index.',
|
'DISPLAY_MCHAT' => 'Afficher le mini-chat sur l’index.',
|
||||||
'SOUND_MCHAT' => 'Activer le son du mini-chat.',
|
'SOUND_MCHAT' => 'Activer le son du mini-chat.',
|
||||||
'DISPLAY_STATS_INDEX' => 'Afficher les statistiques de « Qui discute ? » sur la page d’index.',
|
'DISPLAY_STATS_INDEX' => 'Afficher les statistiques de « Qui discute ? » sur la page d’index.',
|
||||||
@@ -118,7 +116,7 @@ $lang = array_merge($lang, array(
|
|||||||
'CHAT_AREA' => 'Type de saisie',
|
'CHAT_AREA' => 'Type de saisie',
|
||||||
'CHAT_AREA_EXPLAIN' => 'Choisissez le type de champ à utiliser pour saisir un message :<br />Une zone de zaisie ou<br />un champ de saisie',
|
'CHAT_AREA_EXPLAIN' => 'Choisissez le type de champ à utiliser pour saisir un message :<br />Une zone de zaisie ou<br />un champ de saisie',
|
||||||
'INPUT_AREA' => 'Champ de saisie',
|
'INPUT_AREA' => 'Champ de saisie',
|
||||||
'TEXT_AREA' => 'Zone de zaisie',
|
'TEXT_AREA' => 'Zone de zaisie',
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_MCHAT_RULES_EXPLAIN' => 'Saisissez les règles du forum ici. Chaque règle sur une nouvelle ligne.<br/>Vous êtes limité à 255 caractères.<br/><strong>Ce message peut être traduit.</strong> (vous devez éditer le fichier mchat_lang.php et saisir les instructions).',
|
'ACP_MCHAT_RULES_EXPLAIN' => 'Saisissez les règles du forum ici. Chaque règle sur une nouvelle ligne.<br/>Vous êtes limité à 255 caractères.<br/><strong>Ce message peut être traduit.</strong> (vous devez éditer le fichier mchat_lang.php et saisir les instructions).',
|
||||||
'LOG_MCHAT_CONFIG_UPDATE' => '<strong>Configuration de mChat mise à jour</strong>',
|
'LOG_MCHAT_CONFIG_UPDATE' => '<strong>Configuration de mChat mise à jour</strong>',
|
||||||
@@ -128,7 +126,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_ENABLE' => 'Activer le MOD mChat',
|
'MCHAT_ENABLE' => 'Activer le MOD mChat',
|
||||||
'MCHAT_ENABLE_EXPLAIN' => 'Activer ou désactiver le MOD dans sa globalité.',
|
'MCHAT_ENABLE_EXPLAIN' => 'Activer ou désactiver le MOD dans sa globalité.',
|
||||||
'MCHAT_AVATARS' => 'Afficher les avatars',
|
'MCHAT_AVATARS' => 'Afficher les avatars',
|
||||||
'MCHAT_AVATARS_EXPLAIN' => 'Si activée, les avatars redimensionnés des utilisateurs seront affichés.',
|
'MCHAT_AVATARS_EXPLAIN' => 'Si activée, les avatars redimensionnés des utilisateurs seront affichés.',
|
||||||
'MCHAT_ON_INDEX' => 'mChat sur l’index',
|
'MCHAT_ON_INDEX' => 'mChat sur l’index',
|
||||||
'MCHAT_ON_INDEX_EXPLAIN' => 'Permettre l’affichage de mChat sur la page d’index.',
|
'MCHAT_ON_INDEX_EXPLAIN' => 'Permettre l’affichage de mChat sur la page d’index.',
|
||||||
'MCHAT_INDEX_HEIGHT' => 'Hauteur sur la page d’index',
|
'MCHAT_INDEX_HEIGHT' => 'Hauteur sur la page d’index',
|
||||||
@@ -142,7 +140,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_PRUNE' => 'Activer le délestage',
|
'MCHAT_PRUNE' => 'Activer le délestage',
|
||||||
'MCHAT_PRUNE_EXPLAIN' => 'Mettez Oui pour activer la fonction de délestage.<br/><em>Survient seulement si un utilisateur affiche les pages personnalisées ou d’archives</em>.',
|
'MCHAT_PRUNE_EXPLAIN' => 'Mettez Oui pour activer la fonction de délestage.<br/><em>Survient seulement si un utilisateur affiche les pages personnalisées ou d’archives</em>.',
|
||||||
'MCHAT_PRUNE_NUM' => 'Nombre de messages',
|
'MCHAT_PRUNE_NUM' => 'Nombre de messages',
|
||||||
'MCHAT_PRUNE_NUM_EXPLAIN' => 'Le nombre de messages à retenir dans mChat.',
|
'MCHAT_PRUNE_NUM_EXPLAIN' => 'Le nombre de messages à retenir dans mChat.',
|
||||||
'MCHAT_MESSAGE_LIMIT' => 'Limite de messages',
|
'MCHAT_MESSAGE_LIMIT' => 'Limite de messages',
|
||||||
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'Le nombre maximum de messages à afficher dans la zone du mini-chat.<br/><em>Recommandation : de 10 à 30 messages</em>.',
|
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'Le nombre maximum de messages à afficher dans la zone du mini-chat.<br/><em>Recommandation : de 10 à 30 messages</em>.',
|
||||||
'MCHAT_MESSAGE_NUM' => 'Limite de messages sur la page d’index',
|
'MCHAT_MESSAGE_NUM' => 'Limite de messages sur la page d’index',
|
||||||
@@ -181,7 +179,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_MESSAGES' => 'Paramètres des messages',
|
'MCHAT_MESSAGES' => 'Paramètres des messages',
|
||||||
'MCHAT_PAUSE_ON_INPUT' => 'Pause sur la saisie',
|
'MCHAT_PAUSE_ON_INPUT' => 'Pause sur la saisie',
|
||||||
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Si activée, le mini-chat ne sera pas mis à jour automatiquement lorsque l’utilisateur rédige un message dans la zone de saisie.',
|
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Si activée, le mini-chat ne sera pas mis à jour automatiquement lorsque l’utilisateur rédige un message dans la zone de saisie.',
|
||||||
|
|
||||||
// error reporting
|
// error reporting
|
||||||
'MCHAT_NEEDS_UPDATING' => 'Le MOD mChat a besoin d’être mis à jour. Le fondateur du forum doit visiter cette section pour commencer l’installation.',
|
'MCHAT_NEEDS_UPDATING' => 'Le MOD mChat a besoin d’être mis à jour. Le fondateur du forum doit visiter cette section pour commencer l’installation.',
|
||||||
'MCHAT_WRONG_VERSION' => 'La mauvaise version du MOD est installée. Démarrez l’%sinstallation%s pour une nouvelle version du MOD.',
|
'MCHAT_WRONG_VERSION' => 'La mauvaise version du MOD est installée. Démarrez l’%sinstallation%s pour une nouvelle version du MOD.',
|
||||||
@@ -201,24 +199,24 @@ $lang = array_merge($lang, array(
|
|||||||
'TOO_SMALL_MAX_WORDS_LNGTH' => 'La longueur maximale des mots est trop petite.',
|
'TOO_SMALL_MAX_WORDS_LNGTH' => 'La longueur maximale des mots est trop petite.',
|
||||||
'TOO_LARGE_MAX_WORDS_LNGTH' => 'La longueur maximale des mots est trop grande.',
|
'TOO_LARGE_MAX_WORDS_LNGTH' => 'La longueur maximale des mots est trop grande.',
|
||||||
'TOO_SMALL_WHOIS_REFRESH' => 'L’actualisation du Qui est-ce? es trop petite.',
|
'TOO_SMALL_WHOIS_REFRESH' => 'L’actualisation du Qui est-ce? es trop petite.',
|
||||||
'TOO_LARGE_WHOIS_REFRESH' => 'L’actualisation du Qui est-ce? est trop grande.',
|
'TOO_LARGE_WHOIS_REFRESH' => 'L’actualisation du Qui est-ce? est trop grande.',
|
||||||
'TOO_SMALL_INDEX_HEIGHT' => 'La hauteur du mini-chat sur l’index est trop petite.',
|
'TOO_SMALL_INDEX_HEIGHT' => 'La hauteur du mini-chat sur l’index est trop petite.',
|
||||||
'TOO_LARGE_INDEX_HEIGHT' => 'La hauteur du mini-chat sur l’index est trop grande.',
|
'TOO_LARGE_INDEX_HEIGHT' => 'La hauteur du mini-chat sur l’index est trop grande.',
|
||||||
'TOO_SMALL_CUSTOM_HEIGHT' => 'La hauteur du mini-chat dans la page personnalisé est trop petite.',
|
'TOO_SMALL_CUSTOM_HEIGHT' => 'La hauteur du mini-chat dans la page personnalisé est trop petite.',
|
||||||
'TOO_LARGE_CUSTOM_HEIGHT' => 'La hauteur du mini-chat dans la page personnalisé est trop grande.',
|
'TOO_LARGE_CUSTOM_HEIGHT' => 'La hauteur du mini-chat dans la page personnalisé est trop grande.',
|
||||||
'TOO_SHORT_STATIC_MESSAGE' => 'Le message statique est trop court.',
|
'TOO_SHORT_STATIC_MESSAGE' => 'Le message statique est trop court.',
|
||||||
'TOO_LONG_STATIC_MESSAGE' => 'Le message statique est trop long.',
|
'TOO_LONG_STATIC_MESSAGE' => 'Le message statique est trop long.',
|
||||||
'TOO_SMALL_TIMEOUT' => 'Le délai d’attente de l’utilisateur est trop petit.',
|
'TOO_SMALL_TIMEOUT' => 'Le délai d’attente de l’utilisateur est trop petit.',
|
||||||
'TOO_LARGE_TIMEOUT' => 'Le délai d’attente de l’utilisateur est trop grand.',
|
'TOO_LARGE_TIMEOUT' => 'Le délai d’attente de l’utilisateur est trop grand.',
|
||||||
'UCP_CAT_MCHAT' => 'mChat',
|
'UCP_CAT_MCHAT' => 'mChat',
|
||||||
'UCP_MCHAT_CONFIG' => 'mChat', //Preferences
|
'UCP_MCHAT_CONFIG' => 'mChat', //Preferences
|
||||||
'LOG_MCHAT_TABLE_PRUNED' => 'La table du mini-chat a été délestée',
|
'LOG_MCHAT_TABLE_PRUNED' => 'La table du mini-chat a été délestée',
|
||||||
'ACP_USER_MCHAT' => 'Paramètres du mini-chat',
|
'ACP_USER_MCHAT' => 'Paramètres du mini-chat',
|
||||||
'LOG_DELETED_MCHAT' => '<strong>Les messages de mchat ont été supprimés</strong><br />» %1$s',
|
'LOG_DELETED_MCHAT' => '<strong>Les messages de mchat ont été supprimés</strong><br />» %1$s',
|
||||||
'LOG_EDITED_MCHAT' => '<strong>Les messages de mchat ont été édités</strong><br />» %1$s',
|
'LOG_EDITED_MCHAT' => '<strong>Les messages de mchat ont été édités</strong><br />» %1$s',
|
||||||
'MCHAT_MESSAGE_LNGTH_EXPLAIN' => 'Caractères restants: <span class="charsLeft error"><strong>%d</strong></span>',
|
'MCHAT_MESSAGE_LNGTH_EXPLAIN' => 'Caractères restants: <span class="charsLeft error"><strong>%d</strong></span>',
|
||||||
'MCHAT_TOP_POSTERS' => 'Top Spammers',
|
'MCHAT_TOP_POSTERS' => 'Top Spammers',
|
||||||
'MCHAT_NEW_CHAT' => 'Nouveau Message Dans Mchat!',
|
'MCHAT_NEW_CHAT' => 'Nouveau Message Dans Mchat!',
|
||||||
'FONT_COLOR' => 'Couleur de fond',
|
'FONT_COLOR' => 'Couleur de fond',
|
||||||
'FONT_COLOR_HIDE' => 'Cacher la couleur de fond',
|
'FONT_COLOR_HIDE' => 'Cacher la couleur de fond',
|
||||||
'FONT_HUGE' => 'Énorme',
|
'FONT_HUGE' => 'Énorme',
|
||||||
@@ -227,7 +225,7 @@ $lang = array_merge($lang, array(
|
|||||||
'FONT_SIZE' => 'Taille de la police',
|
'FONT_SIZE' => 'Taille de la police',
|
||||||
'FONT_SMALL' => 'Petite',
|
'FONT_SMALL' => 'Petite',
|
||||||
'FONT_TINY' => 'Minuscule',
|
'FONT_TINY' => 'Minuscule',
|
||||||
'MCHAT_SEND_PM' => 'Envoyer un message privé',
|
'MCHAT_SEND_PM' => 'Envoyer un message privé',
|
||||||
'MCHAT_PM' => '(MP)',
|
'MCHAT_PM' => '(MP)',
|
||||||
'MORE_SMILIES' => 'Plus de smileys',
|
'MORE_SMILIES' => 'Plus de smileys',
|
||||||
));
|
));
|
||||||
@@ -31,7 +31,6 @@ if (empty($lang) || !is_array($lang))
|
|||||||
// Some characters for use
|
// Some characters for use
|
||||||
// ’ » “ ” …
|
// ’ » “ ” …
|
||||||
|
|
||||||
|
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
|
|
||||||
// UMIL stuff
|
// UMIL stuff
|
||||||
@@ -56,7 +55,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_ENABLE' => 'Activer le MOD mChat',
|
'MCHAT_ENABLE' => 'Activer le MOD mChat',
|
||||||
'MCHAT_ENABLE_EXPLAIN' => 'Activer ou désactiver le MOD dans sa globalité.',
|
'MCHAT_ENABLE_EXPLAIN' => 'Activer ou désactiver le MOD dans sa globalité.',
|
||||||
'MCHAT_AVATARS' => 'Afficher les avatars',
|
'MCHAT_AVATARS' => 'Afficher les avatars',
|
||||||
'MCHAT_AVATARS_EXPLAIN' => 'Si activée, les avatars redimensionnés des utilisateurs seront affichés.',
|
'MCHAT_AVATARS_EXPLAIN' => 'Si activée, les avatars redimensionnés des utilisateurs seront affichés.',
|
||||||
'MCHAT_ON_INDEX' => 'mChat sur l’index',
|
'MCHAT_ON_INDEX' => 'mChat sur l’index',
|
||||||
'MCHAT_ON_INDEX_EXPLAIN' => 'Permettre l’affichage de mChat sur la page d’index.',
|
'MCHAT_ON_INDEX_EXPLAIN' => 'Permettre l’affichage de mChat sur la page d’index.',
|
||||||
'MCHAT_INDEX_HEIGHT' => 'Hauteur sur la page d’index',
|
'MCHAT_INDEX_HEIGHT' => 'Hauteur sur la page d’index',
|
||||||
@@ -70,7 +69,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_PRUNE' => 'Activer le délestage',
|
'MCHAT_PRUNE' => 'Activer le délestage',
|
||||||
'MCHAT_PRUNE_EXPLAIN' => 'Mettez Oui pour activer la fonction de délestage.<br/><em>Survient seulement si un utilisateur affiche les pages personnalisées ou d’archives</em>.',
|
'MCHAT_PRUNE_EXPLAIN' => 'Mettez Oui pour activer la fonction de délestage.<br/><em>Survient seulement si un utilisateur affiche les pages personnalisées ou d’archives</em>.',
|
||||||
'MCHAT_PRUNE_NUM' => 'Nombre de messages',
|
'MCHAT_PRUNE_NUM' => 'Nombre de messages',
|
||||||
'MCHAT_PRUNE_NUM_EXPLAIN' => 'Le nombre de messages à retenir dans mChat.',
|
'MCHAT_PRUNE_NUM_EXPLAIN' => 'Le nombre de messages à retenir dans mChat.',
|
||||||
'MCHAT_MESSAGE_LIMIT' => 'Limite de messages',
|
'MCHAT_MESSAGE_LIMIT' => 'Limite de messages',
|
||||||
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'Le nombre maximum de messages à afficher dans la zone du mini-chat.<br/><em>Recommandation : de 10 à 30 messages</em>.',
|
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'Le nombre maximum de messages à afficher dans la zone du mini-chat.<br/><em>Recommandation : de 10 à 30 messages</em>.',
|
||||||
'MCHAT_MESSAGE_NUM' => 'Limite de messages sur la page d’index',
|
'MCHAT_MESSAGE_NUM' => 'Limite de messages sur la page d’index',
|
||||||
@@ -111,7 +110,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_MESSAGES' => 'Paramètres des messages',
|
'MCHAT_MESSAGES' => 'Paramètres des messages',
|
||||||
'MCHAT_PAUSE_ON_INPUT' => 'Pause sur la saisie',
|
'MCHAT_PAUSE_ON_INPUT' => 'Pause sur la saisie',
|
||||||
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Si activée, le mini-chat ne sera pas mis à jour automatiquement lorsque l’utilisateur rédige un message dans la zone de saisie.',
|
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Si activée, le mini-chat ne sera pas mis à jour automatiquement lorsque l’utilisateur rédige un message dans la zone de saisie.',
|
||||||
|
|
||||||
// error reporting
|
// error reporting
|
||||||
'MCHAT_NEEDS_UPDATING' => 'Le MOD mChat a besoin d’être mis à jour. Le fondateur du forum doit visiter cette section pour commencer l’installation.',
|
'MCHAT_NEEDS_UPDATING' => 'Le MOD mChat a besoin d’être mis à jour. Le fondateur du forum doit visiter cette section pour commencer l’installation.',
|
||||||
'MCHAT_WRONG_VERSION' => 'La mauvaise version du MOD est installée. Démarrez l’%sinstallation%s pour une nouvelle version du MOD.',
|
'MCHAT_WRONG_VERSION' => 'La mauvaise version du MOD est installée. Démarrez l’%sinstallation%s pour une nouvelle version du MOD.',
|
||||||
@@ -131,16 +130,16 @@ $lang = array_merge($lang, array(
|
|||||||
'TOO_SMALL_MAX_WORDS_LNGTH' => 'La longueur maximale des mots est trop petite.',
|
'TOO_SMALL_MAX_WORDS_LNGTH' => 'La longueur maximale des mots est trop petite.',
|
||||||
'TOO_LARGE_MAX_WORDS_LNGTH' => 'La longueur maximale des mots est trop grande.',
|
'TOO_LARGE_MAX_WORDS_LNGTH' => 'La longueur maximale des mots est trop grande.',
|
||||||
'TOO_SMALL_WHOIS_REFRESH' => 'L’actualisation du Qui est-ce? es trop petite.',
|
'TOO_SMALL_WHOIS_REFRESH' => 'L’actualisation du Qui est-ce? es trop petite.',
|
||||||
'TOO_LARGE_WHOIS_REFRESH' => 'L’actualisation du Qui est-ce? est trop grande.',
|
'TOO_LARGE_WHOIS_REFRESH' => 'L’actualisation du Qui est-ce? est trop grande.',
|
||||||
'TOO_SMALL_INDEX_HEIGHT' => 'La hauteur du mini-chat sur l’index est trop petite.',
|
'TOO_SMALL_INDEX_HEIGHT' => 'La hauteur du mini-chat sur l’index est trop petite.',
|
||||||
'TOO_LARGE_INDEX_HEIGHT' => 'La hauteur du mini-chat sur l’index est trop grande.',
|
'TOO_LARGE_INDEX_HEIGHT' => 'La hauteur du mini-chat sur l’index est trop grande.',
|
||||||
'TOO_SMALL_CUSTOM_HEIGHT' => 'La hauteur du mini-chat dans la page personnalisé est trop petite.',
|
'TOO_SMALL_CUSTOM_HEIGHT' => 'La hauteur du mini-chat dans la page personnalisé est trop petite.',
|
||||||
'TOO_LARGE_CUSTOM_HEIGHT' => 'La hauteur du mini-chat dans la page personnalisé est trop grande.',
|
'TOO_LARGE_CUSTOM_HEIGHT' => 'La hauteur du mini-chat dans la page personnalisé est trop grande.',
|
||||||
'TOO_SHORT_STATIC_MESSAGE' => 'Le message statique est trop court.',
|
'TOO_SHORT_STATIC_MESSAGE' => 'Le message statique est trop court.',
|
||||||
'TOO_LONG_STATIC_MESSAGE' => 'Le message statique est trop long.',
|
'TOO_LONG_STATIC_MESSAGE' => 'Le message statique est trop long.',
|
||||||
'TOO_SMALL_TIMEOUT' => 'Le délai d’attente de l’utilisateur est trop petit.',
|
'TOO_SMALL_TIMEOUT' => 'Le délai d’attente de l’utilisateur est trop petit.',
|
||||||
'TOO_LARGE_TIMEOUT' => 'Le délai d’attente de l’utilisateur est trop grand.',
|
'TOO_LARGE_TIMEOUT' => 'Le délai d’attente de l’utilisateur est trop grand.',
|
||||||
|
|
||||||
// User perms
|
// User perms
|
||||||
'ACL_U_MCHAT_USE' => 'Peut utiliser mChat',
|
'ACL_U_MCHAT_USE' => 'Peut utiliser mChat',
|
||||||
'ACL_U_MCHAT_VIEW' => 'Peut voir mChat',
|
'ACL_U_MCHAT_VIEW' => 'Peut voir mChat',
|
||||||
@@ -155,5 +154,5 @@ $lang = array_merge($lang, array(
|
|||||||
|
|
||||||
// Admin perms
|
// Admin perms
|
||||||
'ACL_A_MCHAT' => array('lang' => 'Peut gérer les paramètres de mChat', 'cat' => 'permissions'), // Using a phpBB category here
|
'ACL_A_MCHAT' => array('lang' => 'Peut gérer les paramètres de mChat', 'cat' => 'permissions'), // Using a phpBB category here
|
||||||
|
|
||||||
));
|
));
|
||||||
|
|||||||
@@ -7,7 +7,6 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DO NOT CHANGE!
|
* DO NOT CHANGE!
|
||||||
*/
|
*/
|
||||||
@@ -42,8 +41,8 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_TITLE' => 'Mini-Chat',
|
'MCHAT_TITLE' => 'Mini-Chat',
|
||||||
'MCHAT_ADD' => 'Invia',
|
'MCHAT_ADD' => 'Invia',
|
||||||
'MCHAT_ANNOUNCEMENT' => 'Announcio',
|
'MCHAT_ANNOUNCEMENT' => 'Announcio',
|
||||||
'MCHAT_ARCHIVE' => 'Archivio',
|
'MCHAT_ARCHIVE' => 'Archivio',
|
||||||
'MCHAT_ARCHIVE_PAGE' => 'Mini-Chat Archivio',
|
'MCHAT_ARCHIVE_PAGE' => 'Mini-Chat Archivio',
|
||||||
'MCHAT_BBCODES' => 'BBCodes',
|
'MCHAT_BBCODES' => 'BBCodes',
|
||||||
'MCHAT_CLEAN' => 'Cancella',
|
'MCHAT_CLEAN' => 'Cancella',
|
||||||
'MCHAT_CLEANED' => 'Tutti i messaggi sono stati rimossi',
|
'MCHAT_CLEANED' => 'Tutti i messaggi sono stati rimossi',
|
||||||
@@ -55,23 +54,23 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_DELITE' => 'Cancella',
|
'MCHAT_DELITE' => 'Cancella',
|
||||||
'MCHAT_EDIT' => 'Modifica',
|
'MCHAT_EDIT' => 'Modifica',
|
||||||
'MCHAT_EDITINFO' => 'Modifica il messaggio e clicca OK',
|
'MCHAT_EDITINFO' => 'Modifica il messaggio e clicca OK',
|
||||||
'MCHAT_ENABLE' => 'Spiacente, la Mini-Chat non è al momento disponibile',
|
'MCHAT_ENABLE' => 'Spiacente, la Mini-Chat non è al momento disponibile',
|
||||||
'MCHAT_ERROR' => 'Errore',
|
'MCHAT_ERROR' => 'Errore',
|
||||||
'MCHAT_FLOOD' => 'Non puoi inviare un altro messaggio così presto dopo ultimo',
|
'MCHAT_FLOOD' => 'Non puoi inviare un altro messaggio così presto dopo ultimo',
|
||||||
'MCHAT_FOE' => 'Questo messaggio è stato inviato da <strong>%1$s</strong> che è attualmente sulla tua lista da ignorare.',
|
'MCHAT_FOE' => 'Questo messaggio è stato inviato da <strong>%1$s</strong> che è attualmente sulla tua lista da ignorare.',
|
||||||
'MCHAT_HELP' => 'Regole mChat',
|
'MCHAT_HELP' => 'Regole mChat',
|
||||||
'MCHAT_HIDE_LIST' => 'Nascondi Lista',
|
'MCHAT_HIDE_LIST' => 'Nascondi Lista',
|
||||||
'MCHAT_HOUR' => 'ora ',
|
'MCHAT_HOUR' => 'ora ',
|
||||||
'MCHAT_HOURS' => 'ore',
|
'MCHAT_HOURS' => 'ore',
|
||||||
'MCHAT_IP' => 'IP whois per',
|
'MCHAT_IP' => 'IP whois per',
|
||||||
|
|
||||||
'MCHAT_MINUTE' => 'minuto ',
|
'MCHAT_MINUTE' => 'minuto ',
|
||||||
'MCHAT_MINUTES' => 'minuti ',
|
'MCHAT_MINUTES' => 'minuti ',
|
||||||
'MCHAT_MESS_LONG' => 'Il tuo messaggio è troppo lungo.\n Perfavore limita a %s caratteri',
|
'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_CUSTOM_PAGE' => 'La pagina mChat personalizzata non si attiva in questo momento!',
|
||||||
'MCHAT_NOACCESS' => 'Non hai il permesso di postare in mChat',
|
'MCHAT_NOACCESS' => 'Non hai il permesso di postare in mChat',
|
||||||
'MCHAT_NOACCESS_ARCHIVE' => 'Non hai il permesso di visualizzare questo archivio',
|
'MCHAT_NOACCESS_ARCHIVE' => 'Non hai il permesso di visualizzare questo archivio',
|
||||||
'MCHAT_NOJAVASCRIPT' => 'Il tuo browser non supporta JavaScript oppure JavaScript è disabilitato',
|
'MCHAT_NOJAVASCRIPT' => 'Il tuo browser non supporta JavaScript oppure JavaScript è disabilitato',
|
||||||
'MCHAT_NOMESSAGE' => 'Nessun messaggio',
|
'MCHAT_NOMESSAGE' => 'Nessun messaggio',
|
||||||
'MCHAT_NOMESSAGEINPUT' => 'Non hai inserito un messaggio',
|
'MCHAT_NOMESSAGEINPUT' => 'Non hai inserito un messaggio',
|
||||||
'MCHAT_NOSMILE' => 'Smile non trovato',
|
'MCHAT_NOSMILE' => 'Smile non trovato',
|
||||||
@@ -79,14 +78,14 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_NOT_INSTALLED' => 'mChat database voci mancanti.<br />Eseguire il %sinstaller%s per apportare le modifiche del database.',
|
'MCHAT_NOT_INSTALLED' => 'mChat database voci mancanti.<br />Eseguire il %sinstaller%s per apportare le modifiche del database.',
|
||||||
'MCHAT_OK' => 'OK',
|
'MCHAT_OK' => 'OK',
|
||||||
'MCHAT_PAUSE' => 'Pausa',
|
'MCHAT_PAUSE' => 'Pausa',
|
||||||
'MCHAT_LOAD' => 'Loading',
|
'MCHAT_LOAD' => 'Loading',
|
||||||
'MCHAT_PERMISSIONS' => 'Cambia permessi utente',
|
'MCHAT_PERMISSIONS' => 'Cambia permessi utente',
|
||||||
'MCHAT_REFRESHING' => 'Refresh...',
|
'MCHAT_REFRESHING' => 'Refresh...',
|
||||||
'MCHAT_REFRESH_NO' => 'Autoupdate è off',
|
'MCHAT_REFRESH_NO' => 'Autoupdate è off',
|
||||||
'MCHAT_REFRESH_YES' => 'Autoupdate ogni <strong>%d</strong> secondi',
|
'MCHAT_REFRESH_YES' => 'Autoupdate ogni <strong>%d</strong> secondi',
|
||||||
'MCHAT_RESPOND' => 'Rispondere',
|
'MCHAT_RESPOND' => 'Rispondere',
|
||||||
'MCHAT_RESET_QUESTION' => 'Cancellare area ingresso ?',
|
'MCHAT_RESET_QUESTION' => 'Cancellare area ingresso ?',
|
||||||
'MCHAT_SESSION_OUT' => 'Chat sessione scaduta',
|
'MCHAT_SESSION_OUT' => 'Chat sessione scaduta',
|
||||||
'MCHAT_SHOW_LIST' => 'Mostra lista',
|
'MCHAT_SHOW_LIST' => 'Mostra lista',
|
||||||
'MCHAT_SECOND' => 'secondo ',
|
'MCHAT_SECOND' => 'secondo ',
|
||||||
'MCHAT_SECONDS' => 'secondi ',
|
'MCHAT_SECONDS' => 'secondi ',
|
||||||
@@ -95,21 +94,20 @@ $lang = array_merge($lang, array(
|
|||||||
|
|
||||||
'MCHAT_TOTALMESSAGES' => 'Totale messaggi: <strong>%s</strong>',
|
'MCHAT_TOTALMESSAGES' => 'Totale messaggi: <strong>%s</strong>',
|
||||||
'MCHAT_USESOUND' => 'Usa suono ?',
|
'MCHAT_USESOUND' => 'Usa suono ?',
|
||||||
|
|
||||||
|
|
||||||
'MCHAT_ONLINE_USERS_TOTAL' => 'In totale ci sono <strong>%d</strong> utenti in chat ',
|
'MCHAT_ONLINE_USERS_TOTAL' => 'In totale ci sono <strong>%d</strong> utenti in chat ',
|
||||||
'MCHAT_ONLINE_USER_TOTAL' => 'In totale un <strong>%d</strong> utente in chat ',
|
'MCHAT_ONLINE_USER_TOTAL' => 'In totale un <strong>%d</strong> utente in chat ',
|
||||||
'MCHAT_NO_CHATTERS' => 'Nessuno sta chattando',
|
'MCHAT_NO_CHATTERS' => 'Nessuno sta chattando',
|
||||||
'MCHAT_ONLINE_EXPLAIN' => 'basato sugli utenti attivi negli ultimi %s',
|
'MCHAT_ONLINE_EXPLAIN' => 'basato sugli utenti attivi negli ultimi %s',
|
||||||
|
|
||||||
'WHO_IS_CHATTING' => 'Chi è in chat',
|
'WHO_IS_CHATTING' => 'Chi è in chat',
|
||||||
'WHO_IS_REFRESH_EXPLAIN' => 'Refresh ogni <strong>%d</strong> secondi',
|
'WHO_IS_REFRESH_EXPLAIN' => 'Refresh ogni <strong>%d</strong> secondi',
|
||||||
'MCHAT_NEW_TOPIC' => '<strong>Nuovo Topic</strong>',
|
'MCHAT_NEW_TOPIC' => '<strong>Nuovo Topic</strong>',
|
||||||
'MCHAT_NEW_REPLY' => '<strong>Nuova risposta</strong>',
|
'MCHAT_NEW_REPLY' => '<strong>Nuova risposta</strong>',
|
||||||
|
|
||||||
// UCP
|
// UCP
|
||||||
'UCP_PROFILE_MCHAT' => 'mChat Preferenze',
|
'UCP_PROFILE_MCHAT' => 'mChat Preferenze',
|
||||||
|
|
||||||
'DISPLAY_MCHAT' => 'Visualizza mChat in Index',
|
'DISPLAY_MCHAT' => 'Visualizza mChat in Index',
|
||||||
'SOUND_MCHAT' => 'Abilita suono mChat',
|
'SOUND_MCHAT' => 'Abilita suono mChat',
|
||||||
'DISPLAY_STATS_INDEX' => 'Visualizzare le statistiche di chi sta chattando a pagina index',
|
'DISPLAY_STATS_INDEX' => 'Visualizzare le statistiche di chi sta chattando a pagina index',
|
||||||
@@ -118,7 +116,7 @@ $lang = array_merge($lang, array(
|
|||||||
'CHAT_AREA' => 'Tipo di ingresso',
|
'CHAT_AREA' => 'Tipo di ingresso',
|
||||||
'CHAT_AREA_EXPLAIN' => 'Scegli il tipo di superficie da utilizzare per inserire la chat:<br />Area di testo o<br />area input',
|
'CHAT_AREA_EXPLAIN' => 'Scegli il tipo di superficie da utilizzare per inserire la chat:<br />Area di testo o<br />area input',
|
||||||
'INPUT_AREA' => 'Input area',
|
'INPUT_AREA' => 'Input area',
|
||||||
'TEXT_AREA' => 'Testo area',
|
'TEXT_AREA' => 'Testo area',
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_MCHAT_RULES_EXPLAIN' => 'Inserire le regole del forum qui. Ogni regola su una nuova linea.<br />Limite a 255 caratteri.<br /><strong>Questo messaggio può essere tradotto.</strong> (necessario modificare il file mchat_lang.php archiviare e leggere le istruzioni).',
|
'ACP_MCHAT_RULES_EXPLAIN' => 'Inserire le regole del forum qui. Ogni regola su una nuova linea.<br />Limite a 255 caratteri.<br /><strong>Questo messaggio può essere tradotto.</strong> (necessario modificare il file mchat_lang.php archiviare e leggere le istruzioni).',
|
||||||
'LOG_MCHAT_CONFIG_UPDATE' => '<strong>Aggiornamento configurazione mChat </strong>',
|
'LOG_MCHAT_CONFIG_UPDATE' => '<strong>Aggiornamento configurazione mChat </strong>',
|
||||||
@@ -128,7 +126,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_ENABLE' => 'Abilita Estensione mChat',
|
'MCHAT_ENABLE' => 'Abilita Estensione mChat',
|
||||||
'MCHAT_ENABLE_EXPLAIN' => 'Abilita o disabilita Mchat globalmente.',
|
'MCHAT_ENABLE_EXPLAIN' => 'Abilita o disabilita Mchat globalmente.',
|
||||||
'MCHAT_AVATARS' => 'Visualizza avatars',
|
'MCHAT_AVATARS' => 'Visualizza avatars',
|
||||||
'MCHAT_AVATARS_EXPLAIN' => 'Se impostato su Sì, verranno visualizzati gli avatar degli utenti ridimensionate',
|
'MCHAT_AVATARS_EXPLAIN' => 'Se impostato su Sì, verranno visualizzati gli avatar degli utenti ridimensionate',
|
||||||
'MCHAT_ON_INDEX' => 'mChat in Indice',
|
'MCHAT_ON_INDEX' => 'mChat in Indice',
|
||||||
'MCHAT_ON_INDEX_EXPLAIN' => 'Consentire la visualizzazione di mChat nella pagina indice.',
|
'MCHAT_ON_INDEX_EXPLAIN' => 'Consentire la visualizzazione di mChat nella pagina indice.',
|
||||||
'MCHAT_INDEX_HEIGHT' => 'Indice Altezza Pagina',
|
'MCHAT_INDEX_HEIGHT' => 'Indice Altezza Pagina',
|
||||||
@@ -142,7 +140,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_PRUNE' => 'Abilita Cancellazione',
|
'MCHAT_PRUNE' => 'Abilita Cancellazione',
|
||||||
'MCHAT_PRUNE_EXPLAIN' => 'Impostare su SI per abilitare la funzione cancellazione automatica.<br /><em>Si verifica solo se un utente visualizza le pagine personalizzate o di archivio</em>.',
|
'MCHAT_PRUNE_EXPLAIN' => 'Impostare su SI per abilitare la funzione cancellazione automatica.<br /><em>Si verifica solo se un utente visualizza le pagine personalizzate o di archivio</em>.',
|
||||||
'MCHAT_PRUNE_NUM' => 'Cancellazione numero',
|
'MCHAT_PRUNE_NUM' => 'Cancellazione numero',
|
||||||
'MCHAT_PRUNE_NUM_EXPLAIN' => 'Il numero di messaggi da mantenere in chat.',
|
'MCHAT_PRUNE_NUM_EXPLAIN' => 'Il numero di messaggi da mantenere in chat.',
|
||||||
'MCHAT_MESSAGE_LIMIT' => 'Messaggi limite',
|
'MCHAT_MESSAGE_LIMIT' => 'Messaggi limite',
|
||||||
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'Il numero massimo di messaggi da visualizzare nella chat.<br /><em>Recommandati da 10 a 30</em>.',
|
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'Il numero massimo di messaggi da visualizzare nella chat.<br /><em>Recommandati da 10 a 30</em>.',
|
||||||
'MCHAT_MESSAGE_NUM' => 'Limite messaggi di pagina in Indice',
|
'MCHAT_MESSAGE_NUM' => 'Limite messaggi di pagina in Indice',
|
||||||
@@ -183,7 +181,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_MESSAGES' => 'Impostazioni messaggi',
|
'MCHAT_MESSAGES' => 'Impostazioni messaggi',
|
||||||
'MCHAT_PAUSE_ON_INPUT' => 'Pausa ingresso',
|
'MCHAT_PAUSE_ON_INPUT' => 'Pausa ingresso',
|
||||||
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Se impostato Sì, la chat non verrà aggiornata automaticamente se un utente posta in un messaggio in area di immissione',
|
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Se impostato Sì, la chat non verrà aggiornata automaticamente se un utente posta in un messaggio in area di immissione',
|
||||||
|
|
||||||
// error reporting
|
// error reporting
|
||||||
'MCHAT_NEEDS_UPDATING' => 'Questa estensione necessita di un aggiornamento. Si prega di visitare il sito fondatore per eseguire il programma di installazione.',
|
'MCHAT_NEEDS_UPDATING' => 'Questa estensione necessita di un aggiornamento. Si prega di visitare il sito fondatore per eseguire il programma di installazione.',
|
||||||
'MCHAT_WRONG_VERSION' => 'È installata una versione errata di questa estensione. Perfavore vai al sito %sinstaller%s per la nuova versione.',
|
'MCHAT_WRONG_VERSION' => 'È installata una versione errata di questa estensione. Perfavore vai al sito %sinstaller%s per la nuova versione.',
|
||||||
@@ -203,24 +201,24 @@ $lang = array_merge($lang, array(
|
|||||||
'TOO_SMALL_MAX_WORDS_LNGTH' => 'Il valore della lunghezza massima delle parole è troppo piccolo.',
|
'TOO_SMALL_MAX_WORDS_LNGTH' => 'Il valore della lunghezza massima delle parole è troppo piccolo.',
|
||||||
'TOO_LARGE_MAX_WORDS_LNGTH' => 'Il valore della lunghezza massima delle parole è troppo alto.',
|
'TOO_LARGE_MAX_WORDS_LNGTH' => 'Il valore della lunghezza massima delle parole è troppo alto.',
|
||||||
'TOO_SMALL_WHOIS_REFRESH' => 'Il valore di aggiornamento whois è troppo piccolo.',
|
'TOO_SMALL_WHOIS_REFRESH' => 'Il valore di aggiornamento whois è troppo piccolo.',
|
||||||
'TOO_LARGE_WHOIS_REFRESH' => 'Il valore di aggiornamento whois è troppo alto.',
|
'TOO_LARGE_WHOIS_REFRESH' => 'Il valore di aggiornamento whois è troppo alto.',
|
||||||
'TOO_SMALL_INDEX_HEIGHT' => 'Il valore di altezza indice è troppo piccolo.',
|
'TOO_SMALL_INDEX_HEIGHT' => 'Il valore di altezza indice è troppo piccolo.',
|
||||||
'TOO_LARGE_INDEX_HEIGHT' => 'Il valore di altezza indice è troppo alto.',
|
'TOO_LARGE_INDEX_HEIGHT' => 'Il valore di altezza indice è troppo alto.',
|
||||||
'TOO_SMALL_CUSTOM_HEIGHT' => 'Il valore di altezza personalizzato è troppo piccolo.',
|
'TOO_SMALL_CUSTOM_HEIGHT' => 'Il valore di altezza personalizzato è troppo piccolo.',
|
||||||
'TOO_LARGE_CUSTOM_HEIGHT' => 'Il valore di altezza personalizzato è troppo alto.',
|
'TOO_LARGE_CUSTOM_HEIGHT' => 'Il valore di altezza personalizzato è troppo alto.',
|
||||||
'TOO_SHORT_STATIC_MESSAGE' => 'Il valore di messaggio statico è troppo corto.',
|
'TOO_SHORT_STATIC_MESSAGE' => 'Il valore di messaggio statico è troppo corto.',
|
||||||
'TOO_LONG_STATIC_MESSAGE' => 'Il valore di messaggio statico è troppo lungo.',
|
'TOO_LONG_STATIC_MESSAGE' => 'Il valore di messaggio statico è troppo lungo.',
|
||||||
'TOO_SMALL_TIMEOUT' => 'Il valore di timeout utente è troppo piccolo.',
|
'TOO_SMALL_TIMEOUT' => 'Il valore di timeout utente è troppo piccolo.',
|
||||||
'TOO_LARGE_TIMEOUT' => 'Il valore di timeout utente è troppo alto.',
|
'TOO_LARGE_TIMEOUT' => 'Il valore di timeout utente è troppo alto.',
|
||||||
'UCP_CAT_MCHAT' => 'mChat',
|
'UCP_CAT_MCHAT' => 'mChat',
|
||||||
'UCP_MCHAT_CONFIG' => 'mChat', //Preferences
|
'UCP_MCHAT_CONFIG' => 'mChat', //Preferences
|
||||||
'LOG_MCHAT_TABLE_PRUNED' => 'mChat tabelle cancellate',
|
'LOG_MCHAT_TABLE_PRUNED' => 'mChat tabelle cancellate',
|
||||||
'ACP_USER_MCHAT' => 'mChat Opzioni',
|
'ACP_USER_MCHAT' => 'mChat Opzioni',
|
||||||
'LOG_DELETED_MCHAT' => '<strong>Cancella messaggi mChat</strong><br />» %1$s',
|
'LOG_DELETED_MCHAT' => '<strong>Cancella messaggi mChat</strong><br />» %1$s',
|
||||||
'LOG_EDITED_MCHAT' => '<strong>Modifica messaggi mChat</strong><br />» %1$s',
|
'LOG_EDITED_MCHAT' => '<strong>Modifica messaggi mChat</strong><br />» %1$s',
|
||||||
'MCHAT_MESSAGE_LNGTH_EXPLAIN' => 'Caratteri: <span class="charsLeft error"><strong>%d</strong></span>',
|
'MCHAT_MESSAGE_LNGTH_EXPLAIN' => 'Caratteri: <span class="charsLeft error"><strong>%d</strong></span>',
|
||||||
'MCHAT_TOP_POSTERS' => 'Miglior Spammer',
|
'MCHAT_TOP_POSTERS' => 'Miglior Spammer',
|
||||||
'MCHAT_NEW_CHAT' => 'Nuovo messaggio in Chat !',
|
'MCHAT_NEW_CHAT' => 'Nuovo messaggio in Chat !',
|
||||||
'FONT_COLOR' => 'Font colore',
|
'FONT_COLOR' => 'Font colore',
|
||||||
'FONT_COLOR_HIDE' => 'Nascondi colore font',
|
'FONT_COLOR_HIDE' => 'Nascondi colore font',
|
||||||
'FONT_HUGE' => 'Enorme',
|
'FONT_HUGE' => 'Enorme',
|
||||||
@@ -229,7 +227,7 @@ $lang = array_merge($lang, array(
|
|||||||
'FONT_SIZE' => 'Grandezza Font',
|
'FONT_SIZE' => 'Grandezza Font',
|
||||||
'FONT_SMALL' => 'Piccolo',
|
'FONT_SMALL' => 'Piccolo',
|
||||||
'FONT_TINY' => 'Molto Piccolo',
|
'FONT_TINY' => 'Molto Piccolo',
|
||||||
'MCHAT_SEND_PM' => 'Invia messaggio privato',
|
'MCHAT_SEND_PM' => 'Invia messaggio privato',
|
||||||
'MCHAT_PM' => '(PM)',
|
'MCHAT_PM' => '(PM)',
|
||||||
'MORE_SMILIES' => 'Altre Smile',
|
'MORE_SMILIES' => 'Altre Smile',
|
||||||
));
|
));
|
||||||
@@ -31,7 +31,6 @@ if (empty($lang) || !is_array($lang))
|
|||||||
// Some characters for use
|
// Some characters for use
|
||||||
// ’ » “ ” …
|
// ’ » “ ” …
|
||||||
|
|
||||||
|
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
|
|
||||||
// UMIL stuff
|
// UMIL stuff
|
||||||
@@ -56,7 +55,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_ENABLE' => 'Abilita mChat Estensione',
|
'MCHAT_ENABLE' => 'Abilita mChat Estensione',
|
||||||
'MCHAT_ENABLE_EXPLAIN' => 'Abilita o disabilita questa estensione globalmente.',
|
'MCHAT_ENABLE_EXPLAIN' => 'Abilita o disabilita questa estensione globalmente.',
|
||||||
'MCHAT_AVATARS' => 'Visualizza avatar',
|
'MCHAT_AVATARS' => 'Visualizza avatar',
|
||||||
'MCHAT_AVATARS_EXPLAIN' => 'Se impostato su Sì, verranno visualizzati gli avatar degli utenti ridimensionate',
|
'MCHAT_AVATARS_EXPLAIN' => 'Se impostato su Sì, verranno visualizzati gli avatar degli utenti ridimensionate',
|
||||||
'MCHAT_ON_INDEX' => 'mChat in indice',
|
'MCHAT_ON_INDEX' => 'mChat in indice',
|
||||||
'MCHAT_ON_INDEX_EXPLAIN' => 'Consentire la visualizzazione di mChat nella pagina indice.',
|
'MCHAT_ON_INDEX_EXPLAIN' => 'Consentire la visualizzazione di mChat nella pagina indice.',
|
||||||
'MCHAT_INDEX_HEIGHT' => 'Indice Pagina Altezza',
|
'MCHAT_INDEX_HEIGHT' => 'Indice Pagina Altezza',
|
||||||
@@ -70,7 +69,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_PRUNE' => 'Abilita cancellazione automatica',
|
'MCHAT_PRUNE' => 'Abilita cancellazione automatica',
|
||||||
'MCHAT_PRUNE_EXPLAIN' => 'Impostare su SI per abilitare la funzione di cancellazione automatica.<br /><em>Si verifica solo se un utente visualizza le pagine personalizzate o di archivio</em>.',
|
'MCHAT_PRUNE_EXPLAIN' => 'Impostare su SI per abilitare la funzione di cancellazione automatica.<br /><em>Si verifica solo se un utente visualizza le pagine personalizzate o di archivio</em>.',
|
||||||
'MCHAT_PRUNE_NUM' => 'Numero cancellazione automatica',
|
'MCHAT_PRUNE_NUM' => 'Numero cancellazione automatica',
|
||||||
'MCHAT_PRUNE_NUM_EXPLAIN' => 'Il numero di messaggi da mantenere in chat.',
|
'MCHAT_PRUNE_NUM_EXPLAIN' => 'Il numero di messaggi da mantenere in chat.',
|
||||||
'MCHAT_MESSAGE_LIMIT' => 'Messaggi limite',
|
'MCHAT_MESSAGE_LIMIT' => 'Messaggi limite',
|
||||||
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'Il numero massimo di messaggi da visualizzare in chat.<br /><em>Recommandato da 10 a 30</em>.',
|
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'Il numero massimo di messaggi da visualizzare in chat.<br /><em>Recommandato da 10 a 30</em>.',
|
||||||
'MCHAT_MESSAGE_NUM' => 'Limite messaggio di pagina Indice',
|
'MCHAT_MESSAGE_NUM' => 'Limite messaggio di pagina Indice',
|
||||||
@@ -111,7 +110,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_MESSAGES' => 'Opzioni Messaggi',
|
'MCHAT_MESSAGES' => 'Opzioni Messaggi',
|
||||||
'MCHAT_PAUSE_ON_INPUT' => 'Pausa in ingresso',
|
'MCHAT_PAUSE_ON_INPUT' => 'Pausa in ingresso',
|
||||||
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Se impostato Sì, allora la chat non verrà aggiornata automaticamente se un utente inserisce un messaggio in area di immissione',
|
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Se impostato Sì, allora la chat non verrà aggiornata automaticamente se un utente inserisce un messaggio in area di immissione',
|
||||||
|
|
||||||
// error reporting
|
// error reporting
|
||||||
'MCHAT_NEEDS_UPDATING' => 'Questa estensione mChat necessita di un aggiornamento. Si prega di visitare il fondatore per eseguire il programma di installazione.',
|
'MCHAT_NEEDS_UPDATING' => 'Questa estensione mChat necessita di un aggiornamento. Si prega di visitare il fondatore per eseguire il programma di installazione.',
|
||||||
'MCHAT_WRONG_VERSION' => 'È installata una versione errata di questa estensione. Eseguire il %sinstaller%s per la nuova versione.',
|
'MCHAT_WRONG_VERSION' => 'È installata una versione errata di questa estensione. Eseguire il %sinstaller%s per la nuova versione.',
|
||||||
@@ -131,16 +130,16 @@ $lang = array_merge($lang, array(
|
|||||||
'TOO_SMALL_MAX_WORDS_LNGTH' => 'Il valore della lunghezza massima delle parole è troppo piccolo.',
|
'TOO_SMALL_MAX_WORDS_LNGTH' => 'Il valore della lunghezza massima delle parole è troppo piccolo.',
|
||||||
'TOO_LARGE_MAX_WORDS_LNGTH' => 'Il valore della lunghezza massima delle parole è troppo grande.',
|
'TOO_LARGE_MAX_WORDS_LNGTH' => 'Il valore della lunghezza massima delle parole è troppo grande.',
|
||||||
'TOO_SMALL_WHOIS_REFRESH' => 'Il valore di aggiornamento whois è troppo piccolo.',
|
'TOO_SMALL_WHOIS_REFRESH' => 'Il valore di aggiornamento whois è troppo piccolo.',
|
||||||
'TOO_LARGE_WHOIS_REFRESH' => 'Il valore di aggiornamento whois è troppo grande.',
|
'TOO_LARGE_WHOIS_REFRESH' => 'Il valore di aggiornamento whois è troppo grande.',
|
||||||
'TOO_SMALL_INDEX_HEIGHT' => 'Il valore di altezza indice è troppo piccolo.',
|
'TOO_SMALL_INDEX_HEIGHT' => 'Il valore di altezza indice è troppo piccolo.',
|
||||||
'TOO_LARGE_INDEX_HEIGHT' => 'Il valore di altezza indice è troppo grande.',
|
'TOO_LARGE_INDEX_HEIGHT' => 'Il valore di altezza indice è troppo grande.',
|
||||||
'TOO_SMALL_CUSTOM_HEIGHT' => 'Il valore di altezza personalizzato è troppo piccolo.',
|
'TOO_SMALL_CUSTOM_HEIGHT' => 'Il valore di altezza personalizzato è troppo piccolo.',
|
||||||
'TOO_LARGE_CUSTOM_HEIGHT' => 'Il valore di altezza personalizzato è troppo grande.',
|
'TOO_LARGE_CUSTOM_HEIGHT' => 'Il valore di altezza personalizzato è troppo grande.',
|
||||||
'TOO_SHORT_STATIC_MESSAGE' => 'Il valore di messaggio statico è troppo corto.',
|
'TOO_SHORT_STATIC_MESSAGE' => 'Il valore di messaggio statico è troppo corto.',
|
||||||
'TOO_LONG_STATIC_MESSAGE' => 'Il valore di messaggio statico è troppo grande.',
|
'TOO_LONG_STATIC_MESSAGE' => 'Il valore di messaggio statico è troppo grande.',
|
||||||
'TOO_SMALL_TIMEOUT' => 'Il valore di timeout utente è troppo piccolo.',
|
'TOO_SMALL_TIMEOUT' => 'Il valore di timeout utente è troppo piccolo.',
|
||||||
'TOO_LARGE_TIMEOUT' => 'Il valore di timeout utente è troppo grande.',
|
'TOO_LARGE_TIMEOUT' => 'Il valore di timeout utente è troppo grande.',
|
||||||
|
|
||||||
// User perms
|
// User perms
|
||||||
'ACL_U_MCHAT_USE' => 'Puoi usare mchat',
|
'ACL_U_MCHAT_USE' => 'Puoi usare mchat',
|
||||||
'ACL_U_MCHAT_VIEW' => 'Puoi vedere mChat mchat',
|
'ACL_U_MCHAT_VIEW' => 'Puoi vedere mChat mchat',
|
||||||
@@ -155,5 +154,5 @@ $lang = array_merge($lang, array(
|
|||||||
|
|
||||||
// Admin perms
|
// Admin perms
|
||||||
'ACL_A_MCHAT' => array('lang' => 'Puoi modificare impostazioni mChat', 'cat' => 'permessi'), // Using a phpBB category here
|
'ACL_A_MCHAT' => array('lang' => 'Puoi modificare impostazioni mChat', 'cat' => 'permessi'), // Using a phpBB category here
|
||||||
|
|
||||||
));
|
));
|
||||||
|
|||||||
@@ -1,235 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @package phpBB Extension - mChat
|
|
||||||
* @copyright (c) 2015 dmzx - http://www.dmzx-web.net
|
|
||||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* DO NOT CHANGE!
|
|
||||||
*/
|
|
||||||
if (!defined('IN_PHPBB'))
|
|
||||||
{
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
|
|
||||||
if (empty($lang) || !is_array($lang))
|
|
||||||
{
|
|
||||||
$lang = array();
|
|
||||||
}
|
|
||||||
|
|
||||||
// DEVELOPERS PLEASE NOTE
|
|
||||||
//
|
|
||||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
|
||||||
//
|
|
||||||
// Placeholders can now contain order information, e.g. instead of
|
|
||||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
|
||||||
// translators to re-order the output of data while ensuring it remains correct
|
|
||||||
//
|
|
||||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
|
||||||
// equally where a string contains only two placeholders which are used to wrap text
|
|
||||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
|
||||||
|
|
||||||
// Adding new category
|
|
||||||
$lang['permission_cat']['mchat'] = 'mChat';
|
|
||||||
|
|
||||||
// Adding the permissions
|
|
||||||
$lang = array_merge($lang, array(
|
|
||||||
|
|
||||||
'MCHAT_TITLE' => 'Mini-Chat',
|
|
||||||
'MCHAT_ADD' => 'Versturen',
|
|
||||||
'MCHAT_ANNOUNCEMENT' => 'Aankondiging',
|
|
||||||
'MCHAT_ARCHIVE' => 'Archief',
|
|
||||||
'MCHAT_ARCHIVE_PAGE' => 'Mini-Chat Archief',
|
|
||||||
'MCHAT_BBCODES' => 'BBCodes',
|
|
||||||
'MCHAT_CLEAN' => 'Opschonen',
|
|
||||||
'MCHAT_CLEANED' => 'Alle berichten zijn succesvol verwijderd',
|
|
||||||
'MCHAT_CLEAR_INPUT' => 'Reset',
|
|
||||||
'MCHAT_COPYRIGHT' => '<a href="http://rmcgirr83.org">RMcGirr83</a> © <a href="http://www.dmzx-web.net" title="www.dmzx-web.net">dmzx</a>',
|
|
||||||
'MCHAT_CUSTOM_BBCODES' => 'gebruik BBCodes',
|
|
||||||
'MCHAT_DELALLMESS' => 'Verwijder alle berichten?',
|
|
||||||
'MCHAT_DELCONFIRM' => 'Ben je akkoord om te verwijderen?',
|
|
||||||
'MCHAT_DELITE' => 'Verwijder',
|
|
||||||
'MCHAT_EDIT' => 'Bewerk',
|
|
||||||
'MCHAT_EDITINFO' => 'Bewerk het bericht en klik op OKE',
|
|
||||||
'MCHAT_ENABLE' => 'Sorry, de Mini-Chat is momenteel niet beschikbaar',
|
|
||||||
'MCHAT_ERROR' => 'Fout',
|
|
||||||
'MCHAT_FLOOD' => 'Je kunt niet zo snel een bericht plaatsen, na jouw laatste bericht !!',
|
|
||||||
'MCHAT_FOE' => 'Dit bericht was gemaakt door <strong>%1$s</strong> die momenteel op jouw negeerlijst staat.',
|
|
||||||
'MCHAT_HELP' => 'mChat Regels',
|
|
||||||
'MCHAT_HIDE_LIST' => 'Lijst verbergen',
|
|
||||||
'MCHAT_HOUR' => 'uur ',
|
|
||||||
'MCHAT_HOURS' => 'uren',
|
|
||||||
'MCHAT_IP' => 'IP whois voor',
|
|
||||||
|
|
||||||
'MCHAT_MINUTE' => 'minuut ',
|
|
||||||
'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_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',
|
|
||||||
'MCHAT_NOMESSAGE' => 'Geen berichten',
|
|
||||||
'MCHAT_NOMESSAGEINPUT' => 'Je hebt geen bericht ingevoerd',
|
|
||||||
'MCHAT_NOSMILE' => 'Smilies zijn niet gevonden',
|
|
||||||
'MCHAT_NOTINSTALLED_USER' => 'mChat is niet geinstalleerd. Neem contact op met de beheerder van het forum.',
|
|
||||||
'MCHAT_NOT_INSTALLED' => 'mChat database invoeringen ontbreken.<br />voer a.u.b. de %sinstaller%s om de database veranderingen te maken voor deze modificatie.',
|
|
||||||
'MCHAT_OK' => 'OK',
|
|
||||||
'MCHAT_PAUSE' => 'Pauze',
|
|
||||||
'MCHAT_LOAD' => 'Laden',
|
|
||||||
'MCHAT_PERMISSIONS' => 'Verander gebruikers permissie',
|
|
||||||
'MCHAT_REFRESHING' => 'Verversen...',
|
|
||||||
'MCHAT_REFRESH_NO' => 'Verversen is uit',
|
|
||||||
'MCHAT_REFRESH_YES' => 'Ververs iedere <strong>%d</strong> seconden',
|
|
||||||
'MCHAT_RESPOND' => 'Reageer naar gebruiker',
|
|
||||||
'MCHAT_RESET_QUESTION' => 'Schoon het ingave veld op?',
|
|
||||||
'MCHAT_SESSION_OUT' => 'Chat sessie is verlopen',
|
|
||||||
'MCHAT_SHOW_LIST' => 'Toon lijst',
|
|
||||||
'MCHAT_SECOND' => 'seconde ',
|
|
||||||
'MCHAT_SECONDS' => 'seconden ',
|
|
||||||
'MCHAT_SESSION_ENDS' => 'Chat sessie eindigdt in',
|
|
||||||
'MCHAT_SMILES' => 'Smilies',
|
|
||||||
|
|
||||||
'MCHAT_TOTALMESSAGES' => 'Total berichten: <strong>%s</strong>',
|
|
||||||
'MCHAT_USESOUND' => 'Gebruik geluid?',
|
|
||||||
|
|
||||||
|
|
||||||
'MCHAT_ONLINE_USERS_TOTAL' => 'In totaal zijn er <strong>%d</strong> gebruikers aan het chatten ',
|
|
||||||
'MCHAT_ONLINE_USER_TOTAL' => 'In total is er <strong>%d</strong> gebruiker aan het chatten ',
|
|
||||||
'MCHAT_NO_CHATTERS' => 'NNiemand is aan het chatten',
|
|
||||||
'MCHAT_ONLINE_EXPLAIN' => 'gebasserd op actieve gebruikers over de afgelopen %s',
|
|
||||||
|
|
||||||
'WHO_IS_CHATTING' => 'Wie is aan het chatten',
|
|
||||||
'WHO_IS_REFRESH_EXPLAIN' => 'ververst iedere <strong>%d</strong> seconden',
|
|
||||||
'MCHAT_NEW_TOPIC' => '<strong>Nieuw Topic</strong>',
|
|
||||||
'MCHAT_NEW_REPLY' => '<strong>Nieuw antwoord</strong>',
|
|
||||||
|
|
||||||
// UCP
|
|
||||||
'UCP_PROFILE_MCHAT' => 'mChat voorkeuren',
|
|
||||||
|
|
||||||
'DISPLAY_MCHAT' => 'Toon mChat op de index pagina',
|
|
||||||
'SOUND_MCHAT' => 'Inschakelen geluid mChat',
|
|
||||||
'DISPLAY_STATS_INDEX' => 'Toon de wie is er aan het chatten op de index pagina',
|
|
||||||
'DISPLAY_NEW_TOPICS' => 'Toon nieuwe topics in de chat',
|
|
||||||
'DISPLAY_AVATARS' => 'Toon avatars in de chat',
|
|
||||||
'CHAT_AREA' => 'Invoer type',
|
|
||||||
'CHAT_AREA_EXPLAIN' => 'Kies welke type te gebruiken om een chat in te voeren:<br />een tekst gebied of<br />een invoerveld',
|
|
||||||
'INPUT_AREA' => 'Invoerveld',
|
|
||||||
'TEXT_AREA' => 'Tekst gebied',
|
|
||||||
// ACP
|
|
||||||
'ACP_MCHAT_RULES_EXPLAIN' => 'Verander hier de regels van het forum. Elke regel op een nieuwe lijn.<br />Je kunt maximaal 255 karakters gebruiken.<br /><strong>Deze boodschap kan worden vertaald..</strong> (Je moet de mchat_lang.php file aanpassen en lees de instructies).',
|
|
||||||
'LOG_MCHAT_CONFIG_UPDATE' => '<strong>Update mChat configuratie </strong>',
|
|
||||||
'MCHAT_CONFIG_SAVED' => 'Mini Chat configuratie is bijgewerkt',
|
|
||||||
'MCHAT_TITLE' => 'Mini-Chat',
|
|
||||||
'MCHAT_VERSION' => 'Versie:',
|
|
||||||
'MCHAT_ENABLE' => 'Inschakelen mChat Extensie',
|
|
||||||
'MCHAT_ENABLE_EXPLAIN' => 'In of Uitschakelen van deze extensie.',
|
|
||||||
'MCHAT_AVATARS' => 'Toon avatars',
|
|
||||||
'MCHAT_AVATARS_EXPLAIN' => 'Als je ja hebt aangevinkt, verkleinde gebruikers avatars zullen worden getoond',
|
|
||||||
'MCHAT_ON_INDEX' => 'mChat Op de Index pagina',
|
|
||||||
'MCHAT_ON_INDEX_EXPLAIN' => 'Toestaan om de mChat te tonen op de Index pagina.',
|
|
||||||
'MCHAT_INDEX_HEIGHT' => 'Index pagina hoogte',
|
|
||||||
'MCHAT_INDEX_HEIGHT_EXPLAIN' => 'De hoogte van de mChat box op de Index pagina uitgedrukt in pixels, kun je hier aanpassen.<br /><em>Je bent gelimiteerd tussen de 50 en 1000</em>.',
|
|
||||||
'MCHAT_LOCATION' => 'Locatie op het Forum',
|
|
||||||
'MCHAT_LOCATION_EXPLAIN' => 'Kies de locatie van de mChat op de Index pagina.',
|
|
||||||
'MCHAT_TOP_OF_FORUM' => 'Bovenaan op het Forum',
|
|
||||||
'MCHAT_BOTTOM_OF_FORUM' => 'Onderaan op het Forum',
|
|
||||||
'MCHAT_REFRESH' => 'Vernieuwen',
|
|
||||||
'MCHAT_REFRESH_EXPLAIN' => 'Aantal seconden dat de mChat automatische ververst wordt.<br /><em>Je bent gelimiteerd tussen 5 en 60 seconden</em>.',
|
|
||||||
'MCHAT_PRUNE' => 'Inschakelen opschonen van berichten',
|
|
||||||
'MCHAT_PRUNE_EXPLAIN' => 'Vink Ja aan als je het opschonen van berichten wilt inschakelen.<br /><em>Werkt alleen als een gebruiker de gemaakte of archief pagina bekijkt</em>.',
|
|
||||||
'MCHAT_PRUNE_NUM' => 'Het aantal berichten welke bewaard moeten worden in de mChat',
|
|
||||||
'MCHAT_PRUNE_NUM_EXPLAIN' => 'Geef hier het aantal in, van de berichten welke je bewaard wilt houden in de mChat.',
|
|
||||||
'MCHAT_MESSAGE_LIMIT' => 'Berichten limiet',
|
|
||||||
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'Maximaal aantal berichten, welke getoond worden in de mChat.<br /><em>Aanbevolen is tussen de 10 en 30 berichten</em>.',
|
|
||||||
'MCHAT_MESSAGE_NUM' => 'Index pagina berichten limiet',
|
|
||||||
'MCHAT_MESSAGE_NUM_EXPLAIN' => 'Het maximale aantal berichten, welke getoond worden in de mChat op de Index pagina.<br /><em>Aanbevolen is tussen de 10 en 50 berichten</em>.',
|
|
||||||
'MCHAT_ARCHIVE_LIMIT' => 'Archief limiet',
|
|
||||||
'MCHAT_ARCHIVE_LIMIT_EXPLAIN' => 'Het maximale aantal berichten, welke getoond worden in de mChat op de Archief pagina.<br /><em>Aanbevolen is tussen de 25 en 50 berichten</em>.',
|
|
||||||
'MCHAT_FLOOD_TIME' => 'Wachttijd plaatsen volgende bericht, na reeds geplaatst bericht',
|
|
||||||
'MCHAT_FLOOD_TIME_EXPLAIN' => 'et aantal seconden dat een gebruiker moet wachten om een volgend bericht te plaatsen in de mChat.<br /><em>Aanbevolen is tussen de 5 en 30 seconden, 0 is uitschakelen van deze functie</em>.',
|
|
||||||
'MCHAT_MAX_MESSAGE_LENGTH' => 'Maximale berichten lengte',
|
|
||||||
'MCHAT_MAX_MESSAGE_LENGTH_EXPLAIN' => 'aximaal toegestane aantal karakters per gepost bericht.<br /><em>aanbevolen is tussen de 100 en 500 karakters, 0 is uitschakelen van deze functie</em>.',
|
|
||||||
'MCHAT_CUSTOM_PAGE' => 'Aangepaste pagina',
|
|
||||||
'MCHAT_CUSTOM_PAGE_EXPLAIN' => 'Toestaan om gebruik te maken van de mChat op de aangepaste pagina',
|
|
||||||
'MCHAT_CUSTOM_HEIGHT' => 'Aangepaste pagina hoogte',
|
|
||||||
'MCHAT_CUSTOM_HEIGHT_EXPLAIN' => 'De hoogte van de mChat box in pixels op de aangepaste mChat pagina.<br /><em>Je bent gelimiteerd tussen de 50 en 1000 pixels</em>.',
|
|
||||||
'MCHAT_DATE_FORMAT' => 'Datum weergave',
|
|
||||||
'MCHAT_DATE_FORMAT_EXPLAIN' => 'De gebruikte syntax is identiek aan de PHP <a href="http://www.php.net/date">date()</a> functie.',
|
|
||||||
'MCHAT_CUSTOM_DATEFORMAT' => 'Aangepast…',
|
|
||||||
'MCHAT_WHOIS' => 'Whois',
|
|
||||||
'MCHAT_WHOIS_EXPLAIN' => 'Toestaan om gebruikers te laten zien die gebruik maken van de mChat',
|
|
||||||
'MCHAT_WHOIS_REFRESH' => 'Whois vernieuwen',
|
|
||||||
'MCHAT_WHOIS_REFRESH_EXPLAIN' => 'Aantal seconden voordat whois statistieken worden vernieuwd.<br /><em>Je bent gelimiteerd tussen de 30 en 300 seconden</em>.',
|
|
||||||
'MCHAT_BBCODES_DISALLOWED' => 'Niet toegestane bbcodes',
|
|
||||||
'MCHAT_BBCODES_DISALLOWED_EXPLAIN' => 'Hier kun je de bbcodes plaatsen, die <strong>niet</strong>zijn toegstaan<strong>not</strong> om te gebruiken in een bericht.<br />Aparte BBCodes met een verticale balk , bijvoorbeeld: <br />b|i|u|code|list|list=|flash|quote and/or a %scustom bbcode tag name%s',
|
|
||||||
'MCHAT_STATIC_MESSAGE' => 'Statisch bericht',
|
|
||||||
'MCHAT_STATIC_MESSAGE_EXPLAIN' => 'Hier kan je een statisch bericht definieren, welke getoond wordt aan de gebruikers van de mChat.<br />Stel 0 in om de vertoning uit te schakelen. Je bent gelimiteerd tot 255 karakters.<br /><strong>Deze boodschap kan worden vertaald..</strong> (Je moet de mchat_lang.php file aanpassen en lees de instructies).',
|
|
||||||
'MCHAT_USER_TIMEOUT' => 'Gebruiker timeout',
|
|
||||||
'MCHAT_USER_TIMEOUT_EXPLAIN' => 'Stel hier de seconden in, wanneer de sessie van een gebruiker eindigd. Stel 0 om de timeout uit te schakelen.<br /><em>Je bent gelimiteerd tot de %sforum instellingen voor de chat sessie, welke momenteel is ingesteld op %s seconden</em>',
|
|
||||||
'MCHAT_OVERRIDE_SMILIE_LIMIT' => 'Aantal smilie limiet',
|
|
||||||
'MCHAT_OVERRIDE_SMILIE_LIMIT_EXPLAIN' => 'SStel hier het aantal smilie limiet in voor de chat berichten',
|
|
||||||
'MCHAT_OVERRIDE_MIN_POST_CHARS' => 'Minimum karakters limit',
|
|
||||||
'MCHAT_OVERRIDE_MIN_POST_CHARS_EXPLAIN' => 'Stel ja in om het aantal minimum karakters in te stellen voor een chat bericht',
|
|
||||||
'MCHAT_NEW_POSTS' => 'Toon nieuwe berichten',
|
|
||||||
'MCHAT_NEW_POSTS_EXPLAIN' => 'Stel ja in om nieuwe berichten te plaatsen in een chat bericht<br /><strong>U moet de add-on voor de nieuwe post meldingen geïnstalleerd hebben</strong> (within the contrib directory of the extension download).',
|
|
||||||
'MCHAT_MAIN' => 'Hoofd Configuratie',
|
|
||||||
'MCHAT_STATS' => 'Wie is aan het chatten',
|
|
||||||
'MCHAT_STATS_INDEX' => 'Statistieken op de Index pagina',
|
|
||||||
'MCHAT_STATS_INDEX_EXPLAIN' => 'Laat zien wie aan het chatten is in de statistieken sectie op het forum',
|
|
||||||
'MCHAT_MESSAGES' => 'Berichten instellingen',
|
|
||||||
'MCHAT_PAUSE_ON_INPUT' => 'Pauze op eventuele inactiviteit van mChat',
|
|
||||||
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Stel je ja in, dan wordt mChat niet automatisch vernieuwd, todat een gebruiker een bericht plaatst in mChat',
|
|
||||||
|
|
||||||
// error reporting
|
|
||||||
'MCHAT_NEEDS_UPDATING' => 'De mChat extensie moet worden bijgewerkt. Neem contact op met de forum beheerder om de mChat bij te laten werken.',
|
|
||||||
'MCHAT_WRONG_VERSION' => 'De verkeerde versie van de extensie is geinstalleerd. Gebruik a.u.b. de %sinstaller%s van de nieuwe versie voor eventuele wijzigingen.',
|
|
||||||
'WARNING' => 'Waarschuwing',
|
|
||||||
'TOO_LONG_DATE' => 'De datum weergave die je hebt ingegeven is te lang.',
|
|
||||||
'TOO_SHORT_DATE' => 'De datum weergave die je hebt ingegeven is te kort.',
|
|
||||||
'TOO_SMALL_REFRESH' => 'De waarde voor het vernieuwen van de pagina is te klein.',
|
|
||||||
'TOO_LARGE_REFRESH' => 'De waarde voor het vernieuwen van de pagina is te groot.',
|
|
||||||
'TOO_SMALL_MESSAGE_LIMIT' => 'De waarde van de berichten limiet is te klein.',
|
|
||||||
'TOO_LARGE_MESSAGE_LIMIT' => 'De waarde van de berichten limiet is te groot.',
|
|
||||||
'TOO_SMALL_ARCHIVE_LIMIT' => 'De waarde van het archief limiet is te klein.',
|
|
||||||
'TOO_LARGE_ARCHIVE_LIMIT' => 'De waarde van het archief limiet is te groot.',
|
|
||||||
'TOO_SMALL_FLOOD_TIME' => 'De waarde van de hoeveelheid aan data in een bepaalde tijd is te klein.',
|
|
||||||
'TOO_LARGE_FLOOD_TIME' => 'De waarde van de hoeveelheid aan data in een bepaalde tijd is te groot.',
|
|
||||||
'TOO_SMALL_MAX_MESSAGE_LNGTH' => 'De waarde van de maximale lengte van berichten is te klein.',
|
|
||||||
'TOO_LARGE_MAX_MESSAGE_LNGTH' => 'De waarde van de maximale lengte van berichten is te groot.',
|
|
||||||
'TOO_SMALL_MAX_WORDS_LNGTH' => 'De waarde van de maximale lengte van het aantal woorden is te klein.',
|
|
||||||
'TOO_LARGE_MAX_WORDS_LNGTH' => 'De waarde van de maximale lengte van het aantal woorden is te groot.',
|
|
||||||
'TOO_SMALL_WHOIS_REFRESH' => 'De verversing van de whois waarde is te klein.',
|
|
||||||
'TOO_LARGE_WHOIS_REFRESH' => 'De verversing van de whois waarde is te groot.',
|
|
||||||
'TOO_SMALL_INDEX_HEIGHT' => 'De waarde van de index hoogte is te klein.',
|
|
||||||
'TOO_LARGE_INDEX_HEIGHT' => 'De waarde van de index hoogte is te groot.',
|
|
||||||
'TOO_SMALL_CUSTOM_HEIGHT' => 'De waarde van de gemaakte hoogte is te klein.',
|
|
||||||
'TOO_LARGE_CUSTOM_HEIGHT' => 'De waarde van de gemaakte hoogte is te groot.',
|
|
||||||
'TOO_SHORT_STATIC_MESSAGE' => 'De waarde van de statische berichten is te kort.',
|
|
||||||
'TOO_LONG_STATIC_MESSAGE' => 'De waarde van de statische berichten is te lang.',
|
|
||||||
'TOO_SMALL_TIMEOUT' => 'De waarde van de timeout voor gebruikers is te klein.',
|
|
||||||
'TOO_LARGE_TIMEOUT' => 'De waarde van de timeout voor gebruikers is te groot.',
|
|
||||||
'UCP_CAT_MCHAT' => 'mChat',
|
|
||||||
'UCP_MCHAT_CONFIG' => 'mChat', //Preferences
|
|
||||||
'LOG_MCHAT_TABLE_PRUNED' => 'mChat tabel is ingekort',
|
|
||||||
'ACP_USER_MCHAT' => 'mChat Instellingen',
|
|
||||||
'LOG_DELETED_MCHAT' => '<strong>Verwijder mChat berichten</strong><br />» %1$s',
|
|
||||||
'LOG_EDITED_MCHAT' => '<strong>Bewerk mChat berichten</strong><br />» %1$s',
|
|
||||||
'MCHAT_MESSAGE_LNGTH_EXPLAIN' => 'Overgebleven karakters: <span class="charsLeft error"><strong>%d</strong></span>',
|
|
||||||
'MCHAT_TOP_POSTERS' => 'Top Spammers',
|
|
||||||
'MCHAT_NEW_CHAT' => 'Nieuw Chat bericht!',
|
|
||||||
'FONT_COLOR' => 'letter kleur',
|
|
||||||
'FONT_COLOR_HIDE' => 'verberg letter kleur',
|
|
||||||
'FONT_HUGE' => 'Zeer Groot',
|
|
||||||
'FONT_LARGE' => 'Groot',
|
|
||||||
'FONT_NORMAL' => 'Normaal',
|
|
||||||
'FONT_SIZE' => 'Letter grootte',
|
|
||||||
'FONT_SMALL' => 'Klein',
|
|
||||||
'FONT_TINY' => 'zeer klein',
|
|
||||||
'MCHAT_SEND_PM' => 'Stuur prive bericht',
|
|
||||||
'MCHAT_PM' => '(PM)',
|
|
||||||
'MORE_SMILIES' => 'Meer Smilies',
|
|
||||||
));
|
|
||||||
@@ -1,159 +0,0 @@
|
|||||||
<?php
|
|
||||||
/**
|
|
||||||
*
|
|
||||||
* @package phpBB Extension - mChat
|
|
||||||
* @copyright (c) 2015 dmzx - http://www.dmzx-web.net
|
|
||||||
* @license http://opensource.org/licenses/gpl-2.0.php GNU General Public License v2
|
|
||||||
*
|
|
||||||
*/
|
|
||||||
|
|
||||||
if (!defined('IN_PHPBB'))
|
|
||||||
{
|
|
||||||
exit;
|
|
||||||
}
|
|
||||||
if (empty($lang) || !is_array($lang))
|
|
||||||
{
|
|
||||||
$lang = array();
|
|
||||||
}
|
|
||||||
|
|
||||||
// DEVELOPERS PLEASE NOTE
|
|
||||||
//
|
|
||||||
// All language files should use UTF-8 as their encoding and the files must not contain a BOM.
|
|
||||||
//
|
|
||||||
// Placeholders can now contain order information, e.g. instead of
|
|
||||||
// 'Page %s of %s' you can (and should) write 'Page %1$s of %2$s', this allows
|
|
||||||
// translators to re-order the output of data while ensuring it remains correct
|
|
||||||
//
|
|
||||||
// You do not need this where single placeholders are used, e.g. 'Message %d' is fine
|
|
||||||
// equally where a string contains only two placeholders which are used to wrap text
|
|
||||||
// in a url you again do not need to specify an order e.g., 'Click %sHERE%s' is fine
|
|
||||||
//
|
|
||||||
// Some characters for use
|
|
||||||
// ’ » “ ” …
|
|
||||||
|
|
||||||
|
|
||||||
$lang = array_merge($lang, array(
|
|
||||||
|
|
||||||
// UMIL stuff
|
|
||||||
'ACP_MCHAT_CONFIG' => 'Configuratie',
|
|
||||||
'ACP_CAT_MCHAT' => 'mChat',
|
|
||||||
'ACP_MCHAT_TITLE' => 'Mini-Chat',
|
|
||||||
'ACP_MCHAT_TITLE_EXPLAIN' => 'Een mini chat (aka “shout box”) voor gebruik op jouw forum',
|
|
||||||
'MCHAT_TABLE_DELETED' => 'De mChat tabel is succesvol verwijderd',
|
|
||||||
'MCHAT_TABLE_CREATED' => 'De mChat tabel is succesvol aangemaakt',
|
|
||||||
'MCHAT_TABLE_UPDATED' => 'De mChat tabel is succesvol bijgewerkt.',
|
|
||||||
'MCHAT_NOTHING_TO_UPDATE' => 'Niks te doen..... door gaan',
|
|
||||||
'UCP_CAT_MCHAT' => 'mChat voorkeuren',
|
|
||||||
'UCP_MCHAT_CONFIG' => 'Gebruiker mChat voorkeuren',
|
|
||||||
|
|
||||||
// ACP entries
|
|
||||||
'ACP_MCHAT_RULES' => 'Regels',
|
|
||||||
'ACP_MCHAT_RULES_EXPLAIN' => 'Verander hier de regels van het forum. Elke regel op een nieuwe lijn.<br />Je kunt maximaal 255 karakters gebruiken.<br /><strong>Deze boodschap kan worden vertaald..</strong> (Je moet de mchat_lang.php file aanpassen en lees de instructies).',
|
|
||||||
'LOG_MCHAT_CONFIG_UPDATE' => '<strong>Update mChat configuratie </strong>',
|
|
||||||
'MCHAT_CONFIG_SAVED' => 'Mini Chat configuratie is bijgewerkt',
|
|
||||||
'MCHAT_TITLE' => 'Mini-Chat',
|
|
||||||
'MCHAT_VERSION' => 'Versie:',
|
|
||||||
'MCHAT_ENABLE' => 'Inschakelen mChat Extensie',
|
|
||||||
'MCHAT_ENABLE_EXPLAIN' => 'In of Uitschakelen van deze extensie.',
|
|
||||||
'MCHAT_AVATARS' => 'Toon avatars',
|
|
||||||
'MCHAT_AVATARS_EXPLAIN' => 'Als je ja hebt aangevinkt, verkleinde gebruikers avatars zullen worden getoond',
|
|
||||||
'MCHAT_ON_INDEX' => 'mChat Op de Index pagina',
|
|
||||||
'MCHAT_ON_INDEX_EXPLAIN' => 'Toestaan om de mChat te tonen op de Index pagina.',
|
|
||||||
'MCHAT_INDEX_HEIGHT' => 'Index pagina hoogte',
|
|
||||||
'MCHAT_INDEX_HEIGHT_EXPLAIN' => 'De hoogte van de mChat box op de Index pagina uitgedrukt in pixels, kun je hier aanpassen.<br /><em>Je bent gelimiteerd tussen de 50 en 1000</em>.',
|
|
||||||
'MCHAT_LOCATION' => 'Locatie op het Forum',
|
|
||||||
'MCHAT_LOCATION_EXPLAIN' => 'Kies de locatie van de mChat op de Index pagina.',
|
|
||||||
'MCHAT_TOP_OF_FORUM' => 'Bovenaan op het Forum',
|
|
||||||
'MCHAT_BOTTOM_OF_FORUM' => 'Onderaan op het Forum',
|
|
||||||
'MCHAT_REFRESH' => 'Vernieuwen',
|
|
||||||
'MCHAT_REFRESH_EXPLAIN' => 'Aantal seconden dat de mChat automatische ververst wordt.<br /><em>Je bent gelimiteerd tussen 5 en 60 seconden</em>.',
|
|
||||||
'MCHAT_PRUNE' => 'Inschakelen opschonen van berichten',
|
|
||||||
'MCHAT_PRUNE_EXPLAIN' => 'Vink Ja aan als je het opschonen van berichten wilt inschakelen.<br /><em>Werkt alleen als een gebruiker de gemaakte of archief pagina bekijkt</em>.',
|
|
||||||
'MCHAT_PRUNE_NUM' => 'Het aantal berichten welke bewaard moeten worden in de mChat',
|
|
||||||
'MCHAT_PRUNE_NUM_EXPLAIN' => 'Geef hier het aantal in, van de berichten welke je bewaard wilt houden in de mChat.',
|
|
||||||
'MCHAT_MESSAGE_LIMIT' => 'Berichten limiet',
|
|
||||||
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'Maximaal aantal berichten, welke getoond worden in de mChat.<br /><em>Aanbevolen is tussen de 10 en 30 berichten</em>.',
|
|
||||||
'MCHAT_MESSAGE_NUM' => 'Index pagina berichten limiet',
|
|
||||||
'MCHAT_MESSAGE_NUM_EXPLAIN' => 'Het maximale aantal berichten, welke getoond worden in de mChat op de Index pagina.<br /><em>Aanbevolen is tussen de 10 en 50 berichten</em>.',
|
|
||||||
'MCHAT_ARCHIVE_LIMIT' => 'Archief limiet',
|
|
||||||
'MCHAT_ARCHIVE_LIMIT_EXPLAIN' => 'Het maximale aantal berichten, welke getoond worden in de mChat op de Archief pagina.<br /><em>Aanbevolen is tussen de 25 en 50 berichten</em>.',
|
|
||||||
'MCHAT_FLOOD_TIME' => 'Wachttijd plaatsen volgende bericht, na reeds geplaatst bericht',
|
|
||||||
'MCHAT_FLOOD_TIME_EXPLAIN' => 'Het aantal seconden dat een gebruiker moet wachten om een volgend bericht te plaatsen in de mChat.<br /><em>Aanbevolen is tussen de 5 en 30 seconden, 0 is uitschakelen van deze functie</em>.',
|
|
||||||
'MCHAT_MAX_MESSAGE_LENGTH' => 'Maximale berichten lengte',
|
|
||||||
'MCHAT_MAX_MESSAGE_LENGTH_EXPLAIN' => 'Maximaal toegestane aantal karakters per gepost bericht.<br /><em>anbevolen is tussen de 100 en 500 karakters, 0 is uitschakelen van deze functie</em>.',
|
|
||||||
'MCHAT_CUSTOM_PAGE' => 'Aangepaste pagina',
|
|
||||||
'MCHAT_CUSTOM_PAGE_EXPLAIN' => 'Toestaan om gebruik te maken van de mChat op de aangepaste pagina',
|
|
||||||
'MCHAT_CUSTOM_HEIGHT' => 'Aangepaste pagina hoogte',
|
|
||||||
'MCHAT_CUSTOM_HEIGHT_EXPLAIN' => 'De hoogte van de mChat box in pixels op de aangepaste mChat pagina.<br /><em>Je bent gelimiteerd tussen de 50 en 1000 pixels</em>.',
|
|
||||||
'MCHAT_DATE_FORMAT' => 'Datum weergave',
|
|
||||||
'MCHAT_DATE_FORMAT_EXPLAIN' => 'De gebruikte syntax is identiek aan de PHP <a href="http://www.php.net/date">date()</a> functie.',
|
|
||||||
'MCHAT_CUSTOM_DATEFORMAT' => 'Aangepast…',
|
|
||||||
'MCHAT_WHOIS' => 'Whois',
|
|
||||||
'MCHAT_WHOIS_EXPLAIN' => 'Toestaan om gebruikers te laten zien die gebruik maken van de mChat',
|
|
||||||
'MCHAT_WHOIS_REFRESH' => 'Whois vernieuwen',
|
|
||||||
'MCHAT_WHOIS_REFRESH_EXPLAIN' => 'Aantal seconden voordat whois statistieken worden vernieuwd.<br /><em>Je bent gelimiteerd tussen de 30 en 300 seconden</em>.',
|
|
||||||
'MCHAT_BBCODES_DISALLOWED' => 'Niet toegestane bbcodes',
|
|
||||||
'MCHAT_BBCODES_DISALLOWED_EXPLAIN' => 'Hier kun je de bbcodes plaatsen, die <strong>niet</strong>zijn toegstaan<strong>not</strong> om te gebruiken in een bericht.<br />Aparte BBCodes met een verticale balk , bijvoorbeeld: <br />b|i|u|code|list|list=|flash|quote and/or a %scustom bbcode tag name%s',
|
|
||||||
'MCHAT_STATIC_MESSAGE' => 'Statisch bericht',
|
|
||||||
'MCHAT_STATIC_MESSAGE_EXPLAIN' => 'Hier kan je een statisch bericht definieren, welke getoond wordt aan de gebruikers van de mChat.<br />Stel 0 in om de vertoning uit te schakelen. Je bent gelimiteerd tot 255 karakters.<br /><strong>Deze boodschap kan worden vertaald..</strong> (Je moet de mchat_lang.php file aanpassen en lees de instructies).',
|
|
||||||
'MCHAT_USER_TIMEOUT' => 'Gebruiker timeout',
|
|
||||||
'MCHAT_USER_TIMEOUT_EXPLAIN' => 'Stel hier de seconden in, wanneer de sessie van een gebruiker eindigd. Stel 0 om de timeout uit te schakelen.<br /><em>Je bent gelimiteerd tot de %sforum instellingen voor de chat sessie, welke momenteel is ingesteld op %s seconden</em>',
|
|
||||||
'MCHAT_OVERRIDE_SMILIE_LIMIT' => 'Aantal smilie limiet',
|
|
||||||
'MCHAT_OVERRIDE_SMILIE_LIMIT_EXPLAIN' => 'Stel hier het aantal smilie limiet in voor de chat berichten',
|
|
||||||
'MCHAT_OVERRIDE_MIN_POST_CHARS' => 'Minimum karakters limit',
|
|
||||||
'MCHAT_OVERRIDE_MIN_POST_CHARS_EXPLAIN' => 'Stel ja in om het aantal minimum karakters in te stellen voor een chat bericht',
|
|
||||||
'MCHAT_NEW_POSTS' => 'Toon nieuwe berichten',
|
|
||||||
'MCHAT_NEW_POSTS_EXPLAIN' => 'Stel ja in om nieuwe berichten te plaatsen in een chat bericht<br /><strong>Je moet de add-on voor de nieuwe post meldingen geïnstalleerd hebben</strong> (binnen de directory van de download voor deze extensie).',
|
|
||||||
'MCHAT_MAIN' => 'Hoofd Configuratie',
|
|
||||||
'MCHAT_STATS' => 'Wie is aan het chatten',
|
|
||||||
'MCHAT_STATS_INDEX' => 'Statistieken op de Index pagina',
|
|
||||||
'MCHAT_STATS_INDEX_EXPLAIN' => 'Laat zien wie aan het chatten is in de statistieken sectie op het forum',
|
|
||||||
'MCHAT_MESSAGES' => 'Berichten instellingen',
|
|
||||||
'MCHAT_PAUSE_ON_INPUT' => 'Pauze op eventuele inactiviteit van mChat',
|
|
||||||
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Stel je ja in, dan wordt mChat niet automatisch vernieuwd, todat een gebruiker een bericht plaatst in mChat',
|
|
||||||
|
|
||||||
// error reporting
|
|
||||||
'MCHAT_NEEDS_UPDATING' => 'De mChat extensie moet worden bijgewerkt. Neem contact op met de forum beheerder om de mChat bij te laten werken.',
|
|
||||||
'MCHAT_WRONG_VERSION' => 'De verkeerde versie van de extensie is geinstalleerd. Gebruik a.u.b. de %sinstaller%s van de nieuwe versie voor eventuele wijzigingen.',
|
|
||||||
'WARNING' => 'Waarschuwing',
|
|
||||||
'TOO_LONG_DATE' => 'De datum weergave die je hebt ingegeven is te lang.',
|
|
||||||
'TOO_SHORT_DATE' => 'De datum weergave die je hebt ingegeven is te kort.',
|
|
||||||
'TOO_SMALL_REFRESH' => 'De waarde voor het vernieuwen van de pagina is te klein.',
|
|
||||||
'TOO_LARGE_REFRESH' => 'De waarde voor het vernieuwen van de pagina is te groot.',
|
|
||||||
'TOO_SMALL_MESSAGE_LIMIT' => 'De waarde van de berichten limiet is te klein.',
|
|
||||||
'TOO_LARGE_MESSAGE_LIMIT' => 'De waarde van de berichten limiet is te groot.',
|
|
||||||
'TOO_SMALL_ARCHIVE_LIMIT' => 'De waarde van het archief limiet is te klein.',
|
|
||||||
'TOO_LARGE_ARCHIVE_LIMIT' => 'De waarde van het archief limiet is te groot.',
|
|
||||||
'TOO_SMALL_FLOOD_TIME' => 'De waarde van de hoeveelheid aan data in een bepaalde tijd is te klein.',
|
|
||||||
'TOO_LARGE_FLOOD_TIME' => 'De waarde van de hoeveelheid aan data in een bepaalde tijd is te groot.',
|
|
||||||
'TOO_SMALL_MAX_MESSAGE_LNGTH' => 'De waarde van de maximale lengte van berichten is te klein.',
|
|
||||||
'TOO_LARGE_MAX_MESSAGE_LNGTH' => 'De waarde van de maximale lengte van berichten is te groot.',
|
|
||||||
'TOO_SMALL_MAX_WORDS_LNGTH' => 'De waarde van de maximale lengte van het aantal woorden is te klein.',
|
|
||||||
'TOO_LARGE_MAX_WORDS_LNGTH' => 'De waarde van de maximale lengte van het aantal woorden is te groot.',
|
|
||||||
'TOO_SMALL_WHOIS_REFRESH' => 'De verversing van de whois waarde is te klein.',
|
|
||||||
'TOO_LARGE_WHOIS_REFRESH' => 'De verversing van de whois waarde is te groot.',
|
|
||||||
'TOO_SMALL_INDEX_HEIGHT' => 'De waarde van de index hoogte is te klein.',
|
|
||||||
'TOO_LARGE_INDEX_HEIGHT' => 'De waarde van de index hoogte is te groot.',
|
|
||||||
'TOO_SMALL_CUSTOM_HEIGHT' => 'De waarde van de gemaakte hoogte is te klein.',
|
|
||||||
'TOO_LARGE_CUSTOM_HEIGHT' => 'De waarde van de gemaakte hoogte is te groot.',
|
|
||||||
'TOO_SHORT_STATIC_MESSAGE' => 'De waarde van de statische berichten is te kort.',
|
|
||||||
'TOO_LONG_STATIC_MESSAGE' => 'De waarde van de statische berichten is te lang.',
|
|
||||||
'TOO_SMALL_TIMEOUT' => 'De waarde van de timeout voor gebruikers is te klein.',
|
|
||||||
'TOO_LARGE_TIMEOUT' => 'De waarde van de timeout voor gebruikers is te groot.',
|
|
||||||
|
|
||||||
// User perms
|
|
||||||
'ACL_U_MCHAT_USE' => 'Je kunt mChat gebruiken',
|
|
||||||
'ACL_U_MCHAT_VIEW' => 'Je kunt mChat bekijken',
|
|
||||||
'ACL_U_MCHAT_EDIT' => 'Je kunt mchat berichten bewerken',
|
|
||||||
'ACL_U_MCHAT_DELETE' => 'Je kunt mChat berichten verwijderen',
|
|
||||||
'ACL_U_MCHAT_IP' => 'Je kunt mChat IP adressen bekijken',
|
|
||||||
'ACL_U_MCHAT_FLOOD_IGNORE' => 'Je kunt mChat de hoeveelheid aan data negeren',
|
|
||||||
'ACL_U_MCHAT_ARCHIVE' => 'Je kunt het archief van mChat bekijken',
|
|
||||||
'ACL_U_MCHAT_BBCODE' => 'Je kunt de bbcode in mChat gebruiken',
|
|
||||||
'ACL_U_MCHAT_SMILIES' => 'Je kunt de smilies in mChat gebruiken',
|
|
||||||
'ACL_U_MCHAT_URLS' => 'Je kunt urls posten in mChat',
|
|
||||||
|
|
||||||
// Admin perms
|
|
||||||
'ACL_A_MCHAT' => array('lang' => 'Can manage mChat settings', 'cat' => 'permissions'), // Using a phpBB category here
|
|
||||||
|
|
||||||
));
|
|
||||||
@@ -7,7 +7,6 @@
|
|||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* DO NOT CHANGE!
|
* DO NOT CHANGE!
|
||||||
*/
|
*/
|
||||||
@@ -42,8 +41,8 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_TITLE' => 'Mini-Chat',
|
'MCHAT_TITLE' => 'Mini-Chat',
|
||||||
'MCHAT_ADD' => 'Wyślij',
|
'MCHAT_ADD' => 'Wyślij',
|
||||||
'MCHAT_ANNOUNCEMENT' => 'Ogłoszenie',
|
'MCHAT_ANNOUNCEMENT' => 'Ogłoszenie',
|
||||||
'MCHAT_ARCHIVE' => 'Archiwum',
|
'MCHAT_ARCHIVE' => 'Archiwum',
|
||||||
'MCHAT_ARCHIVE_PAGE' => 'Mini-Chat Archiwum',
|
'MCHAT_ARCHIVE_PAGE' => 'Mini-Chat Archiwum',
|
||||||
'MCHAT_BBCODES' => 'BBCodes',
|
'MCHAT_BBCODES' => 'BBCodes',
|
||||||
'MCHAT_CLEAN' => 'Wyczyść',
|
'MCHAT_CLEAN' => 'Wyczyść',
|
||||||
'MCHAT_CLEANED' => 'Wszystkie wiadomości zostały pomyślnie usunięte',
|
'MCHAT_CLEANED' => 'Wszystkie wiadomości zostały pomyślnie usunięte',
|
||||||
@@ -55,23 +54,23 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_DELITE' => 'Usuń',
|
'MCHAT_DELITE' => 'Usuń',
|
||||||
'MCHAT_EDIT' => 'Edytuj',
|
'MCHAT_EDIT' => 'Edytuj',
|
||||||
'MCHAT_EDITINFO' => 'Edytuj wiadomość i wciśnij OK',
|
'MCHAT_EDITINFO' => 'Edytuj wiadomość i wciśnij OK',
|
||||||
'MCHAT_ENABLE' => 'Przepraszamy, Mini-Chat jest aktualnie niedostępny',
|
'MCHAT_ENABLE' => 'Przepraszamy, Mini-Chat jest aktualnie niedostępny',
|
||||||
'MCHAT_ERROR' => 'Błąd',
|
'MCHAT_ERROR' => 'Błąd',
|
||||||
'MCHAT_FLOOD' => 'Nie możesz wysłać kolejnej wiadomośći w tak krótkim czasie',
|
'MCHAT_FLOOD' => 'Nie możesz wysłać kolejnej wiadomośći w tak krótkim czasie',
|
||||||
'MCHAT_FOE' => 'Wiadomośc została wysłana przez użytkownika <strong>%1$s</strong> który znajduje się na Twojej liście osób ignorowanych.',
|
'MCHAT_FOE' => 'Wiadomośc została wysłana przez użytkownika <strong>%1$s</strong> który znajduje się na Twojej liście osób ignorowanych.',
|
||||||
'MCHAT_HELP' => 'mChat Reguamin',
|
'MCHAT_HELP' => 'mChat Reguamin',
|
||||||
'MCHAT_HIDE_LIST' => 'ukryj listę',
|
'MCHAT_HIDE_LIST' => 'ukryj listę',
|
||||||
'MCHAT_HOUR' => 'godzina ',
|
'MCHAT_HOUR' => 'godzina ',
|
||||||
'MCHAT_HOURS' => 'godziny',
|
'MCHAT_HOURS' => 'godziny',
|
||||||
'MCHAT_IP' => 'IP',
|
'MCHAT_IP' => 'IP',
|
||||||
|
|
||||||
'MCHAT_MINUTE' => 'minuta ',
|
'MCHAT_MINUTE' => 'minuta ',
|
||||||
'MCHAT_MINUTES' => 'minuty ',
|
'MCHAT_MINUTES' => 'minuty ',
|
||||||
'MCHAT_MESS_LONG' => 'Twoja wiadomość jest za długa.\Proszę ogranicz ją do %s characters',
|
'MCHAT_MESS_LONG' => 'Twoja wiadomość jest za długa.\Proszę ogranicz ją do %s characters',
|
||||||
'MCHAT_NO_CUSTOM_PAGE' => 'mChat w osobnym oknie jest aktualnie niedostępny!',
|
'MCHAT_NO_CUSTOM_PAGE' => 'mChat w osobnym oknie jest aktualnie niedostępny!',
|
||||||
'MCHAT_NOACCESS' => 'Nie masz uprawnień do postowania na mChat',
|
'MCHAT_NOACCESS' => 'Nie masz uprawnień do postowania na mChat',
|
||||||
'MCHAT_NOACCESS_ARCHIVE' => 'Nie masz uprawnień do przeglądania archiwum',
|
'MCHAT_NOACCESS_ARCHIVE' => 'Nie masz uprawnień do przeglądania archiwum',
|
||||||
'MCHAT_NOJAVASCRIPT' => 'Twoja przeglądarka nie wspiera JavaScript albo JavaScript jest wyłączona',
|
'MCHAT_NOJAVASCRIPT' => 'Twoja przeglądarka nie wspiera JavaScript albo JavaScript jest wyłączona',
|
||||||
'MCHAT_NOMESSAGE' => 'Nie ma wiadomości',
|
'MCHAT_NOMESSAGE' => 'Nie ma wiadomości',
|
||||||
'MCHAT_NOMESSAGEINPUT' => 'Nie wprowadziłeś wiadomości',
|
'MCHAT_NOMESSAGEINPUT' => 'Nie wprowadziłeś wiadomości',
|
||||||
'MCHAT_NOSMILE' => 'Nie znaleziono emotikona',
|
'MCHAT_NOSMILE' => 'Nie znaleziono emotikona',
|
||||||
@@ -79,14 +78,14 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_NOT_INSTALLED' => 'W bazie danych mChat brakuje.<br />Proszę uruchom %sinstalator%s aby wprowadzić zmiany w bazie danych rozszerzenia.',
|
'MCHAT_NOT_INSTALLED' => 'W bazie danych mChat brakuje.<br />Proszę uruchom %sinstalator%s aby wprowadzić zmiany w bazie danych rozszerzenia.',
|
||||||
'MCHAT_OK' => 'OK',
|
'MCHAT_OK' => 'OK',
|
||||||
'MCHAT_PAUSE' => 'Wstrzymany',
|
'MCHAT_PAUSE' => 'Wstrzymany',
|
||||||
'MCHAT_LOAD' => 'Wczytuję',
|
'MCHAT_LOAD' => 'Wczytuję',
|
||||||
'MCHAT_PERMISSIONS' => 'Zmień uprawnienia użytkownika',
|
'MCHAT_PERMISSIONS' => 'Zmień uprawnienia użytkownika',
|
||||||
'MCHAT_REFRESHING' => 'Odświeżanie...',
|
'MCHAT_REFRESHING' => 'Odświeżanie...',
|
||||||
'MCHAT_REFRESH_NO' => 'Auto-aktualizacja jest wyłączona',
|
'MCHAT_REFRESH_NO' => 'Auto-aktualizacja jest wyłączona',
|
||||||
'MCHAT_REFRESH_YES' => 'Automatycznie-aktualizuj co <strong>%d</strong> sekund',
|
'MCHAT_REFRESH_YES' => 'Automatycznie-aktualizuj co <strong>%d</strong> sekund',
|
||||||
'MCHAT_RESPOND' => 'Odpowiedz użytkownikowi',
|
'MCHAT_RESPOND' => 'Odpowiedz użytkownikowi',
|
||||||
'MCHAT_RESET_QUESTION' => 'Wyczyściuć tabelę wprowadzania tekstu ?',
|
'MCHAT_RESET_QUESTION' => 'Wyczyściuć tabelę wprowadzania tekstu ?',
|
||||||
'MCHAT_SESSION_OUT' => 'Sesja mChat wygasła',
|
'MCHAT_SESSION_OUT' => 'Sesja mChat wygasła',
|
||||||
'MCHAT_SHOW_LIST' => 'Pokaż listę',
|
'MCHAT_SHOW_LIST' => 'Pokaż listę',
|
||||||
'MCHAT_SECOND' => 'sekunda ',
|
'MCHAT_SECOND' => 'sekunda ',
|
||||||
'MCHAT_SECONDS' => 'sekundy ',
|
'MCHAT_SECONDS' => 'sekundy ',
|
||||||
@@ -95,21 +94,20 @@ $lang = array_merge($lang, array(
|
|||||||
|
|
||||||
'MCHAT_TOTALMESSAGES' => 'Wszystkie wiadomości <strong>%s</strong>',
|
'MCHAT_TOTALMESSAGES' => 'Wszystkie wiadomości <strong>%s</strong>',
|
||||||
'MCHAT_USESOUND' => 'Włączyć dźwięk ?',
|
'MCHAT_USESOUND' => 'Włączyć dźwięk ?',
|
||||||
|
|
||||||
|
|
||||||
'MCHAT_ONLINE_USERS_TOTAL' => 'Aktualnie jest tutaj <strong>%d</strong> czatujących użytkowników ',
|
'MCHAT_ONLINE_USERS_TOTAL' => 'Aktualnie jest tutaj <strong>%d</strong> czatujących użytkowników ',
|
||||||
'MCHAT_ONLINE_USER_TOTAL' => 'Aktualnie <strong>%d</strong> osoba korzysta z mChatu ',
|
'MCHAT_ONLINE_USER_TOTAL' => 'Aktualnie <strong>%d</strong> osoba korzysta z mChatu ',
|
||||||
'MCHAT_NO_CHATTERS' => 'Nikt nie czatuje',
|
'MCHAT_NO_CHATTERS' => 'Nikt nie czatuje',
|
||||||
'MCHAT_ONLINE_EXPLAIN' => 'Bazuje na użytkownikach aktywnych w ciągu ostatnich %s',
|
'MCHAT_ONLINE_EXPLAIN' => 'Bazuje na użytkownikach aktywnych w ciągu ostatnich %s',
|
||||||
|
|
||||||
'WHO_IS_CHATTING' => 'Kto czatuje',
|
'WHO_IS_CHATTING' => 'Kto czatuje',
|
||||||
'WHO_IS_REFRESH_EXPLAIN' => 'Odświeżaj co <strong>%d</strong> sekund',
|
'WHO_IS_REFRESH_EXPLAIN' => 'Odświeżaj co <strong>%d</strong> sekund',
|
||||||
'MCHAT_NEW_TOPIC' => '<strong>Nowy Temat</strong>',
|
'MCHAT_NEW_TOPIC' => '<strong>Nowy Temat</strong>',
|
||||||
'MCHAT_NEW_REPLY' => '<strong>Nowa Odpowiedź</strong>',
|
'MCHAT_NEW_REPLY' => '<strong>Nowa Odpowiedź</strong>',
|
||||||
|
|
||||||
// UCP
|
// UCP
|
||||||
'UCP_PROFILE_MCHAT' => 'mChat Preferences',
|
'UCP_PROFILE_MCHAT' => 'mChat Preferences',
|
||||||
|
|
||||||
'DISPLAY_MCHAT' => 'Wyświetlaj mChat na stronie głównej',
|
'DISPLAY_MCHAT' => 'Wyświetlaj mChat na stronie głównej',
|
||||||
'SOUND_MCHAT' => 'Włącz dźwięk mChatu',
|
'SOUND_MCHAT' => 'Włącz dźwięk mChatu',
|
||||||
'DISPLAY_STATS_INDEX' => 'Wyświetlaj kto czatuje w statystykach strony głównej',
|
'DISPLAY_STATS_INDEX' => 'Wyświetlaj kto czatuje w statystykach strony głównej',
|
||||||
@@ -118,7 +116,7 @@ $lang = array_merge($lang, array(
|
|||||||
'CHAT_AREA' => 'Typ wprowadzania',
|
'CHAT_AREA' => 'Typ wprowadzania',
|
||||||
'CHAT_AREA_EXPLAIN' => 'Wybierz jaki typ obszaru wybrać do wprowadzania tekstu:<br />A text area or<br />an input area',
|
'CHAT_AREA_EXPLAIN' => 'Wybierz jaki typ obszaru wybrać do wprowadzania tekstu:<br />A text area or<br />an input area',
|
||||||
'INPUT_AREA' => 'Obszar wprowadzania',
|
'INPUT_AREA' => 'Obszar wprowadzania',
|
||||||
'TEXT_AREA' => 'Obszar tekstu',
|
'TEXT_AREA' => 'Obszar tekstu',
|
||||||
// ACP
|
// ACP
|
||||||
'ACP_MCHAT_RULES_EXPLAIN' => 'Tutaj wprowadź regulamin mChat. Każdy podpunkt w oddzielnej lini.<br />Limit znaków wynosi 255.<br />',
|
'ACP_MCHAT_RULES_EXPLAIN' => 'Tutaj wprowadź regulamin mChat. Każdy podpunkt w oddzielnej lini.<br />Limit znaków wynosi 255.<br />',
|
||||||
'LOG_MCHAT_CONFIG_UPDATE' => '<strong>Aktualizuj konfigurację mChat </strong>',
|
'LOG_MCHAT_CONFIG_UPDATE' => '<strong>Aktualizuj konfigurację mChat </strong>',
|
||||||
@@ -128,7 +126,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_ENABLE' => 'Włącz rozszerzenie mChat',
|
'MCHAT_ENABLE' => 'Włącz rozszerzenie mChat',
|
||||||
'MCHAT_ENABLE_EXPLAIN' => 'Włącz lub wyłącz rozszerzenie globalnie.',
|
'MCHAT_ENABLE_EXPLAIN' => 'Włącz lub wyłącz rozszerzenie globalnie.',
|
||||||
'MCHAT_AVATARS' => 'Wyświetlaj avatary',
|
'MCHAT_AVATARS' => 'Wyświetlaj avatary',
|
||||||
'MCHAT_AVATARS_EXPLAIN' => 'Zaznacz TAK aby wyświetlać miniaturki avatarów',
|
'MCHAT_AVATARS_EXPLAIN' => 'Zaznacz TAK aby wyświetlać miniaturki avatarów',
|
||||||
'MCHAT_ON_INDEX' => 'mChat na stronie głównej',
|
'MCHAT_ON_INDEX' => 'mChat na stronie głównej',
|
||||||
'MCHAT_ON_INDEX_EXPLAIN' => 'Zezwól na wyświetlanie mChat na stronie głównej.',
|
'MCHAT_ON_INDEX_EXPLAIN' => 'Zezwól na wyświetlanie mChat na stronie głównej.',
|
||||||
'MCHAT_INDEX_HEIGHT' => 'Wysokość na stronie głównej',
|
'MCHAT_INDEX_HEIGHT' => 'Wysokość na stronie głównej',
|
||||||
@@ -142,7 +140,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_PRUNE' => 'Włącz opcję wyczyszczenia wiadomości',
|
'MCHAT_PRUNE' => 'Włącz opcję wyczyszczenia wiadomości',
|
||||||
'MCHAT_PRUNE_EXPLAIN' => 'Jeśli zaznaczono tak, opcja wyczyszczenia wiadomości będzie dostępna.<br /><em>Tylko wtedy, jeśli użytkownik wyświetli stronę niestandardową lub archiwum</em>.',
|
'MCHAT_PRUNE_EXPLAIN' => 'Jeśli zaznaczono tak, opcja wyczyszczenia wiadomości będzie dostępna.<br /><em>Tylko wtedy, jeśli użytkownik wyświetli stronę niestandardową lub archiwum</em>.',
|
||||||
'MCHAT_PRUNE_NUM' => 'Ilość wyczyszczonych wiadomości',
|
'MCHAT_PRUNE_NUM' => 'Ilość wyczyszczonych wiadomości',
|
||||||
'MCHAT_PRUNE_NUM_EXPLAIN' => 'Wpisz liczbę.',
|
'MCHAT_PRUNE_NUM_EXPLAIN' => 'Wpisz liczbę.',
|
||||||
'MCHAT_MESSAGE_LIMIT' => 'Limit wiadomości',
|
'MCHAT_MESSAGE_LIMIT' => 'Limit wiadomości',
|
||||||
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'Maksymalna ilość wiadomości wyświetlana w oknie mChat.<br /><em>Rekomendowane od 10 do 30</em>.',
|
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'Maksymalna ilość wiadomości wyświetlana w oknie mChat.<br /><em>Rekomendowane od 10 do 30</em>.',
|
||||||
'MCHAT_MESSAGE_NUM' => 'Limit wiadomości na stronie głównej',
|
'MCHAT_MESSAGE_NUM' => 'Limit wiadomości na stronie głównej',
|
||||||
@@ -183,7 +181,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_MESSAGES' => 'Ustawienia wiadomości',
|
'MCHAT_MESSAGES' => 'Ustawienia wiadomości',
|
||||||
'MCHAT_PAUSE_ON_INPUT' => 'Auto-aktuaizacja podczas pisania wiadomości',
|
'MCHAT_PAUSE_ON_INPUT' => 'Auto-aktuaizacja podczas pisania wiadomości',
|
||||||
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Zaznacz TAK aby nie auto-aktualizować mChatu gdy użytkownik pisze wiadomość',
|
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Zaznacz TAK aby nie auto-aktualizować mChatu gdy użytkownik pisze wiadomość',
|
||||||
|
|
||||||
// error reporting
|
// error reporting
|
||||||
'MCHAT_NEEDS_UPDATING' => 'Rozszerzenie mChat musi zostać zaktualizowane. Proszę skontaktuj się z administratorem.',
|
'MCHAT_NEEDS_UPDATING' => 'Rozszerzenie mChat musi zostać zaktualizowane. Proszę skontaktuj się z administratorem.',
|
||||||
'MCHAT_WRONG_VERSION' => 'Zainstalowano złą wersję rozszerzenia. Proszę uruchom %instalator%s aby zainstalować nową wersję rozszerzenia.',
|
'MCHAT_WRONG_VERSION' => 'Zainstalowano złą wersję rozszerzenia. Proszę uruchom %instalator%s aby zainstalować nową wersję rozszerzenia.',
|
||||||
@@ -203,24 +201,24 @@ $lang = array_merge($lang, array(
|
|||||||
'TOO_SMALL_MAX_WORDS_LNGTH' => 'Ustawiona wartość długości słowa jest za mała.',
|
'TOO_SMALL_MAX_WORDS_LNGTH' => 'Ustawiona wartość długości słowa jest za mała.',
|
||||||
'TOO_LARGE_MAX_WORDS_LNGTH' => 'Ustawiona wartość długości słowa jest za duża.',
|
'TOO_LARGE_MAX_WORDS_LNGTH' => 'Ustawiona wartość długości słowa jest za duża.',
|
||||||
'TOO_SMALL_WHOIS_REFRESH' => 'Ustawiona wartość odświeżania osób czatujących jest za mała.',
|
'TOO_SMALL_WHOIS_REFRESH' => 'Ustawiona wartość odświeżania osób czatujących jest za mała.',
|
||||||
'TOO_LARGE_WHOIS_REFRESH' => 'Ustawiona wartość odświeżania osób czatujących jest za duża.',
|
'TOO_LARGE_WHOIS_REFRESH' => 'Ustawiona wartość odświeżania osób czatujących jest za duża.',
|
||||||
'TOO_SMALL_INDEX_HEIGHT' => 'Ustawiona wartość wysokości mChat na stronie głównej jest za mała.',
|
'TOO_SMALL_INDEX_HEIGHT' => 'Ustawiona wartość wysokości mChat na stronie głównej jest za mała.',
|
||||||
'TOO_LARGE_INDEX_HEIGHT' => 'Ustawiona wartość wysokości mChat na stronie głównej jest za duża.',
|
'TOO_LARGE_INDEX_HEIGHT' => 'Ustawiona wartość wysokości mChat na stronie głównej jest za duża.',
|
||||||
'TOO_SMALL_CUSTOM_HEIGHT' => 'Ustawiona wartość wysokości strony niestandardowej mChat jest za mała.',
|
'TOO_SMALL_CUSTOM_HEIGHT' => 'Ustawiona wartość wysokości strony niestandardowej mChat jest za mała.',
|
||||||
'TOO_LARGE_CUSTOM_HEIGHT' => 'Ustawiona wartość wysokości strony niestandardowej mChat jest za duża.',
|
'TOO_LARGE_CUSTOM_HEIGHT' => 'Ustawiona wartość wysokości strony niestandardowej mChat jest za duża.',
|
||||||
'TOO_SHORT_STATIC_MESSAGE' => 'Ustawiona wartość limitu czasu dla użytkownika jest za mała.',
|
'TOO_SHORT_STATIC_MESSAGE' => 'Ustawiona wartość limitu czasu dla użytkownika jest za mała.',
|
||||||
'TOO_LONG_STATIC_MESSAGE' => 'Ustawiona wartość limitu czasu dla użytkownika jest za duża.',
|
'TOO_LONG_STATIC_MESSAGE' => 'Ustawiona wartość limitu czasu dla użytkownika jest za duża.',
|
||||||
'TOO_SMALL_TIMEOUT' => 'Ustawiona wartość ogłoszenia jest za mała.',
|
'TOO_SMALL_TIMEOUT' => 'Ustawiona wartość ogłoszenia jest za mała.',
|
||||||
'TOO_LARGE_TIMEOUT' => 'Ustawiona wartość ogłoszenia jest za duża.',
|
'TOO_LARGE_TIMEOUT' => 'Ustawiona wartość ogłoszenia jest za duża.',
|
||||||
'UCP_CAT_MCHAT' => 'mChat',
|
'UCP_CAT_MCHAT' => 'mChat',
|
||||||
'UCP_MCHAT_CONFIG' => 'mChat', //Preferences
|
'UCP_MCHAT_CONFIG' => 'mChat', //Preferences
|
||||||
'LOG_MCHAT_TABLE_PRUNED' => 'Tabela mChat została wyczyszczona',
|
'LOG_MCHAT_TABLE_PRUNED' => 'Tabela mChat została wyczyszczona',
|
||||||
'ACP_USER_MCHAT' => 'mChat Ustawienia',
|
'ACP_USER_MCHAT' => 'mChat Ustawienia',
|
||||||
'LOG_DELETED_MCHAT' => '<strong>Usuń wiadomości mChat</strong><br />» %1$s',
|
'LOG_DELETED_MCHAT' => '<strong>Usuń wiadomości mChat</strong><br />» %1$s',
|
||||||
'LOG_EDITED_MCHAT' => '<strong>Edytuj wiadomość mChat</strong><br />» %1$s',
|
'LOG_EDITED_MCHAT' => '<strong>Edytuj wiadomość mChat</strong><br />» %1$s',
|
||||||
'MCHAT_MESSAGE_LNGTH_EXPLAIN' => 'Pozostało znaków: <span class="charsLeft error"><strong>%d</strong></span>',
|
'MCHAT_MESSAGE_LNGTH_EXPLAIN' => 'Pozostało znaków: <span class="charsLeft error"><strong>%d</strong></span>',
|
||||||
'MCHAT_TOP_POSTERS' => 'Top Spammerzy',
|
'MCHAT_TOP_POSTERS' => 'Top Spammerzy',
|
||||||
'MCHAT_NEW_CHAT' => 'Nowa wiadomośc na chacie!',
|
'MCHAT_NEW_CHAT' => 'Nowa wiadomośc na chacie!',
|
||||||
'FONT_COLOR' => 'Kolor czcionki',
|
'FONT_COLOR' => 'Kolor czcionki',
|
||||||
'FONT_COLOR_HIDE' => 'Ukryj kolor czcionki',
|
'FONT_COLOR_HIDE' => 'Ukryj kolor czcionki',
|
||||||
'FONT_HUGE' => 'Ogromne',
|
'FONT_HUGE' => 'Ogromne',
|
||||||
@@ -229,7 +227,7 @@ $lang = array_merge($lang, array(
|
|||||||
'FONT_SIZE' => 'Rozmiar czcionki',
|
'FONT_SIZE' => 'Rozmiar czcionki',
|
||||||
'FONT_SMALL' => 'Mały',
|
'FONT_SMALL' => 'Mały',
|
||||||
'FONT_TINY' => 'Malutki',
|
'FONT_TINY' => 'Malutki',
|
||||||
'MCHAT_SEND_PM' => 'Wyślij prywatną wiadomość',
|
'MCHAT_SEND_PM' => 'Wyślij prywatną wiadomość',
|
||||||
'MCHAT_PM' => '(PM)',
|
'MCHAT_PM' => '(PM)',
|
||||||
'MORE_SMILIES' => 'Więcej emotikon',
|
'MORE_SMILIES' => 'Więcej emotikon',
|
||||||
));
|
));
|
||||||
@@ -31,7 +31,6 @@ if (empty($lang) || !is_array($lang))
|
|||||||
// Some characters for use
|
// Some characters for use
|
||||||
// ’ » “ ” …
|
// ’ » “ ” …
|
||||||
|
|
||||||
|
|
||||||
$lang = array_merge($lang, array(
|
$lang = array_merge($lang, array(
|
||||||
|
|
||||||
// UMIL stuff
|
// UMIL stuff
|
||||||
@@ -56,7 +55,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_ENABLE' => 'Włącz rozszerzenie mChat',
|
'MCHAT_ENABLE' => 'Włącz rozszerzenie mChat',
|
||||||
'MCHAT_ENABLE_EXPLAIN' => 'Włącz lub wyłącz rozszerzenie globalnie.',
|
'MCHAT_ENABLE_EXPLAIN' => 'Włącz lub wyłącz rozszerzenie globalnie.',
|
||||||
'MCHAT_AVATARS' => 'Wyświetlaj avatary',
|
'MCHAT_AVATARS' => 'Wyświetlaj avatary',
|
||||||
'MCHAT_AVATARS_EXPLAIN' => 'Zaznacz TAK aby wyświetlać miniaturki avatarów',
|
'MCHAT_AVATARS_EXPLAIN' => 'Zaznacz TAK aby wyświetlać miniaturki avatarów',
|
||||||
'MCHAT_ON_INDEX' => 'mChat na stronie głównej',
|
'MCHAT_ON_INDEX' => 'mChat na stronie głównej',
|
||||||
'MCHAT_ON_INDEX_EXPLAIN' => 'Zezwól na wyświetlanie mChat na stronie głównej.',
|
'MCHAT_ON_INDEX_EXPLAIN' => 'Zezwól na wyświetlanie mChat na stronie głównej.',
|
||||||
'MCHAT_INDEX_HEIGHT' => 'Wysokość na stronie głównej',
|
'MCHAT_INDEX_HEIGHT' => 'Wysokość na stronie głównej',
|
||||||
@@ -70,7 +69,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_PRUNE' => 'Włącz opcję wyczyszczenia wiadomości',
|
'MCHAT_PRUNE' => 'Włącz opcję wyczyszczenia wiadomości',
|
||||||
'MCHAT_PRUNE_EXPLAIN' => 'Jeśli zaznaczono tak, opcja wyczyszczenia wiadomości będzie dostępna.<br /><em>Tylko wtedy, jeśli użytkownik wyświetli stronę niestandardową lub archiwum</em>.',
|
'MCHAT_PRUNE_EXPLAIN' => 'Jeśli zaznaczono tak, opcja wyczyszczenia wiadomości będzie dostępna.<br /><em>Tylko wtedy, jeśli użytkownik wyświetli stronę niestandardową lub archiwum</em>.',
|
||||||
'MCHAT_PRUNE_NUM' => 'Ilość wyczyszczonych wiadomości',
|
'MCHAT_PRUNE_NUM' => 'Ilość wyczyszczonych wiadomości',
|
||||||
'MCHAT_PRUNE_NUM_EXPLAIN' => 'Wpisz liczbę',
|
'MCHAT_PRUNE_NUM_EXPLAIN' => 'Wpisz liczbę',
|
||||||
'MCHAT_MESSAGE_LIMIT' => 'Limit wiadomości',
|
'MCHAT_MESSAGE_LIMIT' => 'Limit wiadomości',
|
||||||
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'Maksymalna ilość wiadomości wyświetlana w oknie mChat.<br /><em>Rekomendowane od 10 do 30</em>.',
|
'MCHAT_MESSAGE_LIMIT_EXPLAIN' => 'Maksymalna ilość wiadomości wyświetlana w oknie mChat.<br /><em>Rekomendowane od 10 do 30</em>.',
|
||||||
'MCHAT_MESSAGE_NUM' => 'Limit wiadomości na stronie głównej',
|
'MCHAT_MESSAGE_NUM' => 'Limit wiadomości na stronie głównej',
|
||||||
@@ -111,7 +110,7 @@ $lang = array_merge($lang, array(
|
|||||||
'MCHAT_MESSAGES' => 'Ustawienia wiadomości',
|
'MCHAT_MESSAGES' => 'Ustawienia wiadomości',
|
||||||
'MCHAT_PAUSE_ON_INPUT' => 'Auto-aktuaizacja podczas pisania wiadomości',
|
'MCHAT_PAUSE_ON_INPUT' => 'Auto-aktuaizacja podczas pisania wiadomości',
|
||||||
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Zaznacz TAK aby nie auto-aktualizować mChatu gdy użytkownik pisze wiadomość',
|
'MCHAT_PAUSE_ON_INPUT_EXPLAIN' => 'Zaznacz TAK aby nie auto-aktualizować mChatu gdy użytkownik pisze wiadomość',
|
||||||
|
|
||||||
// error reporting
|
// error reporting
|
||||||
'MCHAT_NEEDS_UPDATING' => 'Rozszerzenie mChat musi zostać zaktualizowane. Proszę skontaktuj się z administratorem.',
|
'MCHAT_NEEDS_UPDATING' => 'Rozszerzenie mChat musi zostać zaktualizowane. Proszę skontaktuj się z administratorem.',
|
||||||
'MCHAT_WRONG_VERSION' => 'Zainstalowano złą wersję rozszerzenia. Proszę uruchom %instalator%s aby zainstalować nową wersję rozszerzenia.',
|
'MCHAT_WRONG_VERSION' => 'Zainstalowano złą wersję rozszerzenia. Proszę uruchom %instalator%s aby zainstalować nową wersję rozszerzenia.',
|
||||||
@@ -131,16 +130,16 @@ $lang = array_merge($lang, array(
|
|||||||
'TOO_SMALL_MAX_WORDS_LNGTH' => 'Ustawiona wartość długości słowa jest za mała.',
|
'TOO_SMALL_MAX_WORDS_LNGTH' => 'Ustawiona wartość długości słowa jest za mała.',
|
||||||
'TOO_LARGE_MAX_WORDS_LNGTH' => 'Ustawiona wartość długości słowa jest za duża.',
|
'TOO_LARGE_MAX_WORDS_LNGTH' => 'Ustawiona wartość długości słowa jest za duża.',
|
||||||
'TOO_SMALL_WHOIS_REFRESH' => 'Ustawiona wartość odświeżania osób czatujących jest za mała.',
|
'TOO_SMALL_WHOIS_REFRESH' => 'Ustawiona wartość odświeżania osób czatujących jest za mała.',
|
||||||
'TOO_LARGE_WHOIS_REFRESH' => 'Ustawiona wartość odświeżania osób czatujących jest za duża.',
|
'TOO_LARGE_WHOIS_REFRESH' => 'Ustawiona wartość odświeżania osób czatujących jest za duża.',
|
||||||
'TOO_SMALL_INDEX_HEIGHT' => 'Ustawiona wartość wysokości mChat na stronie głównej jest za mała.',
|
'TOO_SMALL_INDEX_HEIGHT' => 'Ustawiona wartość wysokości mChat na stronie głównej jest za mała.',
|
||||||
'TOO_LARGE_INDEX_HEIGHT' => 'Ustawiona wartość wysokości mChat na stronie głównej jest za duża.',
|
'TOO_LARGE_INDEX_HEIGHT' => 'Ustawiona wartość wysokości mChat na stronie głównej jest za duża.',
|
||||||
'TOO_SMALL_CUSTOM_HEIGHT' => 'Ustawiona wartość wysokości strony niestandardowej mChat jest za mała.',
|
'TOO_SMALL_CUSTOM_HEIGHT' => 'Ustawiona wartość wysokości strony niestandardowej mChat jest za mała.',
|
||||||
'TOO_LARGE_CUSTOM_HEIGHT' => 'Ustawiona wartość wysokości strony niestandardowej mChat jest za duża.',
|
'TOO_LARGE_CUSTOM_HEIGHT' => 'Ustawiona wartość wysokości strony niestandardowej mChat jest za duża.',
|
||||||
'TOO_SHORT_STATIC_MESSAGE' => 'Ustawiona wartość limitu czasu dla użytkownika jest za mała.',
|
'TOO_SHORT_STATIC_MESSAGE' => 'Ustawiona wartość limitu czasu dla użytkownika jest za mała.',
|
||||||
'TOO_LONG_STATIC_MESSAGE' => 'Ustawiona wartość limitu czasu dla użytkownika jest za duża.',
|
'TOO_LONG_STATIC_MESSAGE' => 'Ustawiona wartość limitu czasu dla użytkownika jest za duża.',
|
||||||
'TOO_SMALL_TIMEOUT' => 'Ustawiona wartość ogłoszenia jest za mała.',
|
'TOO_SMALL_TIMEOUT' => 'Ustawiona wartość ogłoszenia jest za mała.',
|
||||||
'TOO_LARGE_TIMEOUT' => 'Ustawiona wartość ogłoszenia jest za duża.',
|
'TOO_LARGE_TIMEOUT' => 'Ustawiona wartość ogłoszenia jest za duża.',
|
||||||
|
|
||||||
// User perms
|
// User perms
|
||||||
'ACL_U_MCHAT_USE' => 'Może używać mChat',
|
'ACL_U_MCHAT_USE' => 'Może używać mChat',
|
||||||
'ACL_U_MCHAT_VIEW' => 'Może przeglądać mChat',
|
'ACL_U_MCHAT_VIEW' => 'Może przeglądać mChat',
|
||||||
@@ -155,5 +154,5 @@ $lang = array_merge($lang, array(
|
|||||||
|
|
||||||
// Admin perms
|
// Admin perms
|
||||||
'ACL_A_MCHAT' => array('lang' => 'Może zarządzać ustawieniami Mchat', 'cat' => 'permissions'), // Using a phpBB category here
|
'ACL_A_MCHAT' => array('lang' => 'Może zarządzać ustawieniami Mchat', 'cat' => 'permissions'), // Using a phpBB category here
|
||||||
|
|
||||||
));
|
));
|
||||||
|
|||||||
108
license.txt
108
license.txt
@@ -1,12 +1,12 @@
|
|||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
Version 2, June 1991
|
Version 2, June 1991
|
||||||
|
|
||||||
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
|
||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||||
Everyone is permitted to copy and distribute verbatim copies
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
of this license document, but changing it is not allowed.
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
Preamble
|
Preamble
|
||||||
|
|
||||||
The licenses for most software are designed to take away your
|
The licenses for most software are designed to take away your
|
||||||
freedom to share and change it. By contrast, the GNU General Public
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
@@ -56,7 +56,7 @@ patent must be licensed for everyone's free use or not licensed at all.
|
|||||||
The precise terms and conditions for copying, distribution and
|
The precise terms and conditions for copying, distribution and
|
||||||
modification follow.
|
modification follow.
|
||||||
|
|
||||||
GNU GENERAL PUBLIC LICENSE
|
GNU GENERAL PUBLIC LICENSE
|
||||||
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
0. This License applies to any program or other work which contains
|
0. This License applies to any program or other work which contains
|
||||||
@@ -92,24 +92,24 @@ of it, thus forming a work based on the Program, and copy and
|
|||||||
distribute such modifications or work under the terms of Section 1
|
distribute such modifications or work under the terms of Section 1
|
||||||
above, provided that you also meet all of these conditions:
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
a) You must cause the modified files to carry prominent notices
|
a) You must cause the modified files to carry prominent notices
|
||||||
stating that you changed the files and the date of any change.
|
stating that you changed the files and the date of any change.
|
||||||
|
|
||||||
b) You must cause any work that you distribute or publish, that in
|
b) You must cause any work that you distribute or publish, that in
|
||||||
whole or in part contains or is derived from the Program or any
|
whole or in part contains or is derived from the Program or any
|
||||||
part thereof, to be licensed as a whole at no charge to all third
|
part thereof, to be licensed as a whole at no charge to all third
|
||||||
parties under the terms of this License.
|
parties under the terms of this License.
|
||||||
|
|
||||||
c) If the modified program normally reads commands interactively
|
c) If the modified program normally reads commands interactively
|
||||||
when run, you must cause it, when started running for such
|
when run, you must cause it, when started running for such
|
||||||
interactive use in the most ordinary way, to print or display an
|
interactive use in the most ordinary way, to print or display an
|
||||||
announcement including an appropriate copyright notice and a
|
announcement including an appropriate copyright notice and a
|
||||||
notice that there is no warranty (or else, saying that you provide
|
notice that there is no warranty (or else, saying that you provide
|
||||||
a warranty) and that users may redistribute the program under
|
a warranty) and that users may redistribute the program under
|
||||||
these conditions, and telling the user how to view a copy of this
|
these conditions, and telling the user how to view a copy of this
|
||||||
License. (Exception: if the Program itself is interactive but
|
License. (Exception: if the Program itself is interactive but
|
||||||
does not normally print such an announcement, your work based on
|
does not normally print such an announcement, your work based on
|
||||||
the Program is not required to print an announcement.)
|
the Program is not required to print an announcement.)
|
||||||
|
|
||||||
These requirements apply to the modified work as a whole. If
|
These requirements apply to the modified work as a whole. If
|
||||||
identifiable sections of that work are not derived from the Program,
|
identifiable sections of that work are not derived from the Program,
|
||||||
@@ -135,22 +135,22 @@ the scope of this License.
|
|||||||
under Section 2) in object code or executable form under the terms of
|
under Section 2) in object code or executable form under the terms of
|
||||||
Sections 1 and 2 above provided that you also do one of the following:
|
Sections 1 and 2 above provided that you also do one of the following:
|
||||||
|
|
||||||
a) Accompany it with the complete corresponding machine-readable
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
source code, which must be distributed under the terms of Sections
|
source code, which must be distributed under the terms of Sections
|
||||||
1 and 2 above on a medium customarily used for software interchange; or,
|
1 and 2 above on a medium customarily used for software interchange; or,
|
||||||
|
|
||||||
b) Accompany it with a written offer, valid for at least three
|
b) Accompany it with a written offer, valid for at least three
|
||||||
years, to give any third party, for a charge no more than your
|
years, to give any third party, for a charge no more than your
|
||||||
cost of physically performing source distribution, a complete
|
cost of physically performing source distribution, a complete
|
||||||
machine-readable copy of the corresponding source code, to be
|
machine-readable copy of the corresponding source code, to be
|
||||||
distributed under the terms of Sections 1 and 2 above on a medium
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
customarily used for software interchange; or,
|
customarily used for software interchange; or,
|
||||||
|
|
||||||
c) Accompany it with the information you received as to the offer
|
c) Accompany it with the information you received as to the offer
|
||||||
to distribute corresponding source code. (This alternative is
|
to distribute corresponding source code. (This alternative is
|
||||||
allowed only for noncommercial distribution and only if you
|
allowed only for noncommercial distribution and only if you
|
||||||
received the program in object code or executable form with such
|
received the program in object code or executable form with such
|
||||||
an offer, in accord with Subsection b above.)
|
an offer, in accord with Subsection b above.)
|
||||||
|
|
||||||
The source code for a work means the preferred form of the work for
|
The source code for a work means the preferred form of the work for
|
||||||
making modifications to it. For an executable work, complete source
|
making modifications to it. For an executable work, complete source
|
||||||
@@ -255,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
|
|||||||
of preserving the free status of all derivatives of our free software and
|
of preserving the free status of all derivatives of our free software and
|
||||||
of promoting the sharing and reuse of software generally.
|
of promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
NO WARRANTY
|
NO WARRANTY
|
||||||
|
|
||||||
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
||||||
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
||||||
@@ -277,9 +277,9 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
|||||||
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
||||||
POSSIBILITY OF SUCH DAMAGES.
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
||||||
How to Apply These Terms to Your New Programs
|
How to Apply These Terms to Your New Programs
|
||||||
|
|
||||||
If you develop a new program, and you want it to be of the greatest
|
If you develop a new program, and you want it to be of the greatest
|
||||||
possible use to the public, the best way to achieve this is to make it
|
possible use to the public, the best way to achieve this is to make it
|
||||||
@@ -290,32 +290,32 @@ to attach them to the start of each source file to most effectively
|
|||||||
convey the exclusion of warranty; and each file should have at least
|
convey the exclusion of warranty; and each file should have at least
|
||||||
the "copyright" line and a pointer to where the full notice is found.
|
the "copyright" line and a pointer to where the full notice is found.
|
||||||
|
|
||||||
<one line to give the program's name and a brief idea of what it does.>
|
<one line to give the program's name and a brief idea of what it does.>
|
||||||
Copyright (C) <year> <name of author>
|
Copyright (C) <year> <name of author>
|
||||||
|
|
||||||
This program is free software; you can redistribute it and/or modify
|
This program is free software; you can redistribute it and/or modify
|
||||||
it under the terms of the GNU General Public License as published by
|
it under the terms of the GNU General Public License as published by
|
||||||
the Free Software Foundation; either version 2 of the License, or
|
the Free Software Foundation; either version 2 of the License, or
|
||||||
(at your option) any later version.
|
(at your option) any later version.
|
||||||
|
|
||||||
This program is distributed in the hope that it will be useful,
|
This program is distributed in the hope that it will be useful,
|
||||||
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
||||||
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
||||||
GNU General Public License for more details.
|
GNU General Public License for more details.
|
||||||
|
|
||||||
You should have received a copy of the GNU General Public License along
|
You should have received a copy of the GNU General Public License along
|
||||||
with this program; if not, write to the Free Software Foundation, Inc.,
|
with this program; if not, write to the Free Software Foundation, Inc.,
|
||||||
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
||||||
|
|
||||||
Also add information on how to contact you by electronic and paper mail.
|
Also add information on how to contact you by electronic and paper mail.
|
||||||
|
|
||||||
If the program is interactive, make it output a short notice like this
|
If the program is interactive, make it output a short notice like this
|
||||||
when it starts in an interactive mode:
|
when it starts in an interactive mode:
|
||||||
|
|
||||||
Gnomovision version 69, Copyright (C) year name of author
|
Gnomovision version 69, Copyright (C) year name of author
|
||||||
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
||||||
This is free software, and you are welcome to redistribute it
|
This is free software, and you are welcome to redistribute it
|
||||||
under certain conditions; type `show c' for details.
|
under certain conditions; type `show c' for details.
|
||||||
|
|
||||||
The hypothetical commands `show w' and `show c' should show the appropriate
|
The hypothetical commands `show w' and `show c' should show the appropriate
|
||||||
parts of the General Public License. Of course, the commands you use may
|
parts of the General Public License. Of course, the commands you use may
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ namespace dmzx\mchat\migrations;
|
|||||||
|
|
||||||
class mchat_module extends \phpbb\db\migration\migration
|
class mchat_module extends \phpbb\db\migration\migration
|
||||||
{
|
{
|
||||||
|
|
||||||
public function update_data()
|
public function update_data()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
|
|||||||
@@ -17,14 +17,13 @@ class mchat_module1 extends \phpbb\db\migration\migration
|
|||||||
return array(
|
return array(
|
||||||
array('module.add', array('ucp', 'UCP_MAIN', 'UCP_MCHAT_CONFIG')),
|
array('module.add', array('ucp', 'UCP_MAIN', 'UCP_MCHAT_CONFIG')),
|
||||||
array('module.add', array(
|
array('module.add', array(
|
||||||
'ucp', 'UCP_MCHAT_CONFIG', array(
|
'ucp', 'UCP_MCHAT_CONFIG', array(
|
||||||
'module_basename' => '\dmzx\mchat\ucp\ucp_mchat_module',
|
'module_basename' => '\dmzx\mchat\ucp\ucp_mchat_module',
|
||||||
'modes' => array('configuration'),
|
'modes' => array('configuration'),
|
||||||
'module_auth' => 'acl_u_mchat_use',
|
'module_auth' => 'acl_u_mchat_use',
|
||||||
))),
|
))),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ namespace dmzx\mchat\migrations;
|
|||||||
|
|
||||||
class mchat_schema extends \phpbb\db\migration\migration
|
class mchat_schema extends \phpbb\db\migration\migration
|
||||||
{
|
{
|
||||||
|
|
||||||
public function update_data()
|
public function update_data()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
@@ -20,9 +20,9 @@ class mchat_schema extends \phpbb\db\migration\migration
|
|||||||
array('config.add', array('mchat_on_index', true)),
|
array('config.add', array('mchat_on_index', true)),
|
||||||
array('config.add', array('mchat_new_posts', false)),
|
array('config.add', array('mchat_new_posts', false)),
|
||||||
array('config.add', array('mchat_stats_index', false)),
|
array('config.add', array('mchat_stats_index', false)),
|
||||||
array('config.add', array('mchat_version','0.0.3')),
|
array('config.add', array('mchat_version','0.0.4')),
|
||||||
|
|
||||||
array('permission.add', array('u_mchat_use')),
|
array('permission.add', array('u_mchat_use')),
|
||||||
array('permission.add', array('u_mchat_view')),
|
array('permission.add', array('u_mchat_view')),
|
||||||
array('permission.add', array('u_mchat_edit')),
|
array('permission.add', array('u_mchat_edit')),
|
||||||
array('permission.add', array('u_mchat_delete')),
|
array('permission.add', array('u_mchat_delete')),
|
||||||
@@ -54,7 +54,7 @@ class mchat_schema extends \phpbb\db\migration\migration
|
|||||||
array('permission.permission_set', array('REGISTERED', 'u_mchat_urls', 'group')),
|
array('permission.permission_set', array('REGISTERED', 'u_mchat_urls', 'group')),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
public function update_schema()
|
public function update_schema()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
@@ -69,7 +69,6 @@ class mchat_schema extends \phpbb\db\migration\migration
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
public function revert_schema()
|
public function revert_schema()
|
||||||
{
|
{
|
||||||
@@ -79,6 +78,5 @@ class mchat_schema extends \phpbb\db\migration\migration
|
|||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -32,8 +32,8 @@ class mchat_schema_2 extends \phpbb\db\migration\migration
|
|||||||
'bbcode_uid' => array('VCHAR:8', ''),
|
'bbcode_uid' => array('VCHAR:8', ''),
|
||||||
'bbcode_options' => array('BOOL', '7'),
|
'bbcode_options' => array('BOOL', '7'),
|
||||||
'message_time' => array('INT:11', 0),
|
'message_time' => array('INT:11', 0),
|
||||||
'forum_id' => array('UINT', 0),
|
'forum_id' => array('UINT', 0),
|
||||||
'post_id' => array('UINT', 0),
|
'post_id' => array('UINT', 0),
|
||||||
),
|
),
|
||||||
'PRIMARY_KEY' => 'message_id',
|
'PRIMARY_KEY' => 'message_id',
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -28,79 +28,77 @@ class mchat_schema_3 extends \phpbb\db\migration\migration
|
|||||||
{
|
{
|
||||||
global $user;
|
global $user;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Define sample rule data
|
// Define sample rule data
|
||||||
$sample_data = array(
|
$sample_data = array(
|
||||||
array(
|
array(
|
||||||
'config_name' => 'refresh',
|
'config_name' => 'refresh',
|
||||||
'config_value' => '10',
|
'config_value' => '10',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'message_limit',
|
'config_name' => 'message_limit',
|
||||||
'config_value' => '10',
|
'config_value' => '10',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'archive_limit',
|
'config_name' => 'archive_limit',
|
||||||
'config_value' => '25',
|
'config_value' => '25',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'flood_time',
|
'config_name' => 'flood_time',
|
||||||
'config_value' => '20',
|
'config_value' => '20',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'max_message_lngth',
|
'config_name' => 'max_message_lngth',
|
||||||
'config_value' => '500',
|
'config_value' => '500',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'custom_page',
|
'config_name' => 'custom_page',
|
||||||
'config_value' => '1',
|
'config_value' => '1',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'date',
|
'config_name' => 'date',
|
||||||
'config_value' => 'D M d, Y g:i a',
|
'config_value' => 'D M d, Y g:i a',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'whois',
|
'config_name' => 'whois',
|
||||||
'config_value' => '1',
|
'config_value' => '1',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'bbcode_disallowed',
|
'config_name' => 'bbcode_disallowed',
|
||||||
'config_value' => '',
|
'config_value' => '',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'prune_enable',
|
'config_name' => 'prune_enable',
|
||||||
'config_value' => '0',
|
'config_value' => '0',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'prune_num',
|
'config_name' => 'prune_num',
|
||||||
'config_value' => '0',
|
'config_value' => '0',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'location',
|
'config_name' => 'location',
|
||||||
'config_value' => '1',
|
'config_value' => '1',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'whois_refresh',
|
'config_name' => 'whois_refresh',
|
||||||
'config_value' => '30',
|
'config_value' => '30',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'static_message',
|
'config_name' => 'static_message',
|
||||||
'config_value' => '',
|
'config_value' => '',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'index_height',
|
'config_name' => 'index_height',
|
||||||
'config_value' => '250',
|
'config_value' => '250',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'custom_height',
|
'config_name' => 'custom_height',
|
||||||
'config_value' => '350',
|
'config_value' => '350',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'override_min_post_chars',
|
'config_name' => 'override_min_post_chars',
|
||||||
'config_value' => '0',
|
'config_value' => '0',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'timeout',
|
'config_name' => 'timeout',
|
||||||
'config_value' => '0',
|
'config_value' => '0',
|
||||||
),
|
),
|
||||||
@@ -108,19 +106,19 @@ class mchat_schema_3 extends \phpbb\db\migration\migration
|
|||||||
'config_name' => 'override_smilie_limit',
|
'config_name' => 'override_smilie_limit',
|
||||||
'config_value' => '0',
|
'config_value' => '0',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'pause_on_input',
|
'config_name' => 'pause_on_input',
|
||||||
'config_value' => '0',
|
'config_value' => '0',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'rules',
|
'config_name' => 'rules',
|
||||||
'config_value' => '',
|
'config_value' => '',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'avatars',
|
'config_name' => 'avatars',
|
||||||
'config_value' => '0',
|
'config_value' => '0',
|
||||||
),
|
),
|
||||||
array(
|
array(
|
||||||
'config_name' => 'message_num',
|
'config_name' => 'message_num',
|
||||||
'config_value' => '10',
|
'config_value' => '10',
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -13,11 +13,11 @@ class mchat_schema_4 extends \phpbb\db\migration\migration
|
|||||||
{
|
{
|
||||||
|
|
||||||
static public function depends_on()
|
static public function depends_on()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
'\dmzx\mchat\migrations\mchat_schema_3',
|
'\dmzx\mchat\migrations\mchat_schema_3',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
public function update_schema()
|
public function update_schema()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
|
|||||||
@@ -17,7 +17,7 @@ class mchat_schema_6 extends \phpbb\db\migration\migration
|
|||||||
return array(
|
return array(
|
||||||
'\dmzx\mchat\migrations\mchat_schema_5',
|
'\dmzx\mchat\migrations\mchat_schema_5',
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
public function update_data()
|
public function update_data()
|
||||||
{
|
{
|
||||||
return array(
|
return array(
|
||||||
@@ -40,8 +40,8 @@ class mchat_schema_6 extends \phpbb\db\migration\migration
|
|||||||
'module_auth' => 'u_mchat_use',
|
'module_auth' => 'u_mchat_use',
|
||||||
),
|
),
|
||||||
),
|
),
|
||||||
|
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -28,8 +28,8 @@ function helpline(help)
|
|||||||
/**
|
/**
|
||||||
* Fix a bug involving the TextRange object. From
|
* Fix a bug involving the TextRange object. From
|
||||||
* http://www.frostjedi.com/terra/scripts/demo/caretBug.html
|
* http://www.frostjedi.com/terra/scripts/demo/caretBug.html
|
||||||
*/
|
*/
|
||||||
function initInsertions()
|
function initInsertions()
|
||||||
{
|
{
|
||||||
var doc;
|
var doc;
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@ function initInsertions()
|
|||||||
{
|
{
|
||||||
doc = document;
|
doc = document;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
doc = opener.document;
|
doc = opener.document;
|
||||||
}
|
}
|
||||||
@@ -65,19 +65,18 @@ function initInsertions()
|
|||||||
* bbstyle
|
* bbstyle
|
||||||
*/
|
*/
|
||||||
function bbstyle(bbnumber)
|
function bbstyle(bbnumber)
|
||||||
{
|
{
|
||||||
if (bbnumber != -1)
|
if (bbnumber != -1)
|
||||||
{
|
{
|
||||||
bbfontstyle(bbtags[bbnumber], bbtags[bbnumber+1]);
|
bbfontstyle(bbtags[bbnumber], bbtags[bbnumber+1]);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
insert_text('[*]');
|
insert_text('[*]');
|
||||||
document.forms[form_name].elements[text_name].focus();
|
document.forms[form_name].elements[text_name].focus();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Apply bbcodes
|
* Apply bbcodes
|
||||||
*/
|
*/
|
||||||
@@ -110,10 +109,10 @@ function bbfontstyle(bbopen, bbclose)
|
|||||||
theSelection = '';
|
theSelection = '';
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
//The new position for the cursor after adding the bbcode
|
//The new position for the cursor after adding the bbcode
|
||||||
var caret_pos = getCaretPosition(textarea).start;
|
var caret_pos = getCaretPosition(textarea).start;
|
||||||
var new_pos = caret_pos + bbopen.length;
|
var new_pos = caret_pos + bbopen.length;
|
||||||
|
|
||||||
// Open tag
|
// Open tag
|
||||||
insert_text(bbopen + bbclose);
|
insert_text(bbopen + bbclose);
|
||||||
@@ -124,12 +123,12 @@ function bbfontstyle(bbopen, bbclose)
|
|||||||
{
|
{
|
||||||
textarea.selectionStart = new_pos;
|
textarea.selectionStart = new_pos;
|
||||||
textarea.selectionEnd = new_pos;
|
textarea.selectionEnd = new_pos;
|
||||||
}
|
}
|
||||||
// IE
|
// IE
|
||||||
else if (document.selection)
|
else if (document.selection)
|
||||||
{
|
{
|
||||||
var range = textarea.createTextRange();
|
var range = textarea.createTextRange();
|
||||||
range.move("character", new_pos);
|
range.move("character", new_pos);
|
||||||
range.select();
|
range.select();
|
||||||
storeCaret(textarea);
|
storeCaret(textarea);
|
||||||
}
|
}
|
||||||
@@ -144,16 +143,16 @@ function bbfontstyle(bbopen, bbclose)
|
|||||||
function insert_text(text, spaces, popup)
|
function insert_text(text, spaces, popup)
|
||||||
{
|
{
|
||||||
var textarea;
|
var textarea;
|
||||||
|
|
||||||
if (!popup)
|
if (!popup)
|
||||||
{
|
{
|
||||||
textarea = document.forms[form_name].elements[text_name];
|
textarea = document.forms[form_name].elements[text_name];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
textarea = opener.document.forms[form_name].elements[text_name];
|
textarea = opener.document.forms[form_name].elements[text_name];
|
||||||
}
|
}
|
||||||
if (spaces)
|
if (spaces)
|
||||||
{
|
{
|
||||||
text = ' ' + text + ' ';
|
text = ' ' + text + ' ';
|
||||||
}
|
}
|
||||||
@@ -171,7 +170,7 @@ function insert_text(text, spaces, popup)
|
|||||||
}
|
}
|
||||||
else if (textarea.createTextRange && textarea.caretPos)
|
else if (textarea.createTextRange && textarea.caretPos)
|
||||||
{
|
{
|
||||||
if (baseHeight != textarea.caretPos.boundingHeight)
|
if (baseHeight != textarea.caretPos.boundingHeight)
|
||||||
{
|
{
|
||||||
textarea.focus();
|
textarea.focus();
|
||||||
storeCaret(textarea);
|
storeCaret(textarea);
|
||||||
@@ -184,7 +183,7 @@ function insert_text(text, spaces, popup)
|
|||||||
{
|
{
|
||||||
textarea.value = textarea.value + text;
|
textarea.value = textarea.value + text;
|
||||||
}
|
}
|
||||||
if (!popup)
|
if (!popup)
|
||||||
{
|
{
|
||||||
textarea.focus();
|
textarea.focus();
|
||||||
}
|
}
|
||||||
@@ -301,7 +300,7 @@ function split_lines(text)
|
|||||||
do
|
do
|
||||||
{
|
{
|
||||||
var splitAt = line.indexOf(' ', 80);
|
var splitAt = line.indexOf(' ', 80);
|
||||||
|
|
||||||
if (splitAt == -1)
|
if (splitAt == -1)
|
||||||
{
|
{
|
||||||
splitLines[j] = line;
|
splitLines[j] = line;
|
||||||
@@ -329,7 +328,7 @@ function mozWrap(txtarea, open, close)
|
|||||||
var selEnd = txtarea.selectionEnd;
|
var selEnd = txtarea.selectionEnd;
|
||||||
var scrollTop = txtarea.scrollTop;
|
var scrollTop = txtarea.scrollTop;
|
||||||
|
|
||||||
if (selEnd == 1 || selEnd == 2)
|
if (selEnd == 1 || selEnd == 2)
|
||||||
{
|
{
|
||||||
selEnd = selLength;
|
selEnd = selLength;
|
||||||
}
|
}
|
||||||
@@ -389,7 +388,7 @@ function colorPalette(dir, width, height)
|
|||||||
{
|
{
|
||||||
document.writeln('<tr>');
|
document.writeln('<tr>');
|
||||||
}
|
}
|
||||||
|
|
||||||
for (b = 0; b < 5; b++)
|
for (b = 0; b < 5; b++)
|
||||||
{
|
{
|
||||||
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
|
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
|
||||||
@@ -412,7 +411,6 @@ function colorPalette(dir, width, height)
|
|||||||
document.writeln('</table>');
|
document.writeln('</table>');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Caret Position object
|
* Caret Position object
|
||||||
*/
|
*/
|
||||||
@@ -422,14 +420,13 @@ function caretPosition()
|
|||||||
var end = null;
|
var end = null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the caret position in an textarea
|
* Get the caret position in an textarea
|
||||||
*/
|
*/
|
||||||
function getCaretPosition(txtarea)
|
function getCaretPosition(txtarea)
|
||||||
{
|
{
|
||||||
var caretPos = new caretPosition();
|
var caretPos = new caretPosition();
|
||||||
|
|
||||||
// simple Gecko/Opera way
|
// simple Gecko/Opera way
|
||||||
if(txtarea.selectionStart || txtarea.selectionStart == 0)
|
if(txtarea.selectionStart || txtarea.selectionStart == 0)
|
||||||
{
|
{
|
||||||
@@ -439,26 +436,26 @@ function getCaretPosition(txtarea)
|
|||||||
// dirty and slow IE way
|
// dirty and slow IE way
|
||||||
else if(document.selection)
|
else if(document.selection)
|
||||||
{
|
{
|
||||||
|
|
||||||
// get current selection
|
// get current selection
|
||||||
var range = document.selection.createRange();
|
var range = document.selection.createRange();
|
||||||
|
|
||||||
// a new selection of the whole textarea
|
// a new selection of the whole textarea
|
||||||
var range_all = document.body.createTextRange();
|
var range_all = document.body.createTextRange();
|
||||||
range_all.moveToElementText(txtarea);
|
range_all.moveToElementText(txtarea);
|
||||||
|
|
||||||
// calculate selection start point by moving beginning of range_all to beginning of range
|
// calculate selection start point by moving beginning of range_all to beginning of range
|
||||||
var sel_start;
|
var sel_start;
|
||||||
for (sel_start = 0; range_all.compareEndPoints('StartToStart', range) < 0; sel_start++)
|
for (sel_start = 0; range_all.compareEndPoints('StartToStart', range) < 0; sel_start++)
|
||||||
{
|
{
|
||||||
range_all.moveStart('character', 1);
|
range_all.moveStart('character', 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
txtarea.sel_start = sel_start;
|
txtarea.sel_start = sel_start;
|
||||||
|
|
||||||
// we ignore the end value for IE, this is already dirty enough and we don't need it
|
// we ignore the end value for IE, this is already dirty enough and we don't need it
|
||||||
caretPos.start = txtarea.sel_start;
|
caretPos.start = txtarea.sel_start;
|
||||||
caretPos.end = txtarea.sel_start;
|
caretPos.end = txtarea.sel_start;
|
||||||
}
|
}
|
||||||
|
|
||||||
return caretPos;
|
return caretPos;
|
||||||
|
|||||||
@@ -1,6 +0,0 @@
|
|||||||
<!-- INCLUDEJS editor.js -->
|
|
||||||
<!-- INCLUDEJS jquery.titlealert.min.js -->
|
|
||||||
<!-- INCLUDEJS jquery_cookie_mini.js -->
|
|
||||||
<!-- INCLUDEJS mchat_ajax_mini.js -->
|
|
||||||
<!-- INCLUDEJS jquery-1.8.3.min.js -->
|
|
||||||
<!-- INCLUDEJS jquery.maxlength.min.js -->
|
|
||||||
@@ -1,13 +1,13 @@
|
|||||||
/*
|
/*
|
||||||
@author: remy sharp / http://remysharp.com
|
@author: remy sharp / http://remysharp.com
|
||||||
@params:
|
@params:
|
||||||
feedback - the selector for the element that gives the user feedback. Note that this will be relative to the form the plugin is run against.
|
feedback - the selector for the element that gives the user feedback. Note that this will be relative to the form the plugin is run against.
|
||||||
hardLimit - whether to stop the user being able to keep adding characters. Defaults to true.
|
hardLimit - whether to stop the user being able to keep adding characters. Defaults to true.
|
||||||
useInput - whether to look for a hidden input named 'maxlength' instead of the maxlength attribute. Defaults to false.
|
useInput - whether to look for a hidden input named 'maxlength' instead of the maxlength attribute. Defaults to false.
|
||||||
words - limit by characters or words, set this to true to limit by words. Defaults to false.
|
words - limit by characters or words, set this to true to limit by words. Defaults to false.
|
||||||
@license: Creative Commons License - ShareAlike http://creativecommons.org/licenses/by-sa/3.0/
|
@license: Creative Commons License - ShareAlike http://creativecommons.org/licenses/by-sa/3.0/
|
||||||
@version: 1.2
|
@version: 1.2
|
||||||
@changes: code tidy via Ariel Flesler and fix when pasting over limit and including \t or \n
|
@changes: code tidy via Ariel Flesler and fix when pasting over limit and including \t or \n
|
||||||
*/
|
*/
|
||||||
|
|
||||||
(function(a){a.fn.maxlength=function(b){function c(a){var c=a.value;if(b.words)c=a.value.length?c.split(/\s+/):{length:0};return c.length}if(typeof b=="string"){b={feedback:b}}b=a.extend({},a.fn.maxlength.defaults,b);return this.each(function(){function i(a){var d=c(this),e=d>=g,f=a.keyCode;if(!e)return;switch(f){case 8:case 9:case 17:case 36:case 35:case 37:case 38:case 39:case 40:case 46:case 65:return;default:return b.words&&f!=32&&f!=13&&d==g}}var d=this,e=a(d),f=a(d.form),g=b.useInput?f.find("input[name=maxlength]").val():e.attr("maxlength"),h=f.find(b.feedback);var j=function(){var e=c(d),f=g-e;h.html(f||"0");if(f<497){a("#charsreman").show()}else{a("#charsreman").hide()};if(f<499){a("#charsreman2").show()}else{a("#charsreman2").hide()};if(f<500){a("#charsreman3").show()}else{a("#charsreman3").hide()}if(b.hardLimit&&f<0){d.value=b.words?d.value.split(/(\s+)/,g*2-1).join(""):d.value.substr(0,g);j()}};e.keyup(j).change(j).focus(j);if(b.hardLimit){e.keydown(i)}j()})};a.fn.maxlength.defaults={useInput:false,hardLimit:true,feedback:".charsLeft",words:false}})(jQuery)
|
(function(a){a.fn.maxlength=function(b){function c(a){var c=a.value;if(b.words)c=a.value.length?c.split(/\s+/):{length:0};return c.length}if(typeof b=="string"){b={feedback:b}}b=a.extend({},a.fn.maxlength.defaults,b);return this.each(function(){function i(a){var d=c(this),e=d>=g,f=a.keyCode;if(!e)return;switch(f){case 8:case 9:case 17:case 36:case 35:case 37:case 38:case 39:case 40:case 46:case 65:return;default:return b.words&&f!=32&&f!=13&&d==g}}var d=this,e=a(d),f=a(d.form),g=b.useInput?f.find("input[name=maxlength]").val():e.attr("maxlength"),h=f.find(b.feedback);var j=function(){var e=c(d),f=g-e;h.html(f||"0");if(f<497){a("#charsreman").show()}else{a("#charsreman").hide()};if(f<499){a("#charsreman2").show()}else{a("#charsreman2").hide()};if(f<500){a("#charsreman3").show()}else{a("#charsreman3").hide()}if(b.hardLimit&&f<0){d.value=b.words?d.value.split(/(\s+)/,g*2-1).join(""):d.value.substr(0,g);j()}};e.keyup(j).change(j).focus(j);if(b.hardLimit){e.keydown(i)}j()})};a.fn.maxlength.defaults={useInput:false,hardLimit:true,feedback:".charsLeft",words:false}})(jQuery)
|
||||||
@@ -1,9 +1,9 @@
|
|||||||
/*!
|
/*!
|
||||||
* Title Alert 0.7
|
* Title Alert 0.7
|
||||||
*
|
*
|
||||||
* Copyright (c) 2009 ESN | http://esn.me
|
* Copyright (c) 2009 ESN | http://esn.me
|
||||||
* Jonatan Heyman | http://heyman.info
|
* Jonatan Heyman | http://heyman.info
|
||||||
*
|
*
|
||||||
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||||
* of this software and associated documentation files (the "Software"), to deal
|
* of this software and associated documentation files (the "Software"), to deal
|
||||||
* in the Software without restriction, including without limitation the rights
|
* in the Software without restriction, including without limitation the rights
|
||||||
|
|||||||
@@ -12,482 +12,482 @@ var $jQ=jQuery.noConflict(true);
|
|||||||
var hasFocus = true;
|
var hasFocus = true;
|
||||||
$jQ(function(){
|
$jQ(function(){
|
||||||
if(!mChatArchiveMode){
|
if(!mChatArchiveMode){
|
||||||
var scrH=$jQ('#mChatmain')[0].scrollHeight;
|
var scrH=$jQ('#mChatmain')[0].scrollHeight;
|
||||||
$jQ('#mChatmain').animate({
|
$jQ('#mChatmain').animate({
|
||||||
scrollTop:scrH
|
scrollTop:scrH
|
||||||
},1000,'swing');
|
},1000,'swing');
|
||||||
if(mChatPause){
|
if(mChatPause){
|
||||||
$jQ('#mChatMessage').bind('keypress',function(){
|
$jQ('#mChatMessage').bind('keypress',function(){
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
$jQ('#mChatLoadIMG,#mChatOkIMG,#mChatErrorIMG').hide();
|
$jQ('#mChatLoadIMG,#mChatOkIMG,#mChatErrorIMG').hide();
|
||||||
$jQ('#mChatRefreshText').html(mChatRefreshNo).addClass('mchat-alert');
|
$jQ('#mChatRefreshText').html(mChatRefreshNo).addClass('mchat-alert');
|
||||||
$jQ('#mChatPauseIMG').show()
|
$jQ('#mChatPauseIMG').show()
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
$jQ([window,document]).blur(function(){
|
$jQ([window,document]).blur(function(){
|
||||||
hasFocus = false
|
hasFocus = false
|
||||||
}).focus(function(){
|
}).focus(function(){
|
||||||
hasFocus = true
|
hasFocus = true
|
||||||
});
|
});
|
||||||
$jQ.fn.preventDoubleSubmit=function(){
|
$jQ.fn.preventDoubleSubmit=function(){
|
||||||
var alreadySubmitted=false;
|
var alreadySubmitted=false;
|
||||||
return $jQ(this).submit(function(){
|
return $jQ(this).submit(function(){
|
||||||
if(alreadySubmitted){
|
if(alreadySubmitted){
|
||||||
return false
|
return false
|
||||||
}else{
|
}else{
|
||||||
alreadySubmitted=true
|
alreadySubmitted=true
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
};
|
};
|
||||||
$jQ.fn.autoGrowInput=function(o){
|
$jQ.fn.autoGrowInput=function(o){
|
||||||
var width=$jQ('.mChatPanel').width();
|
var width=$jQ('.mChatPanel').width();
|
||||||
o=$jQ.extend({
|
o=$jQ.extend({
|
||||||
maxWidth:width-20,
|
maxWidth:width-20,
|
||||||
minWidth:0,
|
minWidth:0,
|
||||||
comfortZone:20
|
comfortZone:20
|
||||||
},o);
|
},o);
|
||||||
this.filter('input:text').each(function(){
|
this.filter('input:text').each(function(){
|
||||||
var minWidth=o.minWidth||$jQ(this).width(),
|
var minWidth=o.minWidth||$jQ(this).width(),
|
||||||
val='',
|
val='',
|
||||||
input=$jQ(this),
|
input=$jQ(this),
|
||||||
testSubject=$jQ('<div/>').css({
|
testSubject=$jQ('<div/>').css({
|
||||||
position:'absolute',
|
position:'absolute',
|
||||||
top:-9999,
|
top:-9999,
|
||||||
left:-9999,
|
left:-9999,
|
||||||
width:'auto',
|
width:'auto',
|
||||||
fontSize:input.css('fontSize'),
|
fontSize:input.css('fontSize'),
|
||||||
fontFamily:input.css('fontFamily'),
|
fontFamily:input.css('fontFamily'),
|
||||||
fontWeight:input.css('fontWeight'),
|
fontWeight:input.css('fontWeight'),
|
||||||
letterSpacing:input.css('letterSpacing'),
|
letterSpacing:input.css('letterSpacing'),
|
||||||
whiteSpace:'nowrap'
|
whiteSpace:'nowrap'
|
||||||
}),
|
}),
|
||||||
check=function(){
|
check=function(){
|
||||||
if(val===(val=input.val())){
|
if(val===(val=input.val())){
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
var escaped=val.replace(/&/g,'&').replace(/\s/g,' ').replace(/</g,'<').replace(/>/g,'>');
|
var escaped=val.replace(/&/g,'&').replace(/\s/g,' ').replace(/</g,'<').replace(/>/g,'>');
|
||||||
testSubject.html(escaped);
|
testSubject.html(escaped);
|
||||||
var testerWidth=testSubject.width(),
|
var testerWidth=testSubject.width(),
|
||||||
newWidth=(testerWidth+o.comfortZone)>=minWidth?testerWidth+o.comfortZone:minWidth,
|
newWidth=(testerWidth+o.comfortZone)>=minWidth?testerWidth+o.comfortZone:minWidth,
|
||||||
currentWidth=input.width(),
|
currentWidth=input.width(),
|
||||||
isValidWidthChange=(newWidth<currentWidth&&newWidth>=minWidth)||(newWidth>minWidth&&newWidth<o.maxWidth);
|
isValidWidthChange=(newWidth<currentWidth&&newWidth>=minWidth)||(newWidth>minWidth&&newWidth<o.maxWidth);
|
||||||
if(isValidWidthChange){
|
if(isValidWidthChange){
|
||||||
input.width(newWidth)
|
input.width(newWidth)
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
testSubject.insertAfter(input);
|
testSubject.insertAfter(input);
|
||||||
$jQ(this).bind('keypress blur change submit focus',check)
|
$jQ(this).bind('keypress blur change submit focus',check)
|
||||||
});
|
});
|
||||||
return this
|
return this
|
||||||
};
|
};
|
||||||
$jQ('input.mChatText').autoGrowInput();
|
$jQ('input.mChatText').autoGrowInput();
|
||||||
$jQ('#postform').preventDoubleSubmit();
|
$jQ('#postform').preventDoubleSubmit();
|
||||||
if(mChatSound&&$jQ.cookie('mChatNoSound')!='yes'){
|
if(mChatSound&&$jQ.cookie('mChatNoSound')!='yes'){
|
||||||
$jQ.cookie('mChatNoSound',null);$jQ('#mChatUseSound').attr('checked','checked')
|
$jQ.cookie('mChatNoSound',null);$jQ('#mChatUseSound').attr('checked','checked')
|
||||||
} else {
|
} else {
|
||||||
$jQ.cookie('mChatNoSound','yes');
|
$jQ.cookie('mChatNoSound','yes');
|
||||||
$jQ('#mChatUseSound').removeAttr('checked')
|
$jQ('#mChatUseSound').removeAttr('checked')
|
||||||
}
|
}
|
||||||
if($jQ('#mChatUserList').length&&($jQ.cookie('mChatShowUserList')=='yes'||mChatCustomPage)){
|
if($jQ('#mChatUserList').length&&($jQ.cookie('mChatShowUserList')=='yes'||mChatCustomPage)){
|
||||||
$jQ('#mChatUserList').show()
|
$jQ('#mChatUserList').show()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
var mChat={
|
var mChat={
|
||||||
key:function(e){
|
key:function(e){
|
||||||
if(e.shiftKey&&e.keyCode==13){
|
if(e.shiftKey&&e.keyCode==13){
|
||||||
$jQ('#mChatMessage').append("<br />");
|
$jQ('#mChatMessage').append("<br />");
|
||||||
} else if(e.keyCode==13){
|
} else if(e.keyCode==13){
|
||||||
mChat.add();
|
mChat.add();
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
countDown:function(){
|
countDown:function(){
|
||||||
if($jQ('#mChatSessMess').hasClass('mchat-alert')){
|
if($jQ('#mChatSessMess').hasClass('mchat-alert')){
|
||||||
$jQ('#mChatSessMess').removeClass('mchat-alert')
|
$jQ('#mChatSessMess').removeClass('mchat-alert')
|
||||||
}
|
}
|
||||||
session_time=session_time-1;
|
session_time=session_time-1;
|
||||||
var sec=Math.floor(session_time);
|
var sec=Math.floor(session_time);
|
||||||
var min=Math.floor(sec/60);
|
var min=Math.floor(sec/60);
|
||||||
var hrs=Math.floor(min/60);
|
var hrs=Math.floor(min/60);
|
||||||
sec=(sec%60);
|
sec=(sec%60);
|
||||||
if(sec<=9){
|
if(sec<=9){
|
||||||
sec="0"+sec
|
sec="0"+sec
|
||||||
}
|
}
|
||||||
min=(min%60);
|
min=(min%60);
|
||||||
if(min<=9){
|
if(min<=9){
|
||||||
min="0"+min
|
min="0"+min
|
||||||
}
|
}
|
||||||
hrs=(hrs%60);
|
hrs=(hrs%60);
|
||||||
if(hrs<=9){
|
if(hrs<=9){
|
||||||
hrs="0"+hrs
|
hrs="0"+hrs
|
||||||
}
|
}
|
||||||
var time_left=hrs+":"+min+":"+sec;
|
var time_left=hrs+":"+min+":"+sec;
|
||||||
$jQ('#mChatSessMess').html(mChatSessEnds+' '+time_left);
|
$jQ('#mChatSessMess').html(mChatSessEnds+' '+time_left);
|
||||||
if(session_time<=0){
|
if(session_time<=0){
|
||||||
clearInterval(counter);
|
clearInterval(counter);
|
||||||
$jQ('#mChatSessMess').html(mChatSessOut).addClass('mchat-alert')
|
$jQ('#mChatSessMess').html(mChatSessOut).addClass('mchat-alert')
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
clear:function(){
|
clear:function(){
|
||||||
if($jQ('#mChatMessage').val()==''){
|
if($jQ('#mChatMessage').val()==''){
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
var answer=confirm(mChatReset);
|
var answer=confirm(mChatReset);
|
||||||
if(answer){
|
if(answer){
|
||||||
if($jQ('#mChatRefreshText').hasClass('mchat-alert')){
|
if($jQ('#mChatRefreshText').hasClass('mchat-alert')){
|
||||||
$jQ('#mChatRefreshText').removeClass('mchat-alert')
|
$jQ('#mChatRefreshText').removeClass('mchat-alert')
|
||||||
}
|
}
|
||||||
if(mChatPause){
|
if(mChatPause){
|
||||||
interval=setInterval(function(){
|
interval=setInterval(function(){
|
||||||
mChat.refresh()
|
mChat.refresh()
|
||||||
},mChatRefresh)
|
},mChatRefresh)
|
||||||
}
|
}
|
||||||
$jQ('#mChatOkIMG').show();
|
$jQ('#mChatOkIMG').show();
|
||||||
$jQ('#mChatLoadIMG, #mChatErrorIMG, #mChatPauseIMG').hide();
|
$jQ('#mChatLoadIMG, #mChatErrorIMG, #mChatPauseIMG').hide();
|
||||||
$jQ('#mChatRefreshText').html(mChatRefreshYes);
|
$jQ('#mChatRefreshText').html(mChatRefreshYes);
|
||||||
$jQ('#mChatMessage').val('').focus()
|
$jQ('#mChatMessage').val('').focus()
|
||||||
} else {
|
} else {
|
||||||
$jQ('#mChatMessage').focus()
|
$jQ('#mChatMessage').focus()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
sound: function (file) {
|
sound: function (file) {
|
||||||
if ($jQ.cookie('mChatNoSound') == 'yes') {
|
if ($jQ.cookie('mChatNoSound') == 'yes') {
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
if (false || $.browser.msie) {
|
if (false || $.browser.msie) {
|
||||||
$('#mChatSound').html('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="0" width="0" type="application/x-shockwave-flash"><param name="movie" value="' + file + '"></object>');
|
$('#mChatSound').html('<object classid="clsid:d27cdb6e-ae6d-11cf-96b8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" height="0" width="0" type="application/x-shockwave-flash"><param name="movie" value="' + file + '"></object>');
|
||||||
} else {
|
} else {
|
||||||
$('#mChatSound').html('<embed src="' + file + '" width="0" height="0" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>');
|
$('#mChatSound').html('<embed src="' + file + '" width="0" height="0" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash"></embed>');
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
alert:function(){
|
alert:function(){
|
||||||
if(!hasFocus||!document.hasFocus()){
|
if(!hasFocus||!document.hasFocus()){
|
||||||
$jQ.titleAlert(mChatNewMessageAlert)
|
$jQ.titleAlert(mChatNewMessageAlert)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
toggle:function(id){
|
toggle:function(id){
|
||||||
$jQ('#mChat'+id).slideToggle('normal',function(){
|
$jQ('#mChat'+id).slideToggle('normal',function(){
|
||||||
if($jQ('#mChat'+id).is(':visible')){
|
if($jQ('#mChat'+id).is(':visible')){
|
||||||
$jQ.cookie('mChatShow'+id,'yes')
|
$jQ.cookie('mChatShow'+id,'yes')
|
||||||
}
|
}
|
||||||
if($jQ('#mChat'+id).is(':hidden')){
|
if($jQ('#mChat'+id).is(':hidden')){
|
||||||
$jQ.cookie('mChatShow'+id,null)}
|
$jQ.cookie('mChatShow'+id,null)}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
},
|
},
|
||||||
add:function(){
|
add:function(){
|
||||||
if($jQ('#mChatMessage').val()==''){
|
if($jQ('#mChatMessage').val()==''){
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
var mChatMessChars=$jQ('#mChatMessage').val().replace(/ /g,'');
|
var mChatMessChars=$jQ('#mChatMessage').val().replace(/ /g,'');
|
||||||
if(mChatMessChars.length>mChatMssgLngth&&mChatMssgLngth){
|
if(mChatMessChars.length>mChatMssgLngth&&mChatMssgLngth){
|
||||||
alert(mChatMssgLngthLong);
|
alert(mChatMssgLngthLong);
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
$jQ.ajax({
|
$jQ.ajax({
|
||||||
url:mChatFile,
|
url:mChatFile,
|
||||||
timeout:10000,
|
timeout:10000,
|
||||||
async:false,
|
async:false,
|
||||||
type:'POST',
|
type:'POST',
|
||||||
data:$jQ('#postform').serialize(),
|
data:$jQ('#postform').serialize(),
|
||||||
dataType:'text',
|
dataType:'text',
|
||||||
beforeSend:function(){
|
beforeSend:function(){
|
||||||
$jQ('#submit_button').attr('disabled','disabled');
|
$jQ('#submit_button').attr('disabled','disabled');
|
||||||
if(mChatUserTimeout){
|
if(mChatUserTimeout){
|
||||||
clearInterval(activeinterval);
|
clearInterval(activeinterval);
|
||||||
clearInterval(counter)
|
clearInterval(counter)
|
||||||
}
|
}
|
||||||
clearInterval(interval)
|
clearInterval(interval)
|
||||||
},
|
},
|
||||||
success:function(){
|
success:function(){
|
||||||
mChat.refresh()
|
mChat.refresh()
|
||||||
},
|
},
|
||||||
error:function(XMLHttpRequest){
|
error:function(XMLHttpRequest){
|
||||||
if(XMLHttpRequest.status==400){
|
if(XMLHttpRequest.status==400){
|
||||||
alert(mChatFlood)
|
alert(mChatFlood)
|
||||||
}else if(XMLHttpRequest.status==403){
|
}else if(XMLHttpRequest.status==403){
|
||||||
alert(mChatNoAccess)
|
alert(mChatNoAccess)
|
||||||
}else if(XMLHttpRequest.status==501){
|
}else if(XMLHttpRequest.status==501){
|
||||||
alert(mChatNoMessageInput)
|
alert(mChatNoMessageInput)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
complete:function(){
|
complete:function(){
|
||||||
if($jQ('#mChatData').children('#mChatNoMessage :last')){
|
if($jQ('#mChatData').children('#mChatNoMessage :last')){
|
||||||
$jQ('#mChatNoMessage').remove()
|
$jQ('#mChatNoMessage').remove()
|
||||||
}
|
}
|
||||||
$jQ('#submit_button').removeAttr('disabled');
|
$jQ('#submit_button').removeAttr('disabled');
|
||||||
interval=setInterval(function(){
|
interval=setInterval(function(){
|
||||||
mChat.refresh()
|
mChat.refresh()
|
||||||
},
|
},
|
||||||
mChatRefresh);
|
mChatRefresh);
|
||||||
if(mChatUserTimeout){
|
if(mChatUserTimeout){
|
||||||
session_time=mChatUserTimeout?mChatUserTimeout/1000:false;
|
session_time=mChatUserTimeout?mChatUserTimeout/1000:false;
|
||||||
counter=setInterval(function(){
|
counter=setInterval(function(){
|
||||||
mChat.countDown()
|
mChat.countDown()
|
||||||
},1000);
|
},1000);
|
||||||
activeinterval=setInterval(function(){
|
activeinterval=setInterval(function(){
|
||||||
mChat.active()
|
mChat.active()
|
||||||
},mChatUserTimeout)
|
},mChatUserTimeout)
|
||||||
}
|
}
|
||||||
$jQ('#mChatMessage').val('').focus()
|
$jQ('#mChatMessage').val('').focus()
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
edit:function(id){
|
edit:function(id){
|
||||||
var message=$jQ('#edit'+id).val();
|
var message=$jQ('#edit'+id).val();
|
||||||
apprise(mChatEditInfo + ' (Shift and Enter for new line)',{
|
apprise(mChatEditInfo + ' (Shift and Enter for new line)',{
|
||||||
'textarea':message,
|
'textarea':message,
|
||||||
'animate':true,
|
'animate':true,
|
||||||
'position':200,
|
'position':200,
|
||||||
'confirm':true
|
'confirm':true
|
||||||
}, function(r){
|
}, function(r){
|
||||||
if(r){
|
if(r){
|
||||||
$jQ.ajax({
|
$jQ.ajax({
|
||||||
url:mChatFile,
|
url:mChatFile,
|
||||||
timeout:10000,
|
timeout:10000,
|
||||||
type:'POST',
|
type:'POST',
|
||||||
data:{
|
data:{
|
||||||
mode:'edit',
|
mode:'edit',
|
||||||
message_id:id,
|
message_id:id,
|
||||||
message:r
|
message:r
|
||||||
},
|
},
|
||||||
dataType:'text',
|
dataType:'text',
|
||||||
beforeSend:function(){
|
beforeSend:function(){
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
if(mChatUserTimeout){
|
if(mChatUserTimeout){
|
||||||
clearInterval(activeinterval);
|
clearInterval(activeinterval);
|
||||||
clearInterval(counter);
|
clearInterval(counter);
|
||||||
$jQ('#mChatSessTimer').html(mChatRefreshing)
|
$jQ('#mChatSessTimer').html(mChatRefreshing)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
success:function(html){
|
success:function(html){
|
||||||
$jQ('#mess'+id).fadeOut('slow',function(){
|
$jQ('#mess'+id).fadeOut('slow',function(){
|
||||||
$jQ(this).replaceWith(html);
|
$jQ(this).replaceWith(html);
|
||||||
$jQ('#mess'+id).css('display','none').fadeIn('slow')
|
$jQ('#mess'+id).css('display','none').fadeIn('slow')
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
error:function(XMLHttpRequest){
|
error:function(XMLHttpRequest){
|
||||||
if(XMLHttpRequest.status==403){
|
if(XMLHttpRequest.status==403){
|
||||||
alert(mChatNoAccess)
|
alert(mChatNoAccess)
|
||||||
}else if(XMLHttpRequest.status==501){
|
}else if(XMLHttpRequest.status==501){
|
||||||
alert(mChatNoMessageInput)
|
alert(mChatNoMessageInput)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
complete:function(){
|
complete:function(){
|
||||||
interval=setInterval(function(){
|
interval=setInterval(function(){
|
||||||
mChat.refresh()
|
mChat.refresh()
|
||||||
},mChatRefresh);
|
},mChatRefresh);
|
||||||
if(mChatUserTimeout){
|
if(mChatUserTimeout){
|
||||||
session_time=mChatUserTimeout?mChatUserTimeout/1000:false;
|
session_time=mChatUserTimeout?mChatUserTimeout/1000:false;
|
||||||
counter=setInterval(function(){
|
counter=setInterval(function(){
|
||||||
mChat.countDown()
|
mChat.countDown()
|
||||||
},1000);
|
},1000);
|
||||||
activeinterval=setInterval(function(){
|
activeinterval=setInterval(function(){
|
||||||
mChat.active()
|
mChat.active()
|
||||||
},mChatUserTimeout)
|
},mChatUserTimeout)
|
||||||
}
|
}
|
||||||
if(!mChatArchiveMode){
|
if(!mChatArchiveMode){
|
||||||
scrH=$jQ('#mChatmain')[0].scrollHeight;
|
scrH=$jQ('#mChatmain')[0].scrollHeight;
|
||||||
window.setTimeout(function(){
|
window.setTimeout(function(){
|
||||||
$jQ('#mChatmain').animate({
|
$jQ('#mChatmain').animate({
|
||||||
scrollTop:scrH},1000,'swing')
|
scrollTop:scrH},1000,'swing')
|
||||||
},1500)
|
},1500)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
}})
|
}})
|
||||||
},
|
},
|
||||||
del:function(id){
|
del:function(id){
|
||||||
apprise(mChatDelConfirm,{
|
apprise(mChatDelConfirm,{
|
||||||
'position':200,
|
'position':200,
|
||||||
'animate':true,
|
'animate':true,
|
||||||
'confirm':true
|
'confirm':true
|
||||||
},function(del){
|
},function(del){
|
||||||
if(del){
|
if(del){
|
||||||
$jQ.ajax({
|
$jQ.ajax({
|
||||||
url:mChatFile,
|
url:mChatFile,
|
||||||
timeout:10000,
|
timeout:10000,
|
||||||
type:'POST',
|
type:'POST',
|
||||||
data:{
|
data:{
|
||||||
mode:'delete',
|
mode:'delete',
|
||||||
message_id:id
|
message_id:id
|
||||||
},
|
},
|
||||||
beforeSend:function(){
|
beforeSend:function(){
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
if(mChatUserTimeout){
|
if(mChatUserTimeout){
|
||||||
clearInterval(activeinterval);
|
clearInterval(activeinterval);
|
||||||
clearInterval(counter);
|
clearInterval(counter);
|
||||||
$jQ('#mChatSessTimer').html(mChatRefreshing)
|
$jQ('#mChatSessTimer').html(mChatRefreshing)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
success:function(){
|
success:function(){
|
||||||
$jQ('#mess'+id).fadeOut('slow',function(){
|
$jQ('#mess'+id).fadeOut('slow',function(){
|
||||||
$jQ(this).remove()
|
$jQ(this).remove()
|
||||||
});
|
});
|
||||||
mChat.sound(mChatForumRoot+'ext/dmzx/mchat/sounds/del.swf')
|
mChat.sound(mChatForumRoot+'ext/dmzx/mchat/sounds/del.swf')
|
||||||
},
|
},
|
||||||
error:function(){
|
error:function(){
|
||||||
alert(mChatNoAccess)
|
alert(mChatNoAccess)
|
||||||
},
|
},
|
||||||
complete:function(){
|
complete:function(){
|
||||||
interval=setInterval(function(){
|
interval=setInterval(function(){
|
||||||
mChat.refresh()
|
mChat.refresh()
|
||||||
},mChatRefresh);
|
},mChatRefresh);
|
||||||
if(mChatUserTimeout){
|
if(mChatUserTimeout){
|
||||||
session_time=mChatUserTimeout?mChatUserTimeout/1000:false;
|
session_time=mChatUserTimeout?mChatUserTimeout/1000:false;
|
||||||
counter=setInterval(function(){
|
counter=setInterval(function(){
|
||||||
mChat.countDown()
|
mChat.countDown()
|
||||||
},1000);
|
},1000);
|
||||||
activeinterval=setInterval(function(){
|
activeinterval=setInterval(function(){
|
||||||
mChat.active()
|
mChat.active()
|
||||||
},mChatUserTimeout)
|
},mChatUserTimeout)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
} else {
|
} else {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
refresh:function(){
|
refresh:function(){
|
||||||
if(mChatArchiveMode){
|
if(mChatArchiveMode){
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
var mess_id=0;
|
var mess_id=0;
|
||||||
if($jQ('#mChatData').children().not('#mChatNoMessage').length){
|
if($jQ('#mChatData').children().not('#mChatNoMessage').length){
|
||||||
if($jQ('#mChatNoMessage')){
|
if($jQ('#mChatNoMessage')){
|
||||||
$jQ('#mChatNoMessage').remove()
|
$jQ('#mChatNoMessage').remove()
|
||||||
}
|
}
|
||||||
mess_id=$jQ('#mChatData').children(':last-child').attr('id').replace('mess','')
|
mess_id=$jQ('#mChatData').children(':last-child').attr('id').replace('mess','')
|
||||||
}
|
}
|
||||||
var oldScrH=$jQ('#mChatmain')[0].scrollHeight;
|
var oldScrH=$jQ('#mChatmain')[0].scrollHeight;
|
||||||
$jQ.ajax({
|
$jQ.ajax({
|
||||||
url:mChatFile,
|
url:mChatFile,
|
||||||
timeout:10000,
|
timeout:10000,
|
||||||
type:'POST',
|
type:'POST',
|
||||||
async:true,
|
async:true,
|
||||||
data:{
|
data:{
|
||||||
mode:'read',
|
mode:'read',
|
||||||
message_last_id:mess_id
|
message_last_id:mess_id
|
||||||
},
|
},
|
||||||
dataType:'html',
|
dataType:'html',
|
||||||
beforeSend:function(){
|
beforeSend:function(){
|
||||||
$jQ('#mChatOkIMG,#mChatErrorIMG,#mChatPauseIMG').hide();
|
$jQ('#mChatOkIMG,#mChatErrorIMG,#mChatPauseIMG').hide();
|
||||||
$jQ('#mChatLoadIMG').show()
|
$jQ('#mChatLoadIMG').show()
|
||||||
},
|
},
|
||||||
success:function(html){
|
success:function(html){
|
||||||
if(html!=''&&html!=0){
|
if(html!=''&&html!=0){
|
||||||
if($jQ('#mChatRefreshText').hasClass('mchat-alert')){
|
if($jQ('#mChatRefreshText').hasClass('mchat-alert')){
|
||||||
$jQ('#mChatRefreshText').removeClass('mchat-alert')
|
$jQ('#mChatRefreshText').removeClass('mchat-alert')
|
||||||
}
|
}
|
||||||
$jQ('#mChatData').append(html).children(':last').not('#mChatNoMessage');
|
$jQ('#mChatData').append(html).children(':last').not('#mChatNoMessage');
|
||||||
var newInner=$jQ('#mChatData').children().not('#mChatNoMessage').innerHeight();
|
var newInner=$jQ('#mChatData').children().not('#mChatNoMessage').innerHeight();
|
||||||
var newH=oldScrH+newInner;
|
var newH=oldScrH+newInner;
|
||||||
$jQ('#mChatmain').animate({
|
$jQ('#mChatmain').animate({
|
||||||
scrollTop:newH
|
scrollTop:newH
|
||||||
},'slow');
|
},'slow');
|
||||||
mChat.sound(mChatForumRoot+'ext/dmzx/mchat/sounds/add.swf');
|
mChat.sound(mChatForumRoot+'ext/dmzx/mchat/sounds/add.swf');
|
||||||
mChat.alert()
|
mChat.alert()
|
||||||
}
|
}
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
$jQ('#mChatLoadIMG,#mChatErrorIMG,#mChatPauseIMG').hide();
|
$jQ('#mChatLoadIMG,#mChatErrorIMG,#mChatPauseIMG').hide();
|
||||||
$jQ('#mChatOkIMG').show();
|
$jQ('#mChatOkIMG').show();
|
||||||
$jQ('#mChatRefreshText').html(mChatRefreshYes)
|
$jQ('#mChatRefreshText').html(mChatRefreshYes)
|
||||||
},500)
|
},500)
|
||||||
},
|
},
|
||||||
error:function(){
|
error:function(){
|
||||||
$jQ('#mChatLoadIMG,#mChatOkIMG,#mChatPauseIMG,#mChatRefreshTextNo,#mChatPauseIMG,').hide();
|
$jQ('#mChatLoadIMG,#mChatOkIMG,#mChatPauseIMG,#mChatRefreshTextNo,#mChatPauseIMG,').hide();
|
||||||
$jQ('#mChatErrorIMG').show();
|
$jQ('#mChatErrorIMG').show();
|
||||||
mChat.sound(mChatForumRoot+'ext/dmzx/mchat/sounds/error.swf')
|
mChat.sound(mChatForumRoot+'ext/dmzx/mchat/sounds/error.swf')
|
||||||
},
|
},
|
||||||
complete:function(){
|
complete:function(){
|
||||||
if(!$jQ('#mChatData').children(':last').length){
|
if(!$jQ('#mChatData').children(':last').length){
|
||||||
$jQ('#mChatData').append('<div id="mChatNoMessage">'+mChatNoMessage+'</div>').show('slow')
|
$jQ('#mChatData').append('<div id="mChatNoMessage">'+mChatNoMessage+'</div>').show('slow')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
stats:function(){
|
stats:function(){
|
||||||
if(!mChatWhois){
|
if(!mChatWhois){
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
$jQ.ajax({
|
$jQ.ajax({
|
||||||
url:mChatFile,
|
url:mChatFile,
|
||||||
timeout:10000,
|
timeout:10000,
|
||||||
type:'POST',
|
type:'POST',
|
||||||
data:{
|
data:{
|
||||||
mode:'stats'
|
mode:'stats'
|
||||||
},
|
},
|
||||||
dataType:'html',
|
dataType:'html',
|
||||||
beforeSend:function(){
|
beforeSend:function(){
|
||||||
if(mChatCustomPage){
|
if(mChatCustomPage){
|
||||||
$jQ('#mChatRefreshN').show();
|
$jQ('#mChatRefreshN').show();
|
||||||
$jQ('#mChatRefresh').hide()
|
$jQ('#mChatRefresh').hide()
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
success: function (data) {
|
success: function (data) {
|
||||||
var json = $.parseJSON(data);
|
var json = $.parseJSON(data);
|
||||||
$('#mChatStats').replaceWith(json.message);
|
$('#mChatStats').replaceWith(json.message);
|
||||||
if(mChatCustomPage){
|
if(mChatCustomPage){
|
||||||
setTimeout(function(){
|
setTimeout(function(){
|
||||||
$jQ('#mChatRefreshN').hide();
|
$jQ('#mChatRefreshN').hide();
|
||||||
$jQ('#mChatRefresh').show()
|
$jQ('#mChatRefresh').show()
|
||||||
},500)
|
},500)
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
error:function(){
|
error:function(){
|
||||||
mChat.sound(mChatForumRoot+'ext/dmzx/mchat/sounds/error.swf')
|
mChat.sound(mChatForumRoot+'ext/dmzx/mchat/sounds/error.swf')
|
||||||
},
|
},
|
||||||
complete:function(){
|
complete:function(){
|
||||||
if($jQ('#mChatUserList').length&&($jQ.cookie('mChatShowUserList')=='yes'||mChatCustomPage)){
|
if($jQ('#mChatUserList').length&&($jQ.cookie('mChatShowUserList')=='yes'||mChatCustomPage)){
|
||||||
$jQ('#mChatUserList').css('display','block')
|
$jQ('#mChatUserList').css('display','block')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
active:function(){
|
active:function(){
|
||||||
if(mChatArchiveMode||!mChatUserTimeout){
|
if(mChatArchiveMode||!mChatUserTimeout){
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
clearInterval(interval);
|
clearInterval(interval);
|
||||||
$jQ('#mChatLoadIMG,#mChatOkIMG,#mChatErrorIMG').hide();
|
$jQ('#mChatLoadIMG,#mChatOkIMG,#mChatErrorIMG').hide();
|
||||||
$jQ('#mChatPauseIMG').show();
|
$jQ('#mChatPauseIMG').show();
|
||||||
$jQ('#mChatRefreshText').html(mChatRefreshNo).addClass('mchat-alert');
|
$jQ('#mChatRefreshText').html(mChatRefreshNo).addClass('mchat-alert');
|
||||||
$jQ('#mChatSessMess').html(mChatSessOut).addClass('mchat-alert')
|
$jQ('#mChatSessMess').html(mChatSessOut).addClass('mchat-alert')
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
var interval=setInterval(function(){
|
var interval=setInterval(function(){
|
||||||
mChat.refresh()
|
mChat.refresh()
|
||||||
},mChatRefresh);
|
},mChatRefresh);
|
||||||
var statsinterval=setInterval(function(){
|
var statsinterval=setInterval(function(){
|
||||||
mChat.stats()},mChatWhoisRefresh);
|
mChat.stats()},mChatWhoisRefresh);
|
||||||
var activeinterval=setInterval(function(){
|
var activeinterval=setInterval(function(){
|
||||||
mChat.active()},mChatUserTimeout);
|
mChat.active()},mChatUserTimeout);
|
||||||
var session_time=mChatUserTimeout?mChatUserTimeout/1000:false;
|
var session_time=mChatUserTimeout?mChatUserTimeout/1000:false;
|
||||||
if(mChatUserTimeout){
|
if(mChatUserTimeout){
|
||||||
var counter=setInterval(function(){
|
var counter=setInterval(function(){
|
||||||
mChat.countDown()
|
mChat.countDown()
|
||||||
},1000)
|
},1000)
|
||||||
}
|
}
|
||||||
if($jQ.cookie('mChatShowSmiles')=='yes'&&$jQ('#mChatSmiles').css('display','none')){
|
if($jQ.cookie('mChatShowSmiles')=='yes'&&$jQ('#mChatSmiles').css('display','none')){
|
||||||
$jQ('#mChatSmiles').slideToggle('slow')
|
$jQ('#mChatSmiles').slideToggle('slow')
|
||||||
}
|
}
|
||||||
if($jQ.cookie('mChatShowBBCodes')=='yes'&&$jQ('#mChatBBCodes').css('display','none')){
|
if($jQ.cookie('mChatShowBBCodes')=='yes'&&$jQ('#mChatBBCodes').css('display','none')){
|
||||||
$jQ('#mChatBBCodes').slideToggle('slow')
|
$jQ('#mChatBBCodes').slideToggle('slow')
|
||||||
}
|
}
|
||||||
if($jQ.cookie('mChatShowUserList')=='yes'&&$jQ('#mChatUserList').length){
|
if($jQ.cookie('mChatShowUserList')=='yes'&&$jQ('#mChatUserList').length){
|
||||||
$jQ('#mChatUserList').slideToggle('slow')
|
$jQ('#mChatUserList').slideToggle('slow')
|
||||||
}
|
}
|
||||||
if($jQ.cookie('mChatShowColour')=='yes'&&$jQ('#mChatColour').css('display','none')){
|
if($jQ.cookie('mChatShowColour')=='yes'&&$jQ('#mChatColour').css('display','none')){
|
||||||
$jQ('#mChatColour').slideToggle('slow')
|
$jQ('#mChatColour').slideToggle('slow')
|
||||||
}
|
}
|
||||||
$jQ('#mChatUseSound').change(function(){
|
$jQ('#mChatUseSound').change(function(){
|
||||||
if($jQ(this).is(':checked')){
|
if($jQ(this).is(':checked')){
|
||||||
$jQ.cookie('mChatNoSound',null)
|
$jQ.cookie('mChatNoSound',null)
|
||||||
}else{
|
}else{
|
||||||
$jQ.cookie('mChatNoSound','yes')
|
$jQ.cookie('mChatNoSound','yes')
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
function mChatTimeShow(id){
|
function mChatTimeShow(id){
|
||||||
var tid = parseInt(id);
|
var tid = parseInt(id);
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<div class="mChatAvatars"><!-- IF mchatrow.U_VIEWPROFILE --><a href="{mchatrow.U_VIEWPROFILE}" title="{L_READ_PROFILE}"><!-- ENDIF --><!-- IF mchatrow.MCHAT_USER_AVATAR -->{mchatrow.MCHAT_USER_AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" width="40px;" height="40px;" alt="" /><!-- ENDIF --><!-- IF mchatrow.U_VIEWPROFILE --></a><!-- ENDIF -->
|
<div class="mChatAvatars"><!-- IF mchatrow.U_VIEWPROFILE --><a href="{mchatrow.U_VIEWPROFILE}" title="{L_READ_PROFILE}"><!-- ENDIF --><!-- IF mchatrow.MCHAT_USER_AVATAR -->{mchatrow.MCHAT_USER_AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" width="40px;" height="40px;" alt="" /><!-- ENDIF --><!-- IF mchatrow.U_VIEWPROFILE --></a><!-- ENDIF -->
|
||||||
</div>
|
</div>
|
||||||
<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} <!-- IF mchatrow.U_USER_ID --> <span class="mchatrow{mchatrow.MCHAT_MESSAGE_ID}" style="display:none;"><a href="{mchatrow.U_USER_ID}" title="{L_MCHAT_SEND_PM}">{L_MCHAT_PM}</a></span><!-- ENDIF --> - {mchatrow.MCHAT_TIME}</span>
|
<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} <!-- IF mchatrow.U_USER_ID --> <span class="mchatrow{mchatrow.MCHAT_MESSAGE_ID}" style="display:none;"><a href="{mchatrow.U_USER_ID}" title="{L_MCHAT_SEND_PM}">{L_MCHAT_PM}</a></span><!-- ENDIF --> - {mchatrow.MCHAT_TIME}</span>
|
||||||
<span style="float:right;"><!-- IF MCHAT_ALLOW_IP --><a href="{mchatrow.MCHAT_U_WHOIS}" onclick="popup(this.href, 750, 500); return false;"><img src="{ROOT_PATH}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="{ROOT_PATH}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="{ROOT_PATH}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="{ROOT_PATH}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 MCHAT_ALLOW_IP --><a href="{mchatrow.MCHAT_U_WHOIS}" onclick="popup(this.href, 750, 500); return false;"><img src="{ROOT_PATH}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="{ROOT_PATH}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="{ROOT_PATH}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="{ROOT_PATH}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>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -1,5 +1,13 @@
|
|||||||
<!-- IF MCHAT_ARCHIVE_MODE or MCHAT_CUSTOM_PAGE -->
|
<!-- IF MCHAT_ARCHIVE_MODE or MCHAT_CUSTOM_PAGE -->
|
||||||
<!-- INCLUDE overall_header.html -->
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<!-- INCLUDEJS editor.js -->
|
||||||
|
<!-- INCLUDEJS jquery.titlealert.min.js -->
|
||||||
|
<!-- INCLUDEJS jquery_cookie_mini.js -->
|
||||||
|
<!-- INCLUDEJS mchat_ajax_mini.js -->
|
||||||
|
<!-- INCLUDEJS jquery-1.8.3.min.js -->
|
||||||
|
<!-- INCLUDEJS jquery.maxlength.min.js -->
|
||||||
|
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- IF MCHAT_ARCHIVE_MODE -->
|
<!-- IF MCHAT_ARCHIVE_MODE -->
|
||||||
<!--**
|
<!--**
|
||||||
@@ -88,7 +96,7 @@
|
|||||||
// ]]>
|
// ]]>
|
||||||
</script>
|
</script>
|
||||||
<!-- IF not MCHAT_ARCHIVE_MODE -->
|
<!-- IF not MCHAT_ARCHIVE_MODE -->
|
||||||
|
|
||||||
<div id="mChatmain" <!-- IF MCHAT_CUSTOM_PAGE -->class="mChatRowLimitCustom" style="height: {MCHAT_CUSTOM_HEIGHT}px;"<!-- ELSE -->class="mChatRowLimit" style="height: {MCHAT_INDEX_HEIGHT}px;"<!-- ENDIF -->>
|
<div id="mChatmain" <!-- IF MCHAT_CUSTOM_PAGE -->class="mChatRowLimitCustom" style="height: {MCHAT_CUSTOM_HEIGHT}px;"<!-- ELSE -->class="mChatRowLimit" style="height: {MCHAT_INDEX_HEIGHT}px;"<!-- ENDIF -->>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<div id="mChatData">
|
<div id="mChatData">
|
||||||
@@ -101,10 +109,10 @@
|
|||||||
<!-- IF not MCHAT_READ_MODE -->
|
<!-- IF not MCHAT_READ_MODE -->
|
||||||
<!-- IF MCHAT_NOMESSAGE_MODE --><div id="mChatNoMessage">{L_MCHAT_NOMESSAGE}</div><!-- ENDIF -->
|
<!-- IF MCHAT_NOMESSAGE_MODE --><div id="mChatNoMessage">{L_MCHAT_NOMESSAGE}</div><!-- ENDIF -->
|
||||||
</div>
|
</div>
|
||||||
<!-- IF not MCHAT_ARCHIVE_MODE -->
|
<!-- IF not MCHAT_ARCHIVE_MODE -->
|
||||||
</div>
|
</div>
|
||||||
<!-- IF MCHAT_STATIC_MESS --><div class="mChatStatic"><strong>{L_MCHAT_ANNOUNCEMENT}:</strong> <span style="color:#990000;">{MCHAT_STATIC_MESS}</span></div><!-- ENDIF -->
|
<!-- IF MCHAT_STATIC_MESS --><div class="mChatStatic"><strong>{L_MCHAT_ANNOUNCEMENT}:</strong> <span style="color:#990000;">{MCHAT_STATIC_MESS}</span></div><!-- ENDIF -->
|
||||||
<!-- IF not (MCHAT_ARCHIVE_MODE or MCHAT_CUSTOM_PAGE) and MCHAT_WHOIS and S_MCHAT_INDEX_STATS --><div class="mChatStats" id="mChatStats"><!-- IF MCHAT_USERS_LIST --><a href="#" onclick="mChat.toggle('UserList'); return false;">{MCHAT_USERS_COUNT}</a><!-- ELSE -->{MCHAT_USERS_COUNT}<!-- ENDIF --> {L_MCHAT_ONLINE_EXPLAIN}<br /><span id="mChatUserList">{MCHAT_USERS_LIST}</span></div><!-- ENDIF -->
|
<!-- IF not (MCHAT_ARCHIVE_MODE or MCHAT_CUSTOM_PAGE) and MCHAT_WHOIS and S_MCHAT_INDEX_STATS --><div class="mChatStats" id="mChatStats"><!-- IF MCHAT_USERS_LIST --><a href="#" onclick="mChat.toggle('UserList'); return false;">{MCHAT_USERS_COUNT}</a><!-- ELSE -->{MCHAT_USERS_COUNT}<!-- ENDIF --> {L_MCHAT_ONLINE_EXPLAIN}<br /><span id="mChatUserList">{MCHAT_USERS_LIST}</span></div><!-- ENDIF -->
|
||||||
<form method="post" action="javascript://" onsubmit="mChat.add();" id="postform">
|
<form method="post" action="javascript://" onsubmit="mChat.add();" id="postform">
|
||||||
<div class="mChatPanel">
|
<div class="mChatPanel">
|
||||||
<noscript><div class="mchat_alert">{L_MCHAT_NOJAVASCRIPT}</div></noscript>
|
<noscript><div class="mchat_alert">{L_MCHAT_NOJAVASCRIPT}</div></noscript>
|
||||||
@@ -137,11 +145,11 @@
|
|||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
{S_FORM_TOKEN}
|
{S_FORM_TOKEN}
|
||||||
<!-- IF MCHAT_ALLOW_SMILES and .smiley -->
|
<!-- IF MCHAT_ALLOW_SMILES and .smiley -->
|
||||||
<div id="mChatSmiles" style="padding: 5px; display: none;">
|
<div id="mChatSmiles" style="padding: 5px; display: none;">
|
||||||
<!-- BEGIN smiley -->
|
<!-- BEGIN smiley -->
|
||||||
<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a>
|
<a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" /></a>
|
||||||
<!-- END smiley -->
|
<!-- END smiley -->
|
||||||
<a href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a>
|
<a href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a>
|
||||||
</div>
|
</div>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<div style="padding: 3px;">
|
<div style="padding: 3px;">
|
||||||
@@ -156,7 +164,7 @@
|
|||||||
</form>
|
</form>
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<div id="mChatSound" class="mChatSound"></div>
|
<div id="mChatSound" class="mChatSound"></div>
|
||||||
|
|
||||||
<!-- ENDIF -->
|
<!-- ENDIF -->
|
||||||
<!-- ELSE -->
|
<!-- ELSE -->
|
||||||
<div class="mchat_alert">{L_MCHAT_ENABLE}</div>
|
<div class="mchat_alert">{L_MCHAT_ENABLE}</div>
|
||||||
|
|||||||
@@ -2,11 +2,64 @@
|
|||||||
<table width="50%" style="margin-left: auto; margin-right: auto;">
|
<table width="50%" style="margin-left: auto; margin-right: auto;">
|
||||||
<tr align="center">
|
<tr align="center">
|
||||||
<td valign="top">
|
<td valign="top">
|
||||||
<!-- <script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// <![CDATA[
|
// <![CDATA[
|
||||||
|
/**
|
||||||
|
* Color pallette
|
||||||
|
*/
|
||||||
|
function colorPalette(dir, width, height)
|
||||||
|
{
|
||||||
|
var r = 0, g = 0, b = 0;
|
||||||
|
var numberList = new Array(6);
|
||||||
|
var color = '';
|
||||||
|
|
||||||
|
numberList[0] = '00';
|
||||||
|
numberList[1] = '40';
|
||||||
|
numberList[2] = '80';
|
||||||
|
numberList[3] = 'BF';
|
||||||
|
numberList[4] = 'FF';
|
||||||
|
|
||||||
|
document.writeln('<table cellspacing="1" cellpadding="0" border="0">');
|
||||||
|
|
||||||
|
for (r = 0; r < 5; r++)
|
||||||
|
{
|
||||||
|
if (dir == 'h')
|
||||||
|
{
|
||||||
|
document.writeln('<tr>');
|
||||||
|
}
|
||||||
|
|
||||||
|
for (g = 0; g < 5; g++)
|
||||||
|
{
|
||||||
|
if (dir == 'v')
|
||||||
|
{
|
||||||
|
document.writeln('<tr>');
|
||||||
|
}
|
||||||
|
|
||||||
|
for (b = 0; b < 5; b++)
|
||||||
|
{
|
||||||
|
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
|
||||||
|
document.write('<td bgcolor="#' + color + '" style="width: ' + width + 'px; height: ' + height + 'px;">');
|
||||||
|
document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;"><img src="{ROOT_PATH}images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>');
|
||||||
|
document.writeln('</td>');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (dir == 'v')
|
||||||
|
{
|
||||||
|
document.writeln('</tr>');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (dir == 'h')
|
||||||
|
{
|
||||||
|
document.writeln('</tr>');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
document.writeln('</table>');
|
||||||
|
}
|
||||||
|
|
||||||
colorPalette('h', 15, 10);
|
colorPalette('h', 15, 10);
|
||||||
// ]]>
|
// ]]>
|
||||||
</script> -->
|
</script>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</table>
|
</table>
|
||||||
|
|||||||
@@ -1,3 +1,3 @@
|
|||||||
<!-- BEGIN mchatrow -->
|
<!-- BEGIN mchatrow -->
|
||||||
<div id="mess{mchatrow.MCHAT_MESSAGE_ID}" class="mChatBG{mchatrow.MCHAT_CLASS} mChatHover"><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="javascript://" onclick="insert_text('@ [b][color={mchatrow.MCHAT_USERNAME_COLOR}]{mchatrow.MCHAT_USERNAME}[/color][/b], ', false);" title="{L_MCHAT_RESPOND}"><span style="color: {mchatrow.MCHAT_USERNAME_COLOR}"><strong>@</strong></span></a><!-- ELSE --> <a href="javascript://" class="mChatScriptLink" onclick="insert_text('@ [b]{mchatrow.MCHAT_USERNAME}[/b], ', false);" title="{L_MCHAT_RESPOND}"><strong>@</strong></a><!-- ENDIF --><!-- ELSE --> <a href="javascript://" class="mChatScriptLink" onclick="insert_text('@ {mchatrow.MCHAT_USERNAME}, ', false);" title="{L_MCHAT_RESPOND}">@</a><!-- ENDIF --> <!-- ENDIF -->{mchatrow.MCHAT_USERNAME_FULL} <!-- IF mchatrow.U_USER_ID --> <span class="mchatrow{mchatrow.MCHAT_MESSAGE_ID}" style="display:none;"><a href="{mchatrow.U_USER_ID}" title="{L_MCHAT_SEND_PM}">{L_MCHAT_PM}</a></span><!-- ENDIF --> - {mchatrow.MCHAT_TIME}</span><span style="float:right;"><!-- IF MCHAT_ALLOW_IP --><a href="{mchatrow.MCHAT_U_WHOIS}" onclick="popup(this.href, 750, 500); return false;"><img src="{ROOT_PATH}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="{ROOT_PATH}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="javascript://" onclick="mChat.edit('{mchatrow.MCHAT_MESSAGE_ID}');"><img src="{ROOT_PATH}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="javascript://" onclick="mChat.del('{mchatrow.MCHAT_MESSAGE_ID}');"><img src="{ROOT_PATH}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="mChatMessage">{mchatrow.MCHAT_MESSAGE}</div></div>
|
<div id="mess{mchatrow.MCHAT_MESSAGE_ID}" class="mChatBG{mchatrow.MCHAT_CLASS} mChatHover"><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="javascript://" onclick="insert_text('@ [b][color={mchatrow.MCHAT_USERNAME_COLOR}]{mchatrow.MCHAT_USERNAME}[/color][/b], ', false);" title="{L_MCHAT_RESPOND}"><span style="color: {mchatrow.MCHAT_USERNAME_COLOR}"><strong>@</strong></span></a><!-- ELSE --> <a href="javascript://" class="mChatScriptLink" onclick="insert_text('@ [b]{mchatrow.MCHAT_USERNAME}[/b], ', false);" title="{L_MCHAT_RESPOND}"><strong>@</strong></a><!-- ENDIF --><!-- ELSE --> <a href="javascript://" class="mChatScriptLink" onclick="insert_text('@ {mchatrow.MCHAT_USERNAME}, ', false);" title="{L_MCHAT_RESPOND}">@</a><!-- ENDIF --> <!-- ENDIF -->{mchatrow.MCHAT_USERNAME_FULL} <!-- IF mchatrow.U_USER_ID --> <span class="mchatrow{mchatrow.MCHAT_MESSAGE_ID}" style="display:none;"><a href="{mchatrow.U_USER_ID}" title="{L_MCHAT_SEND_PM}">{L_MCHAT_PM}</a></span><!-- ENDIF --> - {mchatrow.MCHAT_TIME}</span><span style="float:right;"><!-- IF MCHAT_ALLOW_IP --><a href="{mchatrow.MCHAT_U_WHOIS}" onclick="popup(this.href, 750, 500); return false;"><img src="{ROOT_PATH}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="{ROOT_PATH}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="javascript://" onclick="mChat.edit('{mchatrow.MCHAT_MESSAGE_ID}');"><img src="{ROOT_PATH}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="javascript://" onclick="mChat.del('{mchatrow.MCHAT_MESSAGE_ID}');"><img src="{ROOT_PATH}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="mChatMessage">{mchatrow.MCHAT_MESSAGE}</div></div>
|
||||||
<!-- END mchatrow -->
|
<!-- END mchatrow -->
|
||||||
@@ -12,7 +12,7 @@
|
|||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_index">{L_DISPLAY_MCHAT}{L_COLON}</label></dt>
|
<dt><label for="mchat_index">{L_DISPLAY_MCHAT}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" name="user_mchat_index" value="1"<!-- IF S_DISPLAY_MCHAT --> id="mchat_index" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<label><input type="radio" name="user_mchat_index" value="1"<!-- IF S_DISPLAY_MCHAT --> id="mchat_index" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" name="user_mchat_index" value="0"<!-- IF not S_DISPLAY_MCHAT --> id="mchat_index" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input type="radio" name="user_mchat_index" value="0"<!-- IF not S_DISPLAY_MCHAT --> id="mchat_index" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
@@ -20,7 +20,7 @@
|
|||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_sound">{L_SOUND_MCHAT}{L_COLON}</label></dt>
|
<dt><label for="mchat_sound">{L_SOUND_MCHAT}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" name="user_mchat_sound" value="1"<!-- IF S_SOUND_MCHAT --> id="mchat_sound" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<label><input type="radio" name="user_mchat_sound" value="1"<!-- IF S_SOUND_MCHAT --> id="mchat_sound" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" name="user_mchat_sound" value="0"<!-- IF not S_SOUND_MCHAT --> id="mchat_sound" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input type="radio" name="user_mchat_sound" value="0"<!-- IF not S_SOUND_MCHAT --> id="mchat_sound" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
@@ -28,7 +28,7 @@
|
|||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_statsindex">{L_DISPLAY_STATS_INDEX}{L_COLON}</label></dt>
|
<dt><label for="mchat_statsindex">{L_DISPLAY_STATS_INDEX}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" name="user_mchat_stats_index" value="1"<!-- IF S_STATS_MCHAT --> id="mchat_statsindex" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<label><input type="radio" name="user_mchat_stats_index" value="1"<!-- IF S_STATS_MCHAT --> id="mchat_statsindex" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" name="user_mchat_stats_index" value="0"<!-- IF not S_STATS_MCHAT --> id="mchat_statsindex" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input type="radio" name="user_mchat_stats_index" value="0"<!-- IF not S_STATS_MCHAT --> id="mchat_statsindex" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_topics">{L_DISPLAY_NEW_TOPICS}{L_COLON}</label></dt>
|
<dt><label for="mchat_topics">{L_DISPLAY_NEW_TOPICS}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" name="user_mchat_topics" value="1"<!-- IF S_TOPICS_MCHAT --> id="mchat_topics" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<label><input type="radio" name="user_mchat_topics" value="1"<!-- IF S_TOPICS_MCHAT --> id="mchat_topics" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" name="user_mchat_topics" value="0"<!-- IF not S_TOPICS_MCHAT --> id="mchat_topics" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input type="radio" name="user_mchat_topics" value="0"<!-- IF not S_TOPICS_MCHAT --> id="mchat_topics" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
@@ -46,7 +46,7 @@
|
|||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_avatars">{L_DISPLAY_AVATARS}{L_COLON}</label></dt>
|
<dt><label for="mchat_avatars">{L_DISPLAY_AVATARS}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" name="user_mchat_avatars" value="1"<!-- IF S_AVATARS_MCHAT --> id="mchat_avatars" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
<label><input type="radio" name="user_mchat_avatars" value="1"<!-- IF S_AVATARS_MCHAT --> id="mchat_avatars" checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
<label><input type="radio" name="user_mchat_avatars" value="0"<!-- IF not S_AVATARS_MCHAT --> id="mchat_avatars" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
<label><input type="radio" name="user_mchat_avatars" value="0"<!-- IF not S_AVATARS_MCHAT --> id="mchat_avatars" checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
@@ -54,19 +54,18 @@
|
|||||||
<dl>
|
<dl>
|
||||||
<dt><label for="mchat_input_type">{L_CHAT_AREA}{L_COLON}</label></dt>
|
<dt><label for="mchat_input_type">{L_CHAT_AREA}{L_COLON}</label></dt>
|
||||||
<dd>
|
<dd>
|
||||||
<label><input type="radio" name="user_mchat_input_area" value="1"<!-- IF S_INPUT_MCHAT --> id="mchat_input_type" checked="checked"<!-- ENDIF --> /> {L_INPUT_AREA}</label>
|
<label><input type="radio" name="user_mchat_input_area" value="1"<!-- IF S_INPUT_MCHAT --> id="mchat_input_type" checked="checked"<!-- ENDIF --> /> {L_INPUT_AREA}</label>
|
||||||
<label><input type="radio" name="user_mchat_input_area" value="0"<!-- IF not S_INPUT_MCHAT --> id=""mchat_input_type" checked="checked"<!-- ENDIF --> /> {L_TEXT_AREA}</label>
|
<label><input type="radio" name="user_mchat_input_area" value="0"<!-- IF not S_INPUT_MCHAT --> id=""mchat_input_type" checked="checked"<!-- ENDIF --> /> {L_TEXT_AREA}</label>
|
||||||
</dd>
|
</dd>
|
||||||
</dl>
|
</dl>
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<fieldset class="submit-buttons">
|
<fieldset class="submit-buttons">
|
||||||
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
|
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
|
||||||
{S_FORM_TOKEN}
|
{S_FORM_TOKEN}
|
||||||
</fieldset>
|
</fieldset>
|
||||||
</form>
|
</form>
|
||||||
|
|
||||||
|
|
||||||
<!-- INCLUDE ucp_footer.html -->
|
<!-- INCLUDE ucp_footer.html -->
|
||||||
@@ -19,9 +19,9 @@ class ucp_mchat_info
|
|||||||
'version' => '1.3.8',
|
'version' => '1.3.8',
|
||||||
'modes' => array(
|
'modes' => array(
|
||||||
'configuration' => array(
|
'configuration' => array(
|
||||||
'title' => 'UCP_MCHAT_CONFIG',
|
'title' => 'UCP_MCHAT_CONFIG',
|
||||||
'auth' => 'ext_dmzx/mchat && acl_u_mchat_use',
|
'auth' => 'ext_dmzx/mchat && acl_u_mchat_use',
|
||||||
'cat' => array('UCP_MCHAT_CONFIG')),
|
'cat' => array('UCP_MCHAT_CONFIG')),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,7 +80,7 @@ class ucp_mchat_module
|
|||||||
$this->functions_mchat->mchat_cache();
|
$this->functions_mchat->mchat_cache();
|
||||||
}
|
}
|
||||||
$mchat_cache = $cache->get('_mchat_config');
|
$mchat_cache = $cache->get('_mchat_config');
|
||||||
|
|
||||||
$template->assign_vars(array(
|
$template->assign_vars(array(
|
||||||
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
|
'ERROR' => (sizeof($error)) ? implode('<br />', $error) : '',
|
||||||
|
|
||||||
@@ -108,5 +108,5 @@ class ucp_mchat_module
|
|||||||
$this->page_title = 'UCP_PROFILE_MCHAT';
|
$this->page_title = 'UCP_PROFILE_MCHAT';
|
||||||
}
|
}
|
||||||
// $this->page_title = 'UCP_PROFILE_MCHAT';
|
// $this->page_title = 'UCP_PROFILE_MCHAT';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user