mirror of
https://github.com/ZDoom/zdoom-styles.git
synced 2024-11-23 20:02:04 +00:00
- add art_mobile
This commit is contained in:
parent
7c441d3656
commit
5d9fa0f654
116 changed files with 10143 additions and 0 deletions
159
art_mobile/contrib/detect_mobile-old_version.xml
Normal file
159
art_mobile/contrib/detect_mobile-old_version.xml
Normal file
|
@ -0,0 +1,159 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
||||||
|
<!--NOTICE: Please open this file in your web browser. If presented with a security warning, you may safely tell it to allow the blocked content.-->
|
||||||
|
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD.\nAlthough MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD.\nNo support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
||||||
|
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
||||||
|
<header>
|
||||||
|
<meta name="generator" content="MODX file generated with PP MODX Creator by tumba25 (online version)"/>
|
||||||
|
<license><![CDATA[http://opensource.org/licenses/gpl-license.php GNU General Public License v2]]></license>
|
||||||
|
<title lang="en"><![CDATA[Mobile/SEO automatic switch]]></title>
|
||||||
|
<description lang="en"><![CDATA[Automatically switches style to "Artodia: Mobile" for mobile devices.
|
||||||
|
This mod has been replaced by newer version, see detect_mobile.xml. Do not install both new and old versions on same forum!]]></description>
|
||||||
|
<author-group>
|
||||||
|
<author>
|
||||||
|
<username><![CDATA[Arty]]></username>
|
||||||
|
</author>
|
||||||
|
</author-group>
|
||||||
|
<mod-version>2.0</mod-version>
|
||||||
|
<installation>
|
||||||
|
<level>easy</level>
|
||||||
|
<time>60</time>
|
||||||
|
<target-version>3.0.11</target-version>
|
||||||
|
</installation>
|
||||||
|
</header>
|
||||||
|
<action-group>
|
||||||
|
<open src="includes/functions.php">
|
||||||
|
<edit>
|
||||||
|
<find><![CDATA[ // The following assigns all _common_ variables that may be used at any point in a template.
|
||||||
|
]]></find>
|
||||||
|
<action type="before-add"><![CDATA[ // MOD start: Mobile/SEO style
|
||||||
|
if(defined('MOBILE_DEVICE'))
|
||||||
|
{
|
||||||
|
$full_style = defined('MOBILE_DEVICE_OFF');
|
||||||
|
if($full_style)
|
||||||
|
{
|
||||||
|
$s_search_hidden_fields['nomobile'] = 1;
|
||||||
|
$mobile_text = isset($user->lang['MOBILE_ON']) ? $user->lang['MOBILE_ON'] : 'Mobile Version';
|
||||||
|
$mobile_link = str_replace('nomobile=1&', '', append_sid("{$phpbb_root_path}index.$phpEx", 'nomobile=0'));
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$mobile_text = isset($user->lang['MOBILE_OFF']) ? $user->lang['MOBILE_OFF'] : 'Full Version';
|
||||||
|
$mobile_link = append_sid("{$phpbb_root_path}index.$phpEx", 'nomobile=1');
|
||||||
|
}
|
||||||
|
$mobile_html = '<a href="' . $mobile_link . '">' . $mobile_text . '</a>';
|
||||||
|
$user->lang['TRANSLATION_INFO'] = (isset($user->lang['TRANSLATION_INFO']) ? $user->lang['TRANSLATION_INFO'] . ' ' : '') . $mobile_html;
|
||||||
|
$template->assign_var('MOBILE_LINK', $mobile_html);
|
||||||
|
}
|
||||||
|
// MOD end: Mobile/SEO style
|
||||||
|
|
||||||
|
]]></action>
|
||||||
|
</edit>
|
||||||
|
</open>
|
||||||
|
<open src="includes/session.php">
|
||||||
|
<edit>
|
||||||
|
<find><![CDATA[ $result = $db->sql_query($sql, 3600);
|
||||||
|
$this->theme = $db->sql_fetchrow($result);
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
// User has wrong style
|
||||||
|
]]></find>
|
||||||
|
<action type="before-add"><![CDATA[ // MOD start: Mobile/SEO style
|
||||||
|
if($this->check_mobile($sql, $style))
|
||||||
|
{
|
||||||
|
// MOD end: Mobile/SEO style
|
||||||
|
|
||||||
|
]]></action>
|
||||||
|
</edit>
|
||||||
|
<edit>
|
||||||
|
<find><![CDATA[ if (!$this->theme)
|
||||||
|
{
|
||||||
|
trigger_error('Could not get style data', E_USER_ERROR);
|
||||||
|
}
|
||||||
|
]]></find>
|
||||||
|
<action type="before-add"><![CDATA[ // MOD start: Mobile/SEO style
|
||||||
|
}
|
||||||
|
if(defined('MOBILE_DEVICE_OFF'))
|
||||||
|
{
|
||||||
|
global $SID, $_EXTRA_URL;
|
||||||
|
$SID .= '&nomobile=1';
|
||||||
|
$_EXTRA_URL[] = 'nomobile=1';
|
||||||
|
}
|
||||||
|
// MOD end: Mobile/SEO style
|
||||||
|
|
||||||
|
]]></action>
|
||||||
|
</edit>
|
||||||
|
<edit>
|
||||||
|
<find><![CDATA[ /**
|
||||||
|
* More advanced language substitution
|
||||||
|
]]></find>
|
||||||
|
<action type="before-add"><![CDATA[ // MOD start: Mobile/SEO style
|
||||||
|
/**
|
||||||
|
* Check for mobile/seo, get style
|
||||||
|
*/
|
||||||
|
function check_mobile($sql, $style)
|
||||||
|
{
|
||||||
|
$browser = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
|
||||||
|
if (empty($this->data['is_bot']) && strpos($browser, 'Mobile') === false && strpos($browser, 'Symbian') === false && strpos($browser, 'Opera M') === false && strpos($browser, 'Android') === false && stripos($browser, 'HTC_') === false && strpos($browser, 'Fennec/') === false && stripos($browser, 'Blackberry') === false && strpos($browser, 'Windows Phone') === false && strpos($browser, 'WP7') === false && strpos($browser, 'WP8') === false)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
define('MOBILE_DEVICE', true);
|
||||||
|
if(!empty($_REQUEST['nomobile']))
|
||||||
|
{
|
||||||
|
define('MOBILE_DEVICE_OFF', true);
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
global $db;
|
||||||
|
// Important: change number 0 below to ID of Artodia:Mobile style.
|
||||||
|
// If it is set to 0, script will automatically find style, but it will use extra time and resources.
|
||||||
|
$mobile_style_id = 0;
|
||||||
|
if($mobile_style_id)
|
||||||
|
{
|
||||||
|
$sql2 = str_replace('s.style_id = ' . $style, 's.style_id = ' . $mobile_style_id, $sql);
|
||||||
|
$result = $db->sql_query($sql2, 3600);
|
||||||
|
$this->theme = $db->sql_fetchrow($result);
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
if($this->theme !== false)
|
||||||
|
{
|
||||||
|
define('MOBILE_STYLE', true);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// try to find style
|
||||||
|
global $phpbb_root_path;
|
||||||
|
$files = scandir($phpbb_root_path . 'styles');
|
||||||
|
$base = $phpbb_root_path . 'styles/';
|
||||||
|
for($i=0; $i<count($files); $i++)
|
||||||
|
{
|
||||||
|
if($files[$i] != '.' && $files[$i] != '..' && is_dir($base . $files[$i]) && @file_exists($base . $files[$i] . '/style.cfg'))
|
||||||
|
{
|
||||||
|
// found directory with style
|
||||||
|
$data = file_get_contents($base . $files[$i] . '/style.cfg');
|
||||||
|
if(strpos($data, 'mobile = 1') !== false && ($pos = strpos($data, 'name = ')) !== false)
|
||||||
|
{
|
||||||
|
$list = explode("\n", substr($data, $pos + 7), 2);
|
||||||
|
$name = trim($list[0]);
|
||||||
|
// found style
|
||||||
|
$sql2 = str_replace('s.style_id = ' . $style, 's.style_name = \'' . $db->sql_escape($name) . '\'', $sql);
|
||||||
|
$result = $db->sql_query($sql2, 3600);
|
||||||
|
$this->theme = $db->sql_fetchrow($result);
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
if($this->theme !== false)
|
||||||
|
{
|
||||||
|
define('MOBILE_STYLE', true);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
// MOD end: Mobile/SEO style
|
||||||
|
|
||||||
|
]]></action>
|
||||||
|
</edit>
|
||||||
|
</open>
|
||||||
|
<diy-instructions lang="en"><![CDATA[After installing this mobile style and this modification, open includes/session.php, find $mobile_style_id and change its value from 0 to ID of this mobile style. If you do not change it, script will search for mobile style every time a mobile device is used to check forum page, so it is better to change it to reduce server load.]]></diy-instructions>
|
||||||
|
</action-group>
|
||||||
|
</mod>
|
43
art_mobile/contrib/detect_mobile.xml
Normal file
43
art_mobile/contrib/detect_mobile.xml
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
|
||||||
|
<?xml-stylesheet type="text/xsl" href="modx.prosilver.en.xsl"?>
|
||||||
|
<!--NOTICE: Please open this file in your web browser. If presented with a security warning, you may safely tell it to allow the blocked content.-->
|
||||||
|
<!--For security purposes, please check: http://www.phpbb.com/mods/ for the latest version of this MOD.\nAlthough MODs are checked before being allowed in the MODs Database there is no guarantee that there are no security problems within the MOD.\nNo support will be given for MODs not found within the MODs Database which can be found at http://www.phpbb.com/mods/-->
|
||||||
|
<mod xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://www.phpbb.com/mods/xml/modx-1.2.5.xsd">
|
||||||
|
<header>
|
||||||
|
<meta name="generator" content="MODX file generated with PP MODX Creator by tumba25 (online version)"/>
|
||||||
|
<license><![CDATA[http://opensource.org/licenses/gpl-license.php GNU General Public License v2]]></license>
|
||||||
|
<title lang="en"><![CDATA[Mobile/SEO automatic switch]]></title>
|
||||||
|
<description lang="en"><![CDATA[Automatically switches style to "Artodia: Mobile" for mobile devices.]]></description>
|
||||||
|
<author-group>
|
||||||
|
<author>
|
||||||
|
<username><![CDATA[Arty]]></username>
|
||||||
|
</author>
|
||||||
|
</author-group>
|
||||||
|
<mod-version>3.4</mod-version>
|
||||||
|
<installation>
|
||||||
|
<level>easy</level>
|
||||||
|
<time>60</time>
|
||||||
|
<target-version>3.0.11</target-version>
|
||||||
|
</installation>
|
||||||
|
</header>
|
||||||
|
<action-group>
|
||||||
|
<copy>
|
||||||
|
<file from="mobile.php" to="includes/mobile.php"/>
|
||||||
|
</copy>
|
||||||
|
<open src="includes/session.php">
|
||||||
|
<edit>
|
||||||
|
<find><![CDATA[ // Call phpbb_user_session_handler() in case external application want to "bend" some variables or replace classes...
|
||||||
|
// After calling it we continue script execution...
|
||||||
|
phpbb_user_session_handler();
|
||||||
|
]]></find>
|
||||||
|
<action type="before-add"><![CDATA[ // Mod: phpBB Mobile start
|
||||||
|
include_once($phpbb_root_path . 'includes/mobile.' . $phpEx);
|
||||||
|
phpbb_mobile::setup('art_mobile'); // Change first parameter to correct directory name of mobile style
|
||||||
|
// Mod: phpBB Mobile end
|
||||||
|
|
||||||
|
]]></action>
|
||||||
|
</edit>
|
||||||
|
</open>
|
||||||
|
<diy-instructions lang="en"><![CDATA[When adding mod code to includes/session.php, change value in phpbb_mobile::setup call to correct path to mobile style.]]></diy-instructions>
|
||||||
|
</action-group>
|
||||||
|
</mod>
|
677
art_mobile/contrib/mobile.php
Normal file
677
art_mobile/contrib/mobile.php
Normal file
|
@ -0,0 +1,677 @@
|
||||||
|
<?php
|
||||||
|
|
||||||
|
/**
|
||||||
|
* phpBB Mobile style mod for phpBB 3.0
|
||||||
|
*
|
||||||
|
* Created by Vjacheslav Trushkin (Arty) for use with one of mobile phpBB styles.
|
||||||
|
* See detect_mobile.xml for mod installation instructions.
|
||||||
|
* Check http://www.phpbbmobile.com/ for latest version.
|
||||||
|
*
|
||||||
|
* @version 3.4
|
||||||
|
* @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
*/
|
||||||
|
|
||||||
|
if (!defined('IN_PHPBB'))
|
||||||
|
{
|
||||||
|
exit;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Mobile style class
|
||||||
|
*/
|
||||||
|
class phpbb_mobile
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Mobile style path.
|
||||||
|
* Change it to correct string to make script locate mobile style faster.
|
||||||
|
* Alternatively you can define 'MOBILE_STYLE_PATH' in includes/constants.php or config.php
|
||||||
|
*
|
||||||
|
* @var string|bool
|
||||||
|
*/
|
||||||
|
public static $mobile_style_path = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Mobile style ID, if style is installed.
|
||||||
|
* Change it to correct string to make script locate mobile style faster.
|
||||||
|
* Alternatively you can define 'MOBILE_STYLE_ID' in includes/constants.php or config.php
|
||||||
|
*
|
||||||
|
* If mobile style path is set, this variable will be ignored
|
||||||
|
*
|
||||||
|
* @var int
|
||||||
|
*/
|
||||||
|
public static $mobile_style_id = 0;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* True if mobile style should be used for search engines
|
||||||
|
*
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
|
public static $mobile_seo = true;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* True if link to switch to mobile style should be shown for desktop browsers
|
||||||
|
*
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
|
public static $always_show_link = true;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @var bool
|
||||||
|
*/
|
||||||
|
protected static $mobile_mode = false;
|
||||||
|
protected static $mobile_var = 'mobile';
|
||||||
|
protected static $cookie_var = false;
|
||||||
|
protected static $is_bot = false;
|
||||||
|
protected static $is_desktop = false;
|
||||||
|
protected static $passed_mobile_path = false;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Start mobile style setup
|
||||||
|
*
|
||||||
|
* @param bool|string $style_path Path to mobile style, saved to $passed_mobile_path
|
||||||
|
*/
|
||||||
|
public static function setup($style_path = false)
|
||||||
|
{
|
||||||
|
global $user;
|
||||||
|
|
||||||
|
self::set_cookie_var();
|
||||||
|
self::override_template();
|
||||||
|
self::$is_bot = empty($user->data['is_bot']) ? false : $user->data['is_bot'];
|
||||||
|
|
||||||
|
// Check mode only if it wasn't checked already
|
||||||
|
if (self::$mobile_mode === false)
|
||||||
|
{
|
||||||
|
if (is_string($style_path) && strlen($style_path))
|
||||||
|
{
|
||||||
|
self::$passed_mobile_path = $style_path;
|
||||||
|
}
|
||||||
|
elseif (is_int($style_path) && $style_path > 0)
|
||||||
|
{
|
||||||
|
self::$mobile_style_id = $style_path;
|
||||||
|
}
|
||||||
|
self::$mobile_mode = self::get_mode();
|
||||||
|
}
|
||||||
|
|
||||||
|
if (self::is_desktop_mode(self::$mobile_mode))
|
||||||
|
{
|
||||||
|
// Force desktop style
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!self::is_mobile_mode(self::$mobile_mode))
|
||||||
|
{
|
||||||
|
// Detect browser
|
||||||
|
$user_agent = isset($_SERVER['HTTP_USER_AGENT']) ? $_SERVER['HTTP_USER_AGENT'] : '';
|
||||||
|
if (!self::is_mobile_browser($user_agent))
|
||||||
|
{
|
||||||
|
self::$is_desktop = true;
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Locate mobile style
|
||||||
|
$path = self::locate_mobile_style();
|
||||||
|
if ($path === false)
|
||||||
|
{
|
||||||
|
// Mobile style was not found
|
||||||
|
self::set_cookie('404', false);
|
||||||
|
self::$mobile_mode = '404';
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set mobile style data
|
||||||
|
self::set_mobile_style();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set mobile style
|
||||||
|
*/
|
||||||
|
protected static function set_mobile_style()
|
||||||
|
{
|
||||||
|
global $user, $template;
|
||||||
|
|
||||||
|
// Define MOBILE_STYLE if it is not defined yet
|
||||||
|
if (!defined('MOBILE_STYLE'))
|
||||||
|
{
|
||||||
|
define('MOBILE_STYLE', true);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Change user->theme data
|
||||||
|
$user->theme = array_merge($user->theme, self::user_theme_data());
|
||||||
|
$template->orig_tpl_inherits_id = $user->theme['template_inherits_id'];
|
||||||
|
|
||||||
|
// Reset imageset
|
||||||
|
$user->img_array = array();
|
||||||
|
|
||||||
|
// Set template
|
||||||
|
$template->set_template();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Override global $template variable
|
||||||
|
*/
|
||||||
|
protected static function override_template()
|
||||||
|
{
|
||||||
|
if (defined('ADMIN_START'))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
global $template;
|
||||||
|
if (is_a($template, 'mobile_template'))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
$tpl = new mobile_template();
|
||||||
|
$tpl->clone_properties($template);
|
||||||
|
$template = $tpl;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @return array Data for $user->theme
|
||||||
|
*/
|
||||||
|
protected static function user_theme_data()
|
||||||
|
{
|
||||||
|
return array(
|
||||||
|
'style_id' => self::$mobile_style_id,
|
||||||
|
'template_storedb' => 0,
|
||||||
|
'template_path' => self::$mobile_style_path,
|
||||||
|
'template_id' => 0,
|
||||||
|
'bbcode_bitfield' => 'lNg=',
|
||||||
|
'template_inherits_id' => 1,
|
||||||
|
'template_inherit_path' => 'prosilver',
|
||||||
|
'theme_path' => self::$mobile_style_path,
|
||||||
|
'theme_name' => self::$mobile_style_path,
|
||||||
|
'theme_storedb' => 0,
|
||||||
|
'theme_id' => 0,
|
||||||
|
'imageset_path' => self::$mobile_style_path,
|
||||||
|
'imageset_id' => 0,
|
||||||
|
'imageset_name' => self::$mobile_style_path,
|
||||||
|
);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set cookie variable name
|
||||||
|
*/
|
||||||
|
protected static function set_cookie_var()
|
||||||
|
{
|
||||||
|
if (self::$cookie_var !== false)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
global $config;
|
||||||
|
self::$cookie_var = (isset($config['cookie_name']) ? $config['cookie_name'] . '_' : '') . self::$mobile_var;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set cookie value
|
||||||
|
*
|
||||||
|
* param string $value Cookie value
|
||||||
|
* param bool $long If true, cookie will be set for full duration. If false, cookie will be set for browser session duration
|
||||||
|
*/
|
||||||
|
protected static function set_cookie($value, $long = true)
|
||||||
|
{
|
||||||
|
global $config;
|
||||||
|
$cookietime = ($long && empty($_SERVER['HTTP_DNT'])) ? time() + (($config['max_autologin_time']) ? 86400 * (int) $config['max_autologin_time'] : 31536000) : 0;
|
||||||
|
$name_data = rawurlencode(self::$cookie_var) . '=' . rawurlencode($value);
|
||||||
|
$expire = ($cookietime) ? gmdate('D, d-M-Y H:i:s \\G\\M\\T', $cookietime) : '';
|
||||||
|
$domain = (!$config['cookie_domain'] || $config['cookie_domain'] == 'localhost' || $config['cookie_domain'] == '127.0.0.1') ? '' : '; domain=' . $config['cookie_domain'];
|
||||||
|
header('Set-Cookie: ' . $name_data . (($cookietime) ? '; expires=' . $expire : '') . '; path=' . $config['cookie_path'] . $domain . ((!$config['cookie_secure']) ? '' : '; secure') . '; HttpOnly', false);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if mode triggers mobile style
|
||||||
|
*
|
||||||
|
* @param string $mode Browser mode
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
protected static function is_mobile_mode($mode)
|
||||||
|
{
|
||||||
|
return ($mode == 'mobile');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if mode triggers desktop style
|
||||||
|
*
|
||||||
|
* @param string $mode Browser mode
|
||||||
|
*
|
||||||
|
* @return bool
|
||||||
|
*/
|
||||||
|
protected static function is_desktop_mode($mode)
|
||||||
|
{
|
||||||
|
return ($mode == 'desktop' || $mode == '404');
|
||||||
|
}
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Get browser mode from cookie and $_GET data
|
||||||
|
*
|
||||||
|
* @return string|false Mobile style mode, false if default
|
||||||
|
*/
|
||||||
|
protected static function get_mode()
|
||||||
|
{
|
||||||
|
$value = request_var(self::$mobile_var, '');
|
||||||
|
switch ($value)
|
||||||
|
{
|
||||||
|
case 'reset':
|
||||||
|
// Reset to default mode
|
||||||
|
self::set_cookie('', false);
|
||||||
|
return false;
|
||||||
|
|
||||||
|
case 'on':
|
||||||
|
// Mobile device detected by JavaScript
|
||||||
|
$value = 'mobile';
|
||||||
|
self::set_cookie($value, false);
|
||||||
|
return $value;
|
||||||
|
|
||||||
|
case 'off':
|
||||||
|
// Desktop detected by JavaScript
|
||||||
|
$value = 'desktop';
|
||||||
|
self::set_cookie($value, false);
|
||||||
|
return $value;
|
||||||
|
|
||||||
|
case '404': // Mobile style detected, but not found
|
||||||
|
case 'desktop': // Force desktop style
|
||||||
|
case 'mobile': // Force mobile style
|
||||||
|
self::set_cookie($value, $value != '404');
|
||||||
|
return $value;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (isset($_COOKIE[self::$cookie_var]))
|
||||||
|
{
|
||||||
|
switch ($_COOKIE[self::$cookie_var])
|
||||||
|
{
|
||||||
|
case 'mobile': // Force mobile style
|
||||||
|
case 'desktop': // Force desktop style
|
||||||
|
$value = $_COOKIE[self::$cookie_var];
|
||||||
|
return $value;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
self::set_cookie('');
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return path to styles directory
|
||||||
|
*
|
||||||
|
* @param bool $include_style_path If true, result will include mobile style path
|
||||||
|
*
|
||||||
|
* @return string Path to 'styles' or to 'styles/' + mobile style path
|
||||||
|
*/
|
||||||
|
protected static function styles_path($include_style_path = false)
|
||||||
|
{
|
||||||
|
global $phpbb_root_path;
|
||||||
|
return $phpbb_root_path . 'styles' . ($include_style_path ? '/' . self::$mobile_style_path : '');
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check user agent string for mobile browser id.
|
||||||
|
*
|
||||||
|
* @param string $user_agent User agent string
|
||||||
|
*
|
||||||
|
* @return bool True if mobile browser
|
||||||
|
*/
|
||||||
|
public static function is_mobile_browser($user_agent)
|
||||||
|
{
|
||||||
|
if (self::$mobile_seo && self::$is_bot)
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
if ((strpos($user_agent, 'Mobile') === false && // Generic mobile browser string, most browsers have it.
|
||||||
|
strpos($user_agent, 'SymbianOS') === false && // Nokia device running Symbian OS.
|
||||||
|
strpos($user_agent, 'Opera M') === false && // Opera Mini or Opera Mobile.
|
||||||
|
strpos($user_agent, 'Android') === false && // Android devices that don't have 'Mobile' in UA string.
|
||||||
|
stripos($user_agent, 'HTC_') === false && // HTC devices that don't have 'Mobile' nor 'Android' in UA string. Case insensitive.
|
||||||
|
strpos($user_agent, 'Fennec/') === false && // Firefox mobile
|
||||||
|
strpos($user_agent, 'Kindle') === false && // Kindle Fire tablet
|
||||||
|
strpos($user_agent, 'BlackBerry') === false) || // BlackBerry
|
||||||
|
strpos($user_agent, 'iPad') !== false) // iPad should be excluded
|
||||||
|
{
|
||||||
|
// Not a mobile browser
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
// Mobile browser
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if mobile style exists
|
||||||
|
*
|
||||||
|
* @param string $path Directory name of mobile style
|
||||||
|
*
|
||||||
|
* @return bool True if mobile style exists
|
||||||
|
*/
|
||||||
|
protected static function check_style_path($path)
|
||||||
|
{
|
||||||
|
// Locate and read style.cfg
|
||||||
|
$style_cfg = self::styles_path() . '/' . $path . '/style.cfg';
|
||||||
|
if (!file_exists($style_cfg))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
$style_cfg_data = @file_get_contents($style_cfg);
|
||||||
|
if ($style_cfg_data === false || strpos($style_cfg_data, 'mobile') === false)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Check style.cfg for "mobile = 1"
|
||||||
|
foreach (explode("\n", $style_cfg_data) as $row)
|
||||||
|
{
|
||||||
|
$list = explode('=', $row);
|
||||||
|
if (count($list) == 2 && trim($list[0]) == 'mobile' && trim($list[1]) == '1')
|
||||||
|
{
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if mobile style exists
|
||||||
|
*
|
||||||
|
* @param int $id Style id
|
||||||
|
*
|
||||||
|
* @return string|bool Path to style if mobile style exists, false on error
|
||||||
|
*/
|
||||||
|
protected static function check_style_id($id)
|
||||||
|
{
|
||||||
|
global $db;
|
||||||
|
$id = (int) $id;
|
||||||
|
$sql = 'SELECT t.template_path
|
||||||
|
FROM ' . STYLES_TABLE . ' s, ' . STYLES_TEMPLATE_TABLE . " t
|
||||||
|
WHERE s.style_id = $id
|
||||||
|
AND t.template_id = s.template_id";
|
||||||
|
$result = $db->sql_query($sql);
|
||||||
|
$row = $db->sql_fetchrow($result);
|
||||||
|
$db->sql_freeresult($result);
|
||||||
|
|
||||||
|
if ($row === false || !self::check_style_path($row['template_path']))
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return $row['template_path'];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Locate mobile style
|
||||||
|
*
|
||||||
|
* @param bool $check_db If true and mobile style id is set, script will check phpbb_styles table for mobile style
|
||||||
|
* @param bool $check_dirs If true, script will search for mobile style in styles directory
|
||||||
|
*
|
||||||
|
* @return string|bool Mobile style path
|
||||||
|
*/
|
||||||
|
public static function locate_mobile_style($check_db = true, $check_dirs = true)
|
||||||
|
{
|
||||||
|
// Locate by style path
|
||||||
|
if (defined('MOBILE_STYLE_PATH') && self::check_style_path(MOBILE_STYLE_PATH))
|
||||||
|
{
|
||||||
|
self::$mobile_style_path = MOBILE_STYLE_PATH;
|
||||||
|
return self::$mobile_style_path;
|
||||||
|
}
|
||||||
|
if (!empty(self::$mobile_style_path) && self::check_style_path(self::$mobile_style_path))
|
||||||
|
{
|
||||||
|
return self::$mobile_style_path;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Locate by style id
|
||||||
|
if ($check_db && defined('MOBILE_STYLE_ID') && ($path = self::check_style_id(MOBILE_STYLE_ID)) !== false)
|
||||||
|
{
|
||||||
|
self::$mobile_style_path = $path;
|
||||||
|
return $path;
|
||||||
|
}
|
||||||
|
if ($check_db && self::$mobile_style_id && (!defined('MOBILE_STYLE_ID') || MOBILE_STYLE_ID != self::$mobile_style_id) && ($path = self::check_style_id(self::$mobile_style_id)) !== false)
|
||||||
|
{
|
||||||
|
self::$mobile_style_path = $path;
|
||||||
|
return $path;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Default style path, passed in session.php
|
||||||
|
if (!empty(self::$passed_mobile_path) && self::check_style_path(self::$passed_mobile_path))
|
||||||
|
{
|
||||||
|
self::$mobile_style_path = self::$passed_mobile_path;
|
||||||
|
return self::$mobile_style_path;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Search styles directory
|
||||||
|
if (!$check_dirs)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
$styles_dir = self::styles_path();
|
||||||
|
$iterator = new DirectoryIterator($styles_dir);
|
||||||
|
foreach ($iterator as $fileinfo)
|
||||||
|
{
|
||||||
|
if ($fileinfo->isDir() && self::check_style_path($fileinfo->getFilename()))
|
||||||
|
{
|
||||||
|
self::$mobile_style_path = $fileinfo->getFilename();
|
||||||
|
return self::$mobile_style_path;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Create HTML code for mobile style link
|
||||||
|
*
|
||||||
|
* @param template $template Template class instance
|
||||||
|
* @param string $mode Mode to add to URL
|
||||||
|
* @param string $lang Language variable for link text
|
||||||
|
*
|
||||||
|
* @return string HTML code for link
|
||||||
|
*/
|
||||||
|
protected static function create_link($template, $mode, $lang)
|
||||||
|
{
|
||||||
|
global $user;
|
||||||
|
$text = '';
|
||||||
|
$lang_key = 'MOBILE_STYLE_' . strtoupper($lang);
|
||||||
|
switch ($lang)
|
||||||
|
{
|
||||||
|
case 'switch_full':
|
||||||
|
$text = isset($user->lang[$lang_key]) ? $user->lang[$lang_key] : 'Switch to full style';
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'switch_mobile':
|
||||||
|
$text = isset($user->lang[$lang_key]) ? $user->lang[$lang_key] : 'Switch to mobile style';
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'not_found':
|
||||||
|
$text = isset($user->lang[$lang_key]) ? $user->lang[$lang_key] : 'Error locating mobile style files';
|
||||||
|
break;
|
||||||
|
|
||||||
|
default:
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
$link = $template->_rootref['U_INDEX'];
|
||||||
|
if (!empty($template->_rootref['U_VIEW_TOPIC']))
|
||||||
|
{
|
||||||
|
$link = $template->_rootref['U_VIEW_TOPIC'];
|
||||||
|
}
|
||||||
|
elseif (!empty($template->_tpldata['navlinks']) && isset($template->_tpldata['navlinks'][count($template->_tpldata['navlinks']) - 1]['U_VIEW_FORUM']))
|
||||||
|
{
|
||||||
|
$link = $template->_tpldata['navlinks'][count($template->_tpldata['navlinks']) - 1]['U_VIEW_FORUM'];
|
||||||
|
}
|
||||||
|
$link .= (strpos($link, '?') === false ? '?' : '&') . self::$mobile_var . '=' . $mode;
|
||||||
|
return '<a href="' . $link . '">' . $text . '</a>';
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add data to overall_footer.html
|
||||||
|
*
|
||||||
|
* @param mobile_template $template Template class instance
|
||||||
|
*
|
||||||
|
* @return string Empty string
|
||||||
|
*/
|
||||||
|
public static function template_footer($template)
|
||||||
|
{
|
||||||
|
if (defined('MOBILE_STYLE') && self::$is_bot)
|
||||||
|
{
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
$link = '';
|
||||||
|
switch (self::$mobile_mode)
|
||||||
|
{
|
||||||
|
case '404':
|
||||||
|
$link = self::create_link($template, 'mobile', 'not_found');
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'mobile':
|
||||||
|
$link = self::create_link($template, 'desktop', 'switch_full');
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'desktop':
|
||||||
|
$link = self::create_link($template, 'mobile', 'switch_mobile');
|
||||||
|
break;
|
||||||
|
|
||||||
|
case '':
|
||||||
|
if (!defined('MOBILE_STYLE') && (self::$always_show_link || !self::$is_desktop))
|
||||||
|
{
|
||||||
|
// Detected desktop style
|
||||||
|
$link = self::create_link($template, 'mobile', 'switch_mobile');
|
||||||
|
}
|
||||||
|
elseif (defined('MOBILE_STYLE'))
|
||||||
|
{
|
||||||
|
// Detected mobile style
|
||||||
|
$link = self::create_link($template, 'desktop', 'switch_full');
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (strlen($link))
|
||||||
|
{
|
||||||
|
echo '<div class="mobile-style-switch mobile-style-switch-footer" style="padding: 5px; text-align: center;">' . $link . '</div>';
|
||||||
|
}
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add data to overall_header.html
|
||||||
|
*
|
||||||
|
* @param mobile_template $template Template class instance
|
||||||
|
*
|
||||||
|
* @return string HTML code to echo after overall_header.html
|
||||||
|
*/
|
||||||
|
public static function template_header($template)
|
||||||
|
{
|
||||||
|
if (defined('MOBILE_STYLE') && self::$is_bot)
|
||||||
|
{
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
$link = '';
|
||||||
|
switch (self::$mobile_mode)
|
||||||
|
{
|
||||||
|
case 'mobile':
|
||||||
|
if (isset($_GET[self::$mobile_var]))
|
||||||
|
{
|
||||||
|
// Show link below header only if style was just switched
|
||||||
|
$link = self::create_link($template, 'desktop', 'switch_full');
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case 'desktop':
|
||||||
|
if (isset($_GET[self::$mobile_var]))
|
||||||
|
{
|
||||||
|
// Show link below header only if style was just switched
|
||||||
|
$link = self::create_link($template, 'mobile', 'switch_mobile');
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
|
||||||
|
case '':
|
||||||
|
self::include_js($template);
|
||||||
|
if (defined('MOBILE_STYLE') && !isset($_COOKIE[self::$cookie_var]))
|
||||||
|
{
|
||||||
|
// Detected mobile style
|
||||||
|
$link = self::create_link($template, 'desktop', 'switch_full');
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
if (strlen($link))
|
||||||
|
{
|
||||||
|
return '<div class="mobile-style-switch mobile-style-switch-header" style="padding: 5px; text-align: center;">' . $link . '</div>';
|
||||||
|
}
|
||||||
|
return '';
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Attempt to include detect.js from mobile style
|
||||||
|
*
|
||||||
|
* @param mobile_template $template Template class instance
|
||||||
|
*/
|
||||||
|
protected static function include_js($template)
|
||||||
|
{
|
||||||
|
if (defined('MOBILE_STYLE') && self::$is_bot)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (count($_POST) || isset($_GET[self::$mobile_var]))
|
||||||
|
{
|
||||||
|
// Do not redirect on forms or when URL has mode
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Locate mobile style
|
||||||
|
if (self::locate_mobile_style(false, false) === false)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
$script = self::styles_path(true) . '/template/detect.js';
|
||||||
|
if (!@file_exists($script))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
$template->_rootref['META'] = (isset($template->_rootref['META']) ? $template->_rootref['META'] : '') . '<script type="text/javascript"> var phpBBMobileStyle = ' . (defined('MOBILE_STYLE') ? 'true' : 'false') . ', phpBBMobileVar = \'' . addslashes(self::$mobile_var) . '\'; </script><script type="text/javascript" src="' . htmlspecialchars($script) . '?t=' . @filemtime($script) . '"></script>';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Extend template class to override _tpl_include()
|
||||||
|
*/
|
||||||
|
class mobile_template extends template
|
||||||
|
{
|
||||||
|
/**
|
||||||
|
* Override _tpl_include function
|
||||||
|
*/
|
||||||
|
function _tpl_include($filename, $include = true)
|
||||||
|
{
|
||||||
|
if ($include)
|
||||||
|
{
|
||||||
|
$to_echo = '';
|
||||||
|
if ($filename == 'overall_footer.html')
|
||||||
|
{
|
||||||
|
$to_echo = phpbb_mobile::template_footer($this);
|
||||||
|
}
|
||||||
|
if ($filename == 'overall_header.html')
|
||||||
|
{
|
||||||
|
$to_echo = phpbb_mobile::template_header($this);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
parent::_tpl_include($filename, $include);
|
||||||
|
if ($include)
|
||||||
|
{
|
||||||
|
echo $to_echo;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Clone template class properties
|
||||||
|
*
|
||||||
|
* @param template $template Template class instance to copy from
|
||||||
|
*/
|
||||||
|
public function clone_properties($template)
|
||||||
|
{
|
||||||
|
foreach (array_keys(get_class_vars(get_class($this))) as $var)
|
||||||
|
{
|
||||||
|
$this->$var = $template->$var;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
2573
art_mobile/contrib/modx.prosilver.en.xsl
Normal file
2573
art_mobile/contrib/modx.prosilver.en.xsl
Normal file
File diff suppressed because one or more lines are too long
8
art_mobile/contrib/readme.txt
Normal file
8
art_mobile/contrib/readme.txt
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
How to add automatic mobile device detection to your forum:
|
||||||
|
|
||||||
|
1. Open detect_mobile.xml in a browser. If your browser can't open file, try a different browser. Safari or Chrome are recommended.
|
||||||
|
|
||||||
|
2. Copy file mobile.php to directory includes/ of your forum.
|
||||||
|
|
||||||
|
3. Edit file includes/session.php as written in instructions.
|
||||||
|
|
3
art_mobile/imageset/en/imageset.cfg
Normal file
3
art_mobile/imageset/en/imageset.cfg
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Empty file. Language packs are not used for this style.
|
||||||
|
# Had to add spacer.gif as workaround for phpBB bug: phpBB 3.0.8 cannot handle empty imagesets
|
||||||
|
img_icon_back_top = spacer.gif
|
0
art_mobile/imageset/en/index.htm
Normal file
0
art_mobile/imageset/en/index.htm
Normal file
BIN
art_mobile/imageset/en/spacer.gif
Normal file
BIN
art_mobile/imageset/en/spacer.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 43 B |
128
art_mobile/imageset/imageset.cfg
Normal file
128
art_mobile/imageset/imageset.cfg
Normal file
|
@ -0,0 +1,128 @@
|
||||||
|
#
|
||||||
|
# phpBB Imageset Configuration File
|
||||||
|
#
|
||||||
|
# @package phpBB3
|
||||||
|
# @copyright (c) 2006 phpBB Group
|
||||||
|
# @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# At the left is the name, please do not change this
|
||||||
|
# At the right the value is entered
|
||||||
|
# For on/off options the valid values are on, off, 1, 0, true and false
|
||||||
|
#
|
||||||
|
# Values get trimmed, if you want to add a space in front or at the end of
|
||||||
|
# the value, then enclose the value with single or double quotes.
|
||||||
|
# Single and double quotes do not need to be escaped.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
# General Information about this style
|
||||||
|
name = Artodia: Mobile and SEO
|
||||||
|
copyright = © Artodia.com
|
||||||
|
version = 3.5
|
||||||
|
|
||||||
|
# Images
|
||||||
|
img_site_logo =
|
||||||
|
img_poll_left =
|
||||||
|
img_poll_center =
|
||||||
|
img_poll_right =
|
||||||
|
img_icon_friend =
|
||||||
|
img_icon_foe =
|
||||||
|
|
||||||
|
img_forum_link =
|
||||||
|
img_forum_read =
|
||||||
|
img_forum_read_locked =
|
||||||
|
img_forum_read_subforum =
|
||||||
|
img_forum_unread =
|
||||||
|
img_forum_unread_locked =
|
||||||
|
img_forum_unread_subforum =
|
||||||
|
|
||||||
|
img_topic_moved =
|
||||||
|
|
||||||
|
img_topic_read =
|
||||||
|
img_topic_read_mine =
|
||||||
|
img_topic_read_hot =
|
||||||
|
img_topic_read_hot_mine =
|
||||||
|
img_topic_read_locked =
|
||||||
|
img_topic_read_locked_mine =
|
||||||
|
|
||||||
|
img_topic_unread =
|
||||||
|
img_topic_unread_mine =
|
||||||
|
img_topic_unread_hot =
|
||||||
|
img_topic_unread_hot_mine =
|
||||||
|
img_topic_unread_locked =
|
||||||
|
img_topic_unread_locked_mine =
|
||||||
|
|
||||||
|
img_sticky_read =
|
||||||
|
img_sticky_read_mine =
|
||||||
|
img_sticky_read_locked =
|
||||||
|
img_sticky_read_locked_mine =
|
||||||
|
img_sticky_unread =
|
||||||
|
img_sticky_unread_mine =
|
||||||
|
img_sticky_unread_locked =
|
||||||
|
img_sticky_unread_locked_mine =
|
||||||
|
|
||||||
|
img_announce_read =
|
||||||
|
img_announce_read_mine =
|
||||||
|
img_announce_read_locked =
|
||||||
|
img_announce_read_locked_mine =
|
||||||
|
img_announce_unread =
|
||||||
|
img_announce_unread_mine =
|
||||||
|
img_announce_unread_locked =
|
||||||
|
img_announce_unread_locked_mine =
|
||||||
|
|
||||||
|
img_global_read =
|
||||||
|
img_global_read_mine =
|
||||||
|
img_global_read_locked =
|
||||||
|
img_global_read_locked_mine =
|
||||||
|
img_global_unread =
|
||||||
|
img_global_unread_mine =
|
||||||
|
img_global_unread_locked =
|
||||||
|
img_global_unread_locked_mine =
|
||||||
|
|
||||||
|
img_subforum_read =
|
||||||
|
img_subforum_unread =
|
||||||
|
|
||||||
|
img_pm_read =
|
||||||
|
img_pm_unread =
|
||||||
|
|
||||||
|
img_icon_contact_aim =
|
||||||
|
img_icon_contact_email =
|
||||||
|
img_icon_contact_icq =
|
||||||
|
img_icon_contact_jabber =
|
||||||
|
img_icon_contact_msnm =
|
||||||
|
img_icon_contact_pm =
|
||||||
|
|
||||||
|
img_icon_contact_www =
|
||||||
|
img_icon_contact_yahoo =
|
||||||
|
|
||||||
|
img_icon_post_delete =
|
||||||
|
img_icon_post_info =
|
||||||
|
img_icon_post_edit =
|
||||||
|
img_icon_post_quote =
|
||||||
|
|
||||||
|
img_icon_post_report =
|
||||||
|
img_icon_post_target =
|
||||||
|
img_icon_post_target_unread =
|
||||||
|
|
||||||
|
img_icon_topic_attach =
|
||||||
|
img_icon_topic_latest =
|
||||||
|
img_icon_topic_newest =
|
||||||
|
img_icon_topic_reported =
|
||||||
|
img_icon_topic_unapproved =
|
||||||
|
|
||||||
|
img_icon_user_profile =
|
||||||
|
|
||||||
|
img_icon_user_warn =
|
||||||
|
|
||||||
|
img_icon_user_online =
|
||||||
|
img_icon_user_offline =
|
||||||
|
img_icon_user_search =
|
||||||
|
|
||||||
|
img_button_pm_forward =
|
||||||
|
img_button_pm_new =
|
||||||
|
img_button_pm_reply =
|
||||||
|
|
||||||
|
img_button_topic_locked =
|
||||||
|
img_button_topic_new =
|
||||||
|
img_button_topic_reply =
|
0
art_mobile/imageset/index.htm
Normal file
0
art_mobile/imageset/index.htm
Normal file
281
art_mobile/license.txt
Normal file
281
art_mobile/license.txt
Normal file
|
@ -0,0 +1,281 @@
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
Version 2, June 1991
|
||||||
|
|
||||||
|
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
|
||||||
|
675 Mass Ave, Cambridge, MA 02139, USA
|
||||||
|
Everyone is permitted to copy and distribute verbatim copies
|
||||||
|
of this license document, but changing it is not allowed.
|
||||||
|
|
||||||
|
Preamble
|
||||||
|
|
||||||
|
The licenses for most software are designed to take away your
|
||||||
|
freedom to share and change it. By contrast, the GNU General Public
|
||||||
|
License is intended to guarantee your freedom to share and change free
|
||||||
|
software--to make sure the software is free for all its users. This
|
||||||
|
General Public License applies to most of the Free Software
|
||||||
|
Foundation's software and to any other program whose authors commit to
|
||||||
|
using it. (Some other Free Software Foundation software is covered by
|
||||||
|
the GNU Library General Public License instead.) You can apply it to
|
||||||
|
your programs, too.
|
||||||
|
|
||||||
|
When we speak of free software, we are referring to freedom, not
|
||||||
|
price. Our General Public Licenses are designed to make sure that you
|
||||||
|
have the freedom to distribute copies of free software (and charge for
|
||||||
|
this service if you wish), that you receive source code or can get it
|
||||||
|
if you want it, that you can change the software or use pieces of it
|
||||||
|
in new free programs; and that you know you can do these things.
|
||||||
|
|
||||||
|
To protect your rights, we need to make restrictions that forbid
|
||||||
|
anyone to deny you these rights or to ask you to surrender the rights.
|
||||||
|
These restrictions translate to certain responsibilities for you if you
|
||||||
|
distribute copies of the software, or if you modify it.
|
||||||
|
|
||||||
|
For example, if you distribute copies of such a program, whether
|
||||||
|
gratis or for a fee, you must give the recipients all the rights that
|
||||||
|
you have. You must make sure that they, too, receive or can get the
|
||||||
|
source code. And you must show them these terms so they know their
|
||||||
|
rights.
|
||||||
|
|
||||||
|
We protect your rights with two steps: (1) copyright the software, and
|
||||||
|
(2) offer you this license which gives you legal permission to copy,
|
||||||
|
distribute and/or modify the software.
|
||||||
|
|
||||||
|
Also, for each author's protection and ours, we want to make certain
|
||||||
|
that everyone understands that there is no warranty for this free
|
||||||
|
software. If the software is modified by someone else and passed on, we
|
||||||
|
want its recipients to know that what they have is not the original, so
|
||||||
|
that any problems introduced by others will not reflect on the original
|
||||||
|
authors' reputations.
|
||||||
|
|
||||||
|
Finally, any free program is threatened constantly by software
|
||||||
|
patents. We wish to avoid the danger that redistributors of a free
|
||||||
|
program will individually obtain patent licenses, in effect making the
|
||||||
|
program proprietary. To prevent this, we have made it clear that any
|
||||||
|
patent must be licensed for everyone's free use or not licensed at all.
|
||||||
|
|
||||||
|
The precise terms and conditions for copying, distribution and
|
||||||
|
modification follow.
|
||||||
|
|
||||||
|
GNU GENERAL PUBLIC LICENSE
|
||||||
|
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
||||||
|
|
||||||
|
0. This License applies to any program or other work which contains
|
||||||
|
a notice placed by the copyright holder saying it may be distributed
|
||||||
|
under the terms of this General Public License. The "Program", below,
|
||||||
|
refers to any such program or work, and a "work based on the Program"
|
||||||
|
means either the Program or any derivative work under copyright law:
|
||||||
|
that is to say, a work containing the Program or a portion of it,
|
||||||
|
either verbatim or with modifications and/or translated into another
|
||||||
|
language. (Hereinafter, translation is included without limitation in
|
||||||
|
the term "modification".) Each licensee is addressed as "you".
|
||||||
|
|
||||||
|
Activities other than copying, distribution and modification are not
|
||||||
|
covered by this License; they are outside its scope. The act of
|
||||||
|
running the Program is not restricted, and the output from the Program
|
||||||
|
is covered only if its contents constitute a work based on the
|
||||||
|
Program (independent of having been made by running the Program).
|
||||||
|
Whether that is true depends on what the Program does.
|
||||||
|
|
||||||
|
1. You may copy and distribute verbatim copies of the Program's
|
||||||
|
source code as you receive it, in any medium, provided that you
|
||||||
|
conspicuously and appropriately publish on each copy an appropriate
|
||||||
|
copyright notice and disclaimer of warranty; keep intact all the
|
||||||
|
notices that refer to this License and to the absence of any warranty;
|
||||||
|
and give any other recipients of the Program a copy of this License
|
||||||
|
along with the Program.
|
||||||
|
|
||||||
|
You may charge a fee for the physical act of transferring a copy, and
|
||||||
|
you may at your option offer warranty protection in exchange for a fee.
|
||||||
|
|
||||||
|
2. You may modify your copy or copies of the Program or any portion
|
||||||
|
of it, thus forming a work based on the Program, and copy and
|
||||||
|
distribute such modifications or work under the terms of Section 1
|
||||||
|
above, provided that you also meet all of these conditions:
|
||||||
|
|
||||||
|
a) You must cause the modified files to carry prominent notices
|
||||||
|
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
|
||||||
|
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
|
||||||
|
parties under the terms of this License.
|
||||||
|
|
||||||
|
c) If the modified program normally reads commands interactively
|
||||||
|
when run, you must cause it, when started running for such
|
||||||
|
interactive use in the most ordinary way, to print or display an
|
||||||
|
announcement including an appropriate copyright notice and a
|
||||||
|
notice that there is no warranty (or else, saying that you provide
|
||||||
|
a warranty) and that users may redistribute the program under
|
||||||
|
these conditions, and telling the user how to view a copy of this
|
||||||
|
License. (Exception: if the Program itself is interactive but
|
||||||
|
does not normally print such an announcement, your work based on
|
||||||
|
the Program is not required to print an announcement.)
|
||||||
|
|
||||||
|
These requirements apply to the modified work as a whole. If
|
||||||
|
identifiable sections of that work are not derived from the Program,
|
||||||
|
and can be reasonably considered independent and separate works in
|
||||||
|
themselves, then this License, and its terms, do not apply to those
|
||||||
|
sections when you distribute them as separate works. But when you
|
||||||
|
distribute the same sections as part of a whole which is a work based
|
||||||
|
on the Program, the distribution of the whole must be on the terms of
|
||||||
|
this License, whose permissions for other licensees extend to the
|
||||||
|
entire whole, and thus to each and every part regardless of who wrote it.
|
||||||
|
|
||||||
|
Thus, it is not the intent of this section to claim rights or contest
|
||||||
|
your rights to work written entirely by you; rather, the intent is to
|
||||||
|
exercise the right to control the distribution of derivative or
|
||||||
|
collective works based on the Program.
|
||||||
|
|
||||||
|
In addition, mere aggregation of another work not based on the Program
|
||||||
|
with the Program (or with a work based on the Program) on a volume of
|
||||||
|
a storage or distribution medium does not bring the other work under
|
||||||
|
the scope of this License.
|
||||||
|
|
||||||
|
3. You may copy and distribute the Program (or a work based on it,
|
||||||
|
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:
|
||||||
|
|
||||||
|
a) Accompany it with the complete corresponding machine-readable
|
||||||
|
source code, which must be distributed under the terms of Sections
|
||||||
|
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
|
||||||
|
years, to give any third party, for a charge no more than your
|
||||||
|
cost of physically performing source distribution, a complete
|
||||||
|
machine-readable copy of the corresponding source code, to be
|
||||||
|
distributed under the terms of Sections 1 and 2 above on a medium
|
||||||
|
customarily used for software interchange; or,
|
||||||
|
|
||||||
|
c) Accompany it with the information you received as to the offer
|
||||||
|
to distribute corresponding source code. (This alternative is
|
||||||
|
allowed only for noncommercial distribution and only if you
|
||||||
|
received the program in object code or executable form with such
|
||||||
|
an offer, in accord with Subsection b above.)
|
||||||
|
|
||||||
|
The source code for a work means the preferred form of the work for
|
||||||
|
making modifications to it. For an executable work, complete source
|
||||||
|
code means all the source code for all modules it contains, plus any
|
||||||
|
associated interface definition files, plus the scripts used to
|
||||||
|
control compilation and installation of the executable. However, as a
|
||||||
|
special exception, the source code distributed need not include
|
||||||
|
anything that is normally distributed (in either source or binary
|
||||||
|
form) with the major components (compiler, kernel, and so on) of the
|
||||||
|
operating system on which the executable runs, unless that component
|
||||||
|
itself accompanies the executable.
|
||||||
|
|
||||||
|
If distribution of executable or object code is made by offering
|
||||||
|
access to copy from a designated place, then offering equivalent
|
||||||
|
access to copy the source code from the same place counts as
|
||||||
|
distribution of the source code, even though third parties are not
|
||||||
|
compelled to copy the source along with the object code.
|
||||||
|
|
||||||
|
4. You may not copy, modify, sublicense, or distribute the Program
|
||||||
|
except as expressly provided under this License. Any attempt
|
||||||
|
otherwise to copy, modify, sublicense or distribute the Program is
|
||||||
|
void, and will automatically terminate your rights under this License.
|
||||||
|
However, parties who have received copies, or rights, from you under
|
||||||
|
this License will not have their licenses terminated so long as such
|
||||||
|
parties remain in full compliance.
|
||||||
|
|
||||||
|
5. You are not required to accept this License, since you have not
|
||||||
|
signed it. However, nothing else grants you permission to modify or
|
||||||
|
distribute the Program or its derivative works. These actions are
|
||||||
|
prohibited by law if you do not accept this License. Therefore, by
|
||||||
|
modifying or distributing the Program (or any work based on the
|
||||||
|
Program), you indicate your acceptance of this License to do so, and
|
||||||
|
all its terms and conditions for copying, distributing or modifying
|
||||||
|
the Program or works based on it.
|
||||||
|
|
||||||
|
6. Each time you redistribute the Program (or any work based on the
|
||||||
|
Program), the recipient automatically receives a license from the
|
||||||
|
original licensor to copy, distribute or modify the Program subject to
|
||||||
|
these terms and conditions. You may not impose any further
|
||||||
|
restrictions on the recipients' exercise of the rights granted herein.
|
||||||
|
You are not responsible for enforcing compliance by third parties to
|
||||||
|
this License.
|
||||||
|
|
||||||
|
7. If, as a consequence of a court judgment or allegation of patent
|
||||||
|
infringement or for any other reason (not limited to patent issues),
|
||||||
|
conditions are imposed on you (whether by court order, agreement or
|
||||||
|
otherwise) that contradict the conditions of this License, they do not
|
||||||
|
excuse you from the conditions of this License. If you cannot
|
||||||
|
distribute so as to satisfy simultaneously your obligations under this
|
||||||
|
License and any other pertinent obligations, then as a consequence you
|
||||||
|
may not distribute the Program at all. For example, if a patent
|
||||||
|
license would not permit royalty-free redistribution of the Program by
|
||||||
|
all those who receive copies directly or indirectly through you, then
|
||||||
|
the only way you could satisfy both it and this License would be to
|
||||||
|
refrain entirely from distribution of the Program.
|
||||||
|
|
||||||
|
If any portion of this section is held invalid or unenforceable under
|
||||||
|
any particular circumstance, the balance of the section is intended to
|
||||||
|
apply and the section as a whole is intended to apply in other
|
||||||
|
circumstances.
|
||||||
|
|
||||||
|
It is not the purpose of this section to induce you to infringe any
|
||||||
|
patents or other property right claims or to contest validity of any
|
||||||
|
such claims; this section has the sole purpose of protecting the
|
||||||
|
integrity of the free software distribution system, which is
|
||||||
|
implemented by public license practices. Many people have made
|
||||||
|
generous contributions to the wide range of software distributed
|
||||||
|
through that system in reliance on consistent application of that
|
||||||
|
system; it is up to the author/donor to decide if he or she is willing
|
||||||
|
to distribute software through any other system and a licensee cannot
|
||||||
|
impose that choice.
|
||||||
|
|
||||||
|
This section is intended to make thoroughly clear what is believed to
|
||||||
|
be a consequence of the rest of this License.
|
||||||
|
|
||||||
|
8. If the distribution and/or use of the Program is restricted in
|
||||||
|
certain countries either by patents or by copyrighted interfaces, the
|
||||||
|
original copyright holder who places the Program under this License
|
||||||
|
may add an explicit geographical distribution limitation excluding
|
||||||
|
those countries, so that distribution is permitted only in or among
|
||||||
|
countries not thus excluded. In such case, this License incorporates
|
||||||
|
the limitation as if written in the body of this License.
|
||||||
|
|
||||||
|
9. The Free Software Foundation may publish revised and/or new versions
|
||||||
|
of the General Public License from time to time. Such new versions will
|
||||||
|
be similar in spirit to the present version, but may differ in detail to
|
||||||
|
address new problems or concerns.
|
||||||
|
|
||||||
|
Each version is given a distinguishing version number. If the Program
|
||||||
|
specifies a version number of this License which applies to it and "any
|
||||||
|
later version", you have the option of following the terms and conditions
|
||||||
|
either of that version or of any later version published by the Free
|
||||||
|
Software Foundation. If the Program does not specify a version number of
|
||||||
|
this License, you may choose any version ever published by the Free Software
|
||||||
|
Foundation.
|
||||||
|
|
||||||
|
10. If you wish to incorporate parts of the Program into other free
|
||||||
|
programs whose distribution conditions are different, write to the author
|
||||||
|
to ask for permission. For software which is copyrighted by the Free
|
||||||
|
Software Foundation, write to the Free Software Foundation; we sometimes
|
||||||
|
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 promoting the sharing and reuse of software generally.
|
||||||
|
|
||||||
|
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
|
||||||
|
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
||||||
|
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
||||||
|
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
||||||
|
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
||||||
|
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
||||||
|
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
||||||
|
REPAIR OR CORRECTION.
|
||||||
|
|
||||||
|
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
||||||
|
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
||||||
|
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
||||||
|
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
||||||
|
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
||||||
|
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
||||||
|
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
|
||||||
|
POSSIBILITY OF SUCH DAMAGES.
|
||||||
|
|
||||||
|
END OF TERMS AND CONDITIONS
|
||||||
|
|
23
art_mobile/style.cfg
Normal file
23
art_mobile/style.cfg
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
#
|
||||||
|
# phpBB Style Configuration File
|
||||||
|
#
|
||||||
|
# @package phpBB3
|
||||||
|
# @copyright (c) 2005 phpBB Group
|
||||||
|
# @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# At the left is the name, please do not change this
|
||||||
|
# At the right the value is entered
|
||||||
|
# For on/off options the valid values are on, off, 1, 0, true and false
|
||||||
|
#
|
||||||
|
# Values get trimmed, if you want to add a space in front or at the end of
|
||||||
|
# the value, then enclose the value with single or double quotes.
|
||||||
|
# Single and double quotes do not need to be escaped.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
# General Information about this style
|
||||||
|
name = Artodia: Mobile and SEO
|
||||||
|
copyright = © Artodia.com
|
||||||
|
version = 3.5
|
||||||
|
mobile = 1
|
38
art_mobile/template/attachment.html
Normal file
38
art_mobile/template/attachment.html
Normal file
|
@ -0,0 +1,38 @@
|
||||||
|
|
||||||
|
<!-- BEGIN _file -->
|
||||||
|
<!-- IF _file.S_DENIED -->
|
||||||
|
<p>[{_file.DENIED_MESSAGE}]</p>
|
||||||
|
<!-- ELSE -->
|
||||||
|
|
||||||
|
<!-- IF _file.S_THUMBNAIL -->
|
||||||
|
<dl class="thumbnail">
|
||||||
|
<dt><a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" title="{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}" /></a></dt>
|
||||||
|
<!-- IF _file.COMMENT --><dd> {_file.COMMENT}</dd><!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- IF _file.S_IMAGE -->
|
||||||
|
<dl class="file">
|
||||||
|
<dt class="attach-image"><img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" class="post-image" /></dt>
|
||||||
|
<!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF -->
|
||||||
|
<dd>{_file.DOWNLOAD_NAME} ({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF _file.S_FILE -->
|
||||||
|
<dl class="file">
|
||||||
|
<dt><!-- IF _file.UPLOAD_ICON -->{_file.UPLOAD_ICON} <!-- ENDIF --><a class="postlink" href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a></dt>
|
||||||
|
<!-- IF _file.COMMENT --><dd><em>{_file.COMMENT}</em></dd><!-- ENDIF -->
|
||||||
|
<dd>({_file.FILESIZE} {_file.SIZE_LANG}) {_file.L_DOWNLOAD_COUNT}</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF _file.S_WM_FILE or _file.S_RM_FILE or _file.S_FLASH_FILE or _file.S_QUICKTIME_FILE -->
|
||||||
|
<p>
|
||||||
|
<a href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a> [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]
|
||||||
|
</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- END _file -->
|
40
art_mobile/template/bbcode.html
Normal file
40
art_mobile/template/bbcode.html
Normal file
|
@ -0,0 +1,40 @@
|
||||||
|
<!-- BEGIN ulist_open --><ul style="list-style-type: {LIST_TYPE}"><!-- END ulist_open -->
|
||||||
|
<!-- BEGIN ulist_open_default --><ul><!-- END ulist_open_default -->
|
||||||
|
<!-- BEGIN ulist_close --></ul><!-- END ulist_close -->
|
||||||
|
|
||||||
|
<!-- BEGIN olist_open --><ol style="list-style-type: {LIST_TYPE}"><!-- END olist_open -->
|
||||||
|
<!-- BEGIN olist_close --></ol><!-- END olist_close -->
|
||||||
|
|
||||||
|
<!-- BEGIN listitem --><li><!-- END listitem -->
|
||||||
|
<!-- BEGIN listitem_close --></li><!-- END listitem_close -->
|
||||||
|
|
||||||
|
<!-- BEGIN quote_username_open --><blockquote><div><cite>{USERNAME} {L_WROTE}:</cite><!-- END quote_username_open -->
|
||||||
|
<!-- BEGIN quote_open --><blockquote class="uncited"><div><!-- END quote_open -->
|
||||||
|
<!-- BEGIN quote_close --></div></blockquote><!-- END quote_close -->
|
||||||
|
|
||||||
|
<!-- BEGIN code_open --><dl class="codebox"><dt>{L_CODE}:</dt><dd><code><!-- END code_open -->
|
||||||
|
<!-- BEGIN code_close --></code></dd></dl><!-- END code_close -->
|
||||||
|
|
||||||
|
<!-- BEGIN inline_attachment_open --><div class="inline-attachment"><!-- END inline_attachment_open -->
|
||||||
|
<!-- BEGIN inline_attachment_close --></div><!-- END inline_attachment_close -->
|
||||||
|
|
||||||
|
<!-- BEGIN b_open --><strong><!-- END b_open -->
|
||||||
|
<!-- BEGIN b_close --></strong><!-- END b_close -->
|
||||||
|
|
||||||
|
<!-- BEGIN u_open --><span style="text-decoration: underline"><!-- END u_open -->
|
||||||
|
<!-- BEGIN u_close --></span><!-- END u_close -->
|
||||||
|
|
||||||
|
<!-- BEGIN i_open --><em><!-- END i_open -->
|
||||||
|
<!-- BEGIN i_close --></em><!-- END i_close -->
|
||||||
|
|
||||||
|
<!-- BEGIN color --><span style="color: {COLOR}">{TEXT}</span><!-- END color -->
|
||||||
|
|
||||||
|
<!-- BEGIN size --><span style="font-size: {SIZE}%; line-height: 116%;">{TEXT}</span><!-- END size -->
|
||||||
|
|
||||||
|
<!-- BEGIN img --><img src="{URL}" alt="{L_IMAGE}" class="post-image" /><!-- END img -->
|
||||||
|
|
||||||
|
<!-- BEGIN url --><a href="{URL}" class="postlink">{DESCRIPTION}</a><!-- END url -->
|
||||||
|
|
||||||
|
<!-- BEGIN email --><a href="mailto:{EMAIL}">{DESCRIPTION}</a><!-- END email -->
|
||||||
|
|
||||||
|
<!-- BEGIN flash --><a href="{URL}" class="postlink">Flash</a><!-- END flash -->
|
28
art_mobile/template/captcha_default.html
Normal file
28
art_mobile/template/captcha_default.html
Normal file
|
@ -0,0 +1,28 @@
|
||||||
|
<!-- IF S_TYPE == 1 -->
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<h3>{L_CONFIRMATION}</h3>
|
||||||
|
<p>{L_CONFIRM_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt><label for="confirm_code">{L_CONFIRM_CODE}:</label></dt>
|
||||||
|
<dd></dd>
|
||||||
|
<dd><input type="text" name="confirm_code" id="confirm_code" size="8" maxlength="8" tabindex="{$CAPTCHA_TAB_INDEX}" class="inputbox narrow" title="{L_CONFIRM_CODE}" />
|
||||||
|
<!-- IF S_CONFIRM_REFRESH --><input type="submit" name="refresh_vc" id="refresh_vc" class="button2" value="{L_VC_REFRESH}" /><!-- ENDIF -->
|
||||||
|
<input type="hidden" name="confirm_id" id="confirm_id" value="{CONFIRM_ID}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<p><img src="{CONFIRM_IMAGE_LINK}" alt="{L_CONFIRM_CODE}" /></p>
|
||||||
|
<dl>
|
||||||
|
<dt></dt>
|
||||||
|
<dd>{L_CONFIRM_CODE_EXPLAIN}</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<!-- IF S_TYPE == 1 -->
|
||||||
|
</fieldset>
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
50
art_mobile/template/captcha_recaptcha.html
Normal file
50
art_mobile/template/captcha_recaptcha.html
Normal file
|
@ -0,0 +1,50 @@
|
||||||
|
<!-- IF S_TYPE == 1 -->
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<h3>{L_CONFIRMATION}</h3>
|
||||||
|
<p>{L_CONFIRM_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_RECAPTCHA_AVAILABLE -->
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_CONFIRM_CODE}</label>:<br /><span>{L_RECAPTCHA_EXPLAIN}</span></dt>
|
||||||
|
</dl>
|
||||||
|
<div>
|
||||||
|
<script type="text/javascript">
|
||||||
|
// <![CDATA[
|
||||||
|
var RecaptchaOptions = {
|
||||||
|
lang : '{LA_RECAPTCHA_LANG}',
|
||||||
|
theme : 'clean',
|
||||||
|
tabindex : <!-- IF $CAPTCHA_TAB_INDEX -->{$CAPTCHA_TAB_INDEX}<!-- ELSE -->10<!-- ENDIF -->
|
||||||
|
};
|
||||||
|
// ]]>
|
||||||
|
</script>
|
||||||
|
<script type="text/javascript" src="{RECAPTCHA_SERVER}/challenge?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}"></script>
|
||||||
|
<script type="text/javascript">
|
||||||
|
// <![CDATA[
|
||||||
|
<!-- IF S_CONTENT_DIRECTION eq 'rtl' -->
|
||||||
|
document.getElementById('recaptcha_table').style.direction = 'ltr';
|
||||||
|
<!-- ENDIF -->
|
||||||
|
// ]]>
|
||||||
|
</script>
|
||||||
|
<noscript>
|
||||||
|
<div>
|
||||||
|
<object data="{RECAPTCHA_SERVER}/noscript?k={RECAPTCHA_PUBKEY}{RECAPTCHA_ERRORGET}" type="text/html" height="300" width="500"></object><br />
|
||||||
|
<textarea name="recaptcha_challenge_field" rows="3" cols="40"></textarea>
|
||||||
|
<input type="hidden" name="recaptcha_response_field" value="manual_challenge" />
|
||||||
|
</div>
|
||||||
|
</noscript>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- ELSE -->
|
||||||
|
{L_RECAPTCHA_NOT_AVAILABLE}
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_TYPE == 1 -->
|
||||||
|
</fieldset>
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
71
art_mobile/template/detect.js
Normal file
71
art_mobile/template/detect.js
Normal file
|
@ -0,0 +1,71 @@
|
||||||
|
/*
|
||||||
|
Mobile device detection JavaScript for "Artodia: Mobile" phpBB style.
|
||||||
|
Created by Vjacheslav Trushkin (Arty)
|
||||||
|
|
||||||
|
Check http://www.phpbbmobile.com/ for latest version.
|
||||||
|
*/
|
||||||
|
(function() {
|
||||||
|
|
||||||
|
// Check if variables are set
|
||||||
|
if (typeof(phpBBMobileStyle) != 'boolean' || typeof(phpBBMobileVar) != 'string')
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
// Add CSS for test item
|
||||||
|
document.write('<style> .mobileDeviceTest { float: left; } @media only screen and (max-device-width: 720px) { .mobileDeviceTest { float: right; } } @media only screen and (max-device-height: 720px) { .mobileDeviceTest { float: right; } } </style>');
|
||||||
|
|
||||||
|
// Execute function when document has loaded
|
||||||
|
return (document.addEventListener) ? document.addEventListener('DOMContentLoaded', function() {
|
||||||
|
|
||||||
|
function redirect(mode)
|
||||||
|
{
|
||||||
|
try {
|
||||||
|
var url = document.location.href;
|
||||||
|
url = url + ((url.indexOf('?') > 0) ? '&' : '?') + phpBBMobileVar + '=' + mode;
|
||||||
|
document.location.href = url;
|
||||||
|
}
|
||||||
|
catch (e) {}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Create test element
|
||||||
|
var testItem = document.createElement('div');
|
||||||
|
testItem.className = 'mobileDeviceTest';
|
||||||
|
testItem.style.display = 'none';
|
||||||
|
document.body.appendChild(testItem);
|
||||||
|
|
||||||
|
// Get computed style
|
||||||
|
if (typeof (testItem.currentStyle) == 'function')
|
||||||
|
{
|
||||||
|
var style = testItem.currentStyle('float');
|
||||||
|
}
|
||||||
|
else if (window.getComputedStyle)
|
||||||
|
{
|
||||||
|
var style = document.defaultView.getComputedStyle(testItem, null).getPropertyValue('float');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
testItem.parentNode.removeChild(testItem);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
testItem.parentNode.removeChild(testItem);
|
||||||
|
|
||||||
|
// Check if browser has applied desktop or mobile style
|
||||||
|
switch (style)
|
||||||
|
{
|
||||||
|
case 'left':
|
||||||
|
if (phpBBMobileStyle)
|
||||||
|
{
|
||||||
|
redirect('off');
|
||||||
|
}
|
||||||
|
break;
|
||||||
|
case 'right':
|
||||||
|
if (!phpBBMobileStyle)
|
||||||
|
{
|
||||||
|
redirect('on');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
}, false) : false;
|
||||||
|
|
||||||
|
})();
|
23
art_mobile/template/drafts.html
Normal file
23
art_mobile/template/drafts.html
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
|
||||||
|
|
||||||
|
<!-- IF .draftrow -->
|
||||||
|
<div class="forums">
|
||||||
|
<p class="header gradient">{L_LOAD_DRAFT}</p>
|
||||||
|
<p>{L_LOAD_DRAFT_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
<!-- BEGIN draftrow -->
|
||||||
|
<li class="row link" onclick="document.location.href='{draftrow.U_INSERT}'; return false;">
|
||||||
|
<p><a href="{draftrow.U_INSERT}" title="{L_LOAD_DRAFT}" class="topictitle">{draftrow.DRAFT_SUBJECT}</a></p>
|
||||||
|
<!-- IF not S_PRIVMSGS -->
|
||||||
|
<p>
|
||||||
|
<!-- IF draftrow.S_LINK_TOPIC -->{L_TOPIC}: {draftrow.TITLE}
|
||||||
|
<!-- ELSEIF draftrow.S_LINK_FORUM -->{L_FORUM}: {draftrow.TITLE}
|
||||||
|
<!-- ELSE -->{L_NO_TOPIC_FORUM}<!-- ENDIF -->
|
||||||
|
</p><!-- ENDIF -->
|
||||||
|
<p>{draftrow.DATE}</p>
|
||||||
|
</li>
|
||||||
|
<!-- END draftrow -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
32
art_mobile/template/faq_body.html
Normal file
32
art_mobile/template/faq_body.html
Normal file
|
@ -0,0 +1,32 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<h2>{L_FAQ_TITLE}</h2>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="block" id="faqlinks">
|
||||||
|
<!-- BEGIN faq_block -->
|
||||||
|
<dl class="faq">
|
||||||
|
<dt>{faq_block.BLOCK_TITLE}</dt>
|
||||||
|
<!-- BEGIN faq_row -->
|
||||||
|
<dd><a href="#f{faq_block.S_ROW_COUNT}r{faq_block.faq_row.S_ROW_COUNT}">{faq_block.faq_row.FAQ_QUESTION}</a></dd>
|
||||||
|
<!-- END faq_row -->
|
||||||
|
</dl>
|
||||||
|
<!-- END faq_block -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- BEGIN faq_block -->
|
||||||
|
<div class="block">
|
||||||
|
<h2>{faq_block.BLOCK_TITLE}</h2>
|
||||||
|
<!-- BEGIN faq_row -->
|
||||||
|
<dl class="faq">
|
||||||
|
<dt id="f{faq_block.S_ROW_COUNT}r{faq_block.faq_row.S_ROW_COUNT}">{faq_block.faq_row.FAQ_QUESTION}</dt>
|
||||||
|
<dd>{faq_block.faq_row.FAQ_ANSWER}</dd>
|
||||||
|
<dd><a href="#faqlinks" class="top2">{L_BACK_TO_TOP}</a></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF not faq_block.faq_row.S_LAST_ROW --><hr class="dashed" /><!-- ENDIF -->
|
||||||
|
<!-- END faq_row -->
|
||||||
|
</div>
|
||||||
|
<!-- END faq_block -->
|
||||||
|
|
||||||
|
<!-- INCLUDE jumpbox.html -->
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
42
art_mobile/template/forumlist_body.html
Normal file
42
art_mobile/template/forumlist_body.html
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
|
||||||
|
<!-- BEGIN forumrow -->
|
||||||
|
<!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT -->
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW or forumrow.S_NO_CAT -->
|
||||||
|
<div class="forums">
|
||||||
|
<!-- IF forumrow.S_IS_CAT -->
|
||||||
|
<p class="header gradient link" onclick="document.location.href='{forumrow.U_VIEWFORUM}';"><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></p>
|
||||||
|
<!-- IF S_IS_BOT and forumrow.FORUM_DESC --><p>{forumrow.FORUM_DESC}</p><!-- ENDIF -->
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p class="header gradient">{L_FORUMS}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF not forumrow.S_IS_CAT -->
|
||||||
|
<li class="row<!-- IF forumrow.S_UNREAD_FORUM --> row-new<!-- ENDIF --><!-- IF forumrow.S_LOCKED_FORUM --> locked<!-- ENDIF --> link" onclick="document.location.href='{forumrow.U_VIEWFORUM}'; return false;">
|
||||||
|
<p><a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a></p>
|
||||||
|
<!-- IF S_IS_BOT and forumrow.FORUM_DESC --><p>{forumrow.FORUM_DESC}</p><!-- ENDIF -->
|
||||||
|
<!-- IF not forumrow.S_IS_LINK and forumrow.LAST_POST_TIME -->
|
||||||
|
<p><span class="replies" title="{L_TOPICS}, {L_POSTS}">{forumrow.TOPICS}, {forumrow.POSTS}</span>
|
||||||
|
{forumrow.LAST_POST_TIME}
|
||||||
|
</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF forumrow.S_LAST_ROW -->
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<p class="block">
|
||||||
|
{L_NO_FORUMS}
|
||||||
|
</p>
|
||||||
|
<!-- END forumrow -->
|
0
art_mobile/template/index.htm
Normal file
0
art_mobile/template/index.htm
Normal file
25
art_mobile/template/index_body.html
Normal file
25
art_mobile/template/index_body.html
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<!-- IF U_MCP --><p><a href="{U_MCP}">{L_MCP}</a></p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE forumlist_body.html -->
|
||||||
|
|
||||||
|
<!-- IF S_USER_LOGGED_IN and not S_IS_BOT and U_MARK_FORUMS --><p><a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a></p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
|
||||||
|
<form method="post" action="{S_LOGIN_ACTION}">
|
||||||
|
<div class="block">
|
||||||
|
<h3>{L_LOGIN_LOGOUT}</h3>
|
||||||
|
<fieldset class="quick-login">
|
||||||
|
<input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" /> <input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
|
||||||
|
<!-- IF S_AUTOLOGIN_ENABLED -->
|
||||||
|
<br /><label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label><br />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<input type="submit" name="login" value="{L_LOGIN}" class="button2" />
|
||||||
|
{S_LOGIN_REDIRECT}
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
19
art_mobile/template/jumpbox.html
Normal file
19
art_mobile/template/jumpbox.html
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<!-- IF S_DISPLAY_JUMPBOX -->
|
||||||
|
<form method="post" id="jumpbox" action="{S_JUMPBOX_ACTION}" onsubmit="if(this.f.value == -1){return false;}">
|
||||||
|
|
||||||
|
<!-- IF $CUSTOM_FIELDSET_CLASS -->
|
||||||
|
<fieldset class="{$CUSTOM_FIELDSET_CLASS}">
|
||||||
|
<!-- ELSE -->
|
||||||
|
<fieldset class="jumpbox">
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<label for="f" accesskey="j"><!-- IF S_IN_MCP and S_MERGE_SELECT -->{L_SELECT_TOPICS_FROM}<!-- ELSEIF S_IN_MCP -->{L_MODERATE_FORUM}<!-- ELSE -->{L_JUMP_TO}<!-- ENDIF -->:</label>
|
||||||
|
<select name="f" id="f" onchange="if(this.options[this.selectedIndex].value != -1){ document.forms['jumpbox'].submit() }">
|
||||||
|
<!-- BEGIN jumpbox_forums -->
|
||||||
|
<!-- IF jumpbox_forums.S_FORUM_COUNT == 1 --><option value="-1">------------------</option><!-- ENDIF -->
|
||||||
|
<option value="{jumpbox_forums.FORUM_ID}"{jumpbox_forums.SELECTED}><!-- BEGIN level --> <!-- END level -->{jumpbox_forums.FORUM_NAME}</option>
|
||||||
|
<!-- END jumpbox_forums -->
|
||||||
|
</select>
|
||||||
|
<input type="submit" value="{L_GO}" class="button2" />
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<!-- ENDIF -->
|
59
art_mobile/template/login_body.html
Normal file
59
art_mobile/template/login_body.html
Normal file
|
@ -0,0 +1,59 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
// <![CDATA[
|
||||||
|
onload_functions.push('document.getElementById("<!-- IF S_ADMIN_AUTH -->{PASSWORD_CREDENTIAL}<!-- ELSE -->{USERNAME_CREDENTIAL}<!-- ENDIF -->").focus();');
|
||||||
|
// ]]>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<form action="{S_LOGIN_ACTION}" method="post" id="login">
|
||||||
|
<div class="block">
|
||||||
|
<h2><!-- IF LOGIN_EXPLAIN -->{LOGIN_EXPLAIN}<!-- ELSE -->{L_LOGIN}<!-- ENDIF --></h2>
|
||||||
|
|
||||||
|
<fieldset <!-- IF not S_CONFIRM_CODE -->class="fields1"<!-- ELSE -->class="fields2"<!-- ENDIF -->>
|
||||||
|
<!-- IF LOGIN_ERROR --><div class="error">{LOGIN_ERROR}</div><!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="{USERNAME_CREDENTIAL}">{L_USERNAME}:</label></dt>
|
||||||
|
<dd><input type="text" tabindex="1" name="{USERNAME_CREDENTIAL}" id="{USERNAME_CREDENTIAL}" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="{PASSWORD_CREDENTIAL}">{L_PASSWORD}:</label></dt>
|
||||||
|
<dd><input type="password" tabindex="2" id="{PASSWORD_CREDENTIAL}" name="{PASSWORD_CREDENTIAL}" size="25" class="inputbox autowidth" /></dd>
|
||||||
|
<!-- IF S_DISPLAY_FULL_LOGIN and (U_SEND_PASSWORD or U_RESEND_ACTIVATION) -->
|
||||||
|
<!-- IF U_SEND_PASSWORD --><dd><a href="{U_SEND_PASSWORD}">{L_FORGOT_PASS}</a></dd><!-- ENDIF -->
|
||||||
|
<!-- IF U_RESEND_ACTIVATION --><dd><a href="{U_RESEND_ACTIVATION}">{L_RESEND_ACTIVATION}</a></dd><!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
|
||||||
|
<!-- DEFINE $CAPTCHA_TAB_INDEX = 3 -->
|
||||||
|
<!-- INCLUDE {CAPTCHA_TEMPLATE} -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_DISPLAY_FULL_LOGIN -->
|
||||||
|
<dl>
|
||||||
|
<!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="4" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
|
||||||
|
<dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="5" /> {L_HIDE_ME}</label></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
{S_LOGIN_REDIRECT}
|
||||||
|
<dl>
|
||||||
|
<dt> </dt>
|
||||||
|
<dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" tabindex="6" value="{L_LOGIN}" class="button1" /></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED -->
|
||||||
|
<div class="block">
|
||||||
|
<h3>{L_REGISTER}</h3>
|
||||||
|
<p>{L_LOGIN_INFO}</p>
|
||||||
|
<p><strong><a href="{U_TERMS_USE}">{L_TERMS_USE}</a> | <a href="{U_PRIVACY}">{L_PRIVACY}</a></strong></p>
|
||||||
|
<hr class="dashed" />
|
||||||
|
<p><a href="{U_REGISTER}" class="button2">{L_REGISTER}</a></p>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
39
art_mobile/template/login_forum.html
Normal file
39
art_mobile/template/login_forum.html
Normal file
|
@ -0,0 +1,39 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<!-- IF FORUM_NAME --><h2><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2><!-- ENDIF -->
|
||||||
|
|
||||||
|
<form id="login_forum" method="post" action="{S_LOGIN_ACTION}">
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
<div class="block">
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h2>{L_LOGIN}</h2>
|
||||||
|
|
||||||
|
<p>{L_LOGIN_FORUM}</p>
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<!-- IF LOGIN_ERROR -->
|
||||||
|
<dl>
|
||||||
|
<dt> </dt>
|
||||||
|
<dd class="error">{LOGIN_ERROR}</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt><label for="password">{L_PASSWORD}:</label></dt>
|
||||||
|
<dd><input type="password" tabindex="1" id="password" name="password" size="25" class="inputbox narrow" /></dd>
|
||||||
|
</dl>
|
||||||
|
{S_LOGIN_REDIRECT}
|
||||||
|
<dl>
|
||||||
|
<dt> </dt>
|
||||||
|
<dd>{S_HIDDEN_FIELDS}<input type="submit" name="login" id="login" class="button1" value="{L_LOGIN}" tabindex="2" /></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE jumpbox.html -->
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
44
art_mobile/template/mcp_approve.html
Normal file
44
art_mobile/template/mcp_approve.html
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<form id="confirm" action="{S_CONFIRM_ACTION}" method="post">
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
|
||||||
|
<h2>{MESSAGE_TITLE}</h2>
|
||||||
|
<!-- IF ADDITIONAL_MSG --><p class="error">{ADDITIONAL_MSG}</p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<!-- IF S_NOTIFY_POSTER -->
|
||||||
|
<dl class="panel">
|
||||||
|
<dt> </dt>
|
||||||
|
<dd><label><input type="checkbox" name="notify_poster" checked="checked" /> <!-- IF S_APPROVE -->{L_NOTIFY_POSTER_APPROVAL}<!-- ELSE -->{L_NOTIFY_POSTER_DISAPPROVAL}<!-- ENDIF --></label></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF not S_APPROVE -->
|
||||||
|
<dl class="fields2 nobg">
|
||||||
|
<dt><label>{L_DISAPPROVE_REASON}:</label></dt>
|
||||||
|
<dd><select name="reason_id">
|
||||||
|
<!-- BEGIN reason --><option value="{reason.ID}"<!-- IF reason.S_SELECTED --> selected="selected"<!-- ENDIF -->>{reason.DESCRIPTION}</option><!-- END reason -->
|
||||||
|
</select>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="fields2 nobg">
|
||||||
|
<dt><label for="reason">{L_MORE_INFO}:</label><br /><span>{L_CAN_LEAVE_BLANK}</span></dt>
|
||||||
|
<dd><textarea class="inputbox" name="reason" id="reason" rows="4" cols="40">{REASON}</textarea></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<dl class="fields2 nobg">
|
||||||
|
<dt> </dt>
|
||||||
|
<dd><strong>{MESSAGE_TEXT}</strong></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}<input type="submit" name="confirm" value="{YES_VALUE}" class="button1" />
|
||||||
|
<input type="submit" name="cancel" value="{L_NO}" class="button2" />
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
111
art_mobile/template/mcp_ban.html
Normal file
111
art_mobile/template/mcp_ban.html
Normal file
|
@ -0,0 +1,111 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
// <![CDATA[
|
||||||
|
|
||||||
|
var ban_length = new Array();
|
||||||
|
ban_length[-1] = '';
|
||||||
|
<!-- BEGIN ban_length -->
|
||||||
|
ban_length['{ban_length.BAN_ID}'] = '{ban_length.A_LENGTH}';
|
||||||
|
<!-- END ban_length -->
|
||||||
|
|
||||||
|
var ban_reason = new Array();
|
||||||
|
ban_reason[-1] = '';
|
||||||
|
<!-- BEGIN ban_reason -->
|
||||||
|
ban_reason['{ban_reason.BAN_ID}'] = '{ban_reason.A_REASON}';
|
||||||
|
<!-- END ban_reason -->
|
||||||
|
|
||||||
|
var ban_give_reason = new Array();
|
||||||
|
ban_give_reason[-1] = '';
|
||||||
|
<!-- BEGIN ban_give_reason -->
|
||||||
|
ban_give_reason['{ban_give_reason.BAN_ID}'] = '{ban_give_reason.A_REASON}';
|
||||||
|
<!-- END ban_give_reason -->
|
||||||
|
|
||||||
|
function display_details(option)
|
||||||
|
{
|
||||||
|
document.getElementById('unbangivereason').innerHTML = ban_give_reason[option];
|
||||||
|
document.getElementById('unbanreason').innerHTML = ban_reason[option];
|
||||||
|
document.getElementById('unbanlength').innerHTML = ban_length[option];
|
||||||
|
}
|
||||||
|
|
||||||
|
// ]]>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<form id="mcp_ban" method="post" action="{U_ACTION}">
|
||||||
|
|
||||||
|
<p>{L_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="ban">{L_BAN_CELL}:</label></dt>
|
||||||
|
<dd><label for="ban"><textarea name="ban" id="ban" class="inputbox" cols="40" rows="3">{BAN_QUANTIFIER}</textarea></label></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="banlength">{L_BAN_LENGTH}:</label></dt>
|
||||||
|
<dd><label for="banlength"><select name="banlength" id="banlength" onchange="if(this.value==-1){document.getElementById('banlengthother').style.display = 'block';}else{document.getElementById('banlengthother').style.display='none';}">{S_BAN_END_OPTIONS}</select></label></dd>
|
||||||
|
<dd id="banlengthother" style="display: none;"><label><input type="text" name="banlengthother" class="inputbox" /><br /><span>{L_YEAR_MONTH_DAY}</span></label></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="banreason">{L_BAN_REASON}:</label></dt>
|
||||||
|
<dd><input name="banreason" id="banreason" type="text" class="inputbox" maxlength="255" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="bangivereason">{L_BAN_GIVE_REASON}:</label></dt>
|
||||||
|
<dd><input name="bangivereason" id="bangivereason" type="text" class="inputbox" maxlength="255" /></dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt><label for="banexclude0">{L_BAN_EXCLUDE}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="banexclude1"><input type="radio" name="banexclude" id="banexclude1" value="1" /> {L_YES}</label>
|
||||||
|
<label for="banexclude0"><input type="radio" name="banexclude" id="banexclude0" value="0" checked="checked" /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_BAN_EXCLUDE_EXPLAIN}</p>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="bansubmit" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<h3>{L_UNBAN_TITLE}</h3>
|
||||||
|
<p>{L_UNBAN_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF S_BANNED_OPTIONS -->
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="unban">{L_BAN_CELL}:</label></dt>
|
||||||
|
<dd><select name="unban[]" id="unban" multiple="multiple" size="5" onchange="if (this.selectedIndex != -1) {display_details(this.options[this.selectedIndex].value);}">{BANNED_OPTIONS}</select></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt>{L_BAN_LENGTH}:</dt>
|
||||||
|
<dd><strong id="unbanlength"></strong></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt>{L_BAN_REASON}:</dt>
|
||||||
|
<dd><strong id="unbanreason"></strong></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt>{L_BAN_GIVE_REASON}:</dt>
|
||||||
|
<dd><strong id="unbangivereason"></strong></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="unbansubmit" value="{L_SUBMIT}" class="button1" />
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<!-- ELSE -->
|
||||||
|
|
||||||
|
<p>{L_NO_BAN_CELL}</p>
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
2
art_mobile/template/mcp_footer.html
Normal file
2
art_mobile/template/mcp_footer.html
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
60
art_mobile/template/mcp_forum.html
Normal file
60
art_mobile/template/mcp_forum.html
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<!-- DEFINE $CUSTOM_FIELDSET_CLASS = 'forum-selection2' -->
|
||||||
|
<!-- INCLUDE jumpbox.html -->
|
||||||
|
|
||||||
|
<h2><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2>
|
||||||
|
|
||||||
|
<form method="post" id="mcp" action="{S_MCP_ACTION}">
|
||||||
|
|
||||||
|
<!-- IF .topicrow -->
|
||||||
|
<div class="forums">
|
||||||
|
<p class="header gradient">{L_TOPICS}</p>
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN topicrow -->
|
||||||
|
<li class="row">
|
||||||
|
<p>
|
||||||
|
<!-- IF not S_MERGE_SELECT and not topicrow.S_MOVED_TOPIC --><input type="checkbox" name="topic_id_list[]" value="{topicrow.TOPIC_ID}"<!-- IF topicrow.S_TOPIC_CHECKED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF -->
|
||||||
|
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||||
|
<!-- IF topicrow.PAGINATION --><span class="pages">{topicrow.PAGINATION}</span><!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
<!-- IF topicrow.S_SELECT_TOPIC --><p><a href="{topicrow.U_SELECT_TOPIC}" class="button1 gradient link">{L_SELECT_MERGE}</a></p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF topicrow.S_MOVED_TOPIC and S_CAN_DELETE --><p><a href="{topicrow.U_DELETE_TOPIC}" class="topictitle">[ {L_DELETE_SHADOW_TOPIC} ]</a></p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<p><span class="replies" title="{L_REPLIES}">{topicrow.REPLIES}</span> {L_LAST_POST} {L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}<br />{topicrow.LAST_POST_TIME}
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<!-- END topicrow -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p class="block">{L_NO_TOPICS}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
|
||||||
|
<fieldset class="display-actions">
|
||||||
|
<!-- IF not S_MERGE_SELECT -->
|
||||||
|
<select name="action">
|
||||||
|
<option value="" selected="selected">{L_SELECT_ACTION}</option>
|
||||||
|
<!-- IF S_CAN_DELETE --><option value="delete_topic">{L_DELETE}</option><!-- ENDIF -->
|
||||||
|
<!-- IF S_CAN_MERGE --><option value="merge_topics">{L_MERGE}</option><!-- ENDIF -->
|
||||||
|
<!-- IF S_CAN_MOVE --><option value="move">{L_MOVE}</option><!-- ENDIF -->
|
||||||
|
<!-- IF S_CAN_FORK --><option value="fork">{L_FORK}</option><!-- ENDIF -->
|
||||||
|
<!-- IF S_CAN_LOCK --><option value="lock">{L_LOCK}</option><option value="unlock">{L_UNLOCK}</option><!-- ENDIF -->
|
||||||
|
<!-- IF S_CAN_SYNC --><option value="resync">{L_RESYNC}</option><!-- ENDIF -->
|
||||||
|
<!-- IF S_CAN_MAKE_NORMAL --><option value="make_normal">{L_MAKE_NORMAL}</option><!-- ENDIF -->
|
||||||
|
<!-- IF S_CAN_MAKE_STICKY --><option value="make_sticky">{L_MAKE_STICKY}</option><!-- ENDIF -->
|
||||||
|
<!-- IF S_CAN_MAKE_ANNOUNCE -->
|
||||||
|
<option value="make_announce">{L_MAKE_ANNOUNCE}</option>
|
||||||
|
<option value="make_global">{L_MAKE_GLOBAL}</option>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</select>
|
||||||
|
<input class="button2" type="submit" value="{L_SUBMIT}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
126
art_mobile/template/mcp_front.html
Normal file
126
art_mobile/template/mcp_front.html
Normal file
|
@ -0,0 +1,126 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_UNAPPROVED -->
|
||||||
|
|
||||||
|
<form id="mcp_queue" method="post" action="{S_MCP_QUEUE_ACTION}">
|
||||||
|
|
||||||
|
<h3>{L_LATEST_UNAPPROVED}</h3>
|
||||||
|
<!-- IF S_HAS_UNAPPROVED_POSTS --><p>{L_UNAPPROVED_TOTAL}</p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .unapproved -->
|
||||||
|
<div class="forums">
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN unapproved -->
|
||||||
|
<li class="row">
|
||||||
|
<p><input type="checkbox" name="post_id_list[]" value="{unapproved.POST_ID}" />
|
||||||
|
<a href="{unapproved.U_POST_DETAILS}" class="topictitle">{unapproved.SUBJECT}</a>
|
||||||
|
<!-- IF report.PAGINATION --><span class="pages">{report.PAGINATION}</span><!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
<p>{L_POSTED} {L_POST_BY_AUTHOR} {unapproved.AUTHOR_FULL} » {unapproved.POST_TIME}<br />
|
||||||
|
{L_TOPIC}: <a href="{unapproved.U_TOPIC}">{unapproved.TOPIC_TITLE}</a> [<a href="{unapproved.U_MCP_TOPIC}">{L_MODERATE}</a>]<br />
|
||||||
|
{L_FORUM}: <!-- IF unapproved.U_FORUM --><a href="{unapproved.U_FORUM}">{unapproved.FORUM_NAME}</a><!-- ELSE -->{unapproved.FORUM_NAME}<!-- ENDIF --><!-- IF unapproved.U_MCP_FORUM --> [<a href="{unapproved.U_MCP_FORUM}">{L_MODERATE}</a>]<!-- ENDIF --></span>
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<!-- END unapproved -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p>{L_UNAPPROVED_POSTS_ZERO_TOTAL}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
|
||||||
|
<!-- IF .unapproved -->
|
||||||
|
<fieldset class="display-actions">
|
||||||
|
{S_HIDDEN_FIELDS}
|
||||||
|
<input class="button2" type="submit" name="action[disapprove]" value="{L_DISAPPROVE}" />
|
||||||
|
<input class="button1" type="submit" name="action[approve]" value="{L_APPROVE}" />
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</form>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_REPORTS -->
|
||||||
|
|
||||||
|
<h3>{L_LATEST_REPORTED}</h3>
|
||||||
|
<!-- IF S_HAS_REPORTS --><p>{L_REPORTS_TOTAL}</p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .report -->
|
||||||
|
<div class="forums">
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN report -->
|
||||||
|
<li class="row">
|
||||||
|
<p><a href="{report.U_POST_DETAILS}#reports" class="topictitle">{report.SUBJECT}</a></p>
|
||||||
|
<p>{L_POSTED} {L_POST_BY_AUTHOR} {report.AUTHOR_FULL} » {report.POST_TIME}<br />
|
||||||
|
{L_REPORTED} {L_POST_BY_AUTHOR} {report.REPORTER_FULL} {L_REPORTED_ON_DATE} {report.REPORT_TIME}<br />
|
||||||
|
{L_FORUM}: <a href="{report.U_FORUM}">{report.FORUM_NAME}</a>
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<!-- END report -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p>{L_REPORTS_ZERO_TOTAL}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_PM_REPORTS -->
|
||||||
|
<h3>{L_LATEST_REPORTED_PMS}</h3>
|
||||||
|
<!-- IF S_HAS_PM_REPORTS --><p>{L_PM_REPORTS_TOTAL}</p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .pm_report -->
|
||||||
|
<div class="forums">
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN pm_report -->
|
||||||
|
<li class="row">
|
||||||
|
<p><a href="{pm_report.U_PM_DETAILS}" class="topictitle">{pm_report.PM_SUBJECT}</a></p>
|
||||||
|
|
||||||
|
<p>{L_MESSAGE_BY_AUTHOR} {pm_report.PM_AUTHOR_FULL} » {pm_report.PM_TIME}<br />
|
||||||
|
{L_MESSAGE_TO} {pm_report.RECIPIENTS}<br />
|
||||||
|
{L_REPORTED} {L_POST_BY_AUTHOR} {pm_report.REPORTER_FULL} {L_REPORTED_ON_DATE} {pm_report.REPORT_TIME}
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<!-- END pm_report -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p>{L_PM_REPORTS_ZERO_TOTAL}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_LOGS -->
|
||||||
|
<h3>{L_LATEST_LOGS}</h3>
|
||||||
|
|
||||||
|
<table class="table1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="name">{L_ACTION}</th>
|
||||||
|
<th class="name">{L_USERNAME}</th>
|
||||||
|
<th class="name">{L_IP}</th>
|
||||||
|
<th class="name">{L_VIEW_TOPIC}</th>
|
||||||
|
<th class="name">{L_VIEW_TOPIC_LOGS}</th>
|
||||||
|
<th class="name">{L_TIME}</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- BEGIN log -->
|
||||||
|
<tr class="<!-- IF log.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||||
|
<td>{log.ACTION}</td>
|
||||||
|
<td><span>{log.USERNAME}</span></td>
|
||||||
|
<td><span>{log.IP}</span></td>
|
||||||
|
<td><span><!-- IF log.U_VIEW_TOPIC --><a href="{log.U_VIEW_TOPIC}" title="{L_VIEW_TOPIC}">{L_VIEW_TOPIC}</a><!-- ENDIF --> </span></td>
|
||||||
|
<td><span><!-- IF log.U_VIEWLOGS --><a href="{log.U_VIEWLOGS}">{L_VIEW_TOPIC_LOGS}</a><!-- ENDIF --> </span></td>
|
||||||
|
<td><span>{log.TIME}</span></td>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<tr>
|
||||||
|
<td colspan="6">{L_NO_ENTRIES}</td>
|
||||||
|
</tr>
|
||||||
|
<!-- END log -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
81
art_mobile/template/mcp_header.html
Normal file
81
art_mobile/template/mcp_header.html
Normal file
|
@ -0,0 +1,81 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="tabs-container">
|
||||||
|
<!-- IF U_MCP -->
|
||||||
|
<div class="tabs-list gradient link">
|
||||||
|
<a href="javascript:void(0);" class="link">{L_MCP}</a>
|
||||||
|
<ul class="sub">
|
||||||
|
<li><a href="{U_MCP}">{L_MCP}</a></li>
|
||||||
|
<!-- IF U_MCP_FORUM --><li><a href="{U_MCP_FORUM}">{L_MODERATE_FORUM}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF U_MCP_TOPIC --><li><a href="{U_MCP_TOPIC}">{L_MODERATE_TOPIC}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF U_MCP_POST --><li><a href="{U_MCP_POST}">{L_MODERATE_POST}</a></li><!-- ENDIF -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<div class="tabs-list gradient link">
|
||||||
|
<a href="javascript:void(0);" class="link">
|
||||||
|
<!-- BEGIN t_block1 -->
|
||||||
|
<!-- IF t_block1.S_SELECTED -->{t_block1.L_TITLE}<!-- ENDIF -->
|
||||||
|
<!-- END t_block1 -->
|
||||||
|
</a>
|
||||||
|
<ul class="sub">
|
||||||
|
<!-- BEGIN t_block1 -->
|
||||||
|
<li <!-- IF t_block1.S_SELECTED -->class="activetab"<!-- ENDIF -->><a href="{t_block1.U_TITLE}">{t_block1.L_TITLE}</a></li>
|
||||||
|
<!-- END t_block1 -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="tabs-list gradient link">
|
||||||
|
<a href="javascript:void(0);" class="link">
|
||||||
|
<!-- BEGIN l_block1 -->
|
||||||
|
<!-- IF l_block1.S_SELECTED -->
|
||||||
|
<!-- BEGIN l_block2 -->
|
||||||
|
<!-- IF l_block1.l_block2.S_SELECTED -->
|
||||||
|
{l_block1.l_block2.L_TITLE}
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- END l_block2 -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- END l_block1 -->
|
||||||
|
</a>
|
||||||
|
<ul class="sub">
|
||||||
|
<!-- BEGIN l_block1 -->
|
||||||
|
<!-- IF l_block1.S_SELECTED -->
|
||||||
|
<!-- BEGIN l_block2 -->
|
||||||
|
<!-- IF l_block1.l_block2.S_SELECTED -->
|
||||||
|
<li><a href="{l_block1.l_block2.U_TITLE}">{l_block1.l_block2.L_TITLE}<!-- IF l_block1.l_block2.ADD_ITEM --> ({l_block1.l_block2.ADD_ITEM})<!-- ENDIF --></a></li>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<li><a href="{l_block1.l_block2.U_TITLE}">{l_block1.l_block2.L_TITLE}<!-- IF l_block1.l_block2.ADD_ITEM --> ({l_block1.l_block2.ADD_ITEM})<!-- ENDIF --></a></li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- END l_block2 -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- END l_block1 -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- IF MESSAGE -->
|
||||||
|
<div class="block">
|
||||||
|
<h2>{L_MESSAGE}</h2>
|
||||||
|
<p class="error">{MESSAGE}</p>
|
||||||
|
<p><!-- BEGIN return_links -->{return_links.MESSAGE_LINK}<br /><br /><!-- END return_links --></p>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF CONFIRM_MESSAGE -->
|
||||||
|
<form id="confirm" method="post" action="{S_CONFIRM_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<div class="block">
|
||||||
|
<h2>{L_PLEASE_CONFIRM}</h2>
|
||||||
|
<p>{CONFIRM_MESSAGE}</p>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}<input class="button1" type="submit" name="submit" value="{L_YES}" />
|
||||||
|
<input class="button2" type="cancel" value="{L_NO}" />
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
<!-- ENDIF -->
|
58
art_mobile/template/mcp_logs.html
Normal file
58
art_mobile/template/mcp_logs.html
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<h2>{L_TITLE}</h2>
|
||||||
|
|
||||||
|
<form method="post" id="mcp" action="{U_POST_ACTION}">
|
||||||
|
|
||||||
|
<p>{L_SEARCH_KEYWORDS}: <input type="text" class="inputbox autowidth" name="keywords" value="{S_KEYWORDS}" /> <input type="submit" class="button2" name="filter" value="{L_SEARCH}" /></p>
|
||||||
|
|
||||||
|
|
||||||
|
<table class="table1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>{L_USERNAME}</th>
|
||||||
|
<th style="text-align: center">{L_IP}</th>
|
||||||
|
<th style="text-align: center">{L_TIME}</th>
|
||||||
|
<th>{L_ACTION}</th>
|
||||||
|
<!-- IF S_CLEAR_ALLOWED --><th>{L_MARK}</th><!-- ENDIF -->
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- IF S_LOGS -->
|
||||||
|
<!-- BEGIN log -->
|
||||||
|
<!-- IF log.S_ROW_COUNT is even --><tr class="bg1"><!-- ELSE --><tr class="bg2"><!-- ENDIF -->
|
||||||
|
<td>{log.USERNAME}</td>
|
||||||
|
<td style="text-align: center">{log.IP}</td>
|
||||||
|
<td style="text-align: center">{log.DATE}</td>
|
||||||
|
<td>{log.ACTION}<br />
|
||||||
|
{log.DATA}
|
||||||
|
</td>
|
||||||
|
<!-- IF S_CLEAR_ALLOWED --><td style="width: 5%" align="center"><input type="checkbox" name="mark[]" value="{log.ID}" /></td><!-- ENDIF -->
|
||||||
|
</tr>
|
||||||
|
<!-- END log -->
|
||||||
|
<!-- ELSE -->
|
||||||
|
<tr>
|
||||||
|
<td class="bg1" colspan="<!-- IF S_CLEAR_ALLOWED -->5<!-- ELSE -->4<!-- ENDIF -->" align="center"><span class="gen">{L_NO_ENTRIES}</span></td>
|
||||||
|
</tr>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<!-- IF .log -->
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
|
||||||
|
<!-- IF S_CLEAR_ALLOWED -->
|
||||||
|
<fieldset class="display-actions">
|
||||||
|
<input class="button2" type="submit" name="action[del_all]" value="{L_DELETE_ALL}" />
|
||||||
|
<input class="button1" type="submit" value="{L_DELETE_MARKED}" name="action[del_marked]" />
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ELSE -->
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
8
art_mobile/template/mcp_message.html
Normal file
8
art_mobile/template/mcp_message.html
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<div class="block">
|
||||||
|
<h2>{MESSAGE_TITLE}</h2>
|
||||||
|
<p>{MESSAGE_TEXT}</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
25
art_mobile/template/mcp_move.html
Normal file
25
art_mobile/template/mcp_move.html
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<form id="confirm" action="{S_CONFIRM_ACTION}" method="post">
|
||||||
|
|
||||||
|
<h2>{MESSAGE_TITLE}</h2>
|
||||||
|
<!-- IF ADDITIONAL_MSG --><p>{ADDITIONAL_MSG}</p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_SELECT_DESTINATION_FORUM}:</label></dt>
|
||||||
|
<dd><select name="to_forum_id">{S_FORUM_SELECT}</select></dd>
|
||||||
|
<!-- IF S_CAN_LEAVE_SHADOW --><dd><label for="move_leave_shadow"><input type="checkbox" name="move_leave_shadow" id="move_leave_shadow" checked="checked" />{L_LEAVE_SHADOW}</label></dd><!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
<p>{MESSAGE_TEXT}</p>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}<input type="submit" name="confirm" value="{YES_VALUE}" class="button1" />
|
||||||
|
<input type="submit" name="cancel" value="{L_NO}" class="button2" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
19
art_mobile/template/mcp_notes_front.html
Normal file
19
art_mobile/template/mcp_notes_front.html
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<form method="post" id="mcp" action="{U_POST_ACTION}">
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="username">{L_SELECT_USER}:</label></dt>
|
||||||
|
<dd><input name="username" id="username" type="text" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="submituser" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
66
art_mobile/template/mcp_notes_user.html
Normal file
66
art_mobile/template/mcp_notes_user.html
Normal file
|
@ -0,0 +1,66 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<form method="post" id="mcp" action="{U_POST_ACTION}">
|
||||||
|
|
||||||
|
<h3>{USERNAME_FULL}</h3>
|
||||||
|
|
||||||
|
<dl class="details">
|
||||||
|
<!-- IF RANK_TITLE --><dt>{L_RANK}:</dt><dd>{RANK_TITLE}</dd><!-- ENDIF -->
|
||||||
|
<!-- IF RANK_IMG --><dt><!-- IF RANK_TITLE --> <!-- ELSE -->{L_RANK}:<!-- ENDIF --></dt><dd>{RANK_IMG}</dd><!-- ENDIF -->
|
||||||
|
<dt>{L_JOINED}:</dt><dd>{JOINED}</dd>
|
||||||
|
<dt>{L_TOTAL_POSTS}:</dt><dd>{POSTS}</dd>
|
||||||
|
<dt>{L_WARNINGS}: </dt><dd>{WARNINGS}</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<h3>{L_ADD_FEEDBACK}</h3>
|
||||||
|
<p>{L_ADD_FEEDBACK_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<div id="message-box">
|
||||||
|
<textarea name="usernote" id="usernote" class="inputbox" cols="40" rows="3"></textarea>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="action[add_feedback]" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<p><br />{L_SEARCH_KEYWORDS}: <input type="text" class="inputbox autowidth" name="keywords" value="{S_KEYWORDS}" /> <input type="submit" class="button2" name="filter" value="{L_SEARCH}" /></p>
|
||||||
|
|
||||||
|
<table class="table1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>{L_REPORT_BY}</th>
|
||||||
|
<th style="text-align: center">{L_IP}</th>
|
||||||
|
<th style="text-align: center">{L_TIME}</th>
|
||||||
|
<th>{L_ACTION_NOTE}</th>
|
||||||
|
<!-- IF S_CLEAR_ALLOWED --><th>{L_MARK}</th><!-- ENDIF -->
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- BEGIN usernotes -->
|
||||||
|
<!-- IF usernotes.S_ROW_COUNT is even --><tr class="bg1"><!-- ELSE --><tr class="bg2"><!-- ENDIF -->
|
||||||
|
<td>{usernotes.REPORT_BY}</td>
|
||||||
|
<td style="text-align: center">{usernotes.IP}</td>
|
||||||
|
<td style="text-align: center">{usernotes.REPORT_AT}</td>
|
||||||
|
<td>{usernotes.ACTION}</td>
|
||||||
|
|
||||||
|
<!-- IF S_CLEAR_ALLOWED --><td style="width: 5%; text-align: center;"><input type="checkbox" name="marknote[]" id="note-{usernotes.ID}" value="{usernotes.ID}" /></td><!-- ENDIF -->
|
||||||
|
</tr>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<tr>
|
||||||
|
<td class="bg1" colspan="<!-- IF S_CLEAR_ALLOWED -->5<!-- ELSE -->4<!-- ENDIF -->" align="center"><span class="gen">{L_NO_ENTRIES}</span></td>
|
||||||
|
</tr>
|
||||||
|
<!-- END usernames -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<!-- IF S_CLEAR_ALLOWED -->
|
||||||
|
<fieldset class="display-actions">
|
||||||
|
<input class="button2" type="submit" name="action[del_all]" value="{L_DELETE_ALL}" />
|
||||||
|
<input class="button1" type="submit" name="action[del_marked]" value="{L_DELETE_MARKED}" />
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
267
art_mobile/template/mcp_post.html
Normal file
267
art_mobile/template/mcp_post.html
Normal file
|
@ -0,0 +1,267 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<!-- IF S_MCP_REPORT -->
|
||||||
|
<!-- IF S_PM -->
|
||||||
|
<h2>{L_PM_REPORT_DETAILS}</h2>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<h2>{L_REPORT_DETAILS}</h2>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<div id="report" class="block post">
|
||||||
|
<h3>{L_REPORT_REASON}: {REPORT_REASON_TITLE}</h3>
|
||||||
|
<p class="author">{L_REPORTED} {L_POST_BY_AUTHOR} {REPORTER_FULL} « {REPORT_DATE}</p>
|
||||||
|
<!-- IF not S_POST_REPORTED -->
|
||||||
|
<p class="rules">{L_REPORT_CLOSED}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<div class="content">
|
||||||
|
<!-- IF REPORT_TEXT -->
|
||||||
|
{REPORT_TEXT}
|
||||||
|
<!-- ELSE -->
|
||||||
|
{REPORT_REASON_DESCRIPTION}
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<form method="post" id="mcp_report" action="{S_CLOSE_ACTION}">
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
<!-- IF S_POST_REPORTED -->
|
||||||
|
<input class="button1" type="submit" value="{L_CLOSE_REPORT}" name="action[close]" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<input class="button2" type="submit" value="{L_DELETE_REPORT}" name="action[delete]" />
|
||||||
|
<input type="hidden" name="report_id_list[]" value="{REPORT_ID}" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- ELSE -->
|
||||||
|
<h2>{L_POST_DETAILS}</h2>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<div class="block">
|
||||||
|
<div class="postbody">
|
||||||
|
<!-- IF U_EDIT -->
|
||||||
|
<p class="float-right">
|
||||||
|
<a href="{U_EDIT}" class="gradient link button2">{L_EDIT_POST}</a>
|
||||||
|
</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<h3><a href="{U_VIEW_POST}">{POST_SUBJECT}</a></h3>
|
||||||
|
|
||||||
|
<!-- IF S_PM -->
|
||||||
|
<p class="author">
|
||||||
|
<strong>{L_SENT_AT}:</strong> {POST_DATE}
|
||||||
|
<br /><strong>{L_PM_FROM}:</strong> {POST_AUTHOR_FULL}
|
||||||
|
<!-- IF S_TO_RECIPIENT --><br /><strong>{L_TO}:</strong> <!-- BEGIN to_recipient --><!-- IF to_recipient.NAME_FULL -->{to_recipient.NAME_FULL}<!-- ELSE --><a href="{to_recipient.U_VIEW}" style="color:<!-- IF to_recipient.COLOUR -->{to_recipient.COLOUR}<!-- ELSEIF to_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{to_recipient.NAME}</a><!-- ENDIF --> <!-- END to_recipient --><!-- ENDIF -->
|
||||||
|
<!-- IF S_BCC_RECIPIENT --><br /><strong>{L_BCC}:</strong> <!-- BEGIN bcc_recipient --><!-- IF bcc_recipient.NAME_FULL -->{bcc_recipient.NAME_FULL}<!-- ELSE --><a href="{bcc_recipient.U_VIEW}" style="color:<!-- IF bcc_recipient.COLOUR -->{bcc_recipient.COLOUR}<!-- ELSEIF bcc_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{bcc_recipient.NAME}</a><!-- ENDIF --> <!-- END bcc_recipient --><!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p class="author">{L_POSTED} {L_POST_BY_AUTHOR} {POST_AUTHOR_FULL} » {POST_DATE}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_POST_UNAPPROVED -->
|
||||||
|
<form method="post" id="mcp_approve" action="{U_APPROVE_ACTION}">
|
||||||
|
|
||||||
|
<p>
|
||||||
|
<input class="button2" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" />
|
||||||
|
<input class="button1" type="submit" value="{L_APPROVE}" name="action[approve]" />
|
||||||
|
<!-- IF not S_FIRST_POST --><input type="hidden" name="mode" value="unapproved_posts" /><!-- ENDIF -->
|
||||||
|
<input type="hidden" name="post_id_list[]" value="{POST_ID}" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</p>
|
||||||
|
</form>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_MESSAGE_REPORTED -->
|
||||||
|
<p class="rules">
|
||||||
|
<a href="{U_MCP_REPORT}"><strong>{L_MESSAGE_REPORTED}</strong></a>
|
||||||
|
</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<div class="content" id="post_details">
|
||||||
|
{POST_PREVIEW}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- IF S_HAS_ATTACHMENTS -->
|
||||||
|
<dl class="attachbox">
|
||||||
|
<dt>{L_ATTACHMENTS}</dt>
|
||||||
|
<!-- BEGIN attachment -->
|
||||||
|
<dd>{attachment.DISPLAY_ATTACHMENT}</dd>
|
||||||
|
<!-- END attachment -->
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF SIGNATURE -->
|
||||||
|
<div id="sig{POST_ID}" class="signature">{SIGNATURE}</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_MCP_REPORT and S_CAN_VIEWIP -->
|
||||||
|
|
||||||
|
<div><!-- IF S_PM -->{L_THIS_PM_IP}<!-- ELSE -->{L_THIS_POST_IP}<!-- ENDIF -->: <!-- IF U_WHOIS -->
|
||||||
|
<a href="{U_WHOIS}"><!-- IF POST_IPADDR -->{POST_IPADDR}<!-- ELSE -->{POST_IP}<!-- ENDIF --></a> (<!-- IF POST_IPADDR -->{POST_IP}<!-- ELSE --><a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a><!-- ENDIF -->)
|
||||||
|
<!-- ELSE -->
|
||||||
|
<!-- IF POST_IPADDR -->{POST_IPADDR} ({POST_IP})<!-- ELSE -->{POST_IP}<!-- IF U_LOOKUP_IP --> (<a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --><!-- ENDIF -->
|
||||||
|
<!-- ENDIF --></div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST or S_CAN_CHGPOSTER -->
|
||||||
|
|
||||||
|
<h3>{L_MOD_OPTIONS}</h3>
|
||||||
|
<!-- IF S_CAN_CHGPOSTER -->
|
||||||
|
<form method="post" id="mcp_chgposter" action="{U_POST_ACTION}">
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_CHANGE_POSTER}:</label></dt>
|
||||||
|
<!-- IF S_USER_SELECT --><dd><select name="u">{S_USER_SELECT}</select> <input type="submit" class="button2" name="action[chgposter_ip]" value="{L_CONFIRM}" /></dd><!-- ENDIF -->
|
||||||
|
<dd style="margin-top:3px;">
|
||||||
|
<input class="inputbox autowidth" type="text" name="username" value="" />
|
||||||
|
<input type="submit" class="button2" name="action[chgposter]" value="{L_CONFIRM}" />
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST -->
|
||||||
|
<form method="post" id="mcp" action="{U_MCP_ACTION}">
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_MOD_OPTIONS}:</label></dt>
|
||||||
|
<dd><select name="action">
|
||||||
|
<!-- IF S_CAN_LOCK_POST --><!-- IF S_POST_LOCKED --><option value="unlock_post">{L_UNLOCK_POST} [{L_UNLOCK_POST_EXPLAIN}]</option><!-- ELSE --><option value="lock_post">{L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]</option><!-- ENDIF --><!-- ENDIF -->
|
||||||
|
<!-- IF S_CAN_DELETE_POST --><option value="delete_post">{L_DELETE_POST}</option><!-- ENDIF -->
|
||||||
|
</select> <input class="button2" type="submit" value="{L_SUBMIT}" />
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- IF S_MCP_QUEUE or S_MCP_REPORT or RETURN_TOPIC -->
|
||||||
|
|
||||||
|
<p><!-- IF S_MCP_QUEUE -->{RETURN_QUEUE} | {RETURN_TOPIC_SIMPLE} | {RETURN_POST}<!-- ELSEIF S_MCP_REPORT -->{RETURN_REPORTS}<!-- IF not S_PM --> | <a href="{U_VIEW_POST}">{L_VIEW_POST}</a> | <a href="{U_VIEW_TOPIC}">{L_VIEW_TOPIC}</a> | <a href="{U_VIEW_FORUM}">{L_VIEW_FORUM}</a><!-- ENDIF --><!-- ELSE -->{RETURN_TOPIC}<!-- ENDIF --></p>
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_MCP_QUEUE -->
|
||||||
|
<!-- ELSE -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_USER_NOTES -->
|
||||||
|
<div class="block" id="usernotes">
|
||||||
|
|
||||||
|
<form method="post" id="mcp_notes" action="{U_POST_ACTION}">
|
||||||
|
|
||||||
|
<!-- IF S_USER_NOTES -->
|
||||||
|
<h3>{L_FEEDBACK}</h3>
|
||||||
|
|
||||||
|
<!-- BEGIN usernotes -->
|
||||||
|
<span class="small"><strong>{L_REPORTED_BY}: {usernotes.REPORT_BY} « {usernotes.REPORT_AT}</strong></span>
|
||||||
|
<!-- IF S_CLEAR_ALLOWED --><div class="right-box"><input type="checkbox" name="marknote[]" value="{usernotes.ID}" /></div><!-- ENDIF -->
|
||||||
|
<div class="postbody">{usernotes.ACTION}</div>
|
||||||
|
|
||||||
|
<hr class="dashed" />
|
||||||
|
<!-- END usernotes -->
|
||||||
|
|
||||||
|
<!-- IF S_CLEAR_ALLOWED -->
|
||||||
|
<p class="submit-buttons">
|
||||||
|
<input class="button2" type="submit" name="action[del_all]" value="{L_DELETE_ALL}" />
|
||||||
|
<input class="button2" type="submit" name="action[del_marked]" value="{L_DELETE_MARKED}" />
|
||||||
|
</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<h3>{L_ADD_FEEDBACK}</h3>
|
||||||
|
<p>{L_ADD_FEEDBACK_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<div id="message-box">
|
||||||
|
<textarea name="usernote" rows="4" cols="76" class="inputbox"></textarea>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<p class="submit-buttons">
|
||||||
|
<input class="button1" type="submit" name="action[add_feedback]" value="{L_SUBMIT}" />
|
||||||
|
<input class="button2" type="reset" value="{L_RESET}" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</p>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_REPORTS -->
|
||||||
|
<div class="block" id="reports">
|
||||||
|
|
||||||
|
<h3>{L_MCP_POST_REPORTS}</h3>
|
||||||
|
|
||||||
|
<!-- BEGIN reports -->
|
||||||
|
<span class="small"><strong>{L_REPORTED_BY}: <!-- IF reports.U_REPORTER --><a href="{reports.U_REPORTER}">{reports.REPORTER}</a><!-- ELSE -->{reports.REPORTER}<!-- ENDIF --> « {reports.REPORT_TIME}</strong></span>
|
||||||
|
<p><em>{reports.REASON_TITLE}: {reports.REASON_DESC}</em><!-- IF reports.REPORT_TEXT --><br />{reports.REPORT_TEXT}<!-- ENDIF --></p>
|
||||||
|
<!-- END reports -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_CAN_VIEWIP and not S_MCP_REPORT -->
|
||||||
|
|
||||||
|
<p>{L_THIS_POST_IP}: <!-- IF U_WHOIS -->
|
||||||
|
<a href="{U_WHOIS}"><!-- IF POST_IPADDR -->{POST_IPADDR}<!-- ELSE -->{POST_IP}<!-- ENDIF --></a> (<!-- IF POST_IPADDR -->{POST_IP}<!-- ELSE --><a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a><!-- ENDIF -->)
|
||||||
|
<!-- ELSE -->
|
||||||
|
<!-- IF POST_IPADDR -->{POST_IPADDR} ({POST_IP})<!-- ELSE -->{POST_IP}<!-- IF U_LOOKUP_IP --> (<a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --><!-- ENDIF -->
|
||||||
|
<!-- ENDIF --></p>
|
||||||
|
|
||||||
|
<table class="table1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="name">{L_OTHER_USERS}</th>
|
||||||
|
<th class="posts">{L_POSTS}</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- BEGIN userrow -->
|
||||||
|
<tr class="<!-- IF userrow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||||
|
<td><!-- IF userrow.U_PROFILE --><a href="{userrow.U_PROFILE}">{userrow.USERNAME}</a><!-- ELSE -->{userrow.USERNAME}<!-- ENDIF --></td>
|
||||||
|
<td class="posts"><a href="{userrow.U_SEARCHPOSTS}" title="{L_SEARCH_POSTS_BY} {userrow.USERNAME}">{userrow.NUM_POSTS}</a></td>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">{L_NO_MATCHES_FOUND}</td>
|
||||||
|
</tr>
|
||||||
|
<!-- END userrow -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<table class="table1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="name">{L_IPS_POSTED_FROM}</th>
|
||||||
|
<th class="posts">{L_POSTS}</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- BEGIN iprow -->
|
||||||
|
<tr class="<!-- IF iprow.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||||
|
<td><!-- IF iprow.HOSTNAME --><a href="{iprow.U_WHOIS}">{iprow.HOSTNAME}</a> ({iprow.IP})<!-- ELSE --><a href="{iprow.U_WHOIS}">{iprow.IP}</a> (<a href="{iprow.U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --></td>
|
||||||
|
<td class="posts">{iprow.NUM_POSTS}</td>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">{L_NO_MATCHES_FOUND}</td>
|
||||||
|
</tr>
|
||||||
|
<!-- END iprow -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<p><a href="{U_LOOKUP_ALL}#ip">{L_LOOKUP_ALL}</a></p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
49
art_mobile/template/mcp_queue.html
Normal file
49
art_mobile/template/mcp_queue.html
Normal file
|
@ -0,0 +1,49 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<form id="mcp" method="post" action="{S_MCP_ACTION}">
|
||||||
|
|
||||||
|
<fieldset class="forum-selection">
|
||||||
|
<label for="fo">{L_FORUM}: <select name="f" id="fo">{S_FORUM_OPTIONS}</select></label>
|
||||||
|
<input type="submit" name="sort" value="{L_GO}" class="button2" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<p>{L_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF .postrow -->
|
||||||
|
<div class="forums">
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN postrow -->
|
||||||
|
|
||||||
|
<!-- IF postrow.S_DELETED_TOPIC -->
|
||||||
|
<li><p class="notopics">{L_DELETED_TOPIC}</p></li>
|
||||||
|
<!-- ELSE -->
|
||||||
|
|
||||||
|
<li>
|
||||||
|
<p><input type="checkbox" name="post_id_list[]" value="{postrow.POST_ID}" />
|
||||||
|
<a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.POST_SUBJECT}</a>
|
||||||
|
</p>
|
||||||
|
<p>{L_POSTED} {L_POST_BY_AUTHOR} {postrow.POST_AUTHOR_FULL} » {postrow.POST_TIME}<br />
|
||||||
|
<!-- IF not S_TOPICS -->{L_TOPIC}: <a href="{postrow.U_TOPIC}">{postrow.TOPIC_TITLE}</a> <br /><!-- ENDIF -->
|
||||||
|
{L_FORUM}: <a href="{postrow.U_VIEWFORUM}">{postrow.FORUM_NAME}</a>
|
||||||
|
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- END postrow -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p class="block"><!-- IF S_TOPICS -->{L_NO_TOPICS_QUEUE}<!-- ELSE -->{L_UNAPPROVED_POSTS_ZERO_TOTAL}<!-- ENDIF --></p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .postrow -->
|
||||||
|
<fieldset class="display-actions">
|
||||||
|
<input class="button2" type="submit" name="action[disapprove]" value="{L_DISAPPROVE}" />
|
||||||
|
<input class="button1" type="submit" name="action[approve]" value="{L_APPROVE}" />
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
52
art_mobile/template/mcp_reports.html
Normal file
52
art_mobile/template/mcp_reports.html
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<form id="mcp" method="post" action="{S_MCP_ACTION}">
|
||||||
|
|
||||||
|
<!-- IF not S_PM -->
|
||||||
|
<fieldset class="forum-selection">
|
||||||
|
<label for="fo">{L_FORUM}: <select name="f" id="fo">{S_FORUM_OPTIONS}</select></label>
|
||||||
|
<input type="submit" name="sort" value="{L_GO}" class="button2" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<p>{L_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF .postrow -->
|
||||||
|
<div class="forums">
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN postrow -->
|
||||||
|
<li class="row">
|
||||||
|
<p><input type="checkbox" name="report_id_list[]" value="{postrow.REPORT_ID}" />
|
||||||
|
<!-- IF S_PM -->
|
||||||
|
<a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.PM_SUBJECT}</a></p>
|
||||||
|
<p>{L_MESSAGE_BY_AUTHOR} {postrow.PM_AUTHOR_FULL} » {postrow.PM_TIME}<br />
|
||||||
|
{L_MESSAGE_TO} {postrow.RECIPIENTS}<br />
|
||||||
|
{postrow.REPORTER_FULL} « {postrow.REPORT_TIME}
|
||||||
|
<!-- ELSE -->
|
||||||
|
<a href="{postrow.U_VIEW_DETAILS}" class="topictitle">{postrow.POST_SUBJECT}</a></p>
|
||||||
|
<p>
|
||||||
|
{L_POSTED} {L_POST_BY_AUTHOR} {postrow.POST_AUTHOR_FULL} » {postrow.POST_TIME}<br />
|
||||||
|
{postrow.REPORTER_FULL} « {postrow.REPORT_TIME}<br />
|
||||||
|
<!-- IF postrow.U_VIEWFORUM -->{L_FORUM}: <a href="{postrow.U_VIEWFORUM}">{postrow.FORUM_NAME}</a><!-- ELSE -->{postrow.FORUM_NAME}<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<!-- END postrow -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p class="block">{L_NO_REPORTS}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .postrow -->
|
||||||
|
<fieldset class="display-actions">
|
||||||
|
<input class="button2" type="submit" value="{L_DELETE_REPORTS}" name="action[delete]" />
|
||||||
|
<!-- IF not S_CLOSED --> <input class="button1" type="submit" name="action[close]" value="{L_CLOSE_REPORTS}" /><!-- ENDIF -->
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
97
art_mobile/template/mcp_topic.html
Normal file
97
art_mobile/template/mcp_topic.html
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<h2><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2>
|
||||||
|
|
||||||
|
<form id="mcp" method="post" action="{S_MCP_ACTION}">
|
||||||
|
|
||||||
|
<!-- IF S_CAN_SPLIT -->
|
||||||
|
<fieldset id="split-panel" class="fields2">
|
||||||
|
<p>{L_SPLIT_TOPIC_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_TOPIC_ICONS -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="icon">{L_TOPIC_ICON}:</label></dt>
|
||||||
|
<dd><label for="icon"><input type="radio" name="icon" id="icon" value="0" checked="checked" /> {L_NO_TOPIC_ICON}</label>
|
||||||
|
<!-- BEGIN topic_icon --><label for="icon-{topic_icon.ICON_ID}"><input type="radio" name="icon" id="icon-{topic_icon.ICON_ID}" value="{topic_icon.ICON_ID}" {topic_icon.S_ICON_CHECKED} /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" /></label> <!-- END topic_icon --></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt><label for="subject">{L_SPLIT_SUBJECT}:</label></dt>
|
||||||
|
<dd><input type="text" name="subject" id="subject" size="45" maxlength="64" tabindex="2" value="{SPLIT_SUBJECT}" title="{L_SPLIT_SUBJECT}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_SPLIT_FORUM}:</label></dt>
|
||||||
|
<dd><select name="to_forum_id">{S_FORUM_SELECT}</select></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_CAN_MERGE -->
|
||||||
|
<fieldset id="merge-panel" class="fields2">
|
||||||
|
<p>{L_MERGE_TOPIC_EXPLAIN}</p>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="to_topic_id">{L_MERGE_TOPIC_ID}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<input class="inputbox autowidth" type="text" size="6" name="to_topic_id" id="to_topic_id" value="{TO_TOPIC_ID}" style="width: 50px;" />
|
||||||
|
<a href="{U_SELECT_TOPIC}" >{L_SELECT_TOPIC}</a>
|
||||||
|
</dd>
|
||||||
|
<!-- IF TO_TOPIC_INFO --><dd>{TO_TOPIC_INFO}</dd><!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<h3 id="review">{L_TOPIC_REVIEW}</h3>
|
||||||
|
|
||||||
|
<div id="topicreview">
|
||||||
|
<!-- BEGIN postrow -->
|
||||||
|
<div class="block post">
|
||||||
|
<div class="float-right">
|
||||||
|
<a href="{postrow.U_POST_DETAILS}" class="button2">{L_POST_DETAILS}</a>
|
||||||
|
<label class="button2">{L_SELECT}: <input type="checkbox" name="post_id_list[]" value="{postrow.POST_ID}"<!-- IF postrow.S_CHECKED --> checked="checked"<!-- ENDIF --> /></label>
|
||||||
|
</div>
|
||||||
|
<h3>{postrow.POST_SUBJECT}</h3>
|
||||||
|
<p class="post-time">{L_POSTED} {postrow.POST_DATE} {L_POST_BY_AUTHOR} <strong>{postrow.POST_AUTHOR_FULL}</strong><!-- IF postrow.U_MCP_DETAILS --> [ <a href="{postrow.U_MCP_DETAILS}">{L_POST_DETAILS}</a> ]<!-- ENDIF --></p>
|
||||||
|
|
||||||
|
<div class="postbody" id="pr{postrow.POST_ID}">
|
||||||
|
|
||||||
|
<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
|
||||||
|
<p class="block rules">
|
||||||
|
<!-- IF postrow.S_POST_UNAPPROVED --><a href="{postrow.U_MCP_APPROVE}"><strong>{L_POST_UNAPPROVED}</strong></a><br /><!-- ENDIF -->
|
||||||
|
<!-- IF postrow.S_POST_REPORTED --><a href="{postrow.U_MCP_REPORT}"><strong>{L_POST_REPORTED}</strong></a><!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
{postrow.MESSAGE}
|
||||||
|
|
||||||
|
<!-- IF postrow.S_HAS_ATTACHMENTS -->
|
||||||
|
<dl class="attachbox">
|
||||||
|
<dt>{L_ATTACHMENTS}</dt>
|
||||||
|
<!-- BEGIN attachment -->
|
||||||
|
<dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
|
||||||
|
<!-- END attachment -->
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- END postrow -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<fieldset class="display-actions">
|
||||||
|
<select name="action">
|
||||||
|
<option value="" selected="selected">{L_SELECT_ACTION}</option>
|
||||||
|
<!-- IF S_CAN_APPROVE --><option value="approve">{L_APPROVE_POSTS}</option><!-- ENDIF -->
|
||||||
|
<!-- IF S_CAN_LOCK --><option value="lock_post">{L_LOCK_POST_POSTS} [ {L_LOCK_POST_EXPLAIN} ]</option><option value="unlock_post">{L_UNLOCK_POST_POSTS}</option><!-- ENDIF -->
|
||||||
|
<!-- IF S_CAN_DELETE --><option value="delete_post">{L_DELETE_POSTS}</option><!-- ENDIF -->
|
||||||
|
<!-- IF S_CAN_MERGE --><option value="merge_posts"<!-- IF S_MERGE_VIEW --> selected="selected"<!-- ENDIF -->>{L_MERGE_POSTS}</option><!-- ENDIF -->
|
||||||
|
<!-- IF S_CAN_SPLIT --><option value="split_all"<!-- IF S_SPLIT_VIEW --> selected="selected"<!-- ENDIF -->>{L_SPLIT_POSTS}</option><option value="split_beyond">{L_SPLIT_AFTER}</option><!-- ENDIF -->
|
||||||
|
</select>
|
||||||
|
<input class="button1" type="submit" name="mcp_topic_submit" value="{L_SUBMIT}" />
|
||||||
|
{S_HIDDEN_FIELDS}
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
46
art_mobile/template/mcp_viewlogs.html
Normal file
46
art_mobile/template/mcp_viewlogs.html
Normal file
|
@ -0,0 +1,46 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<form method="post" id="mcp" action="{S_MCP_ACTION}">
|
||||||
|
|
||||||
|
<table class="tablebg" width="100%">
|
||||||
|
<tr>
|
||||||
|
<th colspan="<!-- IF S_TOPIC_ID -->4<!-- ELSE -->5<!-- ENDIF -->" height="28" nowrap="nowrap">{L_DISPLAY_OPTIONS}</th>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td colspan="<!-- IF S_TOPIC_ID -->4<!-- ELSE -->5<!-- ENDIF -->" class="cat" height="28" align="center"><span class="gensmall">{L_DISPLAY_LOG}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" name="sort" value="{L_GO}" /></span></td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<th width="15%" height="28" nowrap="nowrap">{L_USERNAME}</th>
|
||||||
|
<th width="12%" nowrap="nowrap">{L_IP}</th>
|
||||||
|
<th width="18%" nowrap="nowrap">{L_TIME}</th>
|
||||||
|
<th width="45%" nowrap="nowrap">{L_ACTION}</th>
|
||||||
|
<!-- IF not S_TOPIC_ID --><th width="8%" nowrap="nowrap"></th><!-- ENDIF -->
|
||||||
|
</tr>
|
||||||
|
<!-- IF S_TOPIC_ID -->
|
||||||
|
<tr>
|
||||||
|
<td class="bg3" colspan="5"><span class="gensmall">{L_LOGS_CURRENT_TOPIC} <a href="{U_VIEW_TOPIC}"><strong>{TOPIC_NAME}</strong></a></td>
|
||||||
|
</tr>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- BEGIN log -->
|
||||||
|
<tr>
|
||||||
|
<td class="bg1" nowrap="nowrap"><span class="gen">{log.USERNAME}</span></td>
|
||||||
|
<td class="bg1" align="center" nowrap="nowrap"><span class="gen">{log.IP}</span></td>
|
||||||
|
<td class="bg1" align="center" nowrap="nowrap"><span class="gensmall">{log.TIME}</span></td>
|
||||||
|
<td class="bg1"><span class="gen">{log.ACTION}</span></td>
|
||||||
|
<!-- IF not S_TOPIC_ID -->
|
||||||
|
<td class="bg1" align="center" nowrap="nowrap"><span class="gensmall"><!-- IF log.U_VIEW_TOPIC --><a href="{log.U_VIEW_TOPIC}">{L_VIEW_TOPIC}</a><!-- IF log.U_VIEWLOGS --> | <!-- ENDIF --><!-- ENDIF --><!-- IF log.U_VIEWLOGS --><a href="{log.U_VIEWLOGS}">{L_VIEW_TOPIC_LOGS}</a><!-- ENDIF --></span></td>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</tr>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<tr>
|
||||||
|
<td class="bg1" colspan="<!-- IF S_TOPIC_ID -->4<!-- ELSE -->5<!-- ENDIF -->" align="center"><span class="gen">{L_NO_ENTRIES}</span></td>
|
||||||
|
</tr>
|
||||||
|
<!-- END log -->
|
||||||
|
<div>
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</div>
|
||||||
|
</table>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
76
art_mobile/template/mcp_warn_front.html
Normal file
76
art_mobile/template/mcp_warn_front.html
Normal file
|
@ -0,0 +1,76 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<form method="post" id="mcp" action="{U_POST_ACTION}">
|
||||||
|
|
||||||
|
<h3>{L_SELECT_USER}</h3>
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="username">{L_SELECT_USER}:</label></dt>
|
||||||
|
<dd><input name="username" id="username" type="text" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="submituser" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<h3>{L_MOST_WARNINGS}</h3>
|
||||||
|
|
||||||
|
<!-- IF .highest -->
|
||||||
|
<table class="table1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="name">{L_USERNAME}</th>
|
||||||
|
<th class="name">{L_WARNINGS}</th>
|
||||||
|
<th class="name">{L_LATEST_WARNING_TIME}</th>
|
||||||
|
<th></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<!-- BEGIN highest -->
|
||||||
|
<tr class="<!-- IF highest.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||||
|
<td>{highest.USERNAME_FULL}</td>
|
||||||
|
<td>{highest.WARNINGS}</td>
|
||||||
|
<td>{highest.WARNING_TIME}</td>
|
||||||
|
<td><a href="{highest.U_NOTES}">{L_VIEW_NOTES}</a></td>
|
||||||
|
</tr>
|
||||||
|
<!-- END latest -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p class="block">{L_WARNINGS_ZERO_TOTAL}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<h3>{L_LATEST_WARNINGS}</h3>
|
||||||
|
|
||||||
|
<!-- IF .latest -->
|
||||||
|
<table class="table1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="name">{L_USERNAME}</th>
|
||||||
|
<th class="name">{L_TIME}</th>
|
||||||
|
<th class="name">{L_TOTAL_WARNINGS}</th>
|
||||||
|
<th></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- BEGIN latest -->
|
||||||
|
<tr class="<!-- IF latest.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||||
|
<td>{latest.USERNAME_FULL}</td>
|
||||||
|
<td>{latest.WARNING_TIME}</td>
|
||||||
|
<td>{latest.WARNINGS}</td>
|
||||||
|
<td><a href="{latest.U_NOTES}">{L_VIEW_NOTES}</a></td>
|
||||||
|
</tr>
|
||||||
|
<!-- END latest -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p class="block">{L_WARNINGS_ZERO_TOTAL}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
44
art_mobile/template/mcp_warn_list.html
Normal file
44
art_mobile/template/mcp_warn_list.html
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<form method="post" id="mcp" action="{U_POST_ACTION}">
|
||||||
|
|
||||||
|
<p>{L_WARNED_USERS_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF .user -->
|
||||||
|
<table class="table1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="name">{L_USERNAME}</th>
|
||||||
|
<th class="name">{L_WARNINGS}</th>
|
||||||
|
<th class="name">{L_LATEST_WARNING_TIME}</th>
|
||||||
|
<th></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<!-- BEGIN user -->
|
||||||
|
<tr class="<!-- IF user.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||||
|
<td>{user.USERNAME_FULL}</td>
|
||||||
|
<td>{user.WARNINGS}</td>
|
||||||
|
<td>{user.WARNING_TIME}</td>
|
||||||
|
<td><a href="{user.U_NOTES}">{L_VIEW_NOTES}</a></td>
|
||||||
|
</tr>
|
||||||
|
<!-- END user -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<fieldset class="display-options">
|
||||||
|
<label>{L_DISPLAY_POSTS}: {S_SELECT_SORT_DAYS}</label>
|
||||||
|
<label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label><label>{S_SELECT_SORT_DIR}</label>
|
||||||
|
<input type="submit" name="sort" value="{L_GO}" class="button2" />
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p><strong>{L_WARNINGS_ZERO_TOTAL}</strong></p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
41
art_mobile/template/mcp_warn_post.html
Normal file
41
art_mobile/template/mcp_warn_post.html
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<form method="post" id="mcp" action="{U_POST_ACTION}">
|
||||||
|
|
||||||
|
<h3><!-- IF USER_COLOR --><span style="color: #{USER_COLOR}">{USERNAME}</span><!-- ELSE -->{USERNAME}<!-- ENDIF --></h3>
|
||||||
|
|
||||||
|
<dl class="details">
|
||||||
|
<!-- IF RANK_TITLE --><dt>{L_RANK}:</dt><dd>{RANK_TITLE}</dd><!-- ENDIF -->
|
||||||
|
<!-- IF RANK_IMG --><dt><!-- IF RANK_TITLE --> <!-- ELSE -->{L_RANK}:<!-- ENDIF --></dt><dd>{RANK_IMG}</dd><!-- ENDIF -->
|
||||||
|
<dt>{L_JOINED}:</dt><dd>{JOINED}</dd>
|
||||||
|
<dt>{L_TOTAL_POSTS}:</dt><dd>{POSTS}</dd>
|
||||||
|
<dt>{L_WARNINGS}: </dt><dd>{WARNINGS}</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>{L_POST_DETAILS}</h3>
|
||||||
|
|
||||||
|
<div class="block post">
|
||||||
|
<div class="postbody">
|
||||||
|
{POST}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h3>{L_ADD_WARNING}</h3>
|
||||||
|
<p>{L_ADD_WARNING_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<div id="message-box">
|
||||||
|
<textarea name="warning" id="warning" class="inputbox" cols="40" rows="3">{L_WARNING_POST_DEFAULT}</textarea>
|
||||||
|
<!-- IF S_CAN_NOTIFY -->
|
||||||
|
<br /><label><input type="checkbox" name="notify_user" checked="checked" /> {L_NOTIFY_USER_WARN}</label>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="action[add_warning]" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
31
art_mobile/template/mcp_warn_user.html
Normal file
31
art_mobile/template/mcp_warn_user.html
Normal file
|
@ -0,0 +1,31 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<form method="post" id="mcp" action="{U_POST_ACTION}">
|
||||||
|
|
||||||
|
<h3>{USERNAME_FULL}</h3>
|
||||||
|
|
||||||
|
<dl class="details">
|
||||||
|
<!-- IF RANK_TITLE --><dt>{L_RANK}:</dt><dd>{RANK_TITLE}</dd><!-- ENDIF -->
|
||||||
|
<!-- IF RANK_IMG --><dt><!-- IF RANK_TITLE --> <!-- ELSE -->{L_RANK}:<!-- ENDIF --></dt><dd>{RANK_IMG}</dd><!-- ENDIF -->
|
||||||
|
<dt>{L_JOINED}:</dt><dd>{JOINED}</dd>
|
||||||
|
<dt>{L_TOTAL_POSTS}:</dt><dd>{POSTS}</dd>
|
||||||
|
<dt>{L_WARNINGS}: </dt><dd>{WARNINGS}</dd>
|
||||||
|
</dl>
|
||||||
|
<h3>{L_ADD_WARNING}</h3>
|
||||||
|
<p>{L_ADD_WARNING_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<div id="message-box">
|
||||||
|
<textarea name="warning" id="warning" class="inputbox" cols="40" rows="3"></textarea>
|
||||||
|
<!-- IF S_CAN_NOTIFY -->
|
||||||
|
<br /><label><input type="checkbox" name="notify_user" checked="checked" /> {L_NOTIFY_USER_WARN}</label>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="action[add_warning]" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
8
art_mobile/template/mcp_whois.html
Normal file
8
art_mobile/template/mcp_whois.html
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<div class="block">
|
||||||
|
<pre>{WHOIS}</pre>
|
||||||
|
</div>
|
||||||
|
<p><a class="{S_CONTENT_FLOW_BEGIN}" href="{U_RETURN_POST}">{L_RETURN_POST}</a></p>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
112
art_mobile/template/memberlist_body.html
Normal file
112
art_mobile/template/memberlist_body.html
Normal file
|
@ -0,0 +1,112 @@
|
||||||
|
<!-- IF S_IN_SEARCH_POPUP -->
|
||||||
|
<!-- INCLUDE simple_header.html -->
|
||||||
|
<!-- INCLUDE memberlist_search.html -->
|
||||||
|
<form method="post" id="results" action="{S_MODE_ACTION}" onsubmit="insert_marked(this.user); return false">
|
||||||
|
|
||||||
|
<!-- ELSEIF S_SEARCH_USER -->
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
<!-- INCLUDE memberlist_search.html -->
|
||||||
|
<form method="post" action="{S_MODE_ACTION}">
|
||||||
|
|
||||||
|
<!-- ELSE -->
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
<form method="post" action="{S_MODE_ACTION}">
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_GROUP -->
|
||||||
|
|
||||||
|
<h2<!-- IF GROUP_COLOR --> style="color:#{GROUP_COLOR};"<!-- ENDIF -->>{GROUP_NAME}</h2>
|
||||||
|
<p>{GROUP_DESC} {GROUP_TYPE}</p>
|
||||||
|
<p>
|
||||||
|
<!-- IF AVATAR_IMG -->{AVATAR_IMG}<!-- ENDIF -->
|
||||||
|
<!-- IF RANK_IMG -->{RANK_IMG}<!-- ENDIF -->
|
||||||
|
<!-- IF GROUP_RANK -->{GROUP_RANK}<!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
|
||||||
|
<!-- ELSE -->
|
||||||
|
<h2 class="solo">{PAGE_TITLE}<!-- IF SEARCH_WORDS -->: <a href="{U_SEARCH_WORDS}">{SEARCH_WORDS}</a><!-- ENDIF --></h2>
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_LEADERS_SET or not S_SHOW_GROUP or not .memberrow -->
|
||||||
|
<table class="table1" id="memberlist">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>
|
||||||
|
<a href="{U_SORT_RANK}">{L_RANK}</a>
|
||||||
|
<a href="{U_SORT_USERNAME}"><!-- IF S_SHOW_GROUP and .memberrow -->{L_GROUP_LEADER}<!-- ELSE -->{L_USERNAME}<!-- ENDIF --></a>
|
||||||
|
</th>
|
||||||
|
<th><a href="{U_SORT_POSTS}#memberlist">{L_POSTS}</a></th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- BEGIN memberrow -->
|
||||||
|
<!-- IF S_SHOW_GROUP -->
|
||||||
|
<!-- IF not memberrow.S_GROUP_LEADER and not $S_MEMBER_HEADER -->
|
||||||
|
<!-- IF S_LEADERS_SET and memberrow.S_FIRST_ROW -->
|
||||||
|
<tr>
|
||||||
|
<td colspan="2"> </td>
|
||||||
|
</tr>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_LEADERS_SET -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<table class="table1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<!-- IF not S_LEADERS_SET -->
|
||||||
|
<th class="name">
|
||||||
|
<a href="{U_SORT_RANK}">{L_RANK}</a>
|
||||||
|
<a href="{U_SORT_USERNAME}"><!-- IF S_SHOW_GROUP -->{L_GROUP_MEMBERS}<!-- ELSE -->{L_USERNAME}<!-- ENDIF --></a>
|
||||||
|
</th>
|
||||||
|
<th class="posts"><a href="{U_SORT_POSTS}#memberlist">{L_POSTS}</a></th>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- DEFINE $S_MEMBER_HEADER = 1 -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<tr>
|
||||||
|
<td><!-- IF memberrow.RANK_IMG --><span class="rank-img">{memberrow.RANK_IMG} </span><!-- ELSE --><span class="rank-img">{memberrow.RANK_TITLE} </span><!-- ENDIF --><!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE --><input type="checkbox" name="user" value="{memberrow.USERNAME}" /> <!-- ENDIF -->{memberrow.USERNAME_FULL}<!-- IF S_SELECT_SINGLE --><br />[ <a href="#" onclick="insert_single('{memberrow.A_USERNAME}'); return false;">{L_SELECT}</a> ]<!-- ENDIF --></td>
|
||||||
|
<td class="posts"><!-- IF memberrow.POSTS and S_DISPLAY_SEARCH --><a href="{memberrow.U_SEARCH_USER}" title="{L_SEARCH_USER_POSTS}">{memberrow.POSTS}</a><!-- ELSE -->{memberrow.POSTS}<!-- ENDIF --></td>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">{L_NO_MEMBERS}</td>
|
||||||
|
</tr>
|
||||||
|
<!-- END memberrow -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE -->
|
||||||
|
<fieldset class="display-actions">
|
||||||
|
<input type="submit" name="submit" value="{L_SELECT_MARKED}" class="button2" />
|
||||||
|
<div><a href="#" onclick="marklist('results', 'user', true); return false;">{L_MARK_ALL}</a> • <a href="#" onclick="marklist('results', 'user', false); return false;">{L_UNMARK_ALL}</a></div>
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_IN_SEARCH_POPUP -->
|
||||||
|
</form>
|
||||||
|
<form method="post" id="sort-results" action="{S_MODE_ACTION}">
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_IN_SEARCH_POPUP and not S_SEARCH_USER -->
|
||||||
|
<fieldset class="display-options">
|
||||||
|
<!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF -->
|
||||||
|
<!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
|
||||||
|
<label for="sk">{L_SELECT_SORT_METHOD}: <select name="sk" id="sk">{S_MODE_SELECT}</select></label>
|
||||||
|
<label for="sd">{L_ORDER} <select name="sd" id="sd">{S_ORDER_SELECT}</select> <input type="submit" name="sort" value="{L_SUBMIT}" class="button2" /></label>
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- IF S_IN_SEARCH_POPUP -->
|
||||||
|
<!-- INCLUDE simple_footer.html -->
|
||||||
|
<!-- ELSE -->
|
||||||
|
<!-- INCLUDE jumpbox.html -->
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
||||||
|
<!-- ENDIF -->
|
51
art_mobile/template/memberlist_email.html
Normal file
51
art_mobile/template/memberlist_email.html
Normal file
|
@ -0,0 +1,51 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<h2 class="titlespace">{L_SEND_EMAIL_USER} {USERNAME}</h2>
|
||||||
|
|
||||||
|
<form method="post" action="{S_POST_ACTION}" id="post">
|
||||||
|
|
||||||
|
<!-- IF ERROR_MESSAGE --><p class="block rules">{ERROR_MESSAGE}</p><!-- ENDIF -->
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<!-- IF S_SEND_USER -->
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_RECIPIENT}:</label></dt>
|
||||||
|
<dd><strong>{USERNAME}</strong></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="subject">{L_SUBJECT}:</label></dt>
|
||||||
|
<dd><input class="inputbox autowidth" type="text" name="subject" id="subject" size="50" tabindex="1" value="{SUBJECT}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="email">{L_EMAIL_ADDRESS}:</label></dt>
|
||||||
|
<dd><input class="inputbox autowidth" type="text" name="email" id="email" size="50" maxlength="100" tabindex="2" value="{EMAIL}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="name">{L_REAL_NAME}:</label></dt>
|
||||||
|
<dd><input class="inputbox autowidth" type="text" name="name" id="name" size="50" tabindex="3" value="{NAME}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="lang">{L_DEST_LANG}:</label></dt>
|
||||||
|
<dd><select name="lang">{S_LANG_OPTIONS}</select></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_DEST_LANG_EXPLAIN}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="message">{L_MESSAGE_BODY}:</label></dt>
|
||||||
|
<dd><textarea class="inputbox" name="message" id="message" rows="15" cols="76" tabindex="4">{MESSAGE}</textarea></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_EMAIL_BODY_EXPLAIN}</p>
|
||||||
|
<dl>
|
||||||
|
<dt> </dt>
|
||||||
|
<dd><label for="cc_email"><input type="checkbox" name="cc_email" id="cc_email" value="1" checked="checked" tabindex="5" /> {L_CC_EMAIL}</label></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
<input type="submit" tabindex="6" name="submit" class="button1" value="{L_SEND_EMAIL}" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
151
art_mobile/template/memberlist_im.html
Normal file
151
art_mobile/template/memberlist_im.html
Normal file
|
@ -0,0 +1,151 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<form method="post" action="{S_IM_ACTION}">
|
||||||
|
|
||||||
|
<div class="block">
|
||||||
|
|
||||||
|
<p>{L_SEND_IM_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<dl class="fields2">
|
||||||
|
<dt><label>{L_IM_RECIPIENT}:</label></dt>
|
||||||
|
<dd><strong>{USERNAME}</strong><!-- IF S_SEND_ICQ or S_SEND_AIM or S_SEND_MSNM or S_NO_SEND_JABBER --> [ {IM_CONTACT} ]<!-- ENDIF --><!-- IF PRESENCE_IMG --> {PRESENCE_IMG}<!-- ENDIF --></dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<!-- IF S_SEND_ICQ -->
|
||||||
|
<dl class="fields2">
|
||||||
|
<dt><label for="from">{L_IM_NAME}:</label></dt>
|
||||||
|
<dd><input class="inputbox autowidth" type="text" name="from" id="from" size="20" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="fields2">
|
||||||
|
<dt><label for="body">{L_IM_MESSAGE}:</label></dt>
|
||||||
|
<dd><textarea class="inputbox autowidth" name="body" id="body" rows="5" cols="45"></textarea></dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="fields2">
|
||||||
|
<dt> </dt>
|
||||||
|
<dd><input class="button1" name="submit" type="submit" value="{L_IM_SEND}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<input type="hidden" name="fromemail" value="{EMAIL}" />
|
||||||
|
<input type="hidden" name="subject" value="{SITENAME}" />
|
||||||
|
<input type="hidden" name="to" value="{IM_CONTACT}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SEND_AIM -->
|
||||||
|
<dl class="fields2">
|
||||||
|
<dt> </dt>
|
||||||
|
<dd><a href="{U_AIM_CONTACT}">{L_IM_ADD_CONTACT}</a></dd>
|
||||||
|
<dd><a href="{U_AIM_MESSAGE}">{L_IM_SEND_MESSAGE}</a></dd>
|
||||||
|
<dd><a href="http://www.aim.com">{L_IM_DOWNLOAD_APP}</a> | <a href="http://www.aim.com/products/express">{L_IM_AIM_EXPRESS}</a></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SEND_MSNM -->
|
||||||
|
<dl class="fields2">
|
||||||
|
<dt> </dt>
|
||||||
|
<dd><object classid="clsid:B69003B3-C55E-4B48-836C-BC5946FC3B28" codetype="application/x-oleobject" id="objMessengerApp" width="0" height="0"></object></dd>
|
||||||
|
<dd><a href="#" onclick="add_contact('{A_IM_CONTACT}'); return false;">{L_IM_ADD_CONTACT}</a></dd>
|
||||||
|
<dd><a href="#" onclick="im_contact('{A_IM_CONTACT}'); return false;">{L_IM_SEND_MESSAGE}</a></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SEND_JABBER -->
|
||||||
|
<dl class="fields2">
|
||||||
|
<dt><label for="message">{L_IM_MESSAGE}:</label></dt>
|
||||||
|
<dd><textarea class="inputbox autowidth" name="message" id="message" rows="5" cols="45"></textarea></dd>
|
||||||
|
</dl>
|
||||||
|
<dl class="fields2">
|
||||||
|
<dt> </dt>
|
||||||
|
<dd><input class="button1" name="submit" type="submit" value="{L_IM_SEND}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_NO_SEND_JABBER -->
|
||||||
|
<dl class="fields2">
|
||||||
|
<dt> </dt>
|
||||||
|
<dd>{L_IM_NO_JABBER}</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SENT_JABBER -->
|
||||||
|
<dl class="fields2">
|
||||||
|
<dt> </dt>
|
||||||
|
<dd>{L_IM_SENT_JABBER}</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
// <![CDATA[
|
||||||
|
|
||||||
|
/** The following will not work with Windows Vista **/
|
||||||
|
|
||||||
|
var app = document.getElementById('objMessengerApp');
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check whether the browser supports this and whether MSNM is connected
|
||||||
|
*/
|
||||||
|
function msn_supported()
|
||||||
|
{
|
||||||
|
// Does the browser support the MSNM object?
|
||||||
|
if (app.MyStatus)
|
||||||
|
{
|
||||||
|
// Is MSNM connected?
|
||||||
|
if (app.MyStatus == 1)
|
||||||
|
{
|
||||||
|
alert('{LA_IM_MSNM_CONNECT}');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
alert('{LA_IM_MSNM_BROWSER}');
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add to your contact list
|
||||||
|
*/
|
||||||
|
function add_contact(address)
|
||||||
|
{
|
||||||
|
if (msn_supported())
|
||||||
|
{
|
||||||
|
// Could return an error while MSNM is connecting, don't want that
|
||||||
|
try
|
||||||
|
{
|
||||||
|
app.AddContact(0, address);
|
||||||
|
}
|
||||||
|
catch (e)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Write IM to contact
|
||||||
|
*/
|
||||||
|
function im_contact(address)
|
||||||
|
{
|
||||||
|
if (msn_supported())
|
||||||
|
{
|
||||||
|
// Could return an error while MSNM is connecting, don't want that
|
||||||
|
try
|
||||||
|
{
|
||||||
|
app.InstantMessage(address);
|
||||||
|
}
|
||||||
|
catch (e)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// ]]>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
62
art_mobile/template/memberlist_leaders.html
Normal file
62
art_mobile/template/memberlist_leaders.html
Normal file
|
@ -0,0 +1,62 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<form method="post" action="{S_MODE_ACTION}">
|
||||||
|
|
||||||
|
<table class="table1" cellspacing="1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="name"><span class="rank-img">{L_RANK} </span>{L_ADMINISTRATORS}</th>
|
||||||
|
<th class="info">{L_PRIMARY_GROUP}</th>
|
||||||
|
<th class="info">{L_FORUMS}</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- BEGIN admin -->
|
||||||
|
<tr class="<!-- IF admin.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||||
|
<td><!-- IF admin.RANK_IMG --><span class="rank-img">{admin.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{admin.RANK_TITLE}</span><!-- ENDIF -->{admin.USERNAME_FULL}</td>
|
||||||
|
<td class="info"><!-- IF admin.U_GROUP -->
|
||||||
|
<a<!-- IF admin.GROUP_COLOR --> style="font-weight: bold; color:#{admin.GROUP_COLOR}"<!-- ENDIF --> href="{admin.U_GROUP}">{admin.GROUP_NAME}</a>
|
||||||
|
<!-- ELSE -->
|
||||||
|
{admin.GROUP_NAME}
|
||||||
|
<!-- ENDIF --></td>
|
||||||
|
<td class="info">-</td>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<tr class="bg1">
|
||||||
|
<td colspan="3"><strong>{L_NO_ADMINISTRATORS}</strong></td>
|
||||||
|
</tr>
|
||||||
|
<!-- END admin -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
<table class="table1" cellspacing="1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="name">{L_MODERATORS}</th>
|
||||||
|
<th class="info"> </th>
|
||||||
|
<th class="info"> </th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- BEGIN mod -->
|
||||||
|
<tr class="<!-- IF mod.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||||
|
<td><!-- IF mod.RANK_IMG --><span class="rank-img">{mod.RANK_IMG}</span><!-- ELSE --><span class="rank-img">{mod.RANK_TITLE}</span><!-- ENDIF -->{mod.USERNAME_FULL}</td>
|
||||||
|
<td class="info"><!-- IF mod.U_GROUP -->
|
||||||
|
<a<!-- IF mod.GROUP_COLOR --> style="font-weight: bold; color:#{mod.GROUP_COLOR}"<!-- ENDIF --> href="{mod.U_GROUP}">{mod.GROUP_NAME}</a>
|
||||||
|
<!-- ELSE -->
|
||||||
|
{mod.GROUP_NAME}
|
||||||
|
<!-- ENDIF --></td>
|
||||||
|
<td class="info"><!-- IF not mod.FORUMS -->{L_ALL_FORUMS}<!-- ELSE --><select style="width: 100%;">{mod.FORUMS}</select><!-- ENDIF --></td>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<tr class="bg1">
|
||||||
|
<td colspan="3"><strong>{L_NO_MODERATORS}</strong></td>
|
||||||
|
</tr>
|
||||||
|
<!-- END mod -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE jumpbox.html -->
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
127
art_mobile/template/memberlist_search.html
Normal file
127
art_mobile/template/memberlist_search.html
Normal file
|
@ -0,0 +1,127 @@
|
||||||
|
<!-- IF S_IN_SEARCH_POPUP -->
|
||||||
|
<!-- You should retain this javascript in your own template! -->
|
||||||
|
<script type="text/javascript">
|
||||||
|
// <![CDATA[
|
||||||
|
function insert_user(user)
|
||||||
|
{
|
||||||
|
opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value = ( opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value.length && opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.type == "textarea" ) ? opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value + "\n" + user : user;
|
||||||
|
}
|
||||||
|
|
||||||
|
function insert_marked(users)
|
||||||
|
{
|
||||||
|
if (typeof(users.length) == "undefined")
|
||||||
|
{
|
||||||
|
if (users.checked)
|
||||||
|
{
|
||||||
|
insert_user(users.value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (users.length > 0)
|
||||||
|
{
|
||||||
|
for (i = 0; i < users.length; i++)
|
||||||
|
{
|
||||||
|
if (users[i].checked)
|
||||||
|
{
|
||||||
|
insert_user(users[i].value);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
self.close();
|
||||||
|
}
|
||||||
|
|
||||||
|
function insert_single(user)
|
||||||
|
{
|
||||||
|
opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value = user;
|
||||||
|
self.close();
|
||||||
|
}
|
||||||
|
// ]]>
|
||||||
|
</script>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<h2 class="solo">{L_FIND_USERNAME}</h2>
|
||||||
|
|
||||||
|
<form method="post" action="{S_MODE_ACTION}" id="search_memberlist">
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<p>{L_FIND_USERNAME_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<fieldset class="fields1 column1">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="username">{L_USERNAME}:</label></dt>
|
||||||
|
<dd><input type="text" name="username" id="username" value="{USERNAME}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF S_EMAIL_SEARCH_ALLOWED -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="email">{L_EMAIL}:</label></dt>
|
||||||
|
<dd><input type="text" name="email" id="email" value="{EMAIL}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="icq">{L_ICQ}:</label></dt>
|
||||||
|
<dd><input type="text" name="icq" id="icq" value="{ICQ}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="aim">{L_AIM}:</label></dt>
|
||||||
|
<dd><input type="text" name="aim" id="aim" value="{AIM}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="yahoo">{L_YIM}:</label></dt>
|
||||||
|
<dd><input type="text" name="yahoo" id="yahoo" value="{YAHOO}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="msn">{L_MSNM}:</label></dt>
|
||||||
|
<dd><input type="text" name="msn" id="msn" value="{MSNM}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="jabber">{L_JABBER}:</label></dt>
|
||||||
|
<dd><input type="text" name="jabber" id="jabber" value="{JABBER}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="fields1 column2">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="joined">{L_JOINED}:</label></dt>
|
||||||
|
<dd><select name="joined_select">{S_JOINED_TIME_OPTIONS}</select> <input class="inputbox medium" type="text" name="joined" id="joined" value="{JOINED}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF S_VIEWONLINE -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="active">{L_LAST_ACTIVE}:</label></dt>
|
||||||
|
<dd><select name="active_select">{S_ACTIVE_TIME_OPTIONS}</select> <input class="inputbox medium" type="text" name="active" id="active" value="{ACTIVE}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="count">{L_POSTS}:</label></dt>
|
||||||
|
<dd><select name="count_select">{S_COUNT_OPTIONS}</select> <input class="inputbox medium" type="text" name="count" id="count" value="{COUNT}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF S_IP_SEARCH_ALLOWED -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="ip">{L_POST_IP}:</label></dt>
|
||||||
|
<dd><input class="inputbox medium" type="text" name="ip" id="ip" value="{IP}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="search_group_id">{L_GROUP}:</label></dt>
|
||||||
|
<dd><select name="search_group_id" id="search_group_id">{S_GROUP_SELECT}</select></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="sk" class="label3">{L_SORT_BY}:</label></dt>
|
||||||
|
<dd><select name="sk" id="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<div class="clear"></div>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="submit" value="{L_SEARCH}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
96
art_mobile/template/memberlist_view.html
Normal file
96
art_mobile/template/memberlist_view.html
Normal file
|
@ -0,0 +1,96 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<form method="post" action="{S_PROFILE_ACTION}" id="viewprofile">
|
||||||
|
<fieldset class="fields1 block">
|
||||||
|
|
||||||
|
<!-- IF AVATAR_IMG -->
|
||||||
|
<dl>
|
||||||
|
<dt>{AVATAR_IMG}</dt>
|
||||||
|
<!-- IF RANK_TITLE --><dd style="text-align: center;">{RANK_TITLE}</dd><!-- ENDIF -->
|
||||||
|
<!-- IF RANK_IMG --><dd style="text-align: center;">{RANK_IMG}</dd><!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt>{L_USERNAME}:</dt>
|
||||||
|
<dd>
|
||||||
|
<!-- IF USER_COLOR --><span style="color: {USER_COLOR}; font-weight: bold;"><!-- ELSE --><span><!-- ENDIF -->{USERNAME}</span>
|
||||||
|
<!-- IF U_USER_ADMIN --> [ <a href="{U_USER_ADMIN}">{L_USER_ADMIN}</a> ]<!-- ENDIF -->
|
||||||
|
<!-- IF U_USER_BAN --> [ <a href="{U_USER_BAN}">{L_USER_BAN}</a> ]<!-- ENDIF -->
|
||||||
|
<!-- IF U_SWITCH_PERMISSIONS --> [ <a href="{U_SWITCH_PERMISSIONS}">{L_USE_PERMISSIONS}</a> ]<!-- ENDIF -->
|
||||||
|
</dd>
|
||||||
|
<!-- IF not AVATAR_IMG -->
|
||||||
|
<!-- IF RANK_TITLE --><dt>{L_RANK}:</dt> <dd>{RANK_TITLE}</dd><!-- ENDIF -->
|
||||||
|
<!-- IF RANK_IMG --><dt><!-- IF RANK_TITLE --> <!-- ELSE -->{L_RANK}:<!-- ENDIF --></dt> <dd>{RANK_IMG}</dd><!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_USER_INACTIVE --><dt>{L_USER_IS_INACTIVE}:</dt> <dd>{USER_INACTIVE_REASON}</dd><!-- ENDIF -->
|
||||||
|
<!-- IF LOCATION --><dt>{L_LOCATION}:</dt> <dd>{LOCATION}</dd><!-- ENDIF -->
|
||||||
|
<!-- IF AGE !== '' --><dt>{L_AGE}:</dt> <dd>{AGE}</dd><!-- ENDIF -->
|
||||||
|
<!-- IF OCCUPATION --><dt>{L_OCCUPATION}:</dt> <dd>{OCCUPATION}</dd><!-- ENDIF -->
|
||||||
|
<!-- IF INTERESTS --><dt>{L_INTERESTS}:</dt> <dd>{INTERESTS}</dd><!-- ENDIF -->
|
||||||
|
<!-- IF S_GROUP_OPTIONS --><dt>{L_USERGROUPS}:</dt> <dd><select name="g">{S_GROUP_OPTIONS}</select> <input type="submit" name="submit" value="{L_GO}" class="button2" /></dd><!-- ENDIF -->
|
||||||
|
<!-- BEGIN custom_fields --><dt>{custom_fields.PROFILE_FIELD_NAME}:</dt> <dd>{custom_fields.PROFILE_FIELD_VALUE}</dd><!-- END custom_fields -->
|
||||||
|
<!-- IF S_USER_LOGGED_IN and S_ZEBRA -->
|
||||||
|
<!-- IF U_REMOVE_FRIEND -->
|
||||||
|
<dt> </dt> <dd><a href="{U_REMOVE_FRIEND}"><strong>{L_REMOVE_FRIEND}</strong></a></dd>
|
||||||
|
<!-- ELSEIF U_REMOVE_FOE -->
|
||||||
|
<dt> </dt> <dd><a href="{U_REMOVE_FOE}"><strong>{L_REMOVE_FOE}</strong></a></dd>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<!-- IF U_ADD_FRIEND -->
|
||||||
|
<dt> </dt> <dd><a href="{U_ADD_FRIEND}"><strong>{L_ADD_FRIEND}</strong></a></dd>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF U_ADD_FOE -->
|
||||||
|
<dt> </dt> <dd><a href="{U_ADD_FOE}"><strong>{L_ADD_FOE}</strong></a></dd>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="fields1 block">
|
||||||
|
|
||||||
|
<h3>{L_CONTACT_USER} {USERNAME}</h3>
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<!-- IF U_EMAIL --><dt>{L_EMAIL_ADDRESS}:</dt> <dd><a href="{U_EMAIL}">{L_SEND_EMAIL_USER} {USERNAME}</a></dd><!-- ENDIF -->
|
||||||
|
<!-- IF U_WWW --><dt>{L_WEBSITE}:</dt> <dd><a href="{U_WWW}" title="{L_VISIT_WEBSITE}: {U_WWW}">{U_WWW}</a></dd><!-- ENDIF -->
|
||||||
|
<!-- IF U_PM --><dt>{L_PM}:</dt> <dd><a href="{U_PM}">{L_SEND_PRIVATE_MESSAGE}</a></dd><!-- ENDIF -->
|
||||||
|
<!-- IF U_MSN or USER_MSN --><dt>{L_MSNM}:</dt> <dd><!-- IF U_MSN --><a href="{U_MSN}">{L_SEND_MSNM_MESSAGE}</a><!-- ELSE -->{USER_MSN}<!-- ENDIF --></dd><!-- ENDIF -->
|
||||||
|
<!-- IF U_YIM or USER_YIM --><dt>{L_YIM}:</dt> <dd><!-- IF U_YIM --><a href="{U_YIM}">{L_SEND_YIM_MESSAGE}</a><!-- ELSE -->{USER_YIM}<!-- ENDIF --></dd><!-- ENDIF -->
|
||||||
|
<!-- IF U_AIM or USER_AIM --><dt>{L_AIM}:</dt> <dd><!-- IF U_AIM --><a href="{U_AIM}">{L_SEND_AIM_MESSAGE}</a><!-- ELSE -->{USER_AIM}<!-- ENDIF --></dd><!-- ENDIF -->
|
||||||
|
<!-- IF U_ICQ or USER_ICQ --><dt>{L_ICQ}:</dt> <dd><!-- IF U_ICQ --><a href="{U_ICQ}">{L_SEND_ICQ_MESSAGE}</a><!-- ELSE -->{USER_ICQ}<!-- ENDIF --></dd><!-- ENDIF -->
|
||||||
|
<!-- IF U_JABBER and S_JABBER_ENABLED --><dt>{L_JABBER}:</dt> <dd><a href="{U_JABBER}">{L_SEND_JABBER_MESSAGE}</a></dd><!-- ELSEIF USER_JABBER --><dt>{L_JABBER}:</dt> <dd>{USER_JABBER}</dd><!-- ENDIF -->
|
||||||
|
<!-- IF S_PROFILE_FIELD1 -->
|
||||||
|
<!-- NOTE: Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. -->
|
||||||
|
<dt>{PROFILE_FIELD1_NAME}:</dt> <dd>{PROFILE_FIELD1_VALUE}</dd>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="fields1 block">
|
||||||
|
<h3>{L_USER_FORUM}</h3>
|
||||||
|
<dl>
|
||||||
|
<dt>{L_JOINED}:</dt> <dd>{JOINED}</dd>
|
||||||
|
<dt>{L_VISITED}:</dt> <dd>{VISITED}</dd>
|
||||||
|
<!-- IF S_WARNINGS -->
|
||||||
|
<dt>{L_WARNINGS}: </dt>
|
||||||
|
<dd><strong>{WARNINGS}</strong><!-- IF U_NOTES or U_WARN --> [ <!-- IF U_NOTES --><a href="{U_NOTES}">{L_VIEW_NOTES}</a><!-- ENDIF --> <!-- IF U_WARN --><!-- IF U_NOTES --> | <!-- ENDIF --><a href="{U_WARN}">{L_WARN_USER}</a><!-- ENDIF --> ]<!-- ENDIF --></dd>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<dt>{L_TOTAL_POSTS}:</dt>
|
||||||
|
<dd>{POSTS} <!-- IF S_DISPLAY_SEARCH -->| <strong><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a></strong><!-- ENDIF -->
|
||||||
|
<!-- IF POSTS_PCT --><br />({POSTS_PCT} / {POSTS_DAY})<!-- ENDIF -->
|
||||||
|
<!-- IF POSTS_IN_QUEUE and U_MCP_QUEUE --><br />(<a href="{U_MCP_QUEUE}">{L_POSTS_IN_QUEUE}</a>)<!-- ELSEIF POSTS_IN_QUEUE --><br />({L_POSTS_IN_QUEUE})<!-- ENDIF -->
|
||||||
|
</dd>
|
||||||
|
<!-- IF S_SHOW_ACTIVITY and POSTS -->
|
||||||
|
<dt>{L_ACTIVE_IN_FORUM}:</dt> <dd><!-- IF ACTIVE_FORUM != '' --><strong><a href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></strong><br />({ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT})<!-- ELSE --> - <!-- ENDIF --></dd>
|
||||||
|
<dt>{L_ACTIVE_IN_TOPIC}:</dt> <dd><!-- IF ACTIVE_TOPIC != '' --><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})<!-- ELSE --> - <!-- ENDIF --></dd>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE jumpbox.html -->
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
317
art_mobile/template/mobile.js
Normal file
317
art_mobile/template/mobile.js
Normal file
|
@ -0,0 +1,317 @@
|
||||||
|
/*
|
||||||
|
JavaScript for "Artodia: Mobile" phpBB style.
|
||||||
|
Created by Vjacheslav Trushkin (Arty)
|
||||||
|
|
||||||
|
This script resizes large images and adds JS events to drop down menus.
|
||||||
|
|
||||||
|
Check http://www.phpbbmobile.com/ for latest version.
|
||||||
|
*/
|
||||||
|
var phpBBMobile = {
|
||||||
|
|
||||||
|
/*
|
||||||
|
Configuration
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Resize images
|
||||||
|
opResizeImages: true,
|
||||||
|
|
||||||
|
// Resize images inside links (ignored if previous option is false)
|
||||||
|
opResizeImagesInLinks: true,
|
||||||
|
|
||||||
|
/*
|
||||||
|
Functions
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Apply function to each item
|
||||||
|
each: function(selector, callback)
|
||||||
|
{
|
||||||
|
var items = document.querySelectorAll(selector),
|
||||||
|
total = items.length;
|
||||||
|
for (var i=0; i<total; i++)
|
||||||
|
{
|
||||||
|
callback.call(items[i], i);
|
||||||
|
}
|
||||||
|
return items;
|
||||||
|
},
|
||||||
|
|
||||||
|
// Check if element has certain class
|
||||||
|
hasClass: function(element, className)
|
||||||
|
{
|
||||||
|
var match = ' ' + className + ' ';
|
||||||
|
return (element.className && (' ' + element.className + ' ').indexOf(match) > -1);
|
||||||
|
},
|
||||||
|
|
||||||
|
// Add class to element
|
||||||
|
addClass: function(element, className)
|
||||||
|
{
|
||||||
|
if (phpBBMobile.hasClass(element, className))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
element.className += ((element.className.length > 0) ? ' ' : '') + className;
|
||||||
|
return element.className;
|
||||||
|
},
|
||||||
|
|
||||||
|
// Remove class from element
|
||||||
|
removeClass: function(element, className)
|
||||||
|
{
|
||||||
|
if (!element.className.length)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
element.className = (element.className == className) ? '' : (' ' + element.className + ' ').replace(' ' + className + ' ', ' ').replace(/^\s+/, '').replace(/\s+$/, '');
|
||||||
|
return element.className;
|
||||||
|
},
|
||||||
|
|
||||||
|
// Toggle class
|
||||||
|
toggleClass: function(element, className)
|
||||||
|
{
|
||||||
|
if (phpBBMobile.hasClass(element, className))
|
||||||
|
{
|
||||||
|
return phpBBMobile.removeClass(element, className);
|
||||||
|
}
|
||||||
|
return phpBBMobile.addClass(element, className);
|
||||||
|
},
|
||||||
|
|
||||||
|
// Get computed style
|
||||||
|
getStyle: function(item, prop)
|
||||||
|
{
|
||||||
|
if (typeof (item.currentStyle) == 'function')
|
||||||
|
{
|
||||||
|
return item.currentStyle(prop);
|
||||||
|
}
|
||||||
|
else if (window.getComputedStyle)
|
||||||
|
{
|
||||||
|
return document.defaultView.getComputedStyle(item, null).getPropertyValue(prop);
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
},
|
||||||
|
|
||||||
|
// Get left+right sides
|
||||||
|
getSidesStyle: function(item, prop)
|
||||||
|
{
|
||||||
|
var left = phpBBMobile.getStyle(item, prop + '-left'),
|
||||||
|
right = phpBBMobile.getStyle(item, prop + '-right');
|
||||||
|
if (left === false || right === false)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
left = parseInt(left);
|
||||||
|
right = parseInt(right);
|
||||||
|
|
||||||
|
return (isNaN(left) || isNaN(right)) ? false : left + right;
|
||||||
|
},
|
||||||
|
|
||||||
|
// Get element width
|
||||||
|
getClientWidth: function(item)
|
||||||
|
{
|
||||||
|
var diff = 0;
|
||||||
|
|
||||||
|
// Get display mode
|
||||||
|
switch (phpBBMobile.getStyle(item, 'display'))
|
||||||
|
{
|
||||||
|
case 'block':
|
||||||
|
var width = parseInt(item.clientWidth);
|
||||||
|
return (isNaN(width) || !width) ? false : width;
|
||||||
|
|
||||||
|
case 'inline-block':
|
||||||
|
var margin = phpBBMobile.getSidesStyle(item, 'margin');
|
||||||
|
if (margin === false)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
diff += margin;
|
||||||
|
|
||||||
|
case 'inline':
|
||||||
|
var padding = phpBBMobile.getSidesStyle(item, 'padding');
|
||||||
|
if (padding === false)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
diff += padding;
|
||||||
|
|
||||||
|
if (!item.parentNode)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
var width = phpBBMobile.getClientWidth(item.parentNode);
|
||||||
|
if (!width)
|
||||||
|
{
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
width += diff;
|
||||||
|
|
||||||
|
return width;
|
||||||
|
|
||||||
|
default:
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
// Check image size
|
||||||
|
checkImage: function()
|
||||||
|
{
|
||||||
|
var maxWidth = phpBBMobile.getClientWidth(this.parentNode);
|
||||||
|
if (maxWidth < 10)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
maxWidth -= 10;
|
||||||
|
if (this.width > maxWidth)
|
||||||
|
{
|
||||||
|
phpBBMobile.resizeImage.call(this, maxWidth);
|
||||||
|
}
|
||||||
|
},
|
||||||
|
|
||||||
|
// Resize image
|
||||||
|
resizeImage: function(width)
|
||||||
|
{
|
||||||
|
var wrapper = document.createElement('span');
|
||||||
|
wrapper.className = 'zoom-container';
|
||||||
|
wrapper.appendChild(this.cloneNode(true));
|
||||||
|
this.parentNode.replaceChild(wrapper, this);
|
||||||
|
|
||||||
|
var img = wrapper.firstChild;
|
||||||
|
img.setAttribute('data-max-width', width);
|
||||||
|
img.style.maxWidth = width + 'px';
|
||||||
|
img.style.cursor = 'pointer';
|
||||||
|
phpBBMobile.addClass(img, 'zoom');
|
||||||
|
img.addEventListener('click', phpBBMobile.imageClicked);
|
||||||
|
|
||||||
|
var span = document.createElement('span');
|
||||||
|
span.className = 'zoom-image';
|
||||||
|
wrapper.appendChild(span);
|
||||||
|
span.addEventListener('click', phpBBMobile.zoomClicked);
|
||||||
|
},
|
||||||
|
|
||||||
|
// Image was clicked
|
||||||
|
imageClicked: function()
|
||||||
|
{
|
||||||
|
if (phpBBMobile.hasClass(this, 'zoomed-in'))
|
||||||
|
{
|
||||||
|
phpBBMobile.removeClass(this, 'zoomed-in');
|
||||||
|
this.style.maxWidth = this.getAttribute('data-max-width') + 'px';
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
phpBBMobile.addClass(this, 'zoomed-in');
|
||||||
|
this.style.maxWidth = '';
|
||||||
|
},
|
||||||
|
|
||||||
|
// Zoom icon near image was clicked
|
||||||
|
zoomClicked: function(event)
|
||||||
|
{
|
||||||
|
phpBBMobile.imageClicked.apply(this.parentNode.querySelector('img'), arguments);
|
||||||
|
event.stopPropagation();
|
||||||
|
},
|
||||||
|
|
||||||
|
// Hide all popup menus
|
||||||
|
hideMenus: function()
|
||||||
|
{
|
||||||
|
phpBBMobile.each('.sub-hover', function() {
|
||||||
|
phpBBMobile.removeClass(this, 'sub-hover');
|
||||||
|
});
|
||||||
|
phpBBMobile.each('.menu-hover', function() {
|
||||||
|
phpBBMobile.removeClass(this, 'menu-hover');
|
||||||
|
});
|
||||||
|
},
|
||||||
|
|
||||||
|
// Popup menu
|
||||||
|
setupMenu: function(element, menuTrigger, menuItem)
|
||||||
|
{
|
||||||
|
menuTrigger.addEventListener('click', function(event) {
|
||||||
|
event.stopPropagation();
|
||||||
|
var hasClass = phpBBMobile.hasClass(menuItem, 'sub-hover');
|
||||||
|
phpBBMobile.hideMenus();
|
||||||
|
if (!hasClass)
|
||||||
|
{
|
||||||
|
phpBBMobile.addClass(menuItem, 'sub-hover');
|
||||||
|
phpBBMobile.addClass(element, 'menu-hover');
|
||||||
|
}
|
||||||
|
return false;
|
||||||
|
}, false);
|
||||||
|
var listItem = document.createElement('li'),
|
||||||
|
closeLink = document.createElement('a');
|
||||||
|
closeLink.addEventListener('click', phpBBMobile.hideMenus, false);
|
||||||
|
closeLink.style.textAlign = 'right';
|
||||||
|
closeLink.innerHTML = 'X';
|
||||||
|
listItem.appendChild(closeLink);
|
||||||
|
menuItem.appendChild(listItem);
|
||||||
|
},
|
||||||
|
|
||||||
|
// Initialise stuff
|
||||||
|
__construct: function()
|
||||||
|
{
|
||||||
|
// Swap .nojs for .hasjs for html element
|
||||||
|
phpBBMobile.each('html', function() {
|
||||||
|
phpBBMobile.addClass(this, 'hasjs');
|
||||||
|
phpBBMobile.removeClass(this, 'nojs');
|
||||||
|
if (navigator && navigator.userAgent.indexOf('Opera Mini') > 0)
|
||||||
|
{
|
||||||
|
phpBBMobile.addClass(this, 'operaMini');
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
if (phpBBMobile.opResizeImages)
|
||||||
|
{
|
||||||
|
if (!phpBBMobile.opResizeImagesInLinks)
|
||||||
|
{
|
||||||
|
// Mark all images inside links as non-resizable
|
||||||
|
phpBBMobile.each('a img', function() {
|
||||||
|
phpBBMobile.addClass(this, 'non-resizable');
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Resize all images inside posts
|
||||||
|
phpBBMobile.each('.postbody img', function() {
|
||||||
|
if (phpBBMobile.hasClass(this, 'non-resizable'))
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
if (this.complete)
|
||||||
|
{
|
||||||
|
phpBBMobile.checkImage.call(this);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
this.addEventListener('load', phpBBMobile.checkImage, false);
|
||||||
|
}
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
|
// Set up header/footer popups
|
||||||
|
phpBBMobile.each('#page-header-start > li, #page-header-menu > li, #page-footer-menu > li', function() {
|
||||||
|
var element = this,
|
||||||
|
menuTrigger = element.querySelector('.menu-link'),
|
||||||
|
menuItem = element.querySelector('.sub');
|
||||||
|
if (!menuTrigger || !menuItem)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
phpBBMobile.setupMenu(element, menuTrigger, menuItem);
|
||||||
|
});
|
||||||
|
|
||||||
|
// Set up tabs and user profile popups
|
||||||
|
phpBBMobile.each('.post-author, .tabs-list', function() {
|
||||||
|
var element = this,
|
||||||
|
menuTrigger = element.querySelector('a'),
|
||||||
|
menuItem = element.querySelector('.sub');
|
||||||
|
if (!menuTrigger || !menuItem)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
menuTrigger.setAttribute('href', 'javascript:void(0);');
|
||||||
|
if (this.className.indexOf('settings') < 0)
|
||||||
|
{
|
||||||
|
menuTrigger.innerHTML += '<span class="arrow-up">↑</span><span class="arrow-down">↓</span>';
|
||||||
|
}
|
||||||
|
phpBBMobile.setupMenu(element, menuTrigger, menuItem);
|
||||||
|
});
|
||||||
|
}
|
||||||
|
};
|
||||||
|
|
||||||
|
if (document.addEventListener && document.querySelectorAll)
|
||||||
|
{
|
||||||
|
document.addEventListener('DOMContentLoaded', phpBBMobile.__construct, false);
|
||||||
|
}
|
44
art_mobile/template/overall_footer.html
Normal file
44
art_mobile/template/overall_footer.html
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
<!-- IF MOBILE_LINK -->
|
||||||
|
<p style="text-align: center;">{MOBILE_LINK}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<div class="copyright">
|
||||||
|
<p class="copy-left">
|
||||||
|
Powered by <a href="http://www.phpbb.com/">phpBB</a> © phpBB Group.
|
||||||
|
</p>
|
||||||
|
<p class="copy-right">
|
||||||
|
phpBB Mobile / SEO by <a href="http://www.artodia.com/">Artodia</a>.
|
||||||
|
</p>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="page-footer" class="nav-block gradient <!-- IF PAGE_NUMBER and PAGINATION -->menu-2<!-- ELSE -->menu-1<!-- ENDIF -->">
|
||||||
|
<p><a href="{U_INDEX}" accesskey="h">{L_INDEX}</a></p>
|
||||||
|
<ul id="page-footer-menu">
|
||||||
|
<li><a href="javascript:void(0);" class="menu-link main"><span>{L_INDEX}</span></a>
|
||||||
|
<ul class="sub">
|
||||||
|
<!-- IF U_ACP --><li><a href="{U_ACP}">{L_ACP}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF not S_IS_BOT -->
|
||||||
|
<!-- IF S_WATCH_FORUM_LINK --><li><a href="{S_WATCH_FORUM_LINK}">{S_WATCH_FORUM_TITLE}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF U_WATCH_TOPIC --><li><a href="{U_WATCH_TOPIC}">{L_WATCH_TOPIC}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF U_BOOKMARK_TOPIC --><li><a href="{U_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF U_BUMP_TOPIC --><li><a href="{U_BUMP_TOPIC}">{L_BUMP_TOPIC}</a></li><!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF U_TEAM --><li><a href="{U_TEAM}">{L_THE_TEAM}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF not S_IS_BOT --><li><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a></li><!-- ENDIF -->
|
||||||
|
<li><span>{S_TIMEZONE}</span></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<!-- IF PAGE_NUMBER and PAGINATION -->
|
||||||
|
<li class="pages"><a href="javascript:void(0);" class="menu-link">#</a>
|
||||||
|
<ul class="sub">
|
||||||
|
<li>{PAGE_NUMBER} {PAGINATION}</li>
|
||||||
|
<!-- IF PREVIOUS_PAGE --><li><a href="{PREVIOUS_PAGE}">{L_PREVIOUS}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF NEXT_PAGE --><li><a href="{NEXT_PAGE}">{L_NEXT}</a></li><!-- ENDIF -->
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
95
art_mobile/template/overall_header.html
Normal file
95
art_mobile/template/overall_header.html
Normal file
|
@ -0,0 +1,95 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}" class="nojs">
|
||||||
|
<head>
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||||
|
{META}
|
||||||
|
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
|
||||||
|
<!--
|
||||||
|
phpBB style name: Artodia: Mobile and SEO
|
||||||
|
Based on style: prosilver (this is the default phpBB3 style)
|
||||||
|
Original author: Tom Beddard ( http://www.subBlue.com/ )
|
||||||
|
Modified by: Vjacheslav Trushkin ( http://www.artodia.com/ )
|
||||||
|
-->
|
||||||
|
<link href="{T_THEME_PATH}/style.css" rel="stylesheet" type="text/css" />
|
||||||
|
<script src="{T_TEMPLATE_PATH}/mobile.js"></script>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="phpbb" class="section-{SCRIPT_NAME} {S_CONTENT_DIRECTION}">
|
||||||
|
|
||||||
|
<div id="page-header" class="nav-block gradient <!-- IF S_DISPLAY_SEARCH --><!-- IF PAGE_NUMBER and PAGINATION -->menu-3<!-- ELSE -->menu-2<!-- ENDIF --><!-- ELSEIF PAGE_NUMBER and PAGINATION -->menu-2<!-- ELSE -->menu-1<!-- ENDIF -->">
|
||||||
|
<ul id="page-header-start">
|
||||||
|
<li><a href="javascript:void(0);" class="menu-link back"><span>{L_INDEX}</span></a>
|
||||||
|
<ul class="sub" itemscope="itemscope">
|
||||||
|
<li><a href="{U_INDEX}" itemprop="url" rel="up">{L_INDEX}</a></li>
|
||||||
|
<!-- BEGIN navlinks -->
|
||||||
|
<li><a href="{navlinks.U_VIEW_FORUM}" itemprop="url" rel="up">{navlinks.FORUM_NAME}</a></li>
|
||||||
|
<!-- END navlinks -->
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul id="page-header-menu">
|
||||||
|
<li><a href="javascript:void(0);" class="menu-link main"><span>{L_INDEX}</span></a>
|
||||||
|
<ul class="sub">
|
||||||
|
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
|
||||||
|
<li><a href="{U_PROFILE}">{L_PROFILE}</a></li>
|
||||||
|
<!-- IF S_DISPLAY_PM --><li><a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF U_RESTORE_PERMISSIONS --><li><a href="{U_RESTORE_PERMISSIONS}">{L_RESTORE_PERMISSIONS}</a></li><!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<li><a href="{U_FAQ}">{L_FAQ}</a></li>
|
||||||
|
<!-- IF not S_IS_BOT -->
|
||||||
|
<!-- IF S_DISPLAY_MEMBERLIST --><li><a href="{U_MEMBERLIST}">{L_MEMBERLIST}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF not S_USER_LOGGED_IN and S_REGISTER_ENABLED and not (S_SHOW_COPPA or S_REGISTRATION) --><li><a href="{U_REGISTER}">{L_REGISTER}</a></li><!-- ENDIF -->
|
||||||
|
<li><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<!-- IF S_DISPLAY_SEARCH -->
|
||||||
|
<li><a href="javascript:void(0);" class="menu-link search"><span>{L_SEARCH_ADV}</span></a>
|
||||||
|
<ul class="sub">
|
||||||
|
<li><a href="{U_SEARCH}">{L_SEARCH_ADV}</a></li>
|
||||||
|
<!-- IF not S_IS_BOT and S_USER_LOGGED_IN -->
|
||||||
|
<li><a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a></li>
|
||||||
|
<!-- IF S_LOAD_UNREADS --><li><a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF S_USER_LOGGED_IN --><li><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a></li><!-- ENDIF -->
|
||||||
|
<li><a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF PAGE_NUMBER and PAGINATION -->
|
||||||
|
<li class="pages"><a href="javascript:void(0);" class="menu-link">#</a>
|
||||||
|
<ul class="sub">
|
||||||
|
<li>{PAGE_NUMBER} {PAGINATION}</li>
|
||||||
|
<!-- IF PREVIOUS_PAGE --><li><a href="{PREVIOUS_PAGE}">{L_PREVIOUS}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF NEXT_PAGE --><li><a href="{NEXT_PAGE}">{L_NEXT}</a></li><!-- ENDIF -->
|
||||||
|
</ul>
|
||||||
|
</li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</ul>
|
||||||
|
<h1><!-- IF SCRIPT_NAME == 'viewforum' --><a href="{U_VIEW_FORUM}">{FORUM_NAME}</a>
|
||||||
|
<!-- ELSEIF SCRIPT_NAME == 'viewtopic' --><a href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a>
|
||||||
|
<!-- ELSE --><a href="javascript:void(0);">{PAGE_TITLE}</a>
|
||||||
|
<!-- ENDIF --></h1>
|
||||||
|
<p>{SITE_DESCRIPTION}</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="page-body">
|
||||||
|
<!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN and (U_MCP or U_ACP) -->
|
||||||
|
<div id="information" class="block rules">
|
||||||
|
<h2>{L_INFORMATION}</h2>
|
||||||
|
{L_BOARD_DISABLED}
|
||||||
|
</div>
|
||||||
|
<!-- ELSEIF not S_IS_BOT && S_USER_LOGGED_IN && S_DISPLAY_PM && SCRIPT_NAME != 'ucp' -->
|
||||||
|
<!-- IF S_USER_NEW_PRIVMSG and S_USER_PM_POPUP -->
|
||||||
|
<div class="block rules" id="information">
|
||||||
|
<a href="{U_PRIVATEMSGS}"><!-- IF S_USER_NEW_PRIVMSG > 1 -->{L_YOU_NEW_PMS}<!-- ELSE -->{L_YOU_NEW_PM}<!-- ENDIF --></a>
|
||||||
|
</div>
|
||||||
|
<!-- ELSEIF S_USER_UNREAD_PRIVMSG or S_USER_NEW_PRIVMSG -->
|
||||||
|
<div class="block rules" id="information">
|
||||||
|
<h2>{L_PRIVATE_MESSAGES}</h2>
|
||||||
|
<a href="{U_PRIVATEMSGS}">{PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
17
art_mobile/template/posting_attach_body.html
Normal file
17
art_mobile/template/posting_attach_body.html
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
<div class="block" id="attach-panel">
|
||||||
|
<p>{L_ADD_ATTACHMENT_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="fileupload">{L_FILENAME}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<input type="file" name="fileupload" id="fileupload" maxlength="{FILESIZE}" value="" class="inputbox autowidth" />
|
||||||
|
<input type="submit" name="add_file" value="{L_ADD_FILE}" class="button2" onclick="upload = true;" />
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="filecomment">{L_FILE_COMMENT}:</label></dt>
|
||||||
|
<dd><textarea name="filecomment" id="filecomment" rows="1" cols="40" class="inputbox autowidth">{FILE_COMMENT}</textarea></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
192
art_mobile/template/posting_editor.html
Normal file
192
art_mobile/template/posting_editor.html
Normal file
|
@ -0,0 +1,192 @@
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<!-- IF ERROR --><p class="block rules">{ERROR}</p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_PRIVMSGS and not S_SHOW_DRAFTS -->
|
||||||
|
|
||||||
|
<!-- IF S_ALLOW_MASS_PM -->
|
||||||
|
<!-- IF .to_recipient -->
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_TO}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<!-- BEGIN to_recipient -->
|
||||||
|
<!-- IF not to_recipient.S_FIRST_ROW and to_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF -->
|
||||||
|
<!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}"><strong>{to_recipient.NAME}</strong></a><!-- ELSE -->{to_recipient.NAME_FULL}<!-- ENDIF -->
|
||||||
|
<!-- IF not S_EDIT_POST --><input type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="x" class="button2" /> <!-- ENDIF -->
|
||||||
|
<!-- END to_recipient -->
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF .bcc_recipient -->
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_BCC}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<!-- BEGIN bcc_recipient -->
|
||||||
|
<!-- IF not bcc_recipient.S_FIRST_ROW and bcc_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF -->
|
||||||
|
<!-- IF bcc_recipient.IS_GROUP --><a href="{bcc_recipient.U_VIEW}"><strong>{bcc_recipient.NAME}</strong></a><!-- ELSE -->{bcc_recipient.NAME_FULL}<!-- ENDIF -->
|
||||||
|
<!-- IF not S_EDIT_POST --><input type="submit" name="remove_{bcc_recipient.TYPE}[{bcc_recipient.UG_ID}]" value="x" class="button2" /> <!-- ENDIF -->
|
||||||
|
<!-- END bcc_recipient -->
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF not S_EDIT_POST -->
|
||||||
|
<dl>
|
||||||
|
<dt>{L_TO}:</dt>
|
||||||
|
<dd><textarea id="username_list" name="username_list" class="inputbox" cols="50" rows="2" tabindex="1"></textarea><br />
|
||||||
|
<input type="submit" name="add_to" value="{L_ADD}" class="button2" tabindex="1" /> <input type="submit" name="add_bcc" value="{L_ADD_BCC}" class="button2" tabindex="1" />
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ELSE -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="username_list">{L_TO}:</label></dt>
|
||||||
|
<!-- IF .to_recipient -->
|
||||||
|
<dd>
|
||||||
|
<!-- BEGIN to_recipient -->
|
||||||
|
<!-- IF not to_recipient.S_FIRST_ROW and to_recipient.S_ROW_COUNT mod 2 eq 0 --></dd><dd><!-- ENDIF -->
|
||||||
|
<!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}"><strong>{to_recipient.NAME}</strong></a><!-- ELSE -->{to_recipient.NAME_FULL}<!-- ENDIF -->
|
||||||
|
<!-- IF not S_EDIT_POST --><input type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="x" class="button2" /> <!-- ENDIF -->
|
||||||
|
<!-- END to_recipient -->
|
||||||
|
</dd>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF not S_EDIT_POST -->
|
||||||
|
<dd><input class="inputbox" type="text" name="username_list" id="username_list" size="20" value="" /> <input type="submit" name="add_to" value="{L_ADD}" class="button2" /></dd>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_GROUP_OPTIONS -->
|
||||||
|
<div class="column2">
|
||||||
|
<dl>
|
||||||
|
<dd><label for="group_list">{L_USERGROUPS}:</label> <select name="group_list[]" id="group_list" multiple="multiple" size="4" class="inputbox">{S_GROUP_OPTIONS}</select></dd>
|
||||||
|
</dl>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_DELETE_ALLOWED -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="delete">{L_DELETE_POST}:</label></dt>
|
||||||
|
<dd><label for="delete"><input type="checkbox" name="delete" id="delete" /> {L_DELETE_POST_WARN}</label></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF not S_PRIVMSGS and S_DISPLAY_USERNAME -->
|
||||||
|
<dl style="clear: left;">
|
||||||
|
<dt><label for="username">{L_USERNAME}:</label></dt>
|
||||||
|
<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_POST_ACTION or S_PRIVMSGS or S_EDIT_DRAFT -->
|
||||||
|
<dl style="clear: left;">
|
||||||
|
<dt><label for="subject">{L_SUBJECT}:</label></dt>
|
||||||
|
<dd><input type="text" name="subject" id="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->" tabindex="2" value="{SUBJECT}{DRAFT_SUBJECT}" class="inputbox autowidth" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_CODE -->
|
||||||
|
<!-- DEFINE $CAPTCHA_TAB_INDEX = 3 -->
|
||||||
|
<!-- INCLUDE {CAPTCHA_TEMPLATE} -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<div id="message-box">
|
||||||
|
<textarea <!-- IF S_UCP_ACTION and not S_PRIVMSGS and not S_EDIT_DRAFT -->name="signature" id="signature" style="height: 9em;"<!-- ELSE -->name="message" id="message"<!-- ENDIF --> rows="15" cols="76" tabindex="4" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" onfocus="initInsertions();" class="inputbox">{MESSAGE}{DRAFT_MESSAGE}{SIGNATURE}</textarea>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<!-- IF $EXTRA_POSTING_OPTIONS eq 1 -->
|
||||||
|
|
||||||
|
<!-- IF S_HAS_ATTACHMENTS -->
|
||||||
|
<div class="block">
|
||||||
|
<h3>{L_POSTED_ATTACHMENTS}</h3>
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
|
||||||
|
<!-- BEGIN attach_row -->
|
||||||
|
<dl>
|
||||||
|
|
||||||
|
<dt><label for="comment_list_{attach_row.ASSOC_INDEX}">{L_FILE_COMMENT}:</label></dt>
|
||||||
|
<dd><textarea name="comment_list[{attach_row.ASSOC_INDEX}]" id="comment_list_{attach_row.ASSOC_INDEX}" rows="1" cols="35" class="inputbox">{attach_row.FILE_COMMENT}</textarea></dd>
|
||||||
|
<dd><a href="{attach_row.U_VIEW_ATTACHMENT}">{attach_row.FILENAME}</a></dd>
|
||||||
|
<dd style="margin-top: 5px;">
|
||||||
|
<!-- IF S_INLINE_ATTACHMENT_OPTIONS --><input type="button" value="{L_PLACE_INLINE}" onclick="attach_inline({attach_row.ASSOC_INDEX}, '{attach_row.A_FILENAME}');" class="button2" /> <!-- ENDIF -->
|
||||||
|
<input type="submit" name="delete_file[{attach_row.ASSOC_INDEX}]" value="{L_DELETE_FILE}" class="button2" />
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
{attach_row.S_HIDDEN}
|
||||||
|
<!-- IF not attach_row.S_LAST_ROW --><hr class="dashed" /><!-- ENDIF -->
|
||||||
|
<!-- END attach_row -->
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 -->
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_ADDRESS_FIELD}
|
||||||
|
{S_HIDDEN_FIELDS}
|
||||||
|
<!-- IF S_HAS_DRAFTS --><input type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD_DRAFT}" class="button2" onclick="load_draft = true;" /> <!-- ENDIF -->
|
||||||
|
<!-- IF S_SAVE_ALLOWED --><input type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE_DRAFT}" class="button2" /> <!-- ENDIF -->
|
||||||
|
<input type="submit" tabindex="5" name="preview" value="{L_PREVIEW}" class="button1"<!-- IF not S_PRIVMSGS --> onclick="document.getElementById('postform').action += '#preview';"<!-- ENDIF --> />
|
||||||
|
<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1 default-submit-action" />
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF not S_SHOW_DRAFTS and not $SIG_EDIT eq 1 -->
|
||||||
|
<div class="block" id="options-panel">
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<!-- IF S_BBCODE_ALLOWED -->
|
||||||
|
<div><label for="disable_bbcode"><input type="checkbox" name="disable_bbcode" id="disable_bbcode"{S_BBCODE_CHECKED} /> {L_DISABLE_BBCODE}</label></div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_SMILIES_ALLOWED -->
|
||||||
|
<div><label for="disable_smilies"><input type="checkbox" name="disable_smilies" id="disable_smilies"{S_SMILIES_CHECKED} /> {L_DISABLE_SMILIES}</label></div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_LINKS_ALLOWED -->
|
||||||
|
<div><label for="disable_magic_url"><input type="checkbox" name="disable_magic_url" id="disable_magic_url"{S_MAGIC_URL_CHECKED} /> {L_DISABLE_MAGIC_URL}</label></div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_SIG_ALLOWED -->
|
||||||
|
<div><label for="attach_sig"><input type="checkbox" name="attach_sig" id="attach_sig"{S_SIGNATURE_CHECKED} /> {L_ATTACH_SIG}</label></div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_NOTIFY_ALLOWED -->
|
||||||
|
<div><label for="notify"><input type="checkbox" name="notify" id="notify"{S_NOTIFY_CHECKED} /> {L_NOTIFY_REPLY}</label></div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_LOCK_TOPIC_ALLOWED -->
|
||||||
|
<div><label for="lock_topic"><input type="checkbox" name="lock_topic" id="lock_topic"{S_LOCK_TOPIC_CHECKED} /> {L_LOCK_TOPIC}</label></div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_LOCK_POST_ALLOWED -->
|
||||||
|
<div><label for="lock_post"><input type="checkbox" name="lock_post" id="lock_post"{S_LOCK_POST_CHECKED} /> {L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]</label></div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_TYPE_TOGGLE or S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY -->
|
||||||
|
<hr class="dashed" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_TYPE_TOGGLE -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="topic_type-0"><!-- IF S_EDIT_POST -->{L_CHANGE_TOPIC_TO}<!-- ELSE -->{L_POST_TOPIC_AS}<!-- ENDIF -->:</label></dt>
|
||||||
|
<dd><!-- BEGIN topic_type --><label for="topic_type-{topic_type.VALUE}"><input type="radio" name="topic_type" id="topic_type-{topic_type.VALUE}" value="{topic_type.VALUE}"{topic_type.S_CHECKED} />{topic_type.L_TOPIC_TYPE}</label> <!-- END topic_type --></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="topic_time_limit">{L_STICK_TOPIC_FOR}:</label></dt>
|
||||||
|
<dd><label for="topic_time_limit"><input type="text" name="topic_time_limit" id="topic_time_limit" size="3" maxlength="3" value="{TOPIC_TIME_LIMIT}" class="inputbox autowidth" /> {L_DAYS}</label></dd>
|
||||||
|
<dd>{L_STICK_TOPIC_FOR_EXPLAIN}</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_EDIT_REASON -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="edit_reason">{L_EDIT_REASON}:</label></dt>
|
||||||
|
<dd><input type="text" name="edit_reason" id="edit_reason" value="{EDIT_REASON}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
60
art_mobile/template/posting_layout.html
Normal file
60
art_mobile/template/posting_layout.html
Normal file
|
@ -0,0 +1,60 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
<!-- IF S_FORUM_RULES -->
|
||||||
|
<div class="block rules">
|
||||||
|
<!-- IF U_FORUM_RULES -->
|
||||||
|
<a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<h2>{L_FORUM_RULES}</h2>
|
||||||
|
{FORUM_RULES}
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<form id="postform" method="post" action="{S_POST_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<!-- IF S_DRAFT_LOADED -->
|
||||||
|
<div class="block panel">
|
||||||
|
<h3>{L_INFORMATION}</h3>
|
||||||
|
<p>{L_DRAFT_LOADED}</p>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_DRAFTS --><!-- INCLUDE drafts.html --><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_POST_REVIEW --><!-- INCLUDE posting_review.html --><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_UNGLOBALISE -->
|
||||||
|
<div class="block">
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<h2>{L_SELECT_DESTINATION_FORUM}</h2>
|
||||||
|
<p>{L_UNGLOBALISE_EXPLAIN}</p>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="to_forum_id">{L_MOVE}:</label></dt>
|
||||||
|
<dd><select id="to_forum_id" name="to_forum_id">{S_FORUM_SELECT}</select></dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt> </dt>
|
||||||
|
<dd><input class="button1" type="submit" name="post" value="{L_CONFIRM}" /> <input class="button2" type="submit" name="cancel_unglobalise" value="{L_CANCEL}" /></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_DISPLAY_PREVIEW --><!-- INCLUDE posting_preview.html --><!-- ENDIF -->
|
||||||
|
|
||||||
|
<div class="panel" id="postingbox">
|
||||||
|
<h3>{L_POST_A}</h3>
|
||||||
|
|
||||||
|
<!-- DEFINE $EXTRA_POSTING_OPTIONS = 1 -->
|
||||||
|
<!-- INCLUDE posting_editor.html -->
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_ATTACH_BOX --><!-- INCLUDE posting_attach_body.html --><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_POLL_BOX or S_POLL_DELETE --><!-- INCLUDE posting_poll_body.html --><!-- ENDIF -->
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
21
art_mobile/template/posting_pm_layout.html
Normal file
21
art_mobile/template/posting_pm_layout.html
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<!-- IF S_DRAFT_LOADED -->
|
||||||
|
<div class="block">
|
||||||
|
<h3>{L_INFORMATION}</h3>
|
||||||
|
<p>{L_DRAFT_LOADED_PM}</p>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_DRAFTS --><!-- INCLUDE drafts.html --><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_DISPLAY_PREVIEW --><!-- INCLUDE posting_preview.html --><!-- ENDIF -->
|
||||||
|
|
||||||
|
<div id="postingbox">
|
||||||
|
<!-- DEFINE $EXTRA_POSTING_OPTIONS = 1 -->
|
||||||
|
<!-- INCLUDE posting_editor.html -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_ATTACH_BOX --><!-- INCLUDE posting_attach_body.html --><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
54
art_mobile/template/posting_poll_body.html
Normal file
54
art_mobile/template/posting_poll_body.html
Normal file
|
@ -0,0 +1,54 @@
|
||||||
|
<div class="block" id="poll-panel">
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_POLL_BOX -->
|
||||||
|
<p>{L_ADD_POLL_EXPLAIN}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<!-- IF S_SHOW_POLL_BOX -->
|
||||||
|
<!-- IF S_POLL_DELETE -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="poll_delete">{L_POLL_DELETE}:</label></dt>
|
||||||
|
<dd><label for="poll_delete"><input type="checkbox" name="poll_delete" id="poll_delete"<!-- IF S_POLL_DELETE_CHECKED --> checked="checked"<!-- ENDIF --> /> </label></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="poll_title">{L_POLL_QUESTION}:</label></dt>
|
||||||
|
<dd><input type="text" name="poll_title" id="poll_title" maxlength="255" value="{POLL_TITLE}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="poll_option_text">{L_POLL_OPTIONS}:</label><br /><span>{L_POLL_OPTIONS_EXPLAIN}</span></dt>
|
||||||
|
<dd><textarea name="poll_option_text" id="poll_option_text" rows="5" cols="35" class="inputbox">{POLL_OPTIONS}</textarea></dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<hr class="dashed" />
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt><label for="poll_max_options">{L_POLL_MAX_OPTIONS}:</label></dt>
|
||||||
|
<dd><input type="text" name="poll_max_options" id="poll_max_options" size="3" maxlength="3" value="{POLL_MAX_OPTIONS}" class="inputbox autowidth" /></dd>
|
||||||
|
<dd>{L_POLL_MAX_OPTIONS_EXPLAIN}</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="poll_length">{L_POLL_FOR}:</label></dt>
|
||||||
|
<dd><label for="poll_length"><input type="text" name="poll_length" id="poll_length" size="3" maxlength="3" value="{POLL_LENGTH}" class="inputbox autowidth" /> {L_DAYS}</label></dd>
|
||||||
|
<dd>{L_POLL_FOR_EXPLAIN}</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<!-- IF S_POLL_VOTE_CHANGE -->
|
||||||
|
<hr class="dashed" />
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt><label for="poll_vote_change">{L_POLL_VOTE_CHANGE}:</label></dt>
|
||||||
|
<dd><label for="poll_vote_change"><input type="checkbox" id="poll_vote_change" name="poll_vote_change"{VOTE_CHANGE_CHECKED} /> {L_POLL_VOTE_CHANGE_EXPLAIN}</label></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- ELSEIF S_POLL_DELETE -->
|
||||||
|
<dl class="fields1">
|
||||||
|
<dt><label for="poll_delete">{L_POLL_DELETE}:</label></dt>
|
||||||
|
<dd><label for="poll_delete"><input type="checkbox" name="poll_delete" id="poll_delete"<!-- IF S_POLL_DELETE_CHECKED --> checked="checked"<!-- ENDIF --> /> </label></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</div>
|
33
art_mobile/template/posting_preview.html
Normal file
33
art_mobile/template/posting_preview.html
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
<!-- IF S_HAS_POLL_OPTIONS -->
|
||||||
|
<div class="block">
|
||||||
|
<h2>{L_PREVIEW}: {POLL_QUESTION}</h2>
|
||||||
|
<p class="author"><!-- IF L_POLL_LENGTH -->{L_POLL_LENGTH}<br /><!-- ENDIF -->{L_MAX_VOTES}</p>
|
||||||
|
<fieldset class="polls">
|
||||||
|
<!-- BEGIN poll_option -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="vote_{poll_option.POLL_OPTION_ID}">{poll_option.POLL_OPTION_CAPTION}</label></dt>
|
||||||
|
<dd style="width: auto;"><!-- IF S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- END poll_option -->
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<div class="block post">
|
||||||
|
<div class="post-header">
|
||||||
|
<h3>{PREVIEW_SUBJECT}</h3>
|
||||||
|
</div>
|
||||||
|
<div class="postbody">
|
||||||
|
{PREVIEW_MESSAGE}
|
||||||
|
<!-- IF .attachment -->
|
||||||
|
<dl class="attachbox">
|
||||||
|
<dt>{L_ATTACHMENTS}</dt>
|
||||||
|
<!-- BEGIN attachment -->
|
||||||
|
<dd>{attachment.DISPLAY_ATTACHMENT}</dd>
|
||||||
|
<!-- END attachment -->
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<hr />
|
20
art_mobile/template/quickreply_editor.html
Normal file
20
art_mobile/template/quickreply_editor.html
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<form method="post" action="{U_QR_ACTION}">
|
||||||
|
<div style="display: none" id="qr_editor_div" class="block">
|
||||||
|
<h2>{L_QUICKREPLY}</h2>
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<dl style="clear: left;">
|
||||||
|
<dt><label for="subject">{L_SUBJECT}:</label></dt>
|
||||||
|
<dd><input type="text" name="subject" id="subject" size="45" maxlength="64" tabindex="2" value="{SUBJECT}" class="inputbox autowidth" /></dd>
|
||||||
|
</dl>
|
||||||
|
<div id="message-box">
|
||||||
|
<textarea style="height: 9em;" name="message" rows="7" cols="76" tabindex="3" class="inputbox"></textarea>
|
||||||
|
</div>
|
||||||
|
</fieldset>
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
{QR_HIDDEN_FIELDS}
|
||||||
|
<input type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" class="button1" />
|
||||||
|
<input type="submit" accesskey="f" tabindex="7" name="full_editor" value="{L_FULL_EDITOR}" class="button2" />
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</form>
|
109
art_mobile/template/search_body.html
Normal file
109
art_mobile/template/search_body.html
Normal file
|
@ -0,0 +1,109 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<form method="get" action="{S_SEARCH_ACTION}">
|
||||||
|
|
||||||
|
<div class="block">
|
||||||
|
<h3>{L_SEARCH_QUERY}</h3>
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="keywords">{L_SEARCH_KEYWORDS}:</label></dt>
|
||||||
|
<dd><input type="text" class="inputbox" name="keywords" id="keywords" size="40" title="{L_SEARCH_KEYWORDS}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_SEARCH_KEYWORDS_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dd><label for="terms1"><input type="radio" name="terms" id="terms1" value="all" checked="checked" /> {L_SEARCH_ALL_TERMS}</label></dd>
|
||||||
|
<dd><label for="terms2"><input type="radio" name="terms" id="terms2" value="any" /> {L_SEARCH_ANY_TERMS}</label></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="author">{L_SEARCH_AUTHOR}:</label></dt>
|
||||||
|
<dd><input type="text" class="inputbox" name="author" id="author" size="40" title="{L_SEARCH_AUTHOR}" /></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
<p class="explain">{L_SEARCH_AUTHOR_EXPLAIN}</p>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="block">
|
||||||
|
<h3>{L_SEARCH_OPTIONS}</h3>
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="search_forum">{L_SEARCH_FORUMS}:</label></dt>
|
||||||
|
<dd><select name="fid[]" id="search_forum" multiple="multiple" size="8" title="{L_SEARCH_FORUMS}">{S_FORUM_OPTIONS}</select></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_SEARCH_FORUMS_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt><label for="search_child1">{L_SEARCH_SUBFORUMS}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="search_child1"><input type="radio" name="sc" id="search_child1" value="1" checked="checked" /> {L_YES}</label>
|
||||||
|
<label for="search_child2"><input type="radio" name="sc" id="search_child2" value="0" /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="sf1">{L_SEARCH_WITHIN}:</label></dt>
|
||||||
|
<dd><label for="sf1"><input type="radio" name="sf" id="sf1" value="all" checked="checked" /> {L_SEARCH_TITLE_MSG}</label></dd>
|
||||||
|
<dd><label for="sf2"><input type="radio" name="sf" id="sf2" value="msgonly" /> {L_SEARCH_MSG_ONLY}</label></dd>
|
||||||
|
<dd><label for="sf3"><input type="radio" name="sf" id="sf3" value="titleonly" /> {L_SEARCH_TITLE_ONLY}</label></dd>
|
||||||
|
<dd><label for="sf4"><input type="radio" name="sf" id="sf4" value="firstpost" /> {L_SEARCH_FIRST_POST}</label></dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<hr class="dashed" />
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt><label for="show_results1">{L_DISPLAY_RESULTS}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="show_results1"><input type="radio" name="sr" id="show_results1" value="posts" checked="checked" /> {L_POSTS}</label>
|
||||||
|
<label for="show_results2"><input type="radio" name="sr" id="show_results2" value="topics" /> {L_TOPICS}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="sd">{L_RESULT_SORT}:</label></dt>
|
||||||
|
<dd>{S_SELECT_SORT_KEY}
|
||||||
|
<label for="sa"><input type="radio" name="sd" id="sa" value="a" /> {L_SORT_ASCENDING}</label>
|
||||||
|
<label for="sd"><input type="radio" name="sd" id="sd" value="d" checked="checked" /> {L_SORT_DESCENDING}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_RESULT_DAYS}:</label></dt>
|
||||||
|
<dd>{S_SELECT_SORT_DAYS}</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_RETURN_FIRST}:</label></dt>
|
||||||
|
<dd><select name="ch" title="{L_RETURN_FIRST}">{S_CHARACTER_OPTIONS}</select> {L_POST_CHARACTERS}</dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{S_HIDDEN_FIELDS}
|
||||||
|
<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="submit" value="{L_SEARCH}" class="button1" />
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- IF .recentsearch -->
|
||||||
|
<table class="table1" cellspacing="1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th colspan="2">{L_RECENT_SEARCHES}</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- BEGIN recentsearch -->
|
||||||
|
<tr>
|
||||||
|
<td><a href="{recentsearch.U_KEYWORDS}">{recentsearch.KEYWORDS}</a></td>
|
||||||
|
<td class="active"><span> {recentsearch.TIME}</span></td>
|
||||||
|
</tr>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<tr>
|
||||||
|
<td colspan="2">{L_NO_RECENT_SEARCHES}</td>
|
||||||
|
</tr>
|
||||||
|
<!-- END recentsearch -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
97
art_mobile/template/search_results.html
Normal file
97
art_mobile/template/search_results.html
Normal file
|
@ -0,0 +1,97 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<!-- IF not SEARCH_TITLE -->
|
||||||
|
<p>{SEARCH_MATCHES}<!-- IF SEARCH_WORDS -->: <a href="{U_SEARCH_WORDS}">{SEARCH_WORDS}</a><!-- ENDIF --></p>
|
||||||
|
<!-- IF SEARCHED_QUERY --> <p>{L_SEARCHED_QUERY}: <strong>{SEARCHED_QUERY}</strong></p><!-- ENDIF -->
|
||||||
|
<!-- IF IGNORED_WORDS --> <p>{L_IGNORED_TERMS}: <strong>{IGNORED_WORDS}</strong></p><!-- ENDIF -->
|
||||||
|
<!-- IF SEARCH_TOPIC -->
|
||||||
|
<p><a class="{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH_TOPIC}">{L_RETURN_TO}: {SEARCH_TOPIC}</a></p>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p><a class="{S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH}" title="{L_SEARCH_ADV}">{L_RETURN_TO_SEARCH_ADV}</a></p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF SEARCH_MATCHES -->
|
||||||
|
<form method="post" action="{S_SEARCH_ACTION}">
|
||||||
|
<div class="search-box">
|
||||||
|
<!-- IF SEARCH_IN_RESULTS -->
|
||||||
|
<label for="add_keywords">{L_SEARCH_IN_RESULTS}: <input type="text" name="add_keywords" id="add_keywords" value="" class="inputbox narrow" /></label>
|
||||||
|
<input class="button2" type="submit" name="submit" value="{L_SEARCH}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_TOPICS -->
|
||||||
|
<!-- IF .searchresults -->
|
||||||
|
<div class="forums">
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN searchresults -->
|
||||||
|
<li class="row link<!-- IF searchresults.S_UNREAD_TOPIC --> row-new<!-- ENDIF --><!-- IF searchresults.PAGINATION --> has-pagination<!-- ENDIF -->" onclick="document.location.href='<!-- IF searchresults.S_UNREAD_TOPIC -->{searchresults.U_NEWEST_POST}<!-- ELSE -->{searchresults.U_VIEW_TOPIC}<!-- ENDIF -->'; return false;">
|
||||||
|
<p>
|
||||||
|
<a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a>
|
||||||
|
<!-- IF searchresults.S_UNREAD_TOPIC --><a href="{searchresults.U_NEWEST_POST}" class="newest">{L_NEW_POST}</a><!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
{L_POST_BY_AUTHOR} {searchresults.TOPIC_AUTHOR}
|
||||||
|
<!-- IF not searchresults.S_TOPIC_GLOBAL -->{L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a><!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
<p>
|
||||||
|
<span class="replies<!-- IF not searchresults.TOPIC_REPLIES --> empty<!-- ENDIF -->" title="{L_REPLIES}">{searchresults.TOPIC_REPLIES}</span>
|
||||||
|
{searchresults.LAST_POST_TIME}
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<!-- IF searchresults.PAGINATION -->
|
||||||
|
<li class="row-pagination<!-- IF searchresults.S_UNREAD_TOPIC --> row-new<!-- ENDIF -->">
|
||||||
|
{L_GOTO_PAGE}: <span class="pages">{searchresults.PAGINATION}</span>
|
||||||
|
</li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- END searchresults -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<div class="block rules">
|
||||||
|
{L_NO_SEARCH_RESULTS}
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- ELSE -->
|
||||||
|
|
||||||
|
<!-- BEGIN searchresults -->
|
||||||
|
<div class="search post block">
|
||||||
|
<!-- IF searchresults.S_IGNORE_POST -->
|
||||||
|
<div class="postbody">{searchresults.L_IGNORE_POST}</div>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<div class="post-header">
|
||||||
|
<div class="post-author gradient"><a href="javascript:void(0);">{searchresults.POST_AUTHOR}</a></div>
|
||||||
|
<h2><a href="{searchresults.U_VIEW_POST}">{searchresults.POST_SUBJECT}</a></h2>
|
||||||
|
</div>
|
||||||
|
<div class="post-time">
|
||||||
|
{searchresults.POST_DATE}
|
||||||
|
</div>
|
||||||
|
<div class="post-details" onclick="document.location.href='{searchresults.U_VIEW_POST}'; return false;">
|
||||||
|
<!-- IF searchresults.FORUM_TITLE -->
|
||||||
|
{L_FORUM}: <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a>
|
||||||
|
<br />{L_TOPIC}: <a href="{searchresults.U_VIEW_TOPIC}">{searchresults.TOPIC_TITLE}</a>
|
||||||
|
<!-- ELSE -->
|
||||||
|
{L_GLOBAL}: <a href="{searchresults.U_VIEW_TOPIC}">{searchresults.TOPIC_TITLE}</a>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<br /><span class="replies" title="{L_REPLIES}">{searchresults.TOPIC_REPLIES}</span>
|
||||||
|
<span class="replies" title="{L_VIEWS}">{searchresults.TOPIC_VIEWS}</span>
|
||||||
|
</div>
|
||||||
|
<div class="postbody">
|
||||||
|
{searchresults.MESSAGE}
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</div>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<div class="block">
|
||||||
|
{L_NO_SEARCH_RESULTS}
|
||||||
|
</div>
|
||||||
|
<!-- END searchresults -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE jumpbox.html -->
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
9
art_mobile/template/simple_footer.html
Normal file
9
art_mobile/template/simple_footer.html
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="copyright">{CREDIT_LINE}
|
||||||
|
<!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF -->
|
||||||
|
<!-- IF DEBUG_OUTPUT --><br />{DEBUG_OUTPUT}<!-- ENDIF -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</body>
|
||||||
|
</html>
|
20
art_mobile/template/simple_header.html
Normal file
20
art_mobile/template/simple_header.html
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}" class="nojs">
|
||||||
|
<head>
|
||||||
|
|
||||||
|
<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" />
|
||||||
|
<meta http-equiv="content-language" content="{S_USER_LANG}" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0"/>
|
||||||
|
{META}
|
||||||
|
<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title>
|
||||||
|
|
||||||
|
<link href="{T_THEME_PATH}/style.css" rel="stylesheet" type="text/css" />
|
||||||
|
|
||||||
|
<!-- DEFINE $POPUP = 1 -->
|
||||||
|
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body id="phpbb" class="simple {S_CONTENT_DIRECTION}">
|
||||||
|
<a id="top" name="top" accesskey="t"></a>
|
||||||
|
|
||||||
|
<div id="page-body">
|
27
art_mobile/template/template.cfg
Normal file
27
art_mobile/template/template.cfg
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
#
|
||||||
|
# phpBB Template Configuration File
|
||||||
|
#
|
||||||
|
# @package phpBB3
|
||||||
|
# @copyright (c) 2006 phpBB Group
|
||||||
|
# @license http://opensource.org/licenses/gpl-license.php GNU Public License
|
||||||
|
#
|
||||||
|
#
|
||||||
|
# At the left is the name, please do not change this
|
||||||
|
# At the right the value is entered
|
||||||
|
# For on/off options the valid values are on, off, 1, 0, true and false
|
||||||
|
#
|
||||||
|
# Values get trimmed, if you want to add a space in front or at the end of
|
||||||
|
# the value, then enclose the value with single or double quotes.
|
||||||
|
# Single and double quotes do not need to be escaped.
|
||||||
|
#
|
||||||
|
#
|
||||||
|
|
||||||
|
# General Information about this template
|
||||||
|
name = Artodia: Mobile and SEO
|
||||||
|
copyright = © Artodia.com
|
||||||
|
version = 3.5
|
||||||
|
|
||||||
|
# Defining a different template bitfield
|
||||||
|
template_bitfield = lNg=
|
||||||
|
|
||||||
|
inherit_from = prosilver
|
58
art_mobile/template/ucp_agreement.html
Normal file
58
art_mobile/template/ucp_agreement.html
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_COPPA or S_REGISTRATION -->
|
||||||
|
|
||||||
|
<!-- IF S_LANG_OPTIONS -->
|
||||||
|
<script type="text/javascript">
|
||||||
|
// <![CDATA[
|
||||||
|
/**
|
||||||
|
* Change language
|
||||||
|
*/
|
||||||
|
function change_language(lang_iso)
|
||||||
|
{
|
||||||
|
document.forms['register'].change_lang.value = lang_iso;
|
||||||
|
document.forms['register'].submit();
|
||||||
|
}
|
||||||
|
|
||||||
|
// ]]>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<form method="post" action="{S_UCP_ACTION}" id="register">
|
||||||
|
<p class="float-right">
|
||||||
|
<label for="lang">{L_LANGUAGE}:</label><select name="lang" id="lang" onchange="change_language(this.value); return false;" title="{L_LANGUAGE}">{S_LANG_OPTIONS}</select>
|
||||||
|
{S_HIDDEN_FIELDS}
|
||||||
|
</p>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<div class="clear"></div>
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<form method="post" action="{S_UCP_ACTION}" id="agreement">
|
||||||
|
|
||||||
|
<h2>{SITENAME} - {L_REGISTRATION}</h2>
|
||||||
|
<p><!-- IF S_SHOW_COPPA -->{L_COPPA_BIRTHDAY}<!-- ELSE -->{L_TERMS_OF_USE}<!-- ENDIF --></p>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
<!-- IF S_SHOW_COPPA -->
|
||||||
|
<strong><a href="{U_COPPA_NO}" class="button1">{L_COPPA_NO}</a></strong> <a href="{U_COPPA_YES}" class="button2">{L_COPPA_YES}</a>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<input type="submit" name="agreed" id="agreed" value="{L_AGREE}" class="button1" />
|
||||||
|
<input type="submit" name="not_agreed" value="{L_NOT_AGREE}" class="button2" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
{S_HIDDEN_FIELDS}
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- ELSEIF S_AGREEMENT -->
|
||||||
|
|
||||||
|
<h2>{SITENAME} - {AGREEMENT_TITLE}</h2>
|
||||||
|
<p>{AGREEMENT_TEXT}</p>
|
||||||
|
<hr class="dashed" />
|
||||||
|
<p><a href="{U_BACK}" class="button2">{L_BACK}</a></p>
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
30
art_mobile/template/ucp_attachments.html
Normal file
30
art_mobile/template/ucp_attachments.html
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<h2>{L_TITLE}</h2>
|
||||||
|
|
||||||
|
<p>{L_ATTACHMENTS_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF .attachrow -->
|
||||||
|
<div class="forums">
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
<!-- BEGIN attachrow -->
|
||||||
|
<li class="row">
|
||||||
|
<p><input type="checkbox" name="attachment[{attachrow.ATTACH_ID}]" value="1" /> <a href="{attachrow.U_VIEW_ATTACHMENT}" class="topictitle">{attachrow.FILENAME}</a> ({attachrow.SIZE})</p>
|
||||||
|
<p><!-- IF attachrow.S_IN_MESSAGE -->{L_PM}: <!-- ELSE -->{L_TOPIC}: <!-- ENDIF --><a href="{attachrow.U_VIEW_TOPIC}">{attachrow.TOPIC_TITLE}</a></p>
|
||||||
|
<p><span class="replies<!-- IF not attachrow.DOWNLOAD_COUNT --> empty<!-- ENDIF -->" title="{L_DOWNLOADS}">{attachrow.DOWNLOAD_COUNT}</span> {attachrow.POST_TIME}</p>
|
||||||
|
</li>
|
||||||
|
<!-- END attachrow -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
<input class="button2" type="submit" name="delete" value="{L_DELETE_MARKED}" />
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p class="block">{L_UCP_NO_ATTACHMENTS}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
67
art_mobile/template/ucp_avatar_options.html
Normal file
67
art_mobile/template/ucp_avatar_options.html
Normal file
|
@ -0,0 +1,67 @@
|
||||||
|
|
||||||
|
<!-- IF not S_AVATARS_ENABLED -->
|
||||||
|
<p class="block">{L_AVATAR_FEATURES_DISABLED}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_CURRENT_IMAGE}:</label></dt>
|
||||||
|
<dd><!-- IF AVATAR -->{AVATAR}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF --><br />
|
||||||
|
<label for="delete"><input type="checkbox" name="delete" id="delete" /> {L_DELETE_AVATAR}</label></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_AVATAR_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF S_UPLOAD_AVATAR_FILE -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="uploadfile">{L_UPLOAD_AVATAR_FILE}:</label></dt>
|
||||||
|
<dd><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_SIZE}" /><input type="file" name="uploadfile" id="uploadfile" class="inputbox autowidth" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_UPLOAD_AVATAR_URL -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="uploadurl">{L_UPLOAD_AVATAR_URL}:</label></dt>
|
||||||
|
<dd><input type="text" name="uploadurl" id="uploadurl" value="{AVATAR_URL}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_UPLOAD_AVATAR_URL_EXPLAIN}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_LINK_AVATAR -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="remotelink">{L_LINK_REMOTE_AVATAR}:</label></dt>
|
||||||
|
<dd><input type="text" name="remotelink" id="remotelink" value="{AVATAR_REMOTE}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_LINK_REMOTE_AVATAR_EXPLAIN}</p>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="width">{L_LINK_REMOTE_SIZE}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="width"><input type="text" name="width" id="width" size="3" style="width: 20px;" value="{AVATAR_WIDTH}" class="inputbox autowidth" /> {L_PIXEL}</label> ×
|
||||||
|
<label for="height"><input type="text" name="height" id="height" size="3" style="width: 20px;" value="{AVATAR_HEIGHT}" class="inputbox autowidth" /> {L_PIXEL}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_LINK_REMOTE_SIZE_EXPLAIN}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<!-- IF S_IN_AVATAR_GALLERY -->
|
||||||
|
|
||||||
|
<h3>{L_AVATAR_GALLERY}</h3>
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<label for="category">{L_AVATAR_CATEGORY}: <select name="category" id="category">{S_CAT_OPTIONS}</select></label>
|
||||||
|
<input type="submit" value="{L_GO}" name="display_gallery" class="button2" />
|
||||||
|
<input type="submit" name="cancel" value="{L_CANCEL}" class="button2" />
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<div id="gallery">
|
||||||
|
<!-- BEGIN avatar_row --><!-- BEGIN avatar_column -->
|
||||||
|
<p style="text-align: center; float: left;">
|
||||||
|
<label for="av-{avatar_row.S_ROW_COUNT}-{avatar_row.avatar_column.S_ROW_COUNT}"><img src="{avatar_row.avatar_column.AVATAR_IMAGE}" alt="" /><br />
|
||||||
|
<input type="radio" name="avatar_select" id="av-{avatar_row.S_ROW_COUNT}-{avatar_row.avatar_column.S_ROW_COUNT}" value="{avatar_row.avatar_column.AVATAR_FILE}" /></label>
|
||||||
|
</p>
|
||||||
|
<!-- END avatar_column --><!-- END avatar_row -->
|
||||||
|
<div class="clear"></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
9
art_mobile/template/ucp_footer.html
Normal file
9
art_mobile/template/ucp_footer.html
Normal file
|
@ -0,0 +1,9 @@
|
||||||
|
|
||||||
|
<!-- IF S_COMPOSE_PM -->
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</form>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE jumpbox.html -->
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
207
art_mobile/template/ucp_groups_manage.html
Normal file
207
art_mobile/template/ucp_groups_manage.html
Normal file
|
@ -0,0 +1,207 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<h2<!-- IF GROUP_COLOR --> style="color:#{GROUP_COLOR};"<!-- ENDIF -->>{L_USERGROUPS}<!-- IF GROUP_NAME --> :: {GROUP_NAME}<!-- ENDIF --></h2>
|
||||||
|
|
||||||
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<!-- IF S_ERROR -->
|
||||||
|
<fieldset>
|
||||||
|
<p class="error">{ERROR_MSG}</p>
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<p>{L_GROUPS_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF S_EDIT -->
|
||||||
|
<h3>{L_GROUP_DETAILS}</h3>
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="group_name">{L_GROUP_NAME}:</label></dt>
|
||||||
|
<dd><!-- IF S_SPECIAL_GROUP --><strong<!-- IF GROUP_COLOUR --> style="color: #{GROUP_COLOUR};"<!-- ENDIF -->>{GROUP_NAME}</strong> <input name="group_name" type="hidden" value="{GROUP_INTERNAL_NAME}" />
|
||||||
|
<!-- ELSE --><input name="group_name" type="text" id="group_name" value="{GROUP_INTERNAL_NAME}" class="inputbox" /><!-- ENDIF --></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="group_desc">{L_GROUP_DESC}:</label></dt>
|
||||||
|
<dd><textarea id="group_desc" name="group_desc" rows="5" cols="45" class="inputbox">{GROUP_DESC}</textarea></dd>
|
||||||
|
<dd><label for="desc_parse_bbcode"><input type="checkbox" class="radio" name="desc_parse_bbcode" id="desc_parse_bbcode"<!-- IF S_DESC_BBCODE_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_BBCODE}</label> <label for="desc_parse_smilies"><input type="checkbox" class="radio" name="desc_parse_smilies" id="desc_parse_smilies"<!-- IF S_DESC_SMILIES_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_SMILIES}</label> <label for="desc_parse_urls"><input type="checkbox" class="radio" name="desc_parse_urls" id="desc_parse_urls"<!-- IF S_DESC_URLS_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_URLS}</label></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF not S_SPECIAL_GROUP -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="group_type1">{L_GROUP_TYPE}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="group_type1"><input type="radio" class="radio" name="group_type" id="group_type1" value="{GROUP_TYPE_FREE}"{GROUP_FREE} /> {L_GROUP_OPEN}</label>
|
||||||
|
<label for="group_type2"><input type="radio" class="radio" name="group_type" id="group_type2" value="{GROUP_TYPE_OPEN}"{GROUP_OPEN} /> {L_GROUP_REQUEST}</label>
|
||||||
|
<label for="group_type3"><input type="radio" class="radio" name="group_type" id="group_type3" value="{GROUP_TYPE_CLOSED}"{GROUP_CLOSED} /> {L_GROUP_CLOSED}</label>
|
||||||
|
<label for="group_type4"><input type="radio" class="radio" name="group_type" id="group_type4" value="{GROUP_TYPE_HIDDEN}"{GROUP_HIDDEN} /> {L_GROUP_HIDDEN}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_GROUP_TYPE_EXPLAIN}</p>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<input name="group_type" type="hidden" value="{GROUP_TYPE_SPECIAL}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
|
||||||
|
<h3>{L_GROUP_SETTINGS_SAVE}</h3>
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="group_colour">{L_GROUP_COLOR}:</label></dt>
|
||||||
|
<dd><input name="group_colour" type="text" id="group_colour" value="{GROUP_COLOUR}" size="6" maxlength="6" class="inputbox narrow" style="width: 50px" /> <span style="background-color: {GROUP_COLOUR};"> </span></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_GROUP_COLOR_EXPLAIN}</p>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="group_rank">{L_GROUP_RANK}:</label></dt>
|
||||||
|
<dd><select name="group_rank" id="group_rank">{S_RANK_OPTIONS}</select></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_avatar_options.html -->
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}
|
||||||
|
<!-- IF S_DISPLAY_GALLERY --><input type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" class="button2" /> <!-- ENDIF -->
|
||||||
|
<!-- IF S_IN_AVATAR_GALLERY --><input type="submit" name="cancel" value="{L_CANCEL}" class="button2" /> <!-- ELSE -->
|
||||||
|
<input type="reset" value="{L_RESET}" name="reset" class="button2" /> <!-- ENDIF -->
|
||||||
|
<input type="submit" name="update" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<!-- ELSEIF S_LIST -->
|
||||||
|
|
||||||
|
<!-- IF .leader -->
|
||||||
|
<table class="table1" cellspacing="1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="name">{L_GROUP_LEAD}</th>
|
||||||
|
<th class="info">{L_GROUP_DEFAULT}</th>
|
||||||
|
<th class="posts">{L_POSTS}</th>
|
||||||
|
<th class="joined">{L_JOINED}</th>
|
||||||
|
<th class="mark">{L_MARK}</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- BEGIN leader -->
|
||||||
|
<tr class="<!-- IF leader.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||||
|
<td class="name">{leader.USERNAME_FULL}</td>
|
||||||
|
<td><!-- IF leader.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
|
||||||
|
<td class="posts">{leader.USER_POSTS}</td>
|
||||||
|
<td class="joined">{leader.JOINED}</td>
|
||||||
|
<td class="mark"> </td>
|
||||||
|
</tr>
|
||||||
|
<!-- END leader -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- BEGIN member -->
|
||||||
|
<!-- IF member.S_PENDING -->
|
||||||
|
<table class="table1" cellspacing="1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="name">{L_GROUP_PENDING}</th>
|
||||||
|
<th class="info">{L_GROUP_DEFAULT}</th>
|
||||||
|
<th class="posts">{L_POSTS}</th>
|
||||||
|
<th class="joined">{L_JOINED}</th>
|
||||||
|
<th class="mark">{L_MARK}</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- ELSEIF member.S_APPROVED -->
|
||||||
|
<!-- IF S_PENDING_SET -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<table class="table1" cellspacing="1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="name">{L_GROUP_APPROVED}</th>
|
||||||
|
<th class="info">{L_GROUP_DEFAULT}</th>
|
||||||
|
<th class="posts">{L_POSTS}</th>
|
||||||
|
<th class="joined">{L_JOINED}</th>
|
||||||
|
<th class="mark">{L_MARK}</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<tr class="<!-- IF member.S_ROW_COUNT is even -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||||
|
<td class="name">{member.USERNAME_FULL}</td>
|
||||||
|
<td><!-- IF member.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td>
|
||||||
|
<td class="posts">{member.USER_POSTS}</td>
|
||||||
|
<td class="joined">{member.JOINED}</td>
|
||||||
|
<td class="mark"><input type="checkbox" name="mark[]" value="{member.USER_ID}" /></td>
|
||||||
|
</tr>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<table class="table1" cellspacing="1">
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th class="name">{L_MEMBERS}</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
<tr>
|
||||||
|
<td class="bg1">{L_GROUPS_NO_MEMBERS}</td>
|
||||||
|
</tr>
|
||||||
|
<!-- END member -->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
|
||||||
|
|
||||||
|
<fieldset class="display-actions">
|
||||||
|
<select name="action"><option value="">{L_SELECT_OPTION}</option>{S_ACTION_OPTIONS}</select>
|
||||||
|
<input class="button2" type="submit" name="update" value="{L_SUBMIT}" />
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<h3>{L_ADD_USERS}</h3>
|
||||||
|
|
||||||
|
<p>{L_ADD_USERS_UCP_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="default0">{L_USER_GROUP_DEFAULT}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="default1"><input type="radio" name="default" id="default1" value="1" /> {L_YES}</label>
|
||||||
|
<label for="default0"><input type="radio" name="default" id="default0" value="0" checked="checked" /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_USER_GROUP_DEFAULT_EXPLAIN}</p>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="usernames">{L_USERNAME}:</label></dt>
|
||||||
|
<dd><textarea name="usernames" id="usernames" rows="3" cols="30" class="inputbox"></textarea></dd>
|
||||||
|
<dd><strong><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></strong></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_USERNAMES_EXPLAIN}</p>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
<input class="button1" type="submit" name="addusers" value="{L_SUBMIT}" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<!-- ELSE -->
|
||||||
|
|
||||||
|
<!-- IF .leader -->
|
||||||
|
<div class="forums">
|
||||||
|
<p class="header gradient">{L_GROUP_LEADER}</p>
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN leader -->
|
||||||
|
<li class="row">
|
||||||
|
<p><a href="{leader.U_EDIT}" class="topictitle"<!-- IF leader.GROUP_COLOUR --> style="color: #{leader.GROUP_COLOUR};"<!-- ENDIF -->>{leader.GROUP_NAME}</a></p>
|
||||||
|
<!-- IF leader.GROUP_DESC --><p>{leader.GROUP_DESC}</p><!-- ENDIF -->
|
||||||
|
<p><a href="{leader.U_EDIT}" class="button2">{L_EDIT}</a> <a href="{leader.U_LIST}" class="button2">{L_GROUP_LIST}</a></p>
|
||||||
|
</li>
|
||||||
|
<!-- END leader -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p class="block">{L_NO_LEADERS}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
114
art_mobile/template/ucp_groups_membership.html
Normal file
114
art_mobile/template/ucp_groups_membership.html
Normal file
|
@ -0,0 +1,114 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<p>{L_GROUPS_EXPLAIN}</p>
|
||||||
|
<!-- DEFINE $SHOW_BUTTONS = 0 -->
|
||||||
|
<!-- IF .leader -->
|
||||||
|
<div class="forums">
|
||||||
|
<p class="header gradient">{L_GROUP_LEADER}</p>
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN leader -->
|
||||||
|
<!-- IF not leader.GROUP_SPECIAL -->
|
||||||
|
<!-- DEFINE $SHOW_BUTTONS = 1 -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<li class="row">
|
||||||
|
<p><a href="{leader.U_VIEW_GROUP}" class="forumtitle"<!-- IF leader.GROUP_COLOUR --> style="color:#{leader.GROUP_COLOUR}"<!-- ENDIF -->>{leader.GROUP_NAME}</a></p>
|
||||||
|
<!-- IF not leader.GROUP_SPECIAL --><p><label><input type="radio" name="selected" value="{leader.GROUP_ID}" /> {L_SELECT}</label></p><!-- ENDIF -->
|
||||||
|
<!-- IF S_CHANGE_DEFAULT --><p><label><input title="{L_CHANGE_DEFAULT_GROUP}" type="radio" name="default"<!-- IF leader.S_GROUP_DEFAULT --> checked="checked"<!-- ENDIF --> value="{leader.GROUP_ID}" /> {L_CHANGE_DEFAULT_GROUP}</label></p><!-- ENDIF -->
|
||||||
|
<!-- IF leader.GROUP_DESC --><p>{leader.GROUP_DESC}</p><!-- ENDIF -->
|
||||||
|
<!-- IF not leader.GROUP_SPECIAL --><p><i>{leader.GROUP_STATUS}</i></p><!-- ENDIF -->
|
||||||
|
</li>
|
||||||
|
<!-- END leader -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .member -->
|
||||||
|
<div class="forums">
|
||||||
|
<p class="header gradient">{L_GROUP_MEMBER}</p>
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN member -->
|
||||||
|
<!-- IF not member.GROUP_SPECIAL -->
|
||||||
|
<!-- DEFINE $SHOW_BUTTONS = 1 -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<li class="row">
|
||||||
|
<p><a href="{member.U_VIEW_GROUP}" class="forumtitle"<!-- IF member.GROUP_COLOUR --> style="color:#{member.GROUP_COLOUR}"<!-- ENDIF -->>{member.GROUP_NAME}</a>
|
||||||
|
</p>
|
||||||
|
<!-- IF not member.GROUP_SPECIAL --><p><label><input type="radio" name="selected" value="{member.GROUP_ID}" /> {L_SELECT}</label></p><!-- ENDIF -->
|
||||||
|
<!-- IF S_CHANGE_DEFAULT --><p><label><input type="radio" name="default"<!-- IF member.S_GROUP_DEFAULT --> checked="checked"<!-- ENDIF --> value="{member.GROUP_ID}" /> {L_CHANGE_DEFAULT_GROUP}</label></p><!-- ENDIF -->
|
||||||
|
<!-- IF member.GROUP_DESC --><p>{member.GROUP_DESC}</p><!-- ENDIF -->
|
||||||
|
<!-- IF not member.GROUP_SPECIAL --><p><i>{member.GROUP_STATUS}</p><!-- ENDIF -->
|
||||||
|
</li>
|
||||||
|
<!-- END member -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .pending -->
|
||||||
|
<div class="forums">
|
||||||
|
<p class="header gradient">{L_GROUP_PENDING}</p>
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN pending -->
|
||||||
|
<!-- IF not pending.GROUP_SPECIAL -->
|
||||||
|
<!-- DEFINE $SHOW_BUTTONS = 1 -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<li class="row">
|
||||||
|
<p><a href="{pending.U_VIEW_GROUP}" class="forumtitle"<!-- IF pending.GROUP_COLOUR --> style="color:#{pending.GROUP_COLOUR}"<!-- ENDIF -->>{pending.GROUP_NAME}</a></p>
|
||||||
|
<!-- IF not pending.GROUP_SPECIAL --><p><label><input type="radio" name="selected" value="{pending.GROUP_ID}" /> {L_SELECT}</label></p><!-- ENDIF -->
|
||||||
|
<!-- IF pending.GROUP_DESC --><p>{pending.GROUP_DESC}</p><!-- ENDIF -->
|
||||||
|
<!-- IF not pending.GROUP_SPECIAL --><p><i>{pending.GROUP_STATUS}</i></p><!-- ENDIF -->
|
||||||
|
</li>
|
||||||
|
<!-- END pending -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF .nonmember -->
|
||||||
|
<div class="forums">
|
||||||
|
<p class="header gradient">{L_GROUP_NONMEMBER}</p>
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN nonmember -->
|
||||||
|
<!-- IF nonmember.S_CAN_JOIN -->
|
||||||
|
<!-- DEFINE $SHOW_BUTTONS = 1 -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<li class="row">
|
||||||
|
<p><a href="{nonmember.U_VIEW_GROUP}" class="forumtitle"<!-- IF nonmember.GROUP_COLOUR --> style="color:#{nonmember.GROUP_COLOUR}"<!-- ENDIF -->>{nonmember.GROUP_NAME}</a></p>
|
||||||
|
<!-- IF nonmember.S_CAN_JOIN --><p><label><input type="radio" name="selected" value="{nonmember.GROUP_ID}" /></label></p><!-- ENDIF -->
|
||||||
|
<!-- IF nonmember.GROUP_DESC --><p>{nonmember.GROUP_DESC}</p><!-- ENDIF -->
|
||||||
|
<!-- IF not nonmember.GROUP_SPECIAL --><p><i>{nonmember.GROUP_STATUS}</i></p><!-- ENDIF -->
|
||||||
|
</li>
|
||||||
|
<!-- END nonmember -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- IF S_CHANGE_DEFAULT or $SHOW_BUTTONS eq 1 -->
|
||||||
|
<fieldset>
|
||||||
|
<!-- IF S_CHANGE_DEFAULT -->
|
||||||
|
<input class="button2" type="submit" name="change_default" value="{L_CHANGE_DEFAULT_GROUP}" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF $SHOW_BUTTONS eq 1 -->
|
||||||
|
<div class="right-box">
|
||||||
|
<label for="action">{L_SELECT}:</label>
|
||||||
|
<select name="action" id="action">
|
||||||
|
<option value="join">{L_JOIN_SELECTED}</option>
|
||||||
|
<option value="resign">{L_RESIGN_SELECTED}</option>
|
||||||
|
<option value="demote">{L_DEMOTE_SELECTED}</option>
|
||||||
|
</select>
|
||||||
|
<input class="button2" type="submit" name="submit" value="{L_SUBMIT}" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
43
art_mobile/template/ucp_header.html
Normal file
43
art_mobile/template/ucp_header.html
Normal file
|
@ -0,0 +1,43 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<!-- IF S_COMPOSE_PM -->
|
||||||
|
<form id="postform" method="post" action="{S_POST_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<div class="tabs-container">
|
||||||
|
<div class="tabs-list gradient link">
|
||||||
|
<a href="javascript:void(0);" class="link">
|
||||||
|
<!-- BEGIN t_block1 -->
|
||||||
|
<!-- IF t_block1.S_SELECTED -->{t_block1.L_TITLE}<!-- ENDIF -->
|
||||||
|
<!-- END t_block1 -->
|
||||||
|
</a>
|
||||||
|
<ul class="sub">
|
||||||
|
<!-- BEGIN t_block1 -->
|
||||||
|
<li <!-- IF t_block1.S_SELECTED -->class="activetab"<!-- ENDIF -->><a href="{t_block1.U_TITLE}">{t_block1.L_TITLE}</a></li>
|
||||||
|
<!-- END t_block1 -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="tabs-list gradient link">
|
||||||
|
<a href="javascript:void(0);" class="link">
|
||||||
|
<!-- BEGIN t_block2 -->
|
||||||
|
<!-- IF t_block2.S_SELECTED --><!-- DEFINE $S_FOUND_BLOCK2 = 1 -->{t_block2.L_TITLE}<!-- ENDIF -->
|
||||||
|
<!-- END t_block2 -->
|
||||||
|
<!-- IF not $S_FOUND_BLOCK2 and S_PRIVMSGS -->
|
||||||
|
<!-- BEGIN folder -->
|
||||||
|
<!-- IF folder.S_CUR_FOLDER -->{folder.FOLDER_NAME}<!-- ENDIF -->
|
||||||
|
<!-- END folder -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</a>
|
||||||
|
<ul class="sub">
|
||||||
|
<!-- BEGIN t_block2 -->
|
||||||
|
<li <!-- IF t_block2.S_SELECTED -->class="activetab"<!-- ENDIF -->><a href="{t_block2.U_TITLE}">{t_block2.L_TITLE}</a></li>
|
||||||
|
<!-- END t_block2 -->
|
||||||
|
<!-- IF S_PRIVMSGS and .folder -->
|
||||||
|
<!-- BEGIN folder -->
|
||||||
|
<li><a href="{folder.U_FOLDER}"<!-- IF folder.S_CUR_FOLDER --> class="activetab"<!-- ENDIF -->><!-- IF folder.UNREAD_MESSAGES > 0 -->{folder.FOLDER_NAME} ({folder.UNREAD_MESSAGES})<!-- ELSE -->{folder.FOLDER_NAME}<!-- ENDIF --></a></li>
|
||||||
|
<!-- END folder -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
42
art_mobile/template/ucp_main_bookmarks.html
Normal file
42
art_mobile/template/ucp_main_bookmarks.html
Normal file
|
@ -0,0 +1,42 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<p>{L_BOOKMARKS_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF S_NO_DISPLAY_BOOKMARKS -->
|
||||||
|
<p class="rules">{L_BOOKMARKS_DISABLED}</p>
|
||||||
|
<!-- ELSE -->
|
||||||
|
|
||||||
|
<!-- IF .topicrow -->
|
||||||
|
<div class="forums">
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN topicrow -->
|
||||||
|
<!-- IF topicrow.S_DELETED_TOPIC -->
|
||||||
|
<li class="row">
|
||||||
|
<p><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /> {L_DELETED_TOPIC}</p>
|
||||||
|
</li>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<li class="row<!-- IF topicrow.S_UNREAD_TOPIC --> row-new<!-- ENDIF -->">
|
||||||
|
<p><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" />
|
||||||
|
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||||
|
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="newest">{L_NEW_POST}</a><!-- ENDIF -->
|
||||||
|
<!-- IF topicrow.PAGINATION --><span class="pages">{topicrow.PAGINATION}</span><!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
<p>{L_LAST_POST}: {topicrow.LAST_POST_TIME}</p>
|
||||||
|
</li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- END topicrow -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<input type="submit" name="unbookmark" value="{L_REMOVE_BOOKMARK_MARKED}" class="button2" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p class="block">{L_NO_BOOKMARKS}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
47
art_mobile/template/ucp_main_drafts.html
Normal file
47
art_mobile/template/ucp_main_drafts.html
Normal file
|
@ -0,0 +1,47 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="postform" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<p>{L_DRAFTS_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF S_EDIT_DRAFT -->
|
||||||
|
|
||||||
|
<!-- INCLUDE posting_editor.html -->
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="submit" value="{L_SAVE}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<!-- ELSE -->
|
||||||
|
|
||||||
|
<!-- IF .draftrow -->
|
||||||
|
<div class="forums">
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN draftrow -->
|
||||||
|
<li class="row">
|
||||||
|
<p><a class="topictitle" href="{draftrow.U_VIEW_EDIT}">{draftrow.DRAFT_SUBJECT}</a></p>
|
||||||
|
<p>
|
||||||
|
<!-- IF draftrow.S_LINK_TOPIC -->{L_TOPIC}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a><br />
|
||||||
|
<!-- ELSEIF draftrow.S_LINK_FORUM -->{L_FORUM}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a><br />
|
||||||
|
<!-- ELSEIF S_PRIVMSGS -->
|
||||||
|
<!-- ELSE -->{L_NO_TOPIC_FORUM}<br /><!-- ENDIF -->
|
||||||
|
{draftrow.DATE}</p>
|
||||||
|
<p>
|
||||||
|
<!-- IF draftrow.U_INSERT --><a href="{draftrow.U_INSERT}" class="gradient button1">{L_LOAD_DRAFT}</a> <!-- ENDIF --><a href="{draftrow.U_VIEW_EDIT}" class="gradient button1">{L_VIEW_EDIT}</a>
|
||||||
|
</p>
|
||||||
|
</li>
|
||||||
|
<!-- END draftrow -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p class="block">{L_NO_SAVED_DRAFTS}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
34
art_mobile/template/ucp_main_front.html
Normal file
34
art_mobile/template/ucp_main_front.html
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<p>{L_UCP_WELCOME}</p>
|
||||||
|
|
||||||
|
<!-- IF .topicrow -->
|
||||||
|
<h3>{L_IMPORTANT_NEWS}</h3>
|
||||||
|
|
||||||
|
<div class="forums">
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
<!-- BEGIN topicrow -->
|
||||||
|
<li class="row link<!-- IF topicrow.S_UNREAD --> row-new<!-- ENDIF -->" onclick="document.location.href='<!-- IF topicrow.S_UNREAD -->{topicrow.U_NEWEST_POST}<!-- ELSE -->{topicrow.U_VIEW_TOPIC}<!-- ENDIF -->';">
|
||||||
|
<p><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||||
|
<!-- IF topicrow.S_UNREAD --><a href="{topicrow.U_NEWEST_POST}" class="newest">{L_NEW_POST}</a><!-- ENDIF -->
|
||||||
|
<!-- IF topicrow.PAGINATION --><span class="pages">{topicrow.PAGINATION}</span><!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
<p>{topicrow.LAST_POST_TIME}</p>
|
||||||
|
</li>
|
||||||
|
<!-- END topicrow -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<h3>{L_YOUR_DETAILS}</h3>
|
||||||
|
|
||||||
|
<dl class="details">
|
||||||
|
<dt>{L_JOINED}:</dt> <dd>{JOINED}</dd>
|
||||||
|
<dt>{L_VISITED}:</dt> <dd>{LAST_VISIT_YOU}</dd>
|
||||||
|
<dt>{L_TOTAL_POSTS}:</dt> <dd><!-- IF POSTS_PCT -->{POSTS}<!-- IF S_DISPLAY_SEARCH --> | <strong><a href="{U_SEARCH_USER}">{L_SEARCH_YOUR_POSTS}</a></strong><!-- ENDIF --><br />({POSTS_DAY} / {POSTS_PCT})<!-- ELSE -->{POSTS}<!-- ENDIF --></dd>
|
||||||
|
<!-- IF ACTIVE_FORUM != '' --><dt>{L_ACTIVE_IN_FORUM}:</dt> <dd><strong><a href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></strong><br />({ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT})</dd><!-- ENDIF -->
|
||||||
|
<!-- IF ACTIVE_TOPIC != '' --><dt>{L_ACTIVE_IN_TOPIC}:</dt> <dd><strong><a href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></strong><br />({ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT})</dd><!-- ENDIF -->
|
||||||
|
<!-- IF WARNINGS --><dt>{L_YOUR_WARNINGS}:</dt> <dd class="error">{WARNING_IMG} [{WARNINGS}]</dd><!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
52
art_mobile/template/ucp_main_subscribed.html
Normal file
52
art_mobile/template/ucp_main_subscribed.html
Normal file
|
@ -0,0 +1,52 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<p>{L_WATCHED_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF .forumrow -->
|
||||||
|
<div class="forums">
|
||||||
|
<p class="header gradient">{L_WATCHED_FORUMS}</p>
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN forumrow -->
|
||||||
|
<li class="row">
|
||||||
|
<p><input type="checkbox" name="f[{forumrow.FORUM_ID}]" id="f{forumrow.FORUM_ID}" /> <a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a></p>
|
||||||
|
<!-- IF forumrow.LAST_POST_TIME -->
|
||||||
|
<p>{L_LAST_POST}: <a href="{topicrow.U_LAST_POST}">{forumrow.LAST_POST_TIME}</a></p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</li>
|
||||||
|
<!-- END forumrow -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ELSEIF S_FORUM_NOTIFY -->
|
||||||
|
<p class="block">{L_NO_WATCHED_FORUMS}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .topicrow -->
|
||||||
|
<div class="forums">
|
||||||
|
<p class="header gradient">{L_WATCHED_TOPICS}</p>
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
|
||||||
|
<!-- BEGIN topicrow -->
|
||||||
|
<li class="row">
|
||||||
|
<p><input type="checkbox" name="t[{topicrow.TOPIC_ID}]" id="t{topicrow.TOPIC_ID}" /> <a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||||
|
<!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}" class="newest">{L_NEW_POST}</a><!-- ENDIF -->
|
||||||
|
<!-- IF topicrow.PAGINATION --><span class="pages">{topicrow.PAGINATION}</span><!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
<p>{L_LAST_POST}: <a href="{topicrow.U_LAST_POST}">{topicrow.LAST_POST_TIME}</a></p>
|
||||||
|
</li>
|
||||||
|
<!-- END topicrow -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ELSEIF S_TOPIC_NOTIFY -->
|
||||||
|
<p class="block">{L_NO_WATCHED_TOPICS}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .topicrow or .forumrow -->
|
||||||
|
<input type="submit" name="unwatch" value="{L_UNWATCH_MARKED}" class="button2" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
2
art_mobile/template/ucp_pm_message_footer.html
Normal file
2
art_mobile/template/ucp_pm_message_footer.html
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</form>
|
25
art_mobile/template/ucp_pm_message_header.html
Normal file
25
art_mobile/template/ucp_pm_message_header.html
Normal file
|
@ -0,0 +1,25 @@
|
||||||
|
<!-- IF FOLDER_STATUS and FOLDER_MAX_MESSAGES neq 0 --><p class="block">{FOLDER_STATUS}</p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF U_POST_REPLY_PM or U_POST_NEW_TOPIC or U_FORWARD_PM -->
|
||||||
|
<div class="buttons">
|
||||||
|
<!-- DEFINE $S_UCP_BUTTONS = 1 -->
|
||||||
|
<!-- IF U_POST_REPLY_PM --><a title="{L_POST_REPLY_PM}" href="{U_POST_REPLY_PM}" class="gradient link">{L_POST_REPLY_PM}</a>
|
||||||
|
<!-- ELSEIF U_POST_NEW_TOPIC --> <a href="{U_POST_NEW_TOPIC}" class="gradient link">{L_UCP_PM_COMPOSE}</a><!-- ENDIF -->
|
||||||
|
<!-- IF U_FORWARD_PM --> <a href="{U_FORWARD_PM}" class="gradient link">{L_FORWARD_PM}</a><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF U_POST_REPLY_PM and S_PM_RECIPIENTS gt 1 -->
|
||||||
|
<a href="{U_POST_REPLY_ALL}" class="gradient link">{L_REPLY_TO_ALL}</a>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- IF S_DISPLAY_HISTORY and (U_VIEW_PREVIOUS_HISTORY or U_VIEW_NEXT_HISTORY) -->
|
||||||
|
<!-- IF ! $S_UCP_BUTTONS --><div class="buttons"><!-- DEFINE $S_UCP_BUTTONS = 1 --><!-- ENDIF -->
|
||||||
|
<!-- IF U_VIEW_PREVIOUS_HISTORY --> <a href="{U_VIEW_PREVIOUS_HISTORY}" class="gradient link">{L_VIEW_PREVIOUS_HISTORY}</a><!-- ENDIF -->
|
||||||
|
<!-- IF U_VIEW_NEXT_HISTORY --> <a href="{U_VIEW_NEXT_HISTORY}" class="gradient link">{L_VIEW_NEXT_HISTORY}</a><!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF $S_UCP_BUTTONS --></div><!-- ENDIF -->
|
||||||
|
|
||||||
|
<form id="viewfolder" method="post" action="{S_PM_ACTION}">
|
125
art_mobile/template/ucp_pm_options.html
Normal file
125
art_mobile/template/ucp_pm_options.html
Normal file
|
@ -0,0 +1,125 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="ucp" method="post" action="{S_UCP_ACTION}">
|
||||||
|
|
||||||
|
<!-- IF ERROR_MESSAGE --><p class="error">{ERROR_MESSAGE}</p><!-- ENDIF -->
|
||||||
|
<!-- IF NOTIFICATION_MESSAGE --><p class="error">{NOTIFICATION_MESSAGE}</p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<h3>{L_DEFINED_RULES}</h3>
|
||||||
|
|
||||||
|
<ol class="def-rules">
|
||||||
|
<!-- BEGIN rule -->
|
||||||
|
<li><div class="right-box"><input type="submit" name="delete_rule[{rule.RULE_ID}]" value="{L_DELETE_RULE}" class="button2" /></div><strong>{L_IF}</strong> {rule.CHECK} <em>{rule.RULE}</em> <!-- IF rule.STRING --><strong>{rule.STRING}</strong> | <!-- ENDIF -->{rule.ACTION}<!-- IF rule.FOLDER -->: {rule.FOLDER}<!-- ENDIF --><div style="clear: both;"></div></li>
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<li><strong>{L_NO_RULES_DEFINED}</strong></li>
|
||||||
|
<!-- END rule -->
|
||||||
|
</ol>
|
||||||
|
|
||||||
|
<h3>{L_ADD_NEW_RULE}</h3>
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
|
||||||
|
<!-- IF S_CHECK_DEFINED -->
|
||||||
|
<dl>
|
||||||
|
<dt><label<!-- IF S_CHECK_SELECT --> for="check_option"<!-- ENDIF -->>{L_IF}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<!-- IF S_CHECK_SELECT --><select name="check_option" id="check_option">{S_CHECK_OPTIONS}</select> <input type="submit" name="next" value="{L_NEXT_STEP}" class="button2" /><!-- ELSE -->{CHECK_CURRENT}<input type="hidden" name="check_option" value="{CHECK_OPTION}" /><!-- ENDIF -->
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_RULE_DEFINED -->
|
||||||
|
<dl>
|
||||||
|
<dt><!-- IF S_RULE_SELECT --><input type="submit" name="back[rule]" value="{L_PREVIOUS_STEP}" class="button2" /><!-- ELSE --><label> </label><!-- ENDIF --></dt>
|
||||||
|
<dd><!-- IF S_RULE_SELECT --><select name="rule_option" id="rule_option">{S_RULE_OPTIONS}</select> <input type="submit" name="next" value="{L_NEXT_STEP}" class="button2" /><!-- ELSE --><em>{RULE_CURRENT}</em><input type="hidden" name="rule_option" value="{RULE_OPTION}" /><!-- ENDIF --></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_COND_DEFINED -->
|
||||||
|
<!-- IF S_COND_SELECT or COND_CURRENT -->
|
||||||
|
<dl>
|
||||||
|
<dt><!-- IF S_COND_SELECT --><input type="submit" name="back[cond]" value="{L_PREVIOUS_STEP}" class="button2" /><!-- ELSE --><label> </label><!-- ENDIF --></dt>
|
||||||
|
<dd>
|
||||||
|
<!-- IF S_COND_SELECT -->
|
||||||
|
<!-- IF S_TEXT_CONDITION -->
|
||||||
|
<input type="text" name="rule_string" value="{CURRENT_STRING}" class="inputbox medium" maxlength="250" />
|
||||||
|
<!-- ELSEIF S_USER_CONDITION -->
|
||||||
|
<input type="text" name="rule_string" value="{CURRENT_STRING}" class="inputbox tiny" /> <span>[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span>
|
||||||
|
<!-- ELSEIF S_GROUP_CONDITION -->
|
||||||
|
<input type="hidden" name="rule_string" value="{CURRENT_STRING}" /><!-- IF S_GROUP_OPTIONS --><select name="rule_group_id">{S_GROUP_OPTIONS}</select><!-- ELSE -->{L_NO_GROUPS}<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<input type="submit" name="next" value="{L_NEXT_STEP}" class="button2" />
|
||||||
|
<!-- ELSE -->
|
||||||
|
<strong>{COND_CURRENT}</strong><input type="hidden" name="rule_string" value="{CURRENT_STRING}" /><input type="hidden" name="rule_user_id" value="{CURRENT_USER_ID}" /><input type="hidden" name="rule_group_id" value="{CURRENT_GROUP_ID}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<input type="hidden" name="cond_option" value="{COND_OPTION}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- IF NONE_CONDITION --><input type="hidden" name="cond_option" value="none" /><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_ACTION_DEFINED -->
|
||||||
|
<dl>
|
||||||
|
<dt><!-- IF S_ACTION_SELECT --><input type="submit" name="back[action]" value="{L_PREVIOUS_STEP}" class="button2" /><!-- ELSE --><label> </label><!-- ENDIF --></dt>
|
||||||
|
<dd><!-- IF S_ACTION_SELECT --> <select name="action_option">{S_ACTION_OPTIONS}</select> <input type="submit" name="add_rule" value="{L_ADD_RULE}" class="button1" /><!-- ELSE -->{ACTION_CURRENT}<input type="hidden" name="action_option" value="{ACTION_OPTION}" /><!-- ENDIF --></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<h3>{L_FOLDER_OPTIONS}</h3>
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
|
||||||
|
<!-- IF not S_MAX_FOLDER_ZERO -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="foldername">{L_ADD_FOLDER}:</label></dt>
|
||||||
|
<dd><!-- IF S_MAX_FOLDER_REACHED -->{L_MAX_FOLDER_REACHED}<!-- ELSE --><input type="text" class="inputbox medium" name="foldername" id="foldername" size="30" maxlength="30" /> <input class="button2" type="submit" name="addfolder" value="{L_ADD}" /><!-- ENDIF --></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF S_FOLDER_OPTIONS --><hr class="dashed" /><!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<!-- IF S_FOLDER_OPTIONS -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="rename_folder_id">{L_RENAME_FOLDER}:</label></dt>
|
||||||
|
<dd><select name="rename_folder_id" id="rename_folder_id">{S_FOLDER_OPTIONS}</select></dd>
|
||||||
|
<dt><label for="new_folder_name">{L_NEW_FOLDER_NAME}:</label></dt>
|
||||||
|
<dd><input type="text" class="inputbox tiny" name="new_folder_name" id="new_folder_name" maxlength="30" /> <input class="button2" type="submit" name="rename_folder" value="{L_RENAME}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<hr class="dashed" />
|
||||||
|
<dl>
|
||||||
|
<dt><label for="remove_folder_id">{L_REMOVE_FOLDER}:</label></dt>
|
||||||
|
<dd><select name="remove_folder_id" id="remove_folder_id">{S_FOLDER_OPTIONS}</select></dd>
|
||||||
|
<dd style="margin-top: 3px;"><label for="remove_action1"><input type="radio" name="remove_action" id="remove_action1" value="1" checked="checked" /> {L_MOVE_DELETED_MESSAGES_TO}:</label> <select name="move_to">{S_TO_FOLDER_OPTIONS}</select></dd>
|
||||||
|
<dd style="margin-top: 3px;"><label for="remove_action2"><input type="radio" name="remove_action" id="remove_action2" value="2" /> {L_DELETE_MESSAGES_IN_FOLDER}</label></dd>
|
||||||
|
<dd style="margin-top: 3px;"><input class="button2" type="submit" name="remove_folder" value="{L_REMOVE}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<hr class="dashed" />
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt><label for="full_action1">{L_IF_FOLDER_FULL}:</label></dt>
|
||||||
|
<dd style="margin-top: 3px;"><label for="full_action1"><input type="radio" name="full_action" id="full_action1" value="1"{S_DELETE_CHECKED} /> {L_DELETE_OLDEST_MESSAGES}</label></dd>
|
||||||
|
<dd style="margin-top: 3px;"><label for="full_action2"><input type="radio" name="full_action" id="full_action2" value="2"{S_MOVE_CHECKED} /> {L_MOVE_TO_FOLDER}:</label> <select name="full_move_to">{S_FULL_FOLDER_OPTIONS}</select></dd>
|
||||||
|
<dd style="margin-top: 3px;"><label for="full_action3" style="white-space:normal;"><input type="radio" name="full_action" id="full_action3" value="3"{S_HOLD_CHECKED} /> {L_HOLD_NEW_MESSAGES}</label></dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_DEFAULT_ACTION}:</label></dt>
|
||||||
|
<dd>{DEFAULT_ACTION}</dd>
|
||||||
|
<dd><input class="button2" type="submit" name="fullfolder" value="{L_CHANGE}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_DEFAULT_ACTION_EXPLAIN}</p>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
90
art_mobile/template/ucp_pm_viewfolder.html
Normal file
90
art_mobile/template/ucp_pm_viewfolder.html
Normal file
|
@ -0,0 +1,90 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<!-- IF not PROMPT -->
|
||||||
|
<!-- INCLUDE ucp_pm_message_header.html -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF PROMPT -->
|
||||||
|
<h2>{L_EXPORT_AS_CSV}</h2>
|
||||||
|
<form id="viewfolder" method="post" action="{S_PM_ACTION}">
|
||||||
|
<h3>{L_OPTIONS}</h3>
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="delimiter">{L_DELIMITER}:</label></dt>
|
||||||
|
<dd><input class="inputbox" type="text" id="delimiter" name="delimiter" value="," /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="enclosure">{L_ENCLOSURE}:</label></dt>
|
||||||
|
<dd><input class="inputbox" type="text" id="enclosure" name="enclosure" value=""" /></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
<input type="hidden" name="export_option" value="CSV" />
|
||||||
|
<input class="button1" type="submit" name="submit_export" value="{L_EXPORT_FOLDER}" />
|
||||||
|
<input class="button2" type="reset" value="Reset" name="reset" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- ELSE -->
|
||||||
|
|
||||||
|
<!-- IF NUM_REMOVED -->
|
||||||
|
<div class="notice">
|
||||||
|
<p>{RULE_REMOVED_MESSAGES}</p>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF NUM_NOT_MOVED -->
|
||||||
|
<div class="notice">
|
||||||
|
<p>{NOT_MOVED_MESSAGES}<br />{RELEASE_MESSAGE_INFO}</p>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .messagerow -->
|
||||||
|
<div class="forums">
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
<!-- BEGIN messagerow -->
|
||||||
|
<li class="row<!-- IF messagerow.PM_CLASS --> {messagerow.PM_CLASS}<!-- ENDIF --><!-- IF messagerow.S_PM_UNREAD --> pm-new<!-- ENDIF -->">
|
||||||
|
<p><input type="checkbox" name="marked_msg_id[]" value="{messagerow.MESSAGE_ID}" />
|
||||||
|
<!-- IF messagerow.S_PM_DELETED -->
|
||||||
|
<a href="{messagerow.U_REMOVE_PM}" class="topictitle">{L_DELETE_MESSAGE}</a><br />
|
||||||
|
<span class="error">{L_MESSAGE_REMOVED_FROM_OUTBOX}</span>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<a href="{messagerow.U_VIEW_PM}" class="topictitle">{messagerow.SUBJECT}</a>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF messagerow.S_AUTHOR_DELETED -->
|
||||||
|
<br /><em class="small">{L_PM_FROM_REMOVED_AUTHOR}</em>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
<p><!-- IF S_SHOW_RECIPIENTS -->{L_MESSAGE_TO} {messagerow.RECIPIENTS}<!-- ELSE -->{L_MESSAGE_BY_AUTHOR} {messagerow.MESSAGE_AUTHOR_FULL} » {messagerow.SENT_TIME}<!-- ENDIF --></p>
|
||||||
|
<!-- IF S_SHOW_RECIPIENTS --><p>{L_SENT_AT}: {messagerow.SENT_TIME}</p><!-- ENDIF -->
|
||||||
|
<!-- IF S_UNREAD --><p><!-- IF messagerow.FOLDER --><a href="{messagerow.U_FOLDER}">{messagerow.FOLDER}</a><!-- ELSE -->{L_UNKNOWN_FOLDER}<!-- ENDIF --></p><!-- ENDIF -->
|
||||||
|
</li>
|
||||||
|
<!-- END messagerow -->
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p><strong>
|
||||||
|
<!-- IF S_COMPOSE_PM_VIEW and S_NO_AUTH_SEND_MESSAGE -->
|
||||||
|
<!-- IF S_USER_NEW -->{L_USER_NEW_PERMISSION_DISALLOWED}<!-- ELSE -->{L_NO_AUTH_SEND_MESSAGE}<!-- ENDIF -->
|
||||||
|
<!-- ELSE -->
|
||||||
|
{L_NO_MESSAGES}
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</strong></p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF FOLDER_CUR_MESSAGES neq 0 -->
|
||||||
|
<fieldset class="display-actions">
|
||||||
|
<div class="left-box"><label for="export_option">{L_EXPORT_FOLDER}: <select name="export_option" id="export_option"><option value="CSV">{L_EXPORT_AS_CSV}</option><option value="CSV_EXCEL">{L_EXPORT_AS_CSV_EXCEL}</option><option value="XML">{L_EXPORT_AS_XML}</option></select></label> <input class="button2" type="submit" name="submit_export" value="{L_GO}" /><br /></div>
|
||||||
|
<select name="mark_option">{S_MARK_OPTIONS}{S_MOVE_MARKED_OPTIONS}</select> <input class="button2" type="submit" name="submit_mark" value="{L_GO}" />
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF FOLDER_CUR_MESSAGES neq 0 -->
|
||||||
|
<input type="hidden" name="cur_folder_id" value="{CUR_FOLDER_ID}" />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_pm_message_footer.html -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
81
art_mobile/template/ucp_pm_viewmessage.html
Normal file
81
art_mobile/template/ucp_pm_viewmessage.html
Normal file
|
@ -0,0 +1,81 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_pm_message_header.html -->
|
||||||
|
|
||||||
|
<div id="post-{MESSAGE_ID}" class="block post <!-- IF S_ONLINE --> online<!-- ENDIF -->">
|
||||||
|
<div class="post-header">
|
||||||
|
|
||||||
|
<!-- IF U_DELETE or U_EDIT or U_QUOTE or U_REPORT -->
|
||||||
|
<div class="post-author gradient link settings">
|
||||||
|
<a href="javascript:void(0);"> </a>
|
||||||
|
<ul class="sub">
|
||||||
|
<!-- IF U_EDIT --><li><a href="{U_EDIT}">{L_POST_EDIT_PM}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF U_DELETE --><li><a href="{U_DELETE}">{L_DELETE_MESSAGE}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF U_REPORT --><li><a href="{U_REPORT}">{L_REPORT_PM}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF U_QUOTE --><li><a href="{U_QUOTE}">{L_POST_QUOTE_PM}</a></li><!-- ENDIF -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<div class="post-author gradient link">
|
||||||
|
<a href="{U_MESSAGE_AUTHOR}">{MESSAGE_AUTHOR}</a>
|
||||||
|
<ul class="sub">
|
||||||
|
<li><a href="{U_MESSAGE_AUTHOR}">{MESSAGE_AUTHOR}</a></li>
|
||||||
|
<li><span>{L_POSTS}: {AUTHOR_POSTS}</span></li>
|
||||||
|
<!-- IF AUTHOR_JOINED --><li><span>{L_JOINED}: {AUTHOR_JOINED}</span></li><!-- ENDIF -->
|
||||||
|
<!-- IF AUTHOR_FROM --><li><span>{L_LOCATION}: {AUTHOR_FROM}</span></li><!-- ENDIF -->
|
||||||
|
<!-- IF U_PM --><li><a href="{U_PM}">{L_PRIVATE_MESSAGE}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF U_EMAIL --><li><a href="{U_EMAIL}">{L_SEND_EMAIL_USER} {MESSAGE_AUTHOR}</a></li><!-- ENDIF -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<h2>{SUBJECT}</h2>
|
||||||
|
</div>
|
||||||
|
<p class="post-time">{SENT_DATE}
|
||||||
|
<!-- IF S_TO_RECIPIENT --><br />{L_TO}: <!-- BEGIN to_recipient --><!-- IF to_recipient.NAME_FULL -->{to_recipient.NAME_FULL}<!-- ELSE --><a href="{to_recipient.U_VIEW}" style="color:<!-- IF to_recipient.COLOUR -->{to_recipient.COLOUR}<!-- ELSEIF to_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{to_recipient.NAME}</a><!-- ENDIF --> <!-- END to_recipient --><!-- ENDIF -->
|
||||||
|
<!-- IF S_BCC_RECIPIENT --><br />{L_BCC}: <!-- BEGIN bcc_recipient --><!-- IF bcc_recipient.NAME_FULL -->{bcc_recipient.NAME_FULL}<!-- ELSE --><a href="{bcc_recipient.U_VIEW}" style="color:<!-- IF bcc_recipient.COLOUR -->{bcc_recipient.COLOUR}<!-- ELSEIF bcc_recipient.IS_GROUP -->#0000FF<!-- ENDIF -->;">{bcc_recipient.NAME}</a><!-- ENDIF --> <!-- END bcc_recipient --><!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
<div class="postbody">
|
||||||
|
{MESSAGE}
|
||||||
|
|
||||||
|
<!-- IF S_HAS_ATTACHMENTS -->
|
||||||
|
<dl class="attachbox">
|
||||||
|
<dt>{L_ATTACHMENTS}</dt>
|
||||||
|
<!-- BEGIN attachment -->
|
||||||
|
<dd>{attachment.DISPLAY_ATTACHMENT}</dd>
|
||||||
|
<!-- END attachment -->
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_DISPLAY_NOTICE -->
|
||||||
|
<div class="notice">{L_DOWNLOAD_NOTICE}</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF EDITED_MESSAGE or EDIT_REASON -->
|
||||||
|
<div class="notice">{EDITED_MESSAGE}
|
||||||
|
<!-- IF EDIT_REASON --><br /><strong>{L_REASON}:</strong> <em>{EDIT_REASON}</em><!-- ENDIF -->
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- IF S_VIEW_MESSAGE -->
|
||||||
|
<!-- IF U_PREVIOUS_PM or U_NEXT_PM -->
|
||||||
|
<div class="buttons">
|
||||||
|
<!-- IF U_PREVIOUS_PM --><a href="{U_PREVIOUS_PM}" class="gradient link">{L_VIEW_PREVIOUS_PM}</a><!-- ENDIF -->
|
||||||
|
<!-- IF U_NEXT_PM --> <a href="{U_NEXT_PM}" class="gradient link">{L_VIEW_NEXT_PM}</a><!-- ENDIF -->
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<fieldset>
|
||||||
|
<!-- IF S_MARK_OPTIONS --><label for="mark_option"><select name="mark_option" id="mark_option">{S_MARK_OPTIONS}</select></label> <input class="button2" type="submit" name="submit_mark" value="{L_GO}" /><!-- ENDIF -->
|
||||||
|
<!-- IF not S_UNREAD and not S_SPECIAL_FOLDER --><label for="dest_folder"><!-- IF S_VIEW_MESSAGE -->{L_MOVE_TO_FOLDER}: <!-- ELSE -->{L_MOVE_MARKED_TO_FOLDER}<!-- ENDIF --> <select name="dest_folder" id="dest_folder">{S_TO_FOLDER_OPTIONS}</select></label> <input class="button2" type="submit" name="move_pm" value="{L_GO}" /><!-- ENDIF -->
|
||||||
|
<input type="hidden" name="marked_msg_id[]" value="{MSG_ID}" />
|
||||||
|
<input type="hidden" name="cur_folder_id" value="{CUR_FOLDER_ID}" />
|
||||||
|
<input type="hidden" name="p" value="{MSG_ID}" />
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_pm_message_footer.html -->
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
139
art_mobile/template/ucp_prefs_personal.html
Normal file
139
art_mobile/template/ucp_prefs_personal.html
Normal file
|
@ -0,0 +1,139 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="viewemail0">{L_SHOW_EMAIL}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="viewemail1"><input type="radio" name="viewemail" id="viewemail1" value="1"<!-- IF S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="viewemail0"><input type="radio" name="viewemail" id="viewemail0" value="0"<!-- IF not S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="massemail1">{L_ADMIN_EMAIL}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="massemail1"><input type="radio" name="massemail" id="massemail1" value="1"<!-- IF S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="massemail0"><input type="radio" name="massemail" id="massemail0" value="0"<!-- IF not S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="allowpm1">{L_ALLOW_PM}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="allowpm1"><input type="radio" name="allowpm" id="allowpm1" value="1"<!-- IF S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="allowpm0"><input type="radio" name="allowpm" id="allowpm0" value="0"<!-- IF not S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_ALLOW_PM_EXPLAIN}</p>
|
||||||
|
<!-- IF S_CAN_HIDE_ONLINE -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="hideonline0">{L_HIDE_ONLINE}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="hideonline1"><input type="radio" name="hideonline" id="hideonline1" value="1"<!-- IF S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="hideonline0"><input type="radio" name="hideonline" id="hideonline0" value="0"<!-- IF not S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_HIDE_ONLINE_EXPLAIN}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_SELECT_NOTIFY -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="notifymethod0">{L_NOTIFY_METHOD}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="notifymethod0"><input type="radio" name="notifymethod" id="notifymethod0" value="0"<!-- IF S_NOTIFY_EMAIL --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_EMAIL}</label>
|
||||||
|
<label for="notifymethod1"><input type="radio" name="notifymethod" id="notifymethod1" value="1"<!-- IF S_NOTIFY_IM --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_IM}</label>
|
||||||
|
<label for="notifymethod2"><input type="radio" name="notifymethod" id="notifymethod2" value="2"<!-- IF S_NOTIFY_BOTH --> checked="checked"<!-- ENDIF --> /> {L_NOTIFY_METHOD_BOTH}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="notifypm1">{L_NOTIFY_ON_PM}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="notifypm1"><input type="radio" name="notifypm" id="notifypm1" value="1"<!-- IF S_NOTIFY_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="notifypm0"><input type="radio" name="notifypm" id="notifypm0" value="0"<!-- IF not S_NOTIFY_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="popuppm0">{L_POPUP_ON_PM}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="popuppm1"><input type="radio" name="popuppm" id="popuppm1" value="1"<!-- IF S_POPUP_PM --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="popuppm0"><input type="radio" name="popuppm" id="popuppm0" value="0"<!-- IF not S_POPUP_PM --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="lang">{L_BOARD_LANGUAGE}:</label></dt>
|
||||||
|
<dd><select name="lang" id="lang">{S_LANG_OPTIONS}</select></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF S_STYLE_OPTIONS -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="style">{L_BOARD_STYLE}:</label></dt>
|
||||||
|
<dd><select name="style" id="style">{S_STYLE_OPTIONS}</select></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="timezone">{L_BOARD_TIMEZONE}:</label></dt>
|
||||||
|
<dd><select name="tz" id="timezone" class="autowidth">{S_TZ_OPTIONS}</select></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="dst1">{L_BOARD_DST}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="dst1"><input type="radio" name="dst" id="dst1" value="1"<!-- IF S_DST --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="dst0"><input type="radio" name="dst" id="dst0" value="0"<!-- IF not S_DST --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="dateformat">{L_BOARD_DATE_FORMAT}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<select name="dateoptions" id="dateoptions" onchange="if(this.value=='custom'){dE('custom_date',1);}else{dE('custom_date',-1);} if (this.value == 'custom') { document.getElementById('dateformat').value = default_dateformat; } else { document.getElementById('dateformat').value = this.value; }">
|
||||||
|
{S_DATEFORMAT_OPTIONS}
|
||||||
|
</select>
|
||||||
|
</dd>
|
||||||
|
<dd id="custom_date" style="display:none;"><input type="text" name="dateformat" id="dateformat" value="{DATE_FORMAT}" maxlength="30" class="inputbox narrow" style="margin-top: 3px;" /></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_BOARD_DATE_FORMAT_EXPLAIN}</p>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
// <![CDATA[
|
||||||
|
var date_format = '{A_DATE_FORMAT}';
|
||||||
|
var default_dateformat = '{A_DEFAULT_DATEFORMAT}';
|
||||||
|
|
||||||
|
function customDates()
|
||||||
|
{
|
||||||
|
var e = document.getElementById('dateoptions');
|
||||||
|
|
||||||
|
e.selectedIndex = e.length - 1;
|
||||||
|
|
||||||
|
// Loop and match date_format in menu
|
||||||
|
for (var i = 0; i < e.length; i++)
|
||||||
|
{
|
||||||
|
if (e.options[i].value == date_format)
|
||||||
|
{
|
||||||
|
e.selectedIndex = i;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Show/hide custom field
|
||||||
|
if (e.selectedIndex == e.length - 1)
|
||||||
|
{
|
||||||
|
dE('custom_date',1);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
dE('custom_date',-1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
customDates();
|
||||||
|
// ]]>
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
44
art_mobile/template/ucp_prefs_post.html
Normal file
44
art_mobile/template/ucp_prefs_post.html
Normal file
|
@ -0,0 +1,44 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="bbcode1">{L_DEFAULT_BBCODE}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="bbcode1"><input type="radio" name="bbcode" id="bbcode1" value="1"<!-- IF S_BBCODE --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="bbcode0"><input type="radio" name="bbcode" id="bbcode0" value="0"<!-- IF not S_BBCODE --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="smilies1">{L_DEFAULT_SMILIES}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="smilies1"><input type="radio" name="smilies" id="smilies1" value="1"<!-- IF S_SMILIES --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="smilies0"><input type="radio" name="smilies" id="smilies0" value="0"<!-- IF not S_SMILIES --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="sig1">{L_DEFAULT_ADD_SIG}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="sig1"><input type="radio" name="sig" id="sig1" value="1"<!-- IF S_SIG --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="sig0"><input type="radio" name="sig" id="sig0" value="0"<!-- IF not S_SIG --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="notify1">{L_DEFAULT_NOTIFY}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="notify1"><input type="radio" name="notify" id="notify1" value="1"<!-- IF S_NOTIFY --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="notify0"><input type="radio" name="notify" id="notify0" value="0"<!-- IF not S_NOTIFY --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
86
art_mobile/template/ucp_prefs_view.html
Normal file
86
art_mobile/template/ucp_prefs_view.html
Normal file
|
@ -0,0 +1,86 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="images1">{L_VIEW_IMAGES}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="images1"><input type="radio" name="images" id="images1" value="1"<!-- IF S_IMAGES --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="images0"><input type="radio" name="images" id="images0" value="0"<!-- IF not S_IMAGES --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="flash0">{L_VIEW_FLASH}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="flash1"><input type="radio" name="flash" id="flash1" value="1"<!-- IF S_FLASH --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="flash0"><input type="radio" name="flash" id="flash0" value="0"<!-- IF not S_FLASH --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="smilies1">{L_VIEW_SMILIES}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="smilies1"><input type="radio" name="smilies" id="smilies1" value="1"<!-- IF S_SMILIES --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="smilies0"><input type="radio" name="smilies" id="smilies0" value="0"<!-- IF not S_SMILIES --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="sigs1">{L_VIEW_SIGS}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="sigs1"><input type="radio" name="sigs" id="sigs1" value="1"<!-- IF S_SIGS --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="sigs0"><input type="radio" name="sigs" id="sigs0" value="0"<!-- IF not S_SIGS --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="avatars1">{L_VIEW_AVATARS}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="avatars1"><input type="radio" name="avatars" id="avatars1" value="1"<!-- IF S_AVATARS --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="avatars0"><input type="radio" name="avatars" id="avatars0" value="0"<!-- IF not S_AVATARS --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF S_CHANGE_CENSORS -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="wordcensor1">{L_DISABLE_CENSORS}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="wordcensor1"><input type="radio" name="wordcensor" id="wordcensor1" value="1"<!-- IF S_DISABLE_CENSORS --> checked="checked"<!-- ENDIF --> /> {L_YES}</label>
|
||||||
|
<label for="wordcensor0"><input type="radio" name="wordcensor" id="wordcensor0" value="0"<!-- IF not S_DISABLE_CENSORS --> checked="checked"<!-- ENDIF --> /> {L_NO}</label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<hr />
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_VIEW_TOPICS_DAYS}:</label></dt>
|
||||||
|
<dd>{S_TOPIC_SORT_DAYS}</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_VIEW_TOPICS_KEY}:</label></dt>
|
||||||
|
<dd>{S_TOPIC_SORT_KEY}</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_VIEW_TOPICS_DIR}:</label></dt>
|
||||||
|
<dd>{S_TOPIC_SORT_DIR}</dd>
|
||||||
|
</dl>
|
||||||
|
<hr />
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_VIEW_POSTS_DAYS}:</label></dt>
|
||||||
|
<dd>{S_POST_SORT_DAYS}</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_VIEW_POSTS_KEY}:</label></dt>
|
||||||
|
<dd>{S_POST_SORT_KEY}</dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label>{L_VIEW_POSTS_DIR}:</label></dt>
|
||||||
|
<dd>{S_POST_SORT_DIR}</dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
17
art_mobile/template/ucp_profile_avatar.html
Normal file
17
art_mobile/template/ucp_profile_avatar.html
Normal file
|
@ -0,0 +1,17 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_avatar_options.html -->
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}
|
||||||
|
<!-- IF S_DISPLAY_GALLERY --><input type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" class="button2" /> <!-- ENDIF -->
|
||||||
|
<!-- IF S_IN_AVATAR_GALLERY --><input type="submit" name="cancel" value="{L_CANCEL}" class="button2" /> <!-- ELSE -->
|
||||||
|
<input type="reset" value="{L_RESET}" name="reset" class="button2" /> <!-- ENDIF -->
|
||||||
|
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
71
art_mobile/template/ucp_profile_profile_info.html
Normal file
71
art_mobile/template/ucp_profile_profile_info.html
Normal file
|
@ -0,0 +1,71 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<p>{L_PROFILE_INFO_NOTICE}</p>
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="icq">{L_UCP_ICQ}:</label></dt>
|
||||||
|
<dd><input type="text" name="icq" id="icq" maxlength="15" value="{ICQ}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="aim">{L_UCP_AIM}:</label></dt>
|
||||||
|
<dd><input type="text" name="aim" id="aim" maxlength="255" value="{AIM}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="msn">{L_UCP_MSNM}:</label></dt>
|
||||||
|
<dd><input type="text" name="msn" id="msn" maxlength="255" value="{MSN}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="yim">{L_UCP_YIM}:</label></dt>
|
||||||
|
<dd><input type="text" name="yim" id="yim" maxlength="255" value="{YIM}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="jabber">{L_UCP_JABBER}:</label></dt>
|
||||||
|
<dd><input type="text" name="jabber" id="jabber" maxlength="255" value="{JABBER}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="website">{L_WEBSITE}:</label></dt>
|
||||||
|
<dd><input type="text" name="website" id="website" maxlength="255" value="{WEBSITE}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="location">{L_LOCATION}:</label></dt>
|
||||||
|
<dd><input type="text" name="location" id="location" maxlength="255" value="{LOCATION}" class="inputbox" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="occupation">{L_OCCUPATION}:</label></dt>
|
||||||
|
<dd><textarea name="occupation" id="occupation" class="inputbox" rows="3" cols="30">{OCCUPATION}</textarea></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="interests">{L_INTERESTS}:</label></dt>
|
||||||
|
<dd><textarea name="interests" id="interests" class="inputbox" rows="3" cols="30">{INTERESTS}</textarea></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF S_BIRTHDAYS_ENABLED -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="bday_day">{L_BIRTHDAY}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<label for="bday_day">{L_DAY}: <select name="bday_day" id="bday_day" style="width: 4em;">{S_BIRTHDAY_DAY_OPTIONS}</select></label>
|
||||||
|
<label for="bday_month">{L_MONTH}: <select name="bday_month" id="bday_month" style="width: 4em;">{S_BIRTHDAY_MONTH_OPTIONS}</select></label>
|
||||||
|
<label for="bday_year">{L_YEAR}: <select name="bday_year" id="bday_year" style="width: 6em;">{S_BIRTHDAY_YEAR_OPTIONS}</select></label>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- BEGIN profile_fields -->
|
||||||
|
<dl>
|
||||||
|
<dt><label<!-- IF profile_fields.FIELD_ID --> for="{profile_fields.FIELD_ID}"<!-- ENDIF -->>{profile_fields.LANG_NAME}:<!-- IF profile_fields.S_REQUIRED --> *<!-- ENDIF --></label>
|
||||||
|
<!-- IF profile_fields.LANG_EXPLAIN --><br /><span>{profile_fields.LANG_EXPLAIN}</span><!-- ENDIF --></dt>
|
||||||
|
<!-- IF profile_fields.ERROR --><dd class="error">{profile_fields.ERROR}</dd><!-- ENDIF -->
|
||||||
|
<dd>{profile_fields.FIELD}</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- END profile_fields -->
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
55
art_mobile/template/ucp_profile_reg_details.html
Normal file
55
art_mobile/template/ucp_profile_reg_details.html
Normal file
|
@ -0,0 +1,55 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<!-- IF S_FORCE_PASSWORD -->
|
||||||
|
<p>{L_FORCE_PASSWORD_EXPLAIN}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<!-- IF ERROR --><p class="error rules">{ERROR}</p><!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label <!-- IF S_CHANGE_USERNAME -->for="username"<!-- ENDIF -->>{L_USERNAME}:</label></dt>
|
||||||
|
<dd><!-- IF S_CHANGE_USERNAME --><input type="text" name="username" id="username" value="{USERNAME}" class="inputbox" title="{L_USERNAME}" /><!-- ELSE --><strong>{USERNAME}</strong><!-- ENDIF --></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF S_CHANGE_USERNAME -->
|
||||||
|
<p class="explain">{L_USERNAME_EXPLAIN}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="email">{L_EMAIL_ADDRESS}:</label></dt>
|
||||||
|
<dd><!-- IF S_CHANGE_EMAIL --><input type="text" name="email" id="email" maxlength="100" value="{EMAIL}" class="inputbox" title="{L_EMAIL_ADDRESS}" /><!-- ELSE --><strong>{EMAIL}</strong><!-- ENDIF --></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- IF S_CHANGE_EMAIL -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="email_confirm">{L_CONFIRM_EMAIL}:</label></dt>
|
||||||
|
<dd><input type="text" name="email_confirm" id="email_confirm" maxlength="100" value="{CONFIRM_EMAIL}" class="inputbox" title="{L_CONFIRM_EMAIL}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_CONFIRM_EMAIL_EXPLAIN}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_CHANGE_PASSWORD -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="new_password">{L_NEW_PASSWORD}:</label></dt>
|
||||||
|
<dd><input type="password" name="new_password" id="new_password" maxlength="255" value="{NEW_PASSWORD}" class="inputbox" title="{L_CHANGE_PASSWORD}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_CHANGE_PASSWORD_EXPLAIN}</p>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="password_confirm">{L_CONFIRM_PASSWORD}:</label></dt>
|
||||||
|
<dd><input type="password" name="password_confirm" id="password_confirm" maxlength="255" value="{PASSWORD_CONFIRM}" class="inputbox" title="{L_CONFIRM_PASSWORD}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_CONFIRM_PASSWORD_EXPLAIN}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt><label for="cur_password">{L_CURRENT_PASSWORD}:</label></dt>
|
||||||
|
<dd><input type="password" name="cur_password" id="cur_password" maxlength="255" value="{CUR_PASSWORD}" class="inputbox" title="{L_CURRENT_PASSWORD}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain"><!-- IF S_CHANGE_PASSWORD -->{L_CURRENT_CHANGE_PASSWORD_EXPLAIN}<!-- ELSE -->{L_CURRENT_PASSWORD_EXPLAIN}<!-- ENDIF --></p>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
41
art_mobile/template/ucp_profile_signature.html
Normal file
41
art_mobile/template/ucp_profile_signature.html
Normal file
|
@ -0,0 +1,41 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="postform" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<!-- IF SIGNATURE_PREVIEW != '' -->
|
||||||
|
<div class="block">
|
||||||
|
<p class="post-time">{L_SIGNATURE_PREVIEW}</p>
|
||||||
|
<div class="postbody">
|
||||||
|
{SIGNATURE_PREVIEW}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<p>{L_SIGNATURE_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- DEFINE $SIG_EDIT = 1 -->
|
||||||
|
<!-- INCLUDE posting_editor.html -->
|
||||||
|
<h3>{L_OPTIONS}</h3>
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<!-- IF S_BBCODE_ALLOWED -->
|
||||||
|
<div><label for="disable_bbcode"><input type="checkbox" name="disable_bbcode" id="disable_bbcode"{S_BBCODE_CHECKED} /> {L_DISABLE_BBCODE}</label></div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_SMILIES_ALLOWED -->
|
||||||
|
<div><label for="disable_smilies"><input type="checkbox" name="disable_smilies" id="disable_smilies"{S_SMILIES_CHECKED} /> {L_DISABLE_SMILIES}</label></div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF S_LINKS_ALLOWED -->
|
||||||
|
<div><label for="disable_magic_url"><input type="checkbox" name="disable_magic_url" id="disable_magic_url"{S_MAGIC_URL_CHECKED} /> {L_DISABLE_MAGIC_URL}</label></div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}
|
||||||
|
<input type="reset" name="reset" value="{L_RESET}" class="button2" />
|
||||||
|
<input type="submit" name="preview" value="{L_PREVIEW}" class="button2" />
|
||||||
|
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
78
art_mobile/template/ucp_register.html
Normal file
78
art_mobile/template/ucp_register.html
Normal file
|
@ -0,0 +1,78 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<form method="post" action="{S_UCP_ACTION}" id="register">
|
||||||
|
<h2>{SITENAME} - {L_REGISTRATION}</h2>
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<!-- IF ERROR --><dl><dd class="error">{ERROR}</dd></dl><!-- ENDIF -->
|
||||||
|
<!-- IF L_REG_COND -->
|
||||||
|
<dl><dd><strong>{L_REG_COND}</strong></dd></dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label for="username">{L_USERNAME}:</label><br /><span>{L_USERNAME_EXPLAIN}</span></dt>
|
||||||
|
<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" title="{L_USERNAME}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="email">{L_EMAIL_ADDRESS}:</label></dt>
|
||||||
|
<dd><input type="text" tabindex="2" name="email" id="email" size="25" maxlength="100" value="{EMAIL}" class="inputbox autowidth" title="{L_EMAIL_ADDRESS}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="email_confirm">{L_CONFIRM_EMAIL}:</label></dt>
|
||||||
|
<dd><input type="text" tabindex="3" name="email_confirm" id="email_confirm" size="25" maxlength="100" value="{EMAIL_CONFIRM}" class="inputbox autowidth" title="{L_CONFIRM_EMAIL}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="new_password">{L_PASSWORD}:</label><br /><span>{L_PASSWORD_EXPLAIN}</span></dt>
|
||||||
|
<dd><input type="password" tabindex="4" name="new_password" id="new_password" size="25" value="{PASSWORD}" class="inputbox autowidth" title="{L_NEW_PASSWORD}" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="password_confirm">{L_CONFIRM_PASSWORD}:</label></dt>
|
||||||
|
<dd><input type="password" tabindex="5" name="password_confirm" id="password_confirm" size="25" value="{PASSWORD_CONFIRM}" class="inputbox autowidth" title="{L_CONFIRM_PASSWORD}" /></dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt><label for="lang">{L_LANGUAGE}:</label></dt>
|
||||||
|
<dd><select name="lang" id="lang" tabindex="6" title="{L_LANGUAGE}">{S_LANG_OPTIONS}</select></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="tz">{L_TIMEZONE}:</label></dt>
|
||||||
|
<dd><select name="tz" id="tz" tabindex="7" class="autowidth">{S_TZ_OPTIONS}</select></dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<!-- IF .profile_fields -->
|
||||||
|
<dl><dd><strong>{L_ITEMS_REQUIRED}</strong></dd></dl>
|
||||||
|
|
||||||
|
<!-- BEGIN profile_fields -->
|
||||||
|
<dl>
|
||||||
|
<dt><label<!-- IF profile_fields.FIELD_ID --> for="{profile_fields.FIELD_ID}"<!-- ENDIF -->>{profile_fields.LANG_NAME}:<!-- IF profile_fields.S_REQUIRED --> *<!-- ENDIF --></label>
|
||||||
|
<!-- IF profile_fields.LANG_EXPLAIN --><br /><span>{profile_fields.LANG_EXPLAIN}</span><!-- ENDIF -->
|
||||||
|
<!-- IF profile_fields.ERROR --><br /><span class="error">{profile_fields.ERROR}</span><!-- ENDIF --></dt>
|
||||||
|
<dd>{profile_fields.FIELD}</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- END profile_fields -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
</fieldset>
|
||||||
|
<!-- IF CAPTCHA_TEMPLATE -->
|
||||||
|
<!-- DEFINE $CAPTCHA_TAB_INDEX = 8 -->
|
||||||
|
<!-- INCLUDE {CAPTCHA_TEMPLATE} -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_COPPA -->
|
||||||
|
|
||||||
|
|
||||||
|
<h4>{L_COPPA_COMPLIANCE}</h4>
|
||||||
|
|
||||||
|
<p>{L_COPPA_EXPLAIN}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}
|
||||||
|
<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" tabindex="9" name="submit" id="submit" value="{L_SUBMIT}" class="button1 default-submit-action" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
26
art_mobile/template/ucp_remind.html
Normal file
26
art_mobile/template/ucp_remind.html
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<form action="{S_PROFILE_ACTION}" method="post" id="remind">
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h2>{L_SEND_PASSWORD}</h2>
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="username">{L_USERNAME}:</label></dt>
|
||||||
|
<dd><input class="inputbox narrow" type="text" name="username" id="username" size="25" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="email">{L_EMAIL_ADDRESS}:</label><br /><span>{L_EMAIL_REMIND}</span></dt>
|
||||||
|
<dd><input class="inputbox narrow" type="text" name="email" id="email" size="25" maxlength="100" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt> </dt>
|
||||||
|
<dd>{S_HIDDEN_FIELDS}<input type="submit" name="submit" id="submit" class="button1" value="{L_SUBMIT}" tabindex="2" /> <input type="reset" value="{L_RESET}" name="reset" class="button2" /></dd>
|
||||||
|
</dl>
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
26
art_mobile/template/ucp_resend.html
Normal file
26
art_mobile/template/ucp_resend.html
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
|
||||||
|
<form action="{S_PROFILE_ACTION}" method="post" id="resend">
|
||||||
|
|
||||||
|
<h2>{L_UCP_RESEND}</h2>
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="username">{L_USERNAME}:</label></dt>
|
||||||
|
<dd><input class="inputbox narrow" type="text" name="username" id="username" size="25" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="email">{L_EMAIL_ADDRESS}:</label></dt>
|
||||||
|
<dd><input class="inputbox narrow" type="text" name="email" id="email" size="25" maxlength="100" /></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_EMAIL_REMIND}</p>
|
||||||
|
<dl>
|
||||||
|
<dt> </dt>
|
||||||
|
<dd>{S_HIDDEN_FIELDS}{S_FORM_TOKEN}<input type="submit" name="submit" id="submit" class="button1" value="{L_SUBMIT}" tabindex="2" /> <input type="reset" value="{L_RESET}" name="reset" class="button2" /></dd>
|
||||||
|
</dl>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
34
art_mobile/template/ucp_zebra_foes.html
Normal file
34
art_mobile/template/ucp_zebra_foes.html
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<p>{L_FOES_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label <!-- IF S_USERNAME_OPTIONS -->for="usernames"<!-- ENDIF -->>{L_YOUR_FOES}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<!-- IF S_USERNAME_OPTIONS -->
|
||||||
|
<select name="usernames[]" id="usernames" multiple="multiple" size="5" style="width: 160px">{S_USERNAME_OPTIONS}</select>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<strong>{L_NO_FOES}</strong>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_YOUR_FOES_EXPLAIN}</p>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="add">{L_ADD_FOES}:</label></dt>
|
||||||
|
<dd><textarea name="add" id="add" rows="3" cols="30" class="inputbox">{USERNAMES}</textarea></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_ADD_FOES_EXPLAIN}</p>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
34
art_mobile/template/ucp_zebra_friends.html
Normal file
34
art_mobile/template/ucp_zebra_friends.html
Normal file
|
@ -0,0 +1,34 @@
|
||||||
|
<!-- INCLUDE ucp_header.html -->
|
||||||
|
|
||||||
|
<form id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}>
|
||||||
|
|
||||||
|
<p>{L_FRIENDS_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<!-- IF ERROR --><p class="error">{ERROR}</p><!-- ENDIF -->
|
||||||
|
<dl>
|
||||||
|
<dt><label <!-- IF S_USERNAME_OPTIONS -->for="usernames"<!-- ENDIF -->>{L_YOUR_FRIENDS}:</label></dt>
|
||||||
|
<dd>
|
||||||
|
<!-- IF S_USERNAME_OPTIONS -->
|
||||||
|
<select name="usernames[]" id="usernames" multiple="multiple" size="5" style="width: 160px">{S_USERNAME_OPTIONS}</select>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<strong>{L_NO_FRIENDS}</strong>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_YOUR_FRIENDS_EXPLAIN}</p>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="add">{L_ADD_FRIENDS}:</label></dt>
|
||||||
|
<dd><textarea name="add" id="add" rows="3" cols="30" class="inputbox">{USERNAMES}</textarea></dd>
|
||||||
|
</dl>
|
||||||
|
<p class="explain">{L_ADD_FRIENDS_EXPLAIN}</p>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}<input type="reset" value="{L_RESET}" name="reset" class="button2" />
|
||||||
|
<input type="submit" name="submit" value="{L_SUBMIT}" class="button1" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE ucp_footer.html -->
|
115
art_mobile/template/viewforum_body.html
Normal file
115
art_mobile/template/viewforum_body.html
Normal file
|
@ -0,0 +1,115 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
<!-- IF U_MCP --><p><a href="{U_MCP}">{L_MCP}</a></p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_FORUM_RULES and not S_IS_BOT -->
|
||||||
|
<div class="block rules">
|
||||||
|
<!-- IF U_FORUM_RULES -->
|
||||||
|
<a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<h2>{L_FORUM_RULES}</h2>
|
||||||
|
{FORUM_RULES}
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_IS_BOT and FORUM_DESC --><p>{FORUM_DESC}</p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_HAS_SUBFORUM -->
|
||||||
|
<!-- INCLUDE forumlist_body.html -->
|
||||||
|
<!-- IF not S_IS_BOT and U_MARK_FORUMS -->
|
||||||
|
<p class="float-right"><a href="{U_MARK_FORUMS}">{L_MARK_SUBFORUMS_READ}</a></p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF not S_IS_BOT and S_DISPLAY_POST_INFO -->
|
||||||
|
<div class="buttons">
|
||||||
|
<a href="{U_POST_NEW_TOPIC}" class="gradient link"><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
|
||||||
|
<!-- IF S_NO_READ_ACCESS -->
|
||||||
|
|
||||||
|
<div class="block rules">
|
||||||
|
{L_NO_READ_ACCESS}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
|
||||||
|
|
||||||
|
<form action="{S_LOGIN_ACTION}" method="post">
|
||||||
|
|
||||||
|
<h3><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a><!-- IF S_REGISTER_ENABLED --> • <a href="{U_REGISTER}">{L_REGISTER}</a><!-- ENDIF --></h3>
|
||||||
|
|
||||||
|
<fieldset class="fields1">
|
||||||
|
<dl>
|
||||||
|
<dt><label for="username">{L_USERNAME}:</label></dt>
|
||||||
|
<dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" /></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt><label for="password">{L_PASSWORD}:</label></dt>
|
||||||
|
<dd><input type="password" tabindex="2" id="password" name="password" size="25" class="inputbox autowidth" /></dd>
|
||||||
|
<!-- IF S_AUTOLOGIN_ENABLED --><dd><label for="autologin"><input type="checkbox" name="autologin" id="autologin" tabindex="3" /> {L_LOG_ME_IN}</label></dd><!-- ENDIF -->
|
||||||
|
<dd><label for="viewonline"><input type="checkbox" name="viewonline" id="viewonline" tabindex="4" /> {L_HIDE_ME}</label></dd>
|
||||||
|
</dl>
|
||||||
|
<dl>
|
||||||
|
<dt> </dt>
|
||||||
|
<dd><input type="submit" name="login" tabindex="5" value="{L_LOGIN}" class="button1" /></dd>
|
||||||
|
</dl>
|
||||||
|
{S_LOGIN_REDIRECT}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- BEGIN topicrow -->
|
||||||
|
|
||||||
|
<!-- IF not topicrow.S_TOPIC_TYPE_SWITCH and not topicrow.S_FIRST_ROW -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF topicrow.S_FIRST_ROW or not topicrow.S_TOPIC_TYPE_SWITCH -->
|
||||||
|
<div class="forums<!-- IF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) --> announcement<!-- ENDIF -->">
|
||||||
|
<p class="header gradient"><!-- IF S_DISPLAY_ACTIVE -->{L_ACTIVE_TOPICS}<!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH and (topicrow.S_POST_ANNOUNCE or topicrow.S_POST_GLOBAL) -->{L_ANNOUNCEMENTS}<!-- ELSE -->{L_TOPICS}<!-- ENDIF --></p>
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<li class="row topic-{topicrow.S_TOPIC_TYPE}<!-- IF topicrow.S_UNREAD_TOPIC --> row-new<!-- ENDIF --><!-- IF topicrow.S_TOPIC_LOCKED --> locked<!-- ENDIF --><!-- IF topicrow.PAGINATION --> has-pagination<!-- ENDIF --> link" onclick="document.location.href='<!-- IF topicrow.S_UNREAD_TOPIC and not S_IS_BOT -->{topicrow.U_NEWEST_POST}<!-- ELSE -->{topicrow.U_VIEW_TOPIC}<!-- ENDIF -->'; return false;">
|
||||||
|
<p><a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||||
|
<!-- IF topicrow.S_UNREAD_TOPIC and not S_IS_BOT --><a href="{topicrow.U_NEWEST_POST}" class="newest">{L_NEW_POST}</a><!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
<p><span class="replies<!-- IF not topicrow.REPLIES --> empty<!-- ENDIF -->" title="{L_REPLIES}">{topicrow.REPLIES}</span> {topicrow.LAST_POST_TIME}</p>
|
||||||
|
</li>
|
||||||
|
<!-- IF topicrow.PAGINATION -->
|
||||||
|
<li class="row-pagination<!-- IF topicrow.S_UNREAD_TOPIC --> row-new<!-- ENDIF --><!-- IF topicrow.S_TOPIC_LOCKED --> locked<!-- ENDIF -->">
|
||||||
|
{L_GOTO_PAGE}: <span class="pages">{topicrow.PAGINATION}</span>
|
||||||
|
</li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF topicrow.S_LAST_ROW -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<!-- IF S_IS_POSTABLE -->
|
||||||
|
<div class="block">
|
||||||
|
{L_NO_TOPICS}
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- END topicrow -->
|
||||||
|
|
||||||
|
<!-- IF not S_IS_BOT and U_MARK_TOPICS --><p class="float-right"><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a></p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .topicrow and not S_DISPLAY_ACTIVE and not S_IS_BOT and S_DISPLAY_POST_INFO -->
|
||||||
|
<div class="buttons">
|
||||||
|
<a href="{U_POST_NEW_TOPIC}" class="gradient link"><!-- IF S_IS_LOCKED -->{L_FORUM_LOCKED}<!-- ELSE -->{L_POST_TOPIC}<!-- ENDIF --></a>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE jumpbox.html -->
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
185
art_mobile/template/viewtopic_body.html
Normal file
185
art_mobile/template/viewtopic_body.html
Normal file
|
@ -0,0 +1,185 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
<!-- IF U_MCP --><p><a href="{U_MCP}">{L_MCP}</a></p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- NOTE: remove the style="display: none" when you want to have the forum description on the topic body -->
|
||||||
|
<!-- IF FORUM_DESC and not S_IS_BOT --><div style="display: none !important;">{FORUM_DESC}<br /></div><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_FORUM_RULES and not S_IS_BOT -->
|
||||||
|
<div class="rules block">
|
||||||
|
<!-- IF U_FORUM_RULES -->
|
||||||
|
<a href="{U_FORUM_RULES}">{L_FORUM_RULES}</a>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<h2>{L_FORUM_RULES}</h2>
|
||||||
|
{FORUM_RULES}
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
|
||||||
|
<!-- IF S_DISPLAY_SEARCHBOX -->
|
||||||
|
<div class="search-box float-right">
|
||||||
|
<form method="get" id="topic-search" action="{S_SEARCHBOX_ACTION}">
|
||||||
|
<fieldset>
|
||||||
|
<input class="inputbox search tiny" type="text" name="keywords" id="search_keywords" size="20" value="{L_SEARCH_TOPIC}" onclick="if(this.value=='{LA_SEARCH_TOPIC}')this.value='';" onblur="if(this.value=='')this.value='{LA_SEARCH_TOPIC}';" />
|
||||||
|
<input class="button2" type="submit" value="{L_SEARCH}" />
|
||||||
|
{S_SEARCH_LOCAL_HIDDEN_FIELDS}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<div class="buttons">
|
||||||
|
<a href="{U_POST_REPLY_TOPIC}" class="gradient link"><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_HAS_POLL -->
|
||||||
|
<form method="post" action="{S_POLL_ACTION}">
|
||||||
|
<div class="block">
|
||||||
|
<h2>{POLL_QUESTION}</h2>
|
||||||
|
<p class="author">{L_POLL_LENGTH}<!-- IF S_CAN_VOTE and L_POLL_LENGTH --><br /><!-- ENDIF --><!-- IF S_CAN_VOTE -->{L_MAX_VOTES}<!-- ENDIF --></p>
|
||||||
|
|
||||||
|
<fieldset class="polls fields2">
|
||||||
|
<!-- BEGIN poll_option -->
|
||||||
|
<dl class="<!-- IF poll_option.POLL_OPTION_VOTED -->voted<!-- ENDIF -->"<!-- IF poll_option.POLL_OPTION_VOTED --> title="{L_POLL_VOTED_OPTION}"<!-- ENDIF -->>
|
||||||
|
<dt><!-- IF S_CAN_VOTE --><label for="vote_{poll_option.POLL_OPTION_ID}">{poll_option.POLL_OPTION_CAPTION}</label><!-- ELSE -->{poll_option.POLL_OPTION_CAPTION}<!-- ENDIF --></dt>
|
||||||
|
<!-- IF S_CAN_VOTE --><dd><!-- IF S_IS_MULTI_CHOICE --><input type="checkbox" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --><input type="radio" name="vote_id[]" id="vote_{poll_option.POLL_OPTION_ID}" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /><!-- ENDIF --></dd><!-- ENDIF -->
|
||||||
|
<!-- IF S_DISPLAY_RESULTS --><dd class="resultbar"><div class="<!-- IF poll_option.POLL_OPTION_PCT < 20 -->pollbar1<!-- ELSEIF poll_option.POLL_OPTION_PCT < 40 -->pollbar2<!-- ELSEIF poll_option.POLL_OPTION_PCT < 60 -->pollbar3<!-- ELSEIF poll_option.POLL_OPTION_PCT < 80 -->pollbar4<!-- ELSE -->pollbar5<!-- ENDIF -->" style="width:{poll_option.POLL_OPTION_PERCENT};">{poll_option.POLL_OPTION_RESULT}</div></dd>
|
||||||
|
<dd><!-- IF poll_option.POLL_OPTION_RESULT == 0 -->{L_NO_VOTES}<!-- ELSE -->{poll_option.POLL_OPTION_PERCENT}<!-- ENDIF --></dd><!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
<!-- END poll_option -->
|
||||||
|
|
||||||
|
<!-- IF S_DISPLAY_RESULTS -->
|
||||||
|
<dl>
|
||||||
|
<dt> </dt>
|
||||||
|
<dd class="resultbar">{L_TOTAL_VOTES} : {TOTAL_VOTES}</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_CAN_VOTE -->
|
||||||
|
<dl style="border-top: none;">
|
||||||
|
<dt> </dt>
|
||||||
|
<dd class="resultbar"><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="button1" /></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF not S_DISPLAY_RESULTS -->
|
||||||
|
<dl style="border-top: none;">
|
||||||
|
<dt> </dt>
|
||||||
|
<dd class="resultbar"><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</fieldset>
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
{S_HIDDEN_FIELDS}
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- BEGIN postrow -->
|
||||||
|
<!-- IF postrow.S_FIRST_UNREAD --><a id="unread"></a><!-- ENDIF -->
|
||||||
|
<div id="p{postrow.POST_ID}" class="block post<!-- IF postrow.S_UNREAD_POST --> unreadpost<!-- ENDIF --><!-- IF postrow.S_ONLINE and not postrow.S_IGNORE_POST --> online<!-- ENDIF -->">
|
||||||
|
<div class="post-header">
|
||||||
|
<!-- IF not S_IS_BOT -->
|
||||||
|
<!-- IF postrow.U_EDIT or postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or postrow.U_QUOTE -->
|
||||||
|
<div class="post-author gradient link settings">
|
||||||
|
<a href="javascript:void(0);"> </a>
|
||||||
|
<ul class="sub">
|
||||||
|
<!-- IF postrow.U_EDIT --><li><a href="{postrow.U_EDIT}">{L_EDIT_POST}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF postrow.U_DELETE --><li><a href="{postrow.U_DELETE}">{L_DELETE_POST}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF postrow.U_REPORT --><li><a href="{postrow.U_REPORT}">{L_REPORT_POST}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF postrow.U_WARN --><li><a href="{postrow.U_WARN}">{L_WARN_USER}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF postrow.U_INFO --><li><a href="{postrow.U_INFO}">{L_INFORMATION}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF postrow.U_QUOTE --><li><a href="{postrow.U_QUOTE}">{L_REPLY_WITH_QUOTE}</a></li><!-- ENDIF -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF postrow.U_POST_AUTHOR -->
|
||||||
|
<div class="post-author gradient link">
|
||||||
|
<a href="{postrow.U_POST_AUTHOR}">{postrow.POST_AUTHOR}</a>
|
||||||
|
<ul class="sub">
|
||||||
|
<li><a href="{postrow.U_POST_AUTHOR}">{postrow.POST_AUTHOR}</a></li>
|
||||||
|
<!-- IF postrow.POSTER_POSTS != '' --><li><span>{L_POSTS}: {postrow.POSTER_POSTS}</span></li><!-- ENDIF -->
|
||||||
|
<!-- IF postrow.POSTER_JOINED --><li><span>{L_JOINED}: {postrow.POSTER_JOINED}</span></li><!-- ENDIF -->
|
||||||
|
<!-- IF postrow.POSTER_FROM --><li><span>{L_LOCATION}: {postrow.POSTER_FROM}</span></li><!-- ENDIF -->
|
||||||
|
<!-- IF postrow.S_PROFILE_FIELD1 -->
|
||||||
|
<li><span>{postrow.PROFILE_FIELD1_NAME}: {postrow.PROFILE_FIELD1_VALUE}</span></li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- BEGIN custom_fields -->
|
||||||
|
<li><span>{postrow.custom_fields.PROFILE_FIELD_NAME}: {postrow.custom_fields.PROFILE_FIELD_VALUE}</span></li>
|
||||||
|
<!-- END custom_fields -->
|
||||||
|
<!-- IF not S_IS_BOT -->
|
||||||
|
<!-- IF postrow.U_PM --><li><a href="{postrow.U_PM}">{L_PRIVATE_MESSAGE}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF postrow.U_EMAIL --><li><a href="{postrow.U_EMAIL}">{L_SEND_EMAIL_USER} {postrow.POST_AUTHOR}</a></li><!-- ENDIF -->
|
||||||
|
<!-- IF postrow.U_WWW --><li><a href="{postrow.U_WWW}">{L_WEBSITE}</a></li><!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<h2>{postrow.POST_SUBJECT}</h2>
|
||||||
|
</div>
|
||||||
|
<p class="post-time">{postrow.POST_DATE}</p>
|
||||||
|
|
||||||
|
<div class="postbody">
|
||||||
|
<!-- IF postrow.S_IGNORE_POST -->
|
||||||
|
<div class="block rules">{postrow.L_IGNORE_POST}</div>
|
||||||
|
<!-- ELSE -->
|
||||||
|
|
||||||
|
<!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED -->
|
||||||
|
<p class="block rules">
|
||||||
|
<!-- IF postrow.S_POST_UNAPPROVED --><a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a><br /><!-- ENDIF -->
|
||||||
|
<!-- IF postrow.S_POST_REPORTED --><a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a><!-- ENDIF -->
|
||||||
|
</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
{postrow.MESSAGE}
|
||||||
|
|
||||||
|
<!-- IF postrow.S_HAS_ATTACHMENTS -->
|
||||||
|
<dl class="attachbox">
|
||||||
|
<dt>{L_ATTACHMENTS}</dt>
|
||||||
|
<!-- BEGIN attachment -->
|
||||||
|
<dd>{postrow.attachment.DISPLAY_ATTACHMENT}</dd>
|
||||||
|
<!-- END attachment -->
|
||||||
|
</dl>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF postrow.S_DISPLAY_NOTICE --><div class="block rules">{L_DOWNLOAD_NOTICE}</div><!-- ENDIF -->
|
||||||
|
<!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON -->
|
||||||
|
<div class="notice">{postrow.EDITED_MESSAGE}
|
||||||
|
<!-- IF postrow.EDIT_REASON --><br /><strong>{L_REASON}:</strong> <em>{postrow.EDIT_REASON}</em><!-- ENDIF -->
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF postrow.BUMPED_MESSAGE --><div class="notice"><br /><br />{postrow.BUMPED_MESSAGE}</div><!-- ENDIF -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- END postrow -->
|
||||||
|
|
||||||
|
<!-- IF not S_IS_BOT and S_DISPLAY_REPLY_INFO -->
|
||||||
|
<div class="buttons">
|
||||||
|
<a href="{U_POST_REPLY_TOPIC}" class="gradient link"><!-- IF S_IS_LOCKED -->{L_TOPIC_LOCKED_SHORT}<!-- ELSE -->{L_POST_REPLY}<!-- ENDIF --></a>
|
||||||
|
<!-- IF S_QUICK_REPLY -->
|
||||||
|
<a href="javascript:void(0);" onclick="document.getElementById('qr_editor_div').style.display = ''; this.style.display = 'none'; return false;" class="gradient link">{L_SHOW_QR}</a>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_QUICK_REPLY -->
|
||||||
|
<!-- INCLUDE quickreply_editor.html -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE jumpbox.html -->
|
||||||
|
|
||||||
|
<!-- IF S_TOPIC_MOD -->
|
||||||
|
<form method="post" action="{S_MOD_ACTION}">
|
||||||
|
<fieldset class="quickmod">
|
||||||
|
<label for="quick-mod-select">{L_QUICK_MOD}:</label> {S_TOPIC_MOD} <input type="submit" value="{L_GO}" class="button2" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
BIN
art_mobile/theme/images/arrow_down.gif
Normal file
BIN
art_mobile/theme/images/arrow_down.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 96 B |
BIN
art_mobile/theme/images/arrow_left.gif
Normal file
BIN
art_mobile/theme/images/arrow_left.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 99 B |
BIN
art_mobile/theme/images/arrow_right.gif
Normal file
BIN
art_mobile/theme/images/arrow_right.gif
Normal file
Binary file not shown.
After Width: | Height: | Size: 99 B |
Some files were not shown because too many files have changed in this diff Show more
Loading…
Reference in a new issue