After Width: | Height: | Size: 754 B |
After Width: | Height: | Size: 738 B |
After Width: | Height: | Size: 753 B |
After Width: | Height: | Size: 750 B |
After Width: | Height: | Size: 756 B |
After Width: | Height: | Size: 745 B |
After Width: | Height: | Size: 755 B |
After Width: | Height: | Size: 791 B |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 2.0 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 1.9 KiB |
After Width: | Height: | Size: 2.7 KiB |
After Width: | Height: | Size: 2.1 KiB |
After Width: | Height: | Size: 677 B |
After Width: | Height: | Size: 853 B |
After Width: | Height: | Size: 1.1 KiB |
After Width: | Height: | Size: 423 B |
|
@ -0,0 +1,33 @@
|
||||||
|
#
|
||||||
|
# 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 = Minetest Maintheme
|
||||||
|
copyright = © phpBB Group, 2007
|
||||||
|
version = 3.0.12
|
||||||
|
|
||||||
|
img_icon_contact_pm = icon_contact_pm.gif*20*28
|
||||||
|
img_icon_post_edit = icon_post_edit.gif*20*42
|
||||||
|
img_icon_post_quote = icon_post_quote.gif*20*54
|
||||||
|
img_icon_user_online = icon_user_online.gif*58*58
|
||||||
|
img_button_pm_forward = button_pm_forward.gif*25*96
|
||||||
|
img_button_pm_new = button_pm_new.gif*25*84
|
||||||
|
img_button_pm_reply = button_pm_reply.gif*25*96
|
||||||
|
img_button_topic_locked = button_topic_locked.gif*25*88
|
||||||
|
img_button_topic_new = button_topic_new.gif*25*96
|
||||||
|
img_button_topic_reply = button_topic_reply.gif*25*96
|
After Width: | Height: | Size: 734 B |
After Width: | Height: | Size: 688 B |
After Width: | Height: | Size: 707 B |
After Width: | Height: | Size: 751 B |
After Width: | Height: | Size: 693 B |
After Width: | Height: | Size: 677 B |
After Width: | Height: | Size: 751 B |
After Width: | Height: | Size: 204 B |
After Width: | Height: | Size: 546 B |
After Width: | Height: | Size: 523 B |
After Width: | Height: | Size: 562 B |
After Width: | Height: | Size: 1014 B |
After Width: | Height: | Size: 588 B |
After Width: | Height: | Size: 590 B |
After Width: | Height: | Size: 541 B |
After Width: | Height: | Size: 384 B |
After Width: | Height: | Size: 393 B |
After Width: | Height: | Size: 528 B |
After Width: | Height: | Size: 501 B |
After Width: | Height: | Size: 474 B |
After Width: | Height: | Size: 186 B |
After Width: | Height: | Size: 151 B |
After Width: | Height: | Size: 465 B |
After Width: | Height: | Size: 462 B |
After Width: | Height: | Size: 144 B |
After Width: | Height: | Size: 186 B |
After Width: | Height: | Size: 155 B |
After Width: | Height: | Size: 246 B |
After Width: | Height: | Size: 253 B |
After Width: | Height: | Size: 481 B |
|
@ -0,0 +1,91 @@
|
||||||
|
#
|
||||||
|
# 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 = Minetest Maintheme
|
||||||
|
copyright = © phpBB Group, 2007
|
||||||
|
version = 3.0.12
|
||||||
|
|
||||||
|
img_site_logo = minetest-icon-60.png*60*60
|
||||||
|
img_icon_back_top = icon_back_top.gif*11*11
|
||||||
|
img_icon_contact_aim = icon_contact_aim.gif*20*20
|
||||||
|
img_icon_contact_email = icon_contact_email.gif*20*20
|
||||||
|
img_icon_contact_icq = icon_contact_icq.gif*20*20
|
||||||
|
img_icon_contact_jabber = icon_contact_jabber.gif*20*20
|
||||||
|
img_icon_contact_msnm = icon_contact_msnm.gif*20*20
|
||||||
|
img_icon_contact_yahoo = icon_contact_yahoo.gif*20*20
|
||||||
|
img_icon_contact_www = icon_contact_www.gif*20*20
|
||||||
|
img_icon_post_delete = icon_post_delete.gif*20*20
|
||||||
|
img_icon_post_info = icon_post_info.gif*20*20
|
||||||
|
img_icon_post_report = icon_post_report.gif*20*20
|
||||||
|
img_icon_user_warn = icon_user_warn.gif*20*20
|
||||||
|
img_icon_post_target = icon_post_target.gif*9*11
|
||||||
|
img_icon_post_target_unread = icon_post_target_unread.gif*9*11
|
||||||
|
img_icon_topic_attach = icon_topic_attach.gif*10*7
|
||||||
|
img_icon_topic_latest = icon_topic_latest.gif*9*11
|
||||||
|
img_icon_topic_newest = icon_topic_newest.gif*9*11
|
||||||
|
img_icon_topic_reported = icon_topic_reported.gif*14*16
|
||||||
|
img_icon_topic_unapproved = icon_topic_unapproved.gif*14*16
|
||||||
|
img_forum_link = forum_link.gif*27*27
|
||||||
|
img_forum_read = forum_read.gif*27*27
|
||||||
|
img_forum_read_locked = forum_read_locked.gif*27*27
|
||||||
|
img_forum_read_subforum = forum_read_subforum.gif*27*27
|
||||||
|
img_forum_unread = forum_unread.gif*27*27
|
||||||
|
img_forum_unread_locked = forum_unread_locked.gif*27*27
|
||||||
|
img_forum_unread_subforum = forum_unread_subforum.gif*27*27
|
||||||
|
img_subforum_read = subforum_read.gif*9*11
|
||||||
|
img_subforum_unread = subforum_unread.gif*9*11
|
||||||
|
img_topic_moved = topic_moved.gif*27*27
|
||||||
|
img_topic_read = topic_read.gif*27*27
|
||||||
|
img_topic_read_mine = topic_read_mine.gif*27*27
|
||||||
|
img_topic_read_hot = topic_read.gif*27*27
|
||||||
|
img_topic_read_hot_mine = topic_read_hot_mine.gif*27*27
|
||||||
|
img_topic_read_locked = topic_read_locked.gif*27*27
|
||||||
|
img_topic_read_locked_mine = topic_read_locked_mine.gif*27*27
|
||||||
|
img_topic_unread = topic_unread.gif*27*27
|
||||||
|
img_topic_unread_mine = topic_unread_mine.gif*27*27
|
||||||
|
img_topic_unread_hot = topic_unread.gif*27*27
|
||||||
|
img_topic_unread_hot_mine = topic_unread_hot_mine.gif*27*27
|
||||||
|
img_topic_unread_locked = topic_unread_locked.gif*27*27
|
||||||
|
img_topic_unread_locked_mine = topic_unread_locked_mine.gif*27*27
|
||||||
|
img_sticky_read = sticky_read.gif*27*27
|
||||||
|
img_sticky_read_mine = sticky_read_mine.gif*27*27
|
||||||
|
img_sticky_read_locked = sticky_read_locked.gif*27*27
|
||||||
|
img_sticky_read_locked_mine = sticky_read_locked_mine.gif*27*27
|
||||||
|
img_sticky_unread = sticky_unread.gif*27*27
|
||||||
|
img_sticky_unread_mine = sticky_unread_mine.gif*27*27
|
||||||
|
img_sticky_unread_locked = sticky_unread_locked.gif*27*27
|
||||||
|
img_sticky_unread_locked_mine = sticky_unread_locked_mine.gif*27*27
|
||||||
|
img_announce_read = announce_read.gif*27*27
|
||||||
|
img_announce_read_mine = announce_read_mine.gif*27*27
|
||||||
|
img_announce_read_locked = announce_read_locked.gif*27*27
|
||||||
|
img_announce_read_locked_mine = announce_read_locked_mine.gif*27*27
|
||||||
|
img_announce_unread = announce_unread.gif*27*27
|
||||||
|
img_announce_unread_mine = announce_unread_mine.gif*27*27
|
||||||
|
img_announce_unread_locked = announce_unread_locked.gif*27*27
|
||||||
|
img_announce_unread_locked_mine = announce_unread_locked_mine.gif*27*27
|
||||||
|
img_global_read = announce_read.gif*27*27
|
||||||
|
img_global_read_mine = announce_read_mine.gif*27*27
|
||||||
|
img_global_read_locked = announce_read_locked.gif*27*27
|
||||||
|
img_global_read_locked_mine = announce_read_locked_mine.gif*27*27
|
||||||
|
img_global_unread = announce_unread.gif*27*27
|
||||||
|
img_global_unread_mine = announce_unread_mine.gif*27*27
|
||||||
|
img_global_unread_locked = announce_unread_locked.gif*27*27
|
||||||
|
img_global_unread_locked_mine = announce_unread_locked_mine.gif*27*27
|
||||||
|
img_pm_read = topic_read.gif*27*27
|
||||||
|
img_pm_unread = topic_unread.gif*27*27
|
After Width: | Height: | Size: 5.6 KiB |
After Width: | Height: | Size: 651 B |
After Width: | Height: | Size: 646 B |
After Width: | Height: | Size: 662 B |
After Width: | Height: | Size: 659 B |
After Width: | Height: | Size: 648 B |
After Width: | Height: | Size: 626 B |
After Width: | Height: | Size: 682 B |
After Width: | Height: | Size: 669 B |
After Width: | Height: | Size: 124 B |
After Width: | Height: | Size: 124 B |
After Width: | Height: | Size: 693 B |
After Width: | Height: | Size: 679 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.5 KiB |
After Width: | Height: | Size: 748 B |
After Width: | Height: | Size: 749 B |
After Width: | Height: | Size: 695 B |
After Width: | Height: | Size: 678 B |
After Width: | Height: | Size: 1.4 KiB |
After Width: | Height: | Size: 1.3 KiB |
After Width: | Height: | Size: 745 B |
After Width: | Height: | Size: 764 B |
After Width: | Height: | Size: 704 B |
|
@ -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 = Minetest Maintheme
|
||||||
|
copyright = © phpBB Group, 2007 | BlockMen, 2014
|
||||||
|
version = 3.0.12
|
|
@ -0,0 +1,122 @@
|
||||||
|
|
||||||
|
<!-- 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}" onclick="viewableArea(this);" /></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 -->
|
||||||
|
<!-- method used here from http://alistapart.com/articles/byebyeembed / autosizing seems to not work always, this will not fix -->
|
||||||
|
<object width="320" height="285" classid="CLSID:6BF52A52-394A-11d3-B153-00C04F79FAA6" id="wmstream_{_file.ATTACH_ID}">
|
||||||
|
<param name="url" value="{_file.U_DOWNLOAD_LINK}" />
|
||||||
|
<param name="showcontrols" value="1" />
|
||||||
|
<param name="showdisplay" value="0" />
|
||||||
|
<param name="showstatusbar" value="0" />
|
||||||
|
<param name="autosize" value="1" />
|
||||||
|
<param name="autostart" value="0" />
|
||||||
|
<param name="visible" value="1" />
|
||||||
|
<param name="animationstart" value="0" />
|
||||||
|
<param name="loop" value="0" />
|
||||||
|
<param name="src" value="{_file.U_DOWNLOAD_LINK}" />
|
||||||
|
<!--[if !IE]>-->
|
||||||
|
<object width="320" height="285" type="video/x-ms-wmv" data="{_file.U_DOWNLOAD_LINK}">
|
||||||
|
<param name="src" value="{_file.U_DOWNLOAD_LINK}" />
|
||||||
|
<param name="controller" value="1" />
|
||||||
|
<param name="showcontrols" value="1" />
|
||||||
|
<param name="showdisplay" value="0" />
|
||||||
|
<param name="showstatusbar" value="0" />
|
||||||
|
<param name="autosize" value="1" />
|
||||||
|
<param name="autostart" value="0" />
|
||||||
|
<param name="visible" value="1" />
|
||||||
|
<param name="animationstart" value="0" />
|
||||||
|
<param name="loop" value="0" />
|
||||||
|
</object>
|
||||||
|
<!--<![endif]-->
|
||||||
|
</object>
|
||||||
|
|
||||||
|
<!-- ELSEIF _file.S_FLASH_FILE -->
|
||||||
|
<object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="{_file.WIDTH}" height="{_file.HEIGHT}">
|
||||||
|
<param name="movie" value="{_file.U_VIEW_LINK}" />
|
||||||
|
<param name="play" value="true" />
|
||||||
|
<param name="loop" value="true" />
|
||||||
|
<param name="quality" value="high" />
|
||||||
|
<param name="allowScriptAccess" value="never" />
|
||||||
|
<param name="allowNetworking" value="internal" />
|
||||||
|
<embed src="{_file.U_VIEW_LINK}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="{_file.WIDTH}" height="{_file.HEIGHT}" play="true" loop="true" quality="high" allowscriptaccess="never" allownetworking="internal"></embed>
|
||||||
|
</object>
|
||||||
|
<!-- ELSEIF _file.S_QUICKTIME_FILE -->
|
||||||
|
<object id="qtstream_{_file.ATTACH_ID}" classid="clsid:02BF25D5-8C17-4B23-BC80-D3488ABDDC6B" codebase="http://www.apple.com/qtactivex/qtplugin.cab#version=6,0,2,0" width="320" height="285">
|
||||||
|
<param name="src" value="{_file.U_DOWNLOAD_LINK}" />
|
||||||
|
<param name="controller" value="true" />
|
||||||
|
<param name="autoplay" value="false" />
|
||||||
|
<param name="type" value="video/quicktime" />
|
||||||
|
<embed name="qtstream_{_file.ATTACH_ID}" src="{_file.U_DOWNLOAD_LINK}" pluginspage="http://www.apple.com/quicktime/download/" enablejavascript="true" controller="true" width="320" height="285" type="video/quicktime" autoplay="false"></embed>
|
||||||
|
</object>
|
||||||
|
<!-- ELSEIF _file.S_RM_FILE -->
|
||||||
|
<object id="rmstream_{_file.ATTACH_ID}" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="200" height="50">
|
||||||
|
<param name="src" value="{_file.U_DOWNLOAD_LINK}" />
|
||||||
|
<param name="autostart" value="false" />
|
||||||
|
<param name="controls" value="ImageWindow" />
|
||||||
|
<param name="console" value="ctrls_{_file.ATTACH_ID}" />
|
||||||
|
<param name="prefetch" value="false" />
|
||||||
|
<embed name="rmstream_{_file.ATTACH_ID}" type="audio/x-pn-realaudio-plugin" src="{_file.U_DOWNLOAD_LINK}" width="0" height="0" autostart="false" controls="ImageWindow" console="ctrls_{_file.ATTACH_ID}" prefetch="false"></embed>
|
||||||
|
</object>
|
||||||
|
<br />
|
||||||
|
<object id="ctrls_{_file.ATTACH_ID}" classid="clsid:CFCDAA03-8BE4-11cf-B84B-0020AFBBCCFA" width="0" height="36">
|
||||||
|
<param name="controls" value="ControlPanel" />
|
||||||
|
<param name="console" value="ctrls_{_file.ATTACH_ID}" />
|
||||||
|
<embed name="ctrls_{_file.ATTACH_ID}" type="audio/x-pn-realaudio-plugin" width="200" height="36" controls="ControlPanel" console="ctrls_{_file.ATTACH_ID}"></embed>
|
||||||
|
</object>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
// <![CDATA[
|
||||||
|
if (document.rmstream_{_file.ATTACH_ID}.GetClipWidth)
|
||||||
|
{
|
||||||
|
while (!document.rmstream_{_file.ATTACH_ID}.GetClipWidth())
|
||||||
|
{
|
||||||
|
}
|
||||||
|
|
||||||
|
var width = document.rmstream_{_file.ATTACH_ID}.GetClipWidth();
|
||||||
|
var height = document.rmstream_{_file.ATTACH_ID}.GetClipHeight();
|
||||||
|
|
||||||
|
document.rmstream_{_file.ATTACH_ID}.width = width;
|
||||||
|
document.rmstream_{_file.ATTACH_ID}.height = height;
|
||||||
|
document.ctrls_{_file.ATTACH_ID}.width = width;
|
||||||
|
}
|
||||||
|
// ]]>
|
||||||
|
</script>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF _file.S_WM_FILE or _file.S_RM_FILE or _file.S_FLASH_FILE or _file.S_QUICKTIME_FILE -->
|
||||||
|
<p>
|
||||||
|
<!-- IF _file.S_QUICKTIME_FILE --><a href="#" onclick="play_qt_file(document.qtstream_{_file.ATTACH_ID}); return false;">[ {L_PLAY_QUICKTIME_FILE} ]</a> <!-- ENDIF -->
|
||||||
|
<a href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a> [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- END _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}: <a href="#" onclick="selectCode(this); return false;">{L_SELECT_ALL_CODE}</a></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}" /><!-- 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 --><object classid="clsid:D27CDB6E-AE6D-11CF-96B8-444553540000" codebase="http://active.macromedia.com/flash2/cabs/swflash.cab#version=5,0,0,0" width="{WIDTH}" height="{HEIGHT}"><param name="movie" value="{URL}" /><param name="play" value="false" /><param name="loop" value="false" /><param name="quality" value="high" /><param name="allowScriptAccess" value="never" /><param name="allowNetworking" value="internal" /><embed src="{URL}" type="application/x-shockwave-flash" pluginspage="http://www.macromedia.com/shockwave/download/index.cgi?P1_Prod_Version=ShockwaveFlash" width="{WIDTH}" height="{HEIGHT}" play="false" loop="false" quality="high" allowscriptaccess="never" allownetworking="internal"></embed></object><!-- END flash -->
|
|
@ -0,0 +1,24 @@
|
||||||
|
<!-- 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><img src="{CONFIRM_IMAGE_LINK}" alt="{L_CONFIRM_CODE}" /></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>
|
||||||
|
<dd>{L_CONFIRM_CODE_EXPLAIN}</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<!-- IF S_TYPE == 1 -->
|
||||||
|
</fieldset>
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
|
@ -0,0 +1,21 @@
|
||||||
|
<!-- IF S_TYPE == 1 -->
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<h3>{L_CONFIRMATION}</h3>
|
||||||
|
<fieldset class="fields2">
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<dl>
|
||||||
|
<dt><label>{QA_CONFIRM_QUESTION}:</label><br /><span>{L_CONFIRM_QUESTION_EXPLAIN}</span></dt>
|
||||||
|
<dd>
|
||||||
|
<input type="text" tabindex="{$CAPTCHA_TAB_INDEX}" name="qa_answer" id="answer" size="45" class="inputbox autowidth" title="{L_ANSWER}" />
|
||||||
|
<input type="hidden" name="qa_confirm_id" id="qa_confirm_id" value="{QA_CONFIRM_ID}" />
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
|
||||||
|
<!-- IF S_TYPE == 1 -->
|
||||||
|
</fieldset>
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
|
@ -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>
|
||||||
|
<dd>
|
||||||
|
<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>
|
||||||
|
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
<!-- ELSE -->
|
||||||
|
{L_RECAPTCHA_NOT_AVAILABLE}
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_TYPE == 1 -->
|
||||||
|
</fieldset>
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
|
@ -0,0 +1,20 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<form id="confirm" action="{S_CONFIRM_ACTION}" method="post">
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<h2>{MESSAGE_TITLE}</h2>
|
||||||
|
<p>{MESSAGE_TEXT}</p>
|
||||||
|
|
||||||
|
<fieldset class="submit-buttons">
|
||||||
|
{S_HIDDEN_FIELDS}
|
||||||
|
<input type="submit" name="confirm" value="{L_YES}" class="button2" />
|
||||||
|
<input type="submit" name="cancel" value="{L_NO}" class="button2" />
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
|
@ -0,0 +1,31 @@
|
||||||
|
<!-- BEGIN dropdown -->
|
||||||
|
<select name="{dropdown.FIELD_IDENT}" id="{dropdown.FIELD_IDENT}">
|
||||||
|
<!-- BEGIN options --><option value="{dropdown.options.OPTION_ID}"{dropdown.options.SELECTED}>{dropdown.options.VALUE}</option><!-- END options -->
|
||||||
|
</select>
|
||||||
|
<!-- END dropdown -->
|
||||||
|
|
||||||
|
<!-- BEGIN text -->
|
||||||
|
<textarea name="{text.FIELD_IDENT}" id="{text.FIELD_IDENT}" rows="{text.FIELD_ROWS}" cols="{text.FIELD_COLS}" class="inputbox autowidth">{text.FIELD_VALUE}</textarea>
|
||||||
|
<!-- END text -->
|
||||||
|
|
||||||
|
<!-- BEGIN string -->
|
||||||
|
<input type="text" class="inputbox autowidth" name="{string.FIELD_IDENT}" id="{string.FIELD_IDENT}" size="{string.FIELD_LENGTH}" maxlength="{string.FIELD_MAXLEN}" value="{string.FIELD_VALUE}" />
|
||||||
|
<!-- END string -->
|
||||||
|
|
||||||
|
<!-- BEGIN bool -->
|
||||||
|
<!-- IF bool.FIELD_LENGTH eq 1 -->
|
||||||
|
<!-- BEGIN options --><label for="{bool.FIELD_IDENT}_{bool.options.OPTION_ID}"><input type="radio" class="radio" name="{bool.FIELD_IDENT}" id="{bool.FIELD_IDENT}_{bool.options.OPTION_ID}" value="{bool.options.OPTION_ID}"{bool.options.CHECKED} /> {bool.options.VALUE}</label> <!-- END options -->
|
||||||
|
<!-- ELSE -->
|
||||||
|
<input type="checkbox" class="radio" name="{bool.FIELD_IDENT}" id="{bool.FIELD_IDENT}"<!-- IF bool.FIELD_VALUE --> checked="checked"<!-- ENDIF --> />
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- END bool -->
|
||||||
|
|
||||||
|
<!-- BEGIN int -->
|
||||||
|
<input type="text" class="inputbox autowidth" name="{int.FIELD_IDENT}" id="{int.FIELD_IDENT}" size="{int.FIELD_LENGTH}" value="{int.FIELD_VALUE}" />
|
||||||
|
<!-- END int -->
|
||||||
|
|
||||||
|
<!-- BEGIN date -->
|
||||||
|
<label for="{date.FIELD_IDENT}_day">{L_DAY}: <select name="{date.FIELD_IDENT}_day" id="{date.FIELD_IDENT}_day">{date.S_DAY_OPTIONS}</select></label>
|
||||||
|
<label for="{date.FIELD_IDENT}_month">{L_MONTH}: <select name="{date.FIELD_IDENT}_month" id="{date.FIELD_IDENT}_month">{date.S_MONTH_OPTIONS}</select></label>
|
||||||
|
<label for="{date.FIELD_IDENT}_year">{L_YEAR}: <select name="{date.FIELD_IDENT}_year" id="{date.FIELD_IDENT}_year">{date.S_YEAR_OPTIONS}</select></label>
|
||||||
|
<!-- END date -->
|
|
@ -0,0 +1,44 @@
|
||||||
|
|
||||||
|
|
||||||
|
<!-- IF .draftrow -->
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<h3>{L_LOAD_DRAFT}</h3>
|
||||||
|
<p>{L_LOAD_DRAFT_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="<!-- IF not S_PRIVMSGS -->forumbg<!-- ELSE -->panel<!-- ENDIF -->">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<ul class="topiclist">
|
||||||
|
<li class="header">
|
||||||
|
<dl>
|
||||||
|
<dt>{L_LOAD_DRAFT}</dt>
|
||||||
|
<dd class="posted">{L_SAVE_DATE}</dd>
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="topiclist<!-- IF not S_PRIVMSGS --> topics<!-- ELSE --> cplist<!-- ENDIF -->">
|
||||||
|
|
||||||
|
<!-- BEGIN draftrow -->
|
||||||
|
<li class="row<!-- IF draftrow.S_ROW_COUNT is even --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
<a href="{draftrow.U_INSERT}" title="{L_LOAD_DRAFT}" class="topictitle">{draftrow.DRAFT_SUBJECT}</a><br />
|
||||||
|
<!-- IF not S_PRIVMSGS --><!-- IF draftrow.S_LINK_TOPIC -->{L_TOPIC}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a>
|
||||||
|
<!-- ELSEIF draftrow.S_LINK_FORUM -->{L_FORUM}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a>
|
||||||
|
<!-- ELSE -->{L_NO_TOPIC_FORUM}<!-- ENDIF --><!-- ENDIF -->
|
||||||
|
</dt>
|
||||||
|
<dd class="posted">{draftrow.DATE}</dd>
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
<!-- END draftrow -->
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
|
@ -0,0 +1,459 @@
|
||||||
|
/**
|
||||||
|
* bbCode control by subBlue design [ www.subBlue.com ]
|
||||||
|
* Includes unixsafe colour palette selector by SHS`
|
||||||
|
*/
|
||||||
|
|
||||||
|
// Startup variables
|
||||||
|
var imageTag = false;
|
||||||
|
var theSelection = false;
|
||||||
|
|
||||||
|
var bbcodeEnabled = true;
|
||||||
|
// Check for Browser & Platform for PC & IE specific bits
|
||||||
|
// More details from: http://www.mozilla.org/docs/web-developer/sniffer/browser_type.html
|
||||||
|
var clientPC = navigator.userAgent.toLowerCase(); // Get client info
|
||||||
|
var clientVer = parseInt(navigator.appVersion); // Get browser version
|
||||||
|
|
||||||
|
var is_ie = ((clientPC.indexOf('msie') != -1) && (clientPC.indexOf('opera') == -1));
|
||||||
|
var is_win = ((clientPC.indexOf('win') != -1) || (clientPC.indexOf('16bit') != -1));
|
||||||
|
var baseHeight;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Shows the help messages in the helpline window
|
||||||
|
*/
|
||||||
|
function helpline(help)
|
||||||
|
{
|
||||||
|
document.forms[form_name].helpbox.value = help_line[help];
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Fix a bug involving the TextRange object. From
|
||||||
|
* http://www.frostjedi.com/terra/scripts/demo/caretBug.html
|
||||||
|
*/
|
||||||
|
function initInsertions()
|
||||||
|
{
|
||||||
|
var doc;
|
||||||
|
|
||||||
|
if (document.forms[form_name])
|
||||||
|
{
|
||||||
|
doc = document;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
doc = opener.document;
|
||||||
|
}
|
||||||
|
|
||||||
|
var textarea = doc.forms[form_name].elements[text_name];
|
||||||
|
|
||||||
|
if (is_ie && typeof(baseHeight) != 'number')
|
||||||
|
{
|
||||||
|
textarea.focus();
|
||||||
|
baseHeight = doc.selection.createRange().duplicate().boundingHeight;
|
||||||
|
|
||||||
|
if (!document.forms[form_name])
|
||||||
|
{
|
||||||
|
document.body.focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* bbstyle
|
||||||
|
*/
|
||||||
|
function bbstyle(bbnumber)
|
||||||
|
{
|
||||||
|
if (bbnumber != -1)
|
||||||
|
{
|
||||||
|
bbfontstyle(bbtags[bbnumber], bbtags[bbnumber+1]);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
insert_text('[*]');
|
||||||
|
document.forms[form_name].elements[text_name].focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Apply bbcodes
|
||||||
|
*/
|
||||||
|
function bbfontstyle(bbopen, bbclose)
|
||||||
|
{
|
||||||
|
theSelection = false;
|
||||||
|
|
||||||
|
var textarea = document.forms[form_name].elements[text_name];
|
||||||
|
|
||||||
|
textarea.focus();
|
||||||
|
|
||||||
|
if ((clientVer >= 4) && is_ie && is_win)
|
||||||
|
{
|
||||||
|
// Get text selection
|
||||||
|
theSelection = document.selection.createRange().text;
|
||||||
|
|
||||||
|
if (theSelection)
|
||||||
|
{
|
||||||
|
// Add tags around selection
|
||||||
|
document.selection.createRange().text = bbopen + theSelection + bbclose;
|
||||||
|
document.forms[form_name].elements[text_name].focus();
|
||||||
|
theSelection = '';
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else if (document.forms[form_name].elements[text_name].selectionEnd && (document.forms[form_name].elements[text_name].selectionEnd - document.forms[form_name].elements[text_name].selectionStart > 0))
|
||||||
|
{
|
||||||
|
mozWrap(document.forms[form_name].elements[text_name], bbopen, bbclose);
|
||||||
|
document.forms[form_name].elements[text_name].focus();
|
||||||
|
theSelection = '';
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
//The new position for the cursor after adding the bbcode
|
||||||
|
var caret_pos = getCaretPosition(textarea).start;
|
||||||
|
var new_pos = caret_pos + bbopen.length;
|
||||||
|
|
||||||
|
// Open tag
|
||||||
|
insert_text(bbopen + bbclose);
|
||||||
|
|
||||||
|
// Center the cursor when we don't have a selection
|
||||||
|
// Gecko and proper browsers
|
||||||
|
if (!isNaN(textarea.selectionStart))
|
||||||
|
{
|
||||||
|
textarea.selectionStart = new_pos;
|
||||||
|
textarea.selectionEnd = new_pos;
|
||||||
|
}
|
||||||
|
// IE
|
||||||
|
else if (document.selection)
|
||||||
|
{
|
||||||
|
var range = textarea.createTextRange();
|
||||||
|
range.move("character", new_pos);
|
||||||
|
range.select();
|
||||||
|
storeCaret(textarea);
|
||||||
|
}
|
||||||
|
|
||||||
|
textarea.focus();
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Insert text at position
|
||||||
|
*/
|
||||||
|
function insert_text(text, spaces, popup)
|
||||||
|
{
|
||||||
|
var textarea;
|
||||||
|
|
||||||
|
if (!popup)
|
||||||
|
{
|
||||||
|
textarea = document.forms[form_name].elements[text_name];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textarea = opener.document.forms[form_name].elements[text_name];
|
||||||
|
}
|
||||||
|
if (spaces)
|
||||||
|
{
|
||||||
|
text = ' ' + text + ' ';
|
||||||
|
}
|
||||||
|
|
||||||
|
// Since IE9, IE also has textarea.selectionStart, but it still needs to be treated the old way.
|
||||||
|
// Therefore we simply add a !is_ie here until IE fixes the text-selection completely.
|
||||||
|
if (!isNaN(textarea.selectionStart) && !is_ie)
|
||||||
|
{
|
||||||
|
var sel_start = textarea.selectionStart;
|
||||||
|
var sel_end = textarea.selectionEnd;
|
||||||
|
|
||||||
|
mozWrap(textarea, text, '');
|
||||||
|
textarea.selectionStart = sel_start + text.length;
|
||||||
|
textarea.selectionEnd = sel_end + text.length;
|
||||||
|
}
|
||||||
|
else if (textarea.createTextRange && textarea.caretPos)
|
||||||
|
{
|
||||||
|
if (baseHeight != textarea.caretPos.boundingHeight)
|
||||||
|
{
|
||||||
|
textarea.focus();
|
||||||
|
storeCaret(textarea);
|
||||||
|
}
|
||||||
|
|
||||||
|
var caret_pos = textarea.caretPos;
|
||||||
|
caret_pos.text = caret_pos.text.charAt(caret_pos.text.length - 1) == ' ' ? caret_pos.text + text + ' ' : caret_pos.text + text;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
textarea.value = textarea.value + text;
|
||||||
|
}
|
||||||
|
if (!popup)
|
||||||
|
{
|
||||||
|
textarea.focus();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add inline attachment at position
|
||||||
|
*/
|
||||||
|
function attach_inline(index, filename)
|
||||||
|
{
|
||||||
|
insert_text('[attachment=' + index + ']' + filename + '[/attachment]');
|
||||||
|
document.forms[form_name].elements[text_name].focus();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Add quote text to message
|
||||||
|
*/
|
||||||
|
function addquote(post_id, username, l_wrote)
|
||||||
|
{
|
||||||
|
var message_name = 'message_' + post_id;
|
||||||
|
var theSelection = '';
|
||||||
|
var divarea = false;
|
||||||
|
|
||||||
|
if (l_wrote === undefined)
|
||||||
|
{
|
||||||
|
// Backwards compatibility
|
||||||
|
l_wrote = 'wrote';
|
||||||
|
}
|
||||||
|
|
||||||
|
if (document.all)
|
||||||
|
{
|
||||||
|
divarea = document.all[message_name];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
divarea = document.getElementById(message_name);
|
||||||
|
}
|
||||||
|
|
||||||
|
// Get text selection - not only the post content :(
|
||||||
|
// IE9 must use the document.selection method but has the *.getSelection so we just force no IE
|
||||||
|
if (window.getSelection && !is_ie && !window.opera)
|
||||||
|
{
|
||||||
|
theSelection = window.getSelection().toString();
|
||||||
|
}
|
||||||
|
else if (document.getSelection && !is_ie)
|
||||||
|
{
|
||||||
|
theSelection = document.getSelection();
|
||||||
|
}
|
||||||
|
else if (document.selection)
|
||||||
|
{
|
||||||
|
theSelection = document.selection.createRange().text;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (theSelection == '' || typeof theSelection == 'undefined' || theSelection == null)
|
||||||
|
{
|
||||||
|
if (divarea.innerHTML)
|
||||||
|
{
|
||||||
|
theSelection = divarea.innerHTML.replace(/<br>/ig, '\n');
|
||||||
|
theSelection = theSelection.replace(/<br\/>/ig, '\n');
|
||||||
|
theSelection = theSelection.replace(/<\;/ig, '<');
|
||||||
|
theSelection = theSelection.replace(/>\;/ig, '>');
|
||||||
|
theSelection = theSelection.replace(/&\;/ig, '&');
|
||||||
|
theSelection = theSelection.replace(/ \;/ig, ' ');
|
||||||
|
}
|
||||||
|
else if (document.all)
|
||||||
|
{
|
||||||
|
theSelection = divarea.innerText;
|
||||||
|
}
|
||||||
|
else if (divarea.textContent)
|
||||||
|
{
|
||||||
|
theSelection = divarea.textContent;
|
||||||
|
}
|
||||||
|
else if (divarea.firstChild.nodeValue)
|
||||||
|
{
|
||||||
|
theSelection = divarea.firstChild.nodeValue;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (theSelection)
|
||||||
|
{
|
||||||
|
if (bbcodeEnabled)
|
||||||
|
{
|
||||||
|
insert_text('[quote="' + username + '"]' + theSelection + '[/quote]');
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
insert_text(username + ' ' + l_wrote + ':' + '\n');
|
||||||
|
var lines = split_lines(theSelection);
|
||||||
|
for (i = 0; i < lines.length; i++)
|
||||||
|
{
|
||||||
|
insert_text('> ' + lines[i] + '\n');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
function split_lines(text)
|
||||||
|
{
|
||||||
|
var lines = text.split('\n');
|
||||||
|
var splitLines = new Array();
|
||||||
|
var j = 0;
|
||||||
|
for(i = 0; i < lines.length; i++)
|
||||||
|
{
|
||||||
|
if (lines[i].length <= 80)
|
||||||
|
{
|
||||||
|
splitLines[j] = lines[i];
|
||||||
|
j++;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var line = lines[i];
|
||||||
|
do
|
||||||
|
{
|
||||||
|
var splitAt = line.indexOf(' ', 80);
|
||||||
|
|
||||||
|
if (splitAt == -1)
|
||||||
|
{
|
||||||
|
splitLines[j] = line;
|
||||||
|
j++;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
splitLines[j] = line.substring(0, splitAt);
|
||||||
|
line = line.substring(splitAt);
|
||||||
|
j++;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
while(splitAt != -1);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
return splitLines;
|
||||||
|
}
|
||||||
|
/**
|
||||||
|
* From http://www.massless.org/mozedit/
|
||||||
|
*/
|
||||||
|
function mozWrap(txtarea, open, close)
|
||||||
|
{
|
||||||
|
var selLength = (typeof(txtarea.textLength) == 'undefined') ? txtarea.value.length : txtarea.textLength;
|
||||||
|
var selStart = txtarea.selectionStart;
|
||||||
|
var selEnd = txtarea.selectionEnd;
|
||||||
|
var scrollTop = txtarea.scrollTop;
|
||||||
|
|
||||||
|
if (selEnd == 1 || selEnd == 2)
|
||||||
|
{
|
||||||
|
selEnd = selLength;
|
||||||
|
}
|
||||||
|
|
||||||
|
var s1 = (txtarea.value).substring(0,selStart);
|
||||||
|
var s2 = (txtarea.value).substring(selStart, selEnd);
|
||||||
|
var s3 = (txtarea.value).substring(selEnd, selLength);
|
||||||
|
|
||||||
|
txtarea.value = s1 + open + s2 + close + s3;
|
||||||
|
txtarea.selectionStart = selStart + open.length;
|
||||||
|
txtarea.selectionEnd = selEnd + open.length;
|
||||||
|
txtarea.focus();
|
||||||
|
txtarea.scrollTop = scrollTop;
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Insert at Caret position. Code from
|
||||||
|
* http://www.faqts.com/knowledge_base/view.phtml/aid/1052/fid/130
|
||||||
|
*/
|
||||||
|
function storeCaret(textEl)
|
||||||
|
{
|
||||||
|
if (textEl.createTextRange)
|
||||||
|
{
|
||||||
|
textEl.caretPos = document.selection.createRange().duplicate();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Color pallette
|
||||||
|
*/
|
||||||
|
function colorPalette(dir, width, height)
|
||||||
|
{
|
||||||
|
var r = 0, g = 0, b = 0;
|
||||||
|
var numberList = new Array(6);
|
||||||
|
var color = '';
|
||||||
|
|
||||||
|
numberList[0] = '00';
|
||||||
|
numberList[1] = '40';
|
||||||
|
numberList[2] = '80';
|
||||||
|
numberList[3] = 'BF';
|
||||||
|
numberList[4] = 'FF';
|
||||||
|
|
||||||
|
document.writeln('<table cellspacing="1" cellpadding="0" border="0">');
|
||||||
|
|
||||||
|
for (r = 0; r < 5; r++)
|
||||||
|
{
|
||||||
|
if (dir == 'h')
|
||||||
|
{
|
||||||
|
document.writeln('<tr>');
|
||||||
|
}
|
||||||
|
|
||||||
|
for (g = 0; g < 5; g++)
|
||||||
|
{
|
||||||
|
if (dir == 'v')
|
||||||
|
{
|
||||||
|
document.writeln('<tr>');
|
||||||
|
}
|
||||||
|
|
||||||
|
for (b = 0; b < 5; b++)
|
||||||
|
{
|
||||||
|
color = String(numberList[r]) + String(numberList[g]) + String(numberList[b]);
|
||||||
|
document.write('<td bgcolor="#' + color + '" style="width: ' + width + 'px; height: ' + height + 'px;">');
|
||||||
|
document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;"><img src="images/spacer.gif" width="' + width + '" height="' + height + '" alt="#' + color + '" title="#' + color + '" /></a>');
|
||||||
|
document.writeln('</td>');
|
||||||
|
}
|
||||||
|
|
||||||
|
if (dir == 'v')
|
||||||
|
{
|
||||||
|
document.writeln('</tr>');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (dir == 'h')
|
||||||
|
{
|
||||||
|
document.writeln('</tr>');
|
||||||
|
}
|
||||||
|
}
|
||||||
|
document.writeln('</table>');
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Caret Position object
|
||||||
|
*/
|
||||||
|
function caretPosition()
|
||||||
|
{
|
||||||
|
var start = null;
|
||||||
|
var end = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get the caret position in an textarea
|
||||||
|
*/
|
||||||
|
function getCaretPosition(txtarea)
|
||||||
|
{
|
||||||
|
var caretPos = new caretPosition();
|
||||||
|
|
||||||
|
// simple Gecko/Opera way
|
||||||
|
if(txtarea.selectionStart || txtarea.selectionStart == 0)
|
||||||
|
{
|
||||||
|
caretPos.start = txtarea.selectionStart;
|
||||||
|
caretPos.end = txtarea.selectionEnd;
|
||||||
|
}
|
||||||
|
// dirty and slow IE way
|
||||||
|
else if(document.selection)
|
||||||
|
{
|
||||||
|
|
||||||
|
// get current selection
|
||||||
|
var range = document.selection.createRange();
|
||||||
|
|
||||||
|
// a new selection of the whole textarea
|
||||||
|
var range_all = document.body.createTextRange();
|
||||||
|
range_all.moveToElementText(txtarea);
|
||||||
|
|
||||||
|
// calculate selection start point by moving beginning of range_all to beginning of range
|
||||||
|
var sel_start;
|
||||||
|
for (sel_start = 0; range_all.compareEndPoints('StartToStart', range) < 0; sel_start++)
|
||||||
|
{
|
||||||
|
range_all.moveStart('character', 1);
|
||||||
|
}
|
||||||
|
|
||||||
|
txtarea.sel_start = sel_start;
|
||||||
|
|
||||||
|
// we ignore the end value for IE, this is already dirty enough and we don't need it
|
||||||
|
caretPos.start = txtarea.sel_start;
|
||||||
|
caretPos.end = txtarea.sel_start;
|
||||||
|
}
|
||||||
|
|
||||||
|
return caretPos;
|
||||||
|
}
|
|
@ -0,0 +1,52 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<h2>{L_FAQ_TITLE}</h2>
|
||||||
|
|
||||||
|
|
||||||
|
<div class="panel bg1" id="faqlinks">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
<div class="column1">
|
||||||
|
<!-- BEGIN faq_block -->
|
||||||
|
<!-- IF faq_block.SWITCH_COLUMN or (SWITCH_COLUMN_MANUALLY and faq_block.S_ROW_COUNT == 4) -->
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="column2">
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<dl class="faq">
|
||||||
|
<dt><strong>{faq_block.BLOCK_TITLE}</strong></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>
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<div class="clear"></div>
|
||||||
|
|
||||||
|
<!-- BEGIN faq_block -->
|
||||||
|
<div class="panel <!-- IF faq_block.S_ROW_COUNT is odd -->bg1<!-- ELSE -->bg2<!-- ENDIF -->">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<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}"><strong>{faq_block.faq_row.FAQ_QUESTION}</strong></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>
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
<!-- END faq_block -->
|
||||||
|
|
||||||
|
<!-- INCLUDE jumpbox.html -->
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
|
@ -0,0 +1,443 @@
|
||||||
|
/**
|
||||||
|
* phpBB3 forum functions
|
||||||
|
*/
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Window popup
|
||||||
|
*/
|
||||||
|
function popup(url, width, height, name)
|
||||||
|
{
|
||||||
|
if (!name)
|
||||||
|
{
|
||||||
|
name = '_popup';
|
||||||
|
}
|
||||||
|
|
||||||
|
window.open(url.replace(/&/g, '&'), name, 'height=' + height + ',resizable=yes,scrollbars=yes, width=' + width);
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Jump to page
|
||||||
|
*/
|
||||||
|
function jumpto()
|
||||||
|
{
|
||||||
|
var page = prompt(jump_page, on_page);
|
||||||
|
|
||||||
|
if (page !== null && !isNaN(page) && page == Math.floor(page) && page > 0)
|
||||||
|
{
|
||||||
|
if (base_url.indexOf('?') == -1)
|
||||||
|
{
|
||||||
|
document.location.href = base_url + '?start=' + ((page - 1) * per_page);
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * per_page);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Mark/unmark checklist
|
||||||
|
* id = ID of parent container, name = name prefix, state = state [true/false]
|
||||||
|
*/
|
||||||
|
function marklist(id, name, state)
|
||||||
|
{
|
||||||
|
var parent = document.getElementById(id);
|
||||||
|
if (!parent)
|
||||||
|
{
|
||||||
|
eval('parent = document.' + id);
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!parent)
|
||||||
|
{
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var rb = parent.getElementsByTagName('input');
|
||||||
|
|
||||||
|
for (var r = 0; r < rb.length; r++)
|
||||||
|
{
|
||||||
|
if (rb[r].name.substr(0, name.length) == name)
|
||||||
|
{
|
||||||
|
rb[r].checked = state;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Resize viewable area for attached image or topic review panel (possibly others to come)
|
||||||
|
* e = element
|
||||||
|
*/
|
||||||
|
function viewableArea(e, itself)
|
||||||
|
{
|
||||||
|
if (!e) return;
|
||||||
|
if (!itself)
|
||||||
|
{
|
||||||
|
e = e.parentNode;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!e.vaHeight)
|
||||||
|
{
|
||||||
|
// Store viewable area height before changing style to auto
|
||||||
|
e.vaHeight = e.offsetHeight;
|
||||||
|
e.vaMaxHeight = e.style.maxHeight;
|
||||||
|
e.style.height = 'auto';
|
||||||
|
e.style.maxHeight = 'none';
|
||||||
|
e.style.overflow = 'visible';
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Restore viewable area height to the default
|
||||||
|
e.style.height = e.vaHeight + 'px';
|
||||||
|
e.style.overflow = 'auto';
|
||||||
|
e.style.maxHeight = e.vaMaxHeight;
|
||||||
|
e.vaHeight = false;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Set display of page element
|
||||||
|
* s[-1,0,1] = hide,toggle display,show
|
||||||
|
* type = string: inline, block, inline-block or other CSS "display" type
|
||||||
|
*/
|
||||||
|
function dE(n, s, type)
|
||||||
|
{
|
||||||
|
if (!type)
|
||||||
|
{
|
||||||
|
type = 'block';
|
||||||
|
}
|
||||||
|
|
||||||
|
var e = document.getElementById(n);
|
||||||
|
if (!s)
|
||||||
|
{
|
||||||
|
s = (e.style.display == '' || e.style.display == type) ? -1 : 1;
|
||||||
|
}
|
||||||
|
e.style.display = (s == 1) ? type : 'none';
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Alternate display of subPanels
|
||||||
|
*/
|
||||||
|
function subPanels(p)
|
||||||
|
{
|
||||||
|
var i, e, t;
|
||||||
|
|
||||||
|
if (typeof(p) == 'string')
|
||||||
|
{
|
||||||
|
show_panel = p;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (i = 0; i < panels.length; i++)
|
||||||
|
{
|
||||||
|
e = document.getElementById(panels[i]);
|
||||||
|
t = document.getElementById(panels[i] + '-tab');
|
||||||
|
|
||||||
|
if (e)
|
||||||
|
{
|
||||||
|
if (panels[i] == show_panel)
|
||||||
|
{
|
||||||
|
e.style.display = 'block';
|
||||||
|
if (t)
|
||||||
|
{
|
||||||
|
t.className = 'activetab';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
e.style.display = 'none';
|
||||||
|
if (t)
|
||||||
|
{
|
||||||
|
t.className = '';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Call print preview
|
||||||
|
*/
|
||||||
|
function printPage()
|
||||||
|
{
|
||||||
|
if (is_ie)
|
||||||
|
{
|
||||||
|
printPreview();
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
window.print();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Show/hide groups of blocks
|
||||||
|
* c = CSS style name
|
||||||
|
* e = checkbox element
|
||||||
|
* t = toggle dispay state (used to show 'grip-show' image in the profile block when hiding the profiles)
|
||||||
|
*/
|
||||||
|
function displayBlocks(c, e, t)
|
||||||
|
{
|
||||||
|
var s = (e.checked == true) ? 1 : -1;
|
||||||
|
|
||||||
|
if (t)
|
||||||
|
{
|
||||||
|
s *= -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
var divs = document.getElementsByTagName("DIV");
|
||||||
|
|
||||||
|
for (var d = 0; d < divs.length; d++)
|
||||||
|
{
|
||||||
|
if (divs[d].className.indexOf(c) == 0)
|
||||||
|
{
|
||||||
|
divs[d].style.display = (s == 1) ? 'none' : 'block';
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
function selectCode(a)
|
||||||
|
{
|
||||||
|
// Get ID of code block
|
||||||
|
var e = a.parentNode.parentNode.getElementsByTagName('CODE')[0];
|
||||||
|
|
||||||
|
// Not IE and IE9+
|
||||||
|
if (window.getSelection)
|
||||||
|
{
|
||||||
|
var s = window.getSelection();
|
||||||
|
// Safari
|
||||||
|
if (s.setBaseAndExtent)
|
||||||
|
{
|
||||||
|
s.setBaseAndExtent(e, 0, e, e.innerText.length - 1);
|
||||||
|
}
|
||||||
|
// Firefox and Opera
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// workaround for bug # 42885
|
||||||
|
if (window.opera && e.innerHTML.substring(e.innerHTML.length - 4) == '<BR>')
|
||||||
|
{
|
||||||
|
e.innerHTML = e.innerHTML + ' ';
|
||||||
|
}
|
||||||
|
|
||||||
|
var r = document.createRange();
|
||||||
|
r.selectNodeContents(e);
|
||||||
|
s.removeAllRanges();
|
||||||
|
s.addRange(r);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
// Some older browsers
|
||||||
|
else if (document.getSelection)
|
||||||
|
{
|
||||||
|
var s = document.getSelection();
|
||||||
|
var r = document.createRange();
|
||||||
|
r.selectNodeContents(e);
|
||||||
|
s.removeAllRanges();
|
||||||
|
s.addRange(r);
|
||||||
|
}
|
||||||
|
// IE
|
||||||
|
else if (document.selection)
|
||||||
|
{
|
||||||
|
var r = document.body.createTextRange();
|
||||||
|
r.moveToElementText(e);
|
||||||
|
r.select();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Play quicktime file by determining it's width/height
|
||||||
|
* from the displayed rectangle area
|
||||||
|
*/
|
||||||
|
function play_qt_file(obj)
|
||||||
|
{
|
||||||
|
var rectangle = obj.GetRectangle();
|
||||||
|
|
||||||
|
if (rectangle)
|
||||||
|
{
|
||||||
|
rectangle = rectangle.split(',');
|
||||||
|
var x1 = parseInt(rectangle[0]);
|
||||||
|
var x2 = parseInt(rectangle[2]);
|
||||||
|
var y1 = parseInt(rectangle[1]);
|
||||||
|
var y2 = parseInt(rectangle[3]);
|
||||||
|
|
||||||
|
var width = (x1 < 0) ? (x1 * -1) + x2 : x2 - x1;
|
||||||
|
var height = (y1 < 0) ? (y1 * -1) + y2 : y2 - y1;
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
var width = 200;
|
||||||
|
var height = 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
obj.width = width;
|
||||||
|
obj.height = height + 16;
|
||||||
|
|
||||||
|
obj.SetControllerVisible(true);
|
||||||
|
obj.Play();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if the nodeName of elem is name
|
||||||
|
* @author jQuery
|
||||||
|
*/
|
||||||
|
function is_node_name(elem, name)
|
||||||
|
{
|
||||||
|
return elem.nodeName && elem.nodeName.toUpperCase() == name.toUpperCase();
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if elem is in array, return position
|
||||||
|
* @author jQuery
|
||||||
|
*/
|
||||||
|
function is_in_array(elem, array)
|
||||||
|
{
|
||||||
|
for (var i = 0, length = array.length; i < length; i++)
|
||||||
|
// === is correct (IE)
|
||||||
|
if (array[i] === elem)
|
||||||
|
return i;
|
||||||
|
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Find Element, type and class in tree
|
||||||
|
* Not used, but may come in handy for those not using JQuery
|
||||||
|
* @author jQuery.find, Meik Sievertsen
|
||||||
|
*/
|
||||||
|
function find_in_tree(node, tag, type, class_name)
|
||||||
|
{
|
||||||
|
var result, element, i = 0, length = node.childNodes.length;
|
||||||
|
|
||||||
|
for (element = node.childNodes[0]; i < length; element = node.childNodes[++i])
|
||||||
|
{
|
||||||
|
if (!element || element.nodeType != 1) continue;
|
||||||
|
|
||||||
|
if ((!tag || is_node_name(element, tag)) && (!type || element.type == type) && (!class_name || is_in_array(class_name, (element.className || element).toString().split(/\s+/)) > -1))
|
||||||
|
{
|
||||||
|
return element;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (element.childNodes.length)
|
||||||
|
result = find_in_tree(element, tag, type, class_name);
|
||||||
|
|
||||||
|
if (result) return result;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
var in_autocomplete = false;
|
||||||
|
var last_key_entered = '';
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check event key
|
||||||
|
*/
|
||||||
|
function phpbb_check_key(event)
|
||||||
|
{
|
||||||
|
// Keycode is array down or up?
|
||||||
|
if (event.keyCode && (event.keyCode == 40 || event.keyCode == 38))
|
||||||
|
in_autocomplete = true;
|
||||||
|
|
||||||
|
// Make sure we are not within an "autocompletion" field
|
||||||
|
if (in_autocomplete)
|
||||||
|
{
|
||||||
|
// If return pressed and key changed we reset the autocompletion
|
||||||
|
if (!last_key_entered || last_key_entered == event.which)
|
||||||
|
{
|
||||||
|
in_autocompletion = false;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
// Keycode is not return, then return. ;)
|
||||||
|
if (event.which != 13)
|
||||||
|
{
|
||||||
|
last_key_entered = event.which;
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Usually used for onkeypress event, to submit a form on enter
|
||||||
|
*/
|
||||||
|
function submit_default_button(event, selector, class_name)
|
||||||
|
{
|
||||||
|
// Add which for key events
|
||||||
|
if (!event.which && ((event.charCode || event.charCode === 0) ? event.charCode : event.keyCode))
|
||||||
|
event.which = event.charCode || event.keyCode;
|
||||||
|
|
||||||
|
if (phpbb_check_key(event))
|
||||||
|
return true;
|
||||||
|
|
||||||
|
var current = selector['parentNode'];
|
||||||
|
|
||||||
|
// Search parent form element
|
||||||
|
while (current && (!current.nodeName || current.nodeType != 1 || !is_node_name(current, 'form')) && current != document)
|
||||||
|
current = current['parentNode'];
|
||||||
|
|
||||||
|
// Find the input submit button with the class name
|
||||||
|
//current = find_in_tree(current, 'input', 'submit', class_name);
|
||||||
|
var input_tags = current.getElementsByTagName('input');
|
||||||
|
current = false;
|
||||||
|
|
||||||
|
for (var i = 0, element = input_tags[0]; i < input_tags.length; element = input_tags[++i])
|
||||||
|
{
|
||||||
|
if (element.type == 'submit' && is_in_array(class_name, (element.className || element).toString().split(/\s+/)) > -1)
|
||||||
|
current = element;
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!current)
|
||||||
|
return true;
|
||||||
|
|
||||||
|
// Submit form
|
||||||
|
current.focus();
|
||||||
|
current.click();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Apply onkeypress event for forcing default submit button on ENTER key press
|
||||||
|
* The jQuery snippet used is based on http://greatwebguy.com/programming/dom/default-html-button-submit-on-enter-with-jquery/
|
||||||
|
* The non-jQuery code is a mimick of the jQuery code ;)
|
||||||
|
*/
|
||||||
|
function apply_onkeypress_event()
|
||||||
|
{
|
||||||
|
// jQuery code in case jQuery is used
|
||||||
|
if (jquery_present)
|
||||||
|
{
|
||||||
|
jQuery('form input[type=text], form input[type=password]').live('keypress', function (e)
|
||||||
|
{
|
||||||
|
var default_button = jQuery(this).parents('form').find('input[type=submit].default-submit-action');
|
||||||
|
|
||||||
|
if (!default_button || default_button.length <= 0)
|
||||||
|
return true;
|
||||||
|
|
||||||
|
if (phpbb_check_key(e))
|
||||||
|
return true;
|
||||||
|
|
||||||
|
if ((e.which && e.which == 13) || (e.keyCode && e.keyCode == 13))
|
||||||
|
{
|
||||||
|
default_button.click();
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
|
return true;
|
||||||
|
});
|
||||||
|
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
|
var input_tags = document.getElementsByTagName('input');
|
||||||
|
|
||||||
|
for (var i = 0, element = input_tags[0]; i < input_tags.length ; element = input_tags[++i])
|
||||||
|
{
|
||||||
|
if (element.type == 'text' || element.type == 'password')
|
||||||
|
{
|
||||||
|
// onkeydown is possible too
|
||||||
|
element.onkeypress = function (evt) { submit_default_button((evt || window.event), this, 'default-submit-action'); };
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Detect JQuery existance. We currently do not deliver it, but some styles do, so why not benefit from it. ;)
|
||||||
|
*/
|
||||||
|
var jquery_present = typeof jQuery == 'function';
|
|
@ -0,0 +1,68 @@
|
||||||
|
<!-- IF U_MCP --><p style='clear:both; margin-top:-3em;'>[ <a href="{U_MCP}">{L_MCP}</a> ]</p><!-- ENDIF -->
|
||||||
|
<!-- BEGIN forumrow -->
|
||||||
|
<!-- IF (forumrow.S_IS_CAT and not forumrow.S_FIRST_ROW) or forumrow.S_NO_CAT -->
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF forumrow.S_IS_CAT or forumrow.S_FIRST_ROW or forumrow.S_NO_CAT -->
|
||||||
|
<div class="forabg">
|
||||||
|
<div class="inner">
|
||||||
|
<ul class="topiclist">
|
||||||
|
<li class="header">
|
||||||
|
<dl class="icon">
|
||||||
|
<dt><!-- IF forumrow.S_IS_CAT --><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a><!-- ELSE -->{L_FORUM}<!-- ENDIF --></dt>
|
||||||
|
<dd class="topics">{L_TOPICS}</dd>
|
||||||
|
<dd class="posts">{L_POSTS}</dd>
|
||||||
|
<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="topiclist forums">
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF not forumrow.S_IS_CAT -->
|
||||||
|
<li class="row">
|
||||||
|
<dl class="icon" style="background-image: url({forumrow.FORUM_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
|
||||||
|
<dt title="{forumrow.FORUM_FOLDER_IMG_ALT}">
|
||||||
|
<!-- IF S_ENABLE_FEEDS and forumrow.S_FEED_ENABLED --><!-- <a class="feed-icon-forum" title="{L_FEED} - {forumrow.FORUM_NAME}" href="{U_FEED}?f={forumrow.FORUM_ID}"><img src="{T_THEME_PATH}/images/feed.gif" alt="{L_FEED} - {forumrow.FORUM_NAME}" /></a> --><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF forumrow.FORUM_IMAGE --><span class="forum-image">{forumrow.FORUM_IMAGE}</span><!-- ENDIF -->
|
||||||
|
<a href="{forumrow.U_VIEWFORUM}" class="forumtitle">{forumrow.FORUM_NAME}</a><br />
|
||||||
|
{forumrow.FORUM_DESC}
|
||||||
|
<!-- IF forumrow.MODERATORS -->
|
||||||
|
<br /><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS --><br /><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}<!-- ENDIF -->
|
||||||
|
</dt>
|
||||||
|
<!-- IF forumrow.CLICKS -->
|
||||||
|
<dd class="redirect"><span>{L_REDIRECTS}: {forumrow.CLICKS}</span></dd>
|
||||||
|
<!-- ELSEIF not forumrow.S_IS_LINK -->
|
||||||
|
<dd class="topics">{forumrow.TOPICS} <dfn>{L_TOPICS}</dfn></dd>
|
||||||
|
<dd class="posts">{forumrow.POSTS} <dfn>{L_POSTS}</dfn></dd>
|
||||||
|
<dd class="lastpost"><span>
|
||||||
|
<!-- IF forumrow.U_UNAPPROVED_TOPICS --><a href="{forumrow.U_UNAPPROVED_TOPICS}">{UNAPPROVED_IMG}</a><!-- ENDIF -->
|
||||||
|
<!-- IF forumrow.LAST_POST_TIME --><dfn>{L_LAST_POST}</dfn> {L_POST_BY_AUTHOR} {forumrow.LAST_POSTER_FULL}
|
||||||
|
<br /><!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{forumrow.LAST_POST_TIME}<!-- ENDIF --><!-- IF not S_IS_BOT --></a><!-- ENDIF --><!-- ELSE -->{L_NO_POSTS}<br /> <!-- ENDIF --></span>
|
||||||
|
</dd>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF forumrow.S_LAST_ROW -->
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- BEGINELSE -->
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner">
|
||||||
|
<strong>{L_NO_FORUMS}</strong>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- END forumrow -->
|
|
@ -0,0 +1,48 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<div style='border-bottom:1px solid #AAA; height:1.5em; margin-bottom:3em; margin-right:-10px; padding-right:10px;'><p class="{S_CONTENT_FLOW_END}" style="float:left;"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ELSE -->You are not logged in. Please login or register.<!-- ENDIF --></p>
|
||||||
|
|
||||||
|
<!-- IF S_DISPLAY_SEARCH or (S_USER_LOGGED_IN and not S_IS_BOT) -->
|
||||||
|
<ul class="linklist rightside" style="height:auto; margin-top:-0.5em;">
|
||||||
|
<!-- IF S_DISPLAY_SEARCH -->
|
||||||
|
<li><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a><!-- IF S_LOAD_UNREADS --> • <a href="{U_SEARCH_UNREAD}">{L_SEARCH_UNREAD}</a><!-- ENDIF --><!-- IF S_USER_LOGGED_IN --> • <a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a><!-- ENDIF --> • <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- IF not S_IS_BOT and U_MARK_FORUMS --><li> • <a href="{U_MARK_FORUMS}" accesskey="m">{L_MARK_FORUMS_READ}</a></li><!-- ENDIF -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE forumlist_body.html -->
|
||||||
|
|
||||||
|
<!-- IF not S_USER_LOGGED_IN and not S_IS_BOT -->
|
||||||
|
<form method="post" action="{S_LOGIN_ACTION}" class="headerspace">
|
||||||
|
<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="quick-login">
|
||||||
|
<label for="username">{L_USERNAME}:</label> <input type="text" name="username" id="username" size="10" class="inputbox" title="{L_USERNAME}" />
|
||||||
|
<label for="password">{L_PASSWORD}:</label> <input type="password" name="password" id="password" size="10" class="inputbox" title="{L_PASSWORD}" />
|
||||||
|
<!-- IF S_AUTOLOGIN_ENABLED -->
|
||||||
|
| <label for="autologin">{L_LOG_ME_IN} <input type="checkbox" name="autologin" id="autologin" /></label>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<input type="submit" name="login" value="{L_LOGIN}" class="button2" />
|
||||||
|
{S_LOGIN_REDIRECT}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_DISPLAY_ONLINE_LIST -->
|
||||||
|
<!-- IF U_VIEWONLINE --><h3><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h3><!-- ELSE --><h3>{L_WHO_IS_ONLINE}</h3><!-- ENDIF -->
|
||||||
|
<p>{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /> <br />{LOGGED_IN_USER_LIST}
|
||||||
|
<!-- IF LEGEND --><br /><em>{L_LEGEND}: {LEGEND}</em><!-- ENDIF --></p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_DISPLAY_BIRTHDAY_LIST and BIRTHDAY_LIST -->
|
||||||
|
<h3>{L_BIRTHDAYS}</h3>
|
||||||
|
<p><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <strong>{BIRTHDAY_LIST}</strong><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF NEWEST_USER -->
|
||||||
|
<h3>{L_STATISTICS}</h3>
|
||||||
|
<p>{TOTAL_POSTS} • {TOTAL_TOPICS} • {TOTAL_USERS} • {NEWEST_USER}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
|
@ -0,0 +1,33 @@
|
||||||
|
|
||||||
|
<!-- IF S_VIEWTOPIC -->
|
||||||
|
<p></p><p><a href="{U_VIEW_FORUM}" class="left-box {S_CONTENT_FLOW_BEGIN}" accesskey="r">{L_RETURN_TO} {FORUM_NAME}</a></p>
|
||||||
|
<!-- ELSEIF S_VIEWFORUM -->
|
||||||
|
<p></p><p><a href="{U_INDEX}" class="left-box {S_CONTENT_FLOW_BEGIN}" accesskey="r">{L_RETURN_TO} {L_INDEX}</a></p>
|
||||||
|
<!-- ELSEIF SEARCH_TOPIC -->
|
||||||
|
<p></p><p><a class="left-box {S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH_TOPIC}" accesskey="r">{L_RETURN_TO}: {SEARCH_TOPIC}</a></p>
|
||||||
|
<!-- ELSEIF S_SEARCH_ACTION -->
|
||||||
|
<p></p><p><a class="left-box {S_CONTENT_FLOW_BEGIN}" href="{U_SEARCH}" title="{L_SEARCH_ADV}" accesskey="r">{L_RETURN_TO_SEARCH_ADV}</a></p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- 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>
|
||||||
|
|
||||||
|
<!-- ELSE -->
|
||||||
|
<br /><br />
|
||||||
|
<!-- ENDIF -->
|
|
@ -0,0 +1,70 @@
|
||||||
|
<!-- 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="panel">
|
||||||
|
<div class="inner">
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
|
||||||
|
<!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED -->
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner">
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<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>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
|
@ -0,0 +1,41 @@
|
||||||
|
<!-- 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="panel">
|
||||||
|
<div class="inner">
|
||||||
|
|
||||||
|
<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>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE jumpbox.html -->
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
|
@ -0,0 +1,53 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<form id="confirm" action="{S_CONFIRM_ACTION}" method="post">
|
||||||
|
<div class="panel">
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
|
||||||
|
<h2>{MESSAGE_TITLE}</h2>
|
||||||
|
<!-- IF ADDITIONAL_MSG --><p class="error">{ADDITIONAL_MSG}</p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<!-- 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>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
|
@ -0,0 +1,128 @@
|
||||||
|
<!-- 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}">
|
||||||
|
|
||||||
|
<h2>{L_TITLE}</h2>
|
||||||
|
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<h3>{L_TITLE}</h3>
|
||||||
|
<p>{L_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<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>
|
||||||
|
<!-- IF S_USERNAME_BAN --><dd><strong><a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a></strong></dd><!-- ENDIF -->
|
||||||
|
</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><br /><span>{L_BAN_EXCLUDE_EXPLAIN}</span></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>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<h3>{L_UNBAN_TITLE}</h3>
|
||||||
|
<p>{L_UNBAN_EXPLAIN}</p>
|
||||||
|
|
||||||
|
<!-- IF S_BANNED_OPTIONS -->
|
||||||
|
<fieldset>
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<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><strong>{L_NO_BAN_CELL}</strong></p>
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
|
@ -0,0 +1,9 @@
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<div class="clear"></div>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|
|
@ -0,0 +1,111 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<!-- DEFINE $CUSTOM_FIELDSET_CLASS = 'forum-selection2' -->
|
||||||
|
<!-- INCLUDE jumpbox.html -->
|
||||||
|
|
||||||
|
<h2><a href="{U_VIEW_FORUM}">{L_FORUM}: {FORUM_NAME}</a></h2>
|
||||||
|
|
||||||
|
<form method="post" id="mcp" action="{S_MCP_ACTION}">
|
||||||
|
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<!-- IF PAGINATION or TOTAL_TOPICS -->
|
||||||
|
<ul class="linklist">
|
||||||
|
<li class="rightside pagination">
|
||||||
|
<!-- IF TOTAL_TOPICS --> {TOTAL_TOPICS}<!-- ENDIF -->
|
||||||
|
<!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .topicrow -->
|
||||||
|
<ul class="topiclist">
|
||||||
|
<li class="header">
|
||||||
|
<dl class="icon">
|
||||||
|
<dt>{L_TOPICS}</dt>
|
||||||
|
<dd class="posts">{L_REPLIES}</dd>
|
||||||
|
<dd class="lastpost"><span>{L_LAST_POST}</span></dd>
|
||||||
|
<!-- IF not S_MERGE_SELECT --><dd class="mark">{L_MARK}</dd><!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="topiclist cplist">
|
||||||
|
|
||||||
|
<!-- BEGIN topicrow -->
|
||||||
|
<li class="row<!-- IF topicrow.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF --><!-- IF topicrow.S_TOPIC_REPORTED --> reported<!-- ENDIF -->">
|
||||||
|
<dl class="icon" style="background-image: url({topicrow.TOPIC_FOLDER_IMG_SRC}); background-repeat: no-repeat;">
|
||||||
|
<dt <!-- IF topicrow.TOPIC_ICON_IMG -->style="background-image: url({T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}); background-repeat: no-repeat;"<!-- ENDIF -->>
|
||||||
|
<!-- IF topicrow.S_SELECT_TOPIC --><a href="{topicrow.U_SELECT_TOPIC}" class="topictitle">[ {L_SELECT_MERGE} ]</a> <!-- ENDIF -->
|
||||||
|
<a href="{topicrow.U_VIEW_TOPIC}" class="topictitle">{topicrow.TOPIC_TITLE}</a>
|
||||||
|
<!-- IF topicrow.S_TOPIC_UNAPPROVED or topicrow.S_POSTS_UNAPPROVED --><a href="{topicrow.U_MCP_QUEUE}">{topicrow.UNAPPROVED_IMG}</a> <!-- ENDIF -->
|
||||||
|
<!-- IF topicrow.S_TOPIC_REPORTED --><a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a><!-- ENDIF -->
|
||||||
|
<!-- IF topicrow.S_MOVED_TOPIC and S_CAN_DELETE --> <a href="{topicrow.U_DELETE_TOPIC}" class="topictitle">[ {L_DELETE_SHADOW_TOPIC} ]</a><!-- ENDIF -->
|
||||||
|
<br />
|
||||||
|
<!-- IF topicrow.PAGINATION --><strong class="pagination"><span>{topicrow.PAGINATION}</span></strong><!-- ENDIF -->
|
||||||
|
<!-- IF topicrow.ATTACH_ICON_IMG -->{topicrow.ATTACH_ICON_IMG} <!-- ENDIF -->{L_POST_BY_AUTHOR} {topicrow.TOPIC_AUTHOR_FULL} » {topicrow.FIRST_POST_TIME} </dt>
|
||||||
|
<dd class="posts">{topicrow.REPLIES} <dfn>{L_REPLIES}</dfn></dd>
|
||||||
|
<dd class="lastpost"><span><dfn>{L_LAST_POST} </dfn>{L_POST_BY_AUTHOR} {topicrow.LAST_POST_AUTHOR_FULL}<br />{topicrow.LAST_POST_TIME}</span>
|
||||||
|
</dd>
|
||||||
|
<!-- IF not S_MERGE_SELECT -->
|
||||||
|
<dd class="mark">
|
||||||
|
<!-- IF not topicrow.S_MOVED_TOPIC --><input type="checkbox" name="topic_id_list[]" value="{topicrow.TOPIC_ID}"<!-- IF topicrow.S_TOPIC_CHECKED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --> <!-- ENDIF -->
|
||||||
|
</dd>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
<!-- END topicrow -->
|
||||||
|
</ul>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<ul class="topiclist">
|
||||||
|
<li><p class="notopics">{L_NO_TOPICS}</p></li>
|
||||||
|
</ul>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<fieldset class="display-options">
|
||||||
|
<!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
|
||||||
|
<!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF -->
|
||||||
|
<label>{L_DISPLAY_TOPICS}: {S_SELECT_SORT_DAYS}</label>
|
||||||
|
<label>{L_SORT_BY} {S_SELECT_SORT_KEY}</label>
|
||||||
|
<label>{S_SELECT_SORT_DIR} <input type="submit" name="sort" value="{L_GO}" class="button2" /></label>
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<!-- IF PAGINATION or TOTAL_TOPICS -->
|
||||||
|
<ul class="linklist">
|
||||||
|
<li class="rightside pagination">
|
||||||
|
<!-- IF TOTAL_TOPICS --> {TOTAL_TOPICS}<!-- ENDIF -->
|
||||||
|
<!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<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}" />
|
||||||
|
<div><a href="#" onclick="marklist('mcp', 'topic_id_list', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', 'topic_id_list', false); return false;">{L_UNMARK_ALL}</a></div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
|
@ -0,0 +1,183 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<h2>{PAGE_TITLE}</h2>
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_UNAPPROVED -->
|
||||||
|
|
||||||
|
<form id="mcp_queue" method="post" action="{S_MCP_QUEUE_ACTION}">
|
||||||
|
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<h3>{L_LATEST_UNAPPROVED}</h3>
|
||||||
|
<!-- IF S_HAS_UNAPPROVED_POSTS --><p>{L_UNAPPROVED_TOTAL}</p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .unapproved -->
|
||||||
|
<ul class="topiclist">
|
||||||
|
<li class="header">
|
||||||
|
<dl>
|
||||||
|
<dt>{L_VIEW_DETAILS}</dt>
|
||||||
|
<dd class="moderation"><span>{L_TOPIC} & {L_FORUM}</span></dd>
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="topiclist cplist">
|
||||||
|
|
||||||
|
<!-- BEGIN unapproved -->
|
||||||
|
<li class="row<!-- IF unapproved.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
<a href="{unapproved.U_POST_DETAILS}" class="topictitle">{unapproved.SUBJECT}</a> {unapproved.ATTACH_ICON_IMG}<br />
|
||||||
|
{L_POSTED} {L_POST_BY_AUTHOR} {unapproved.AUTHOR_FULL} » {unapproved.POST_TIME}
|
||||||
|
</dt>
|
||||||
|
<dd class="moderation"><span>
|
||||||
|
{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>
|
||||||
|
</dd>
|
||||||
|
|
||||||
|
<dd class="mark"><input type="checkbox" name="post_id_list[]" value="{unapproved.POST_ID}" /></dd>
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
<!-- END unapproved -->
|
||||||
|
</ul>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p>{L_UNAPPROVED_POSTS_ZERO_TOTAL}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- 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}" />
|
||||||
|
<div><a href="#" onclick="marklist('mcp_queue', 'post_id_list', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp_queue', 'post_id_list', false); return false;">{L_UNMARK_ALL}</a></div>
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</form>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_REPORTS -->
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<h3>{L_LATEST_REPORTED}</h3>
|
||||||
|
<!-- IF S_HAS_REPORTS --><p>{L_REPORTS_TOTAL}</p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .report -->
|
||||||
|
<ul class="topiclist">
|
||||||
|
<li class="header">
|
||||||
|
<dl>
|
||||||
|
<dt>{L_VIEW_DETAILS}</dt>
|
||||||
|
<dd class="moderation"><span>{L_REPORTER} & {L_FORUM}</span></dd>
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="topiclist cplist">
|
||||||
|
|
||||||
|
<!-- BEGIN report -->
|
||||||
|
<li class="row<!-- IF report.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
<a href="{report.U_POST_DETAILS}#reports" class="topictitle">{report.SUBJECT}</a> {report.ATTACH_ICON_IMG}<br />
|
||||||
|
<span>{L_POSTED} {L_POST_BY_AUTHOR} {report.AUTHOR_FULL} » {report.POST_TIME}</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="moderation">
|
||||||
|
<span>{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></span>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
<!-- END report -->
|
||||||
|
</ul>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p>{L_REPORTS_ZERO_TOTAL}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_PM_REPORTS -->
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<h3>{L_LATEST_REPORTED_PMS}</h3>
|
||||||
|
<!-- IF S_HAS_PM_REPORTS --><p>{L_PM_REPORTS_TOTAL}</p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF .pm_report -->
|
||||||
|
<ul class="topiclist">
|
||||||
|
<li class="header">
|
||||||
|
<dl>
|
||||||
|
<dt>{L_VIEW_DETAILS}</dt>
|
||||||
|
<dd class="moderation"><span>{L_REPORTER}</span></dd>
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="topiclist cplist">
|
||||||
|
|
||||||
|
<!-- BEGIN pm_report -->
|
||||||
|
<li class="row<!-- IF pm_report.S_ROW_COUNT is odd --> bg1<!-- ELSE --> bg2<!-- ENDIF -->">
|
||||||
|
<dl>
|
||||||
|
<dt>
|
||||||
|
<a href="{pm_report.U_PM_DETAILS}" class="topictitle">{pm_report.PM_SUBJECT}</a> {pm_report.ATTACH_ICON_IMG}<br />
|
||||||
|
<span>{L_MESSAGE_BY_AUTHOR} {pm_report.PM_AUTHOR_FULL} » {pm_report.PM_TIME}</span><br />
|
||||||
|
<span>{L_MESSAGE_TO} {pm_report.RECIPIENTS}</span>
|
||||||
|
</dt>
|
||||||
|
<dd class="moderation">
|
||||||
|
<span>{L_REPORTED} {L_POST_BY_AUTHOR} {pm_report.REPORTER_FULL} {L_REPORTED_ON_DATE} {pm_report.REPORT_TIME}</span>
|
||||||
|
</dd>
|
||||||
|
</dl>
|
||||||
|
</li>
|
||||||
|
<!-- END pm_report -->
|
||||||
|
</ul>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<p>{L_PM_REPORTS_ZERO_TOTAL}</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- IF S_SHOW_LOGS -->
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<h3>{L_LATEST_LOGS}</h3>
|
||||||
|
|
||||||
|
<table class="table1" cellspacing="0">
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
|
@ -0,0 +1,67 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<h2>{L_MCP}</h2>
|
||||||
|
|
||||||
|
<!-- IF U_MCP -->
|
||||||
|
<p class="linkmcp">
|
||||||
|
[ <a href="{U_MCP}">{L_MCP}</a><!-- IF U_MCP_FORUM --> | <a href="{U_MCP_FORUM}">{L_MODERATE_FORUM}</a><!-- ENDIF -->
|
||||||
|
<!-- IF U_MCP_TOPIC --> | <a href="{U_MCP_TOPIC}">{L_MODERATE_TOPIC}</a><!-- ENDIF -->
|
||||||
|
<!-- IF U_MCP_POST --> | <a href="{U_MCP_POST}">{L_MODERATE_POST}</a><!-- ENDIF --> ]
|
||||||
|
</p>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
|
||||||
|
<div id="tabs">
|
||||||
|
<ul>
|
||||||
|
<!-- BEGIN l_block1 -->
|
||||||
|
<li<!-- IF l_block1.S_SELECTED --> class="activetab"<!-- ENDIF -->><a href="{l_block1.U_TITLE}"><span>{l_block1.L_TITLE}</span></a></li>
|
||||||
|
<!-- END l_block1 -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="panel bg3">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<div style="width: 100%;">
|
||||||
|
|
||||||
|
<div id="cp-menu">
|
||||||
|
<div id="navigation">
|
||||||
|
<ul>
|
||||||
|
<!-- BEGIN l_block1 -->
|
||||||
|
<!-- IF l_block1.S_SELECTED -->
|
||||||
|
<!-- BEGIN l_block2 -->
|
||||||
|
<!-- IF l_block1.l_block2.S_SELECTED -->
|
||||||
|
<li id="active-subsection"><a href="{l_block1.l_block2.U_TITLE}"><span>{l_block1.l_block2.L_TITLE}<!-- IF l_block1.l_block2.ADD_ITEM --> ({l_block1.l_block2.ADD_ITEM})<!-- ENDIF --></span></a></li>
|
||||||
|
<!-- ELSE -->
|
||||||
|
<li><a href="{l_block1.l_block2.U_TITLE}"><span>{l_block1.l_block2.L_TITLE}<!-- IF l_block1.l_block2.ADD_ITEM --> ({l_block1.l_block2.ADD_ITEM})<!-- ENDIF --></span></a></li>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- END l_block2 -->
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- END l_block1 -->
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="cp-main" class="mcp-main">
|
||||||
|
<!-- IF MESSAGE -->
|
||||||
|
<div class="content">
|
||||||
|
<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="content">
|
||||||
|
<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 -->
|
|
@ -0,0 +1,90 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<h2>{L_TITLE}</h2>
|
||||||
|
|
||||||
|
<form method="post" id="mcp" action="{U_POST_ACTION}">
|
||||||
|
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<ul class="linklist">
|
||||||
|
<li class="leftside">
|
||||||
|
{L_SEARCH_KEYWORDS}: <input type="text" class="inputbox autowidth" name="keywords" value="{S_KEYWORDS}" /> <input type="submit" class="button2" name="filter" value="{L_SEARCH}" />
|
||||||
|
</li>
|
||||||
|
<li class="rightside pagination">
|
||||||
|
<!-- IF TOTAL -->{TOTAL} <!-- ENDIF -->
|
||||||
|
<!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
|
||||||
|
<table cellspacing="1" 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 -->
|
||||||
|
<fieldset class="display-options">
|
||||||
|
<!-- IF NEXT_PAGE --><a href="{NEXT_PAGE}" class="right-box {S_CONTENT_FLOW_END}">{L_NEXT}</a><!-- ENDIF -->
|
||||||
|
<!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}" class="left-box {S_CONTENT_FLOW_BEGIN}">{L_PREVIOUS}</a><!-- ENDIF -->
|
||||||
|
<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>
|
||||||
|
|
||||||
|
<hr />
|
||||||
|
|
||||||
|
<ul class="linklist">
|
||||||
|
<li class="rightside pagination">
|
||||||
|
<!-- IF TOTAL -->{TOTAL} <!-- ENDIF -->
|
||||||
|
<!-- IF PAGE_NUMBER --><!-- IF PAGINATION --> • <a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{PAGE_NUMBER}</a> • <span>{PAGINATION}</span><!-- ELSE --> • {PAGE_NUMBER}<!-- ENDIF --><!-- ENDIF -->
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- 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]" />
|
||||||
|
|
||||||
|
<div><a href="#" onclick="marklist('mcp', 'mark', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', 'mark', false); return false;">{L_UNMARK_ALL}</a></div>
|
||||||
|
</fieldset>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
<!-- ELSE -->
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
<!-- ENDIF -->
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<br />
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
|
@ -0,0 +1,8 @@
|
||||||
|
<!-- INCLUDE mcp_header.html -->
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h2>{MESSAGE_TITLE}</h2>
|
||||||
|
<p>{MESSAGE_TEXT}</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<!-- INCLUDE mcp_footer.html -->
|
|
@ -0,0 +1,36 @@
|
||||||
|
<!-- INCLUDE overall_header.html -->
|
||||||
|
|
||||||
|
<form id="confirm" action="{S_CONFIRM_ACTION}" method="post">
|
||||||
|
|
||||||
|
<div class="panel">
|
||||||
|
<div class="inner"><span class="corners-top"><span></span></span>
|
||||||
|
|
||||||
|
<div class="content">
|
||||||
|
<h2>{MESSAGE_TITLE}</h2>
|
||||||
|
<!-- IF ADDITIONAL_MSG --><p>{ADDITIONAL_MSG}</p><!-- ENDIF -->
|
||||||
|
|
||||||
|
<fieldset>
|
||||||
|
<dl class="fields2">
|
||||||
|
<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>
|
||||||
|
<dl class="fields2">
|
||||||
|
<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" />
|
||||||
|
{S_FORM_TOKEN}
|
||||||
|
</fieldset>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<span class="corners-bottom"><span></span></span></div>
|
||||||
|
</div>
|
||||||
|
</form>
|
||||||
|
|
||||||
|
<!-- INCLUDE overall_footer.html -->
|