diff options
author | ManaMarket <manamarket@themanaworld.org> | 2013-05-07 15:21:08 -0400 |
---|---|---|
committer | Ben Longbons <b.r.longbons@gmail.com> | 2013-05-07 12:24:18 -0700 |
commit | 8e52a416edc3b9d026b595a9a52ecea4ff022dfb (patch) | |
tree | b724a04578fb2e24c3d768f3508544ebb3a0dfe3 | |
parent | 736e1dbea305065aa85d2adc61a61c87b43aeaab (diff) | |
download | forum-themes-8e52a416edc3b9d026b595a9a52ecea4ff022dfb.tar.gz forum-themes-8e52a416edc3b9d026b595a9a52ecea4ff022dfb.tar.bz2 forum-themes-8e52a416edc3b9d026b595a9a52ecea4ff022dfb.tar.xz forum-themes-8e52a416edc3b9d026b595a9a52ecea4ff022dfb.zip |
Add tmw3 theme
209 files changed, 13965 insertions, 0 deletions
diff --git a/tmw3/imageset/announce_read.gif b/tmw3/imageset/announce_read.gif Binary files differnew file mode 100644 index 0000000..77b6caf --- /dev/null +++ b/tmw3/imageset/announce_read.gif diff --git a/tmw3/imageset/announce_read_locked.gif b/tmw3/imageset/announce_read_locked.gif Binary files differnew file mode 100644 index 0000000..1f94c06 --- /dev/null +++ b/tmw3/imageset/announce_read_locked.gif diff --git a/tmw3/imageset/announce_read_locked_mine.gif b/tmw3/imageset/announce_read_locked_mine.gif Binary files differnew file mode 100644 index 0000000..71d4dd8 --- /dev/null +++ b/tmw3/imageset/announce_read_locked_mine.gif diff --git a/tmw3/imageset/announce_read_mine.gif b/tmw3/imageset/announce_read_mine.gif Binary files differnew file mode 100644 index 0000000..258165a --- /dev/null +++ b/tmw3/imageset/announce_read_mine.gif diff --git a/tmw3/imageset/announce_unread.gif b/tmw3/imageset/announce_unread.gif Binary files differnew file mode 100644 index 0000000..f50729c --- /dev/null +++ b/tmw3/imageset/announce_unread.gif diff --git a/tmw3/imageset/announce_unread_locked.gif b/tmw3/imageset/announce_unread_locked.gif Binary files differnew file mode 100644 index 0000000..d14324b --- /dev/null +++ b/tmw3/imageset/announce_unread_locked.gif diff --git a/tmw3/imageset/announce_unread_locked_mine.gif b/tmw3/imageset/announce_unread_locked_mine.gif Binary files differnew file mode 100644 index 0000000..75b84cf --- /dev/null +++ b/tmw3/imageset/announce_unread_locked_mine.gif diff --git a/tmw3/imageset/announce_unread_mine.gif b/tmw3/imageset/announce_unread_mine.gif Binary files differnew file mode 100644 index 0000000..025ec62 --- /dev/null +++ b/tmw3/imageset/announce_unread_mine.gif diff --git a/tmw3/imageset/en/button_pm_new.gif b/tmw3/imageset/en/button_pm_new.gif Binary files differnew file mode 100644 index 0000000..a463d5a --- /dev/null +++ b/tmw3/imageset/en/button_pm_new.gif diff --git a/tmw3/imageset/en/button_pm_reply.gif b/tmw3/imageset/en/button_pm_reply.gif Binary files differnew file mode 100644 index 0000000..7832ffd --- /dev/null +++ b/tmw3/imageset/en/button_pm_reply.gif diff --git a/tmw3/imageset/en/button_topic_locked.gif b/tmw3/imageset/en/button_topic_locked.gif Binary files differnew file mode 100644 index 0000000..555b738 --- /dev/null +++ b/tmw3/imageset/en/button_topic_locked.gif diff --git a/tmw3/imageset/en/button_topic_new.gif b/tmw3/imageset/en/button_topic_new.gif Binary files differnew file mode 100644 index 0000000..abd4d61 --- /dev/null +++ b/tmw3/imageset/en/button_topic_new.gif diff --git a/tmw3/imageset/en/button_topic_reply.gif b/tmw3/imageset/en/button_topic_reply.gif Binary files differnew file mode 100644 index 0000000..198e2c3 --- /dev/null +++ b/tmw3/imageset/en/button_topic_reply.gif diff --git a/tmw3/imageset/en/icon_contact_aim.gif b/tmw3/imageset/en/icon_contact_aim.gif Binary files differnew file mode 100644 index 0000000..58a6277 --- /dev/null +++ b/tmw3/imageset/en/icon_contact_aim.gif diff --git a/tmw3/imageset/en/icon_contact_email.gif b/tmw3/imageset/en/icon_contact_email.gif Binary files differnew file mode 100644 index 0000000..87e3bba --- /dev/null +++ b/tmw3/imageset/en/icon_contact_email.gif diff --git a/tmw3/imageset/en/icon_contact_icq.gif b/tmw3/imageset/en/icon_contact_icq.gif Binary files differnew file mode 100644 index 0000000..639154e --- /dev/null +++ b/tmw3/imageset/en/icon_contact_icq.gif diff --git a/tmw3/imageset/en/icon_contact_jabber.gif b/tmw3/imageset/en/icon_contact_jabber.gif Binary files differnew file mode 100644 index 0000000..47c4efa --- /dev/null +++ b/tmw3/imageset/en/icon_contact_jabber.gif diff --git a/tmw3/imageset/en/icon_contact_msnm.gif b/tmw3/imageset/en/icon_contact_msnm.gif Binary files differnew file mode 100644 index 0000000..41fcd6e --- /dev/null +++ b/tmw3/imageset/en/icon_contact_msnm.gif diff --git a/tmw3/imageset/en/icon_contact_pm.gif b/tmw3/imageset/en/icon_contact_pm.gif Binary files differnew file mode 100644 index 0000000..417d573 --- /dev/null +++ b/tmw3/imageset/en/icon_contact_pm.gif diff --git a/tmw3/imageset/en/icon_contact_www.gif b/tmw3/imageset/en/icon_contact_www.gif Binary files differnew file mode 100644 index 0000000..76b275d --- /dev/null +++ b/tmw3/imageset/en/icon_contact_www.gif diff --git a/tmw3/imageset/en/icon_contact_yahoo.gif b/tmw3/imageset/en/icon_contact_yahoo.gif Binary files differnew file mode 100644 index 0000000..b2d18af --- /dev/null +++ b/tmw3/imageset/en/icon_contact_yahoo.gif diff --git a/tmw3/imageset/en/icon_post_delete.gif b/tmw3/imageset/en/icon_post_delete.gif Binary files differnew file mode 100644 index 0000000..6a6da95 --- /dev/null +++ b/tmw3/imageset/en/icon_post_delete.gif diff --git a/tmw3/imageset/en/icon_post_edit.gif b/tmw3/imageset/en/icon_post_edit.gif Binary files differnew file mode 100644 index 0000000..e7557e0 --- /dev/null +++ b/tmw3/imageset/en/icon_post_edit.gif diff --git a/tmw3/imageset/en/icon_post_info.gif b/tmw3/imageset/en/icon_post_info.gif Binary files differnew file mode 100644 index 0000000..59cd72c --- /dev/null +++ b/tmw3/imageset/en/icon_post_info.gif diff --git a/tmw3/imageset/en/icon_post_quote.gif b/tmw3/imageset/en/icon_post_quote.gif Binary files differnew file mode 100644 index 0000000..0832a25 --- /dev/null +++ b/tmw3/imageset/en/icon_post_quote.gif diff --git a/tmw3/imageset/en/icon_post_report.gif b/tmw3/imageset/en/icon_post_report.gif Binary files differnew file mode 100644 index 0000000..7f288cf --- /dev/null +++ b/tmw3/imageset/en/icon_post_report.gif diff --git a/tmw3/imageset/en/icon_user_offline.gif b/tmw3/imageset/en/icon_user_offline.gif Binary files differnew file mode 100644 index 0000000..0ee2b35 --- /dev/null +++ b/tmw3/imageset/en/icon_user_offline.gif diff --git a/tmw3/imageset/en/icon_user_online.gif b/tmw3/imageset/en/icon_user_online.gif Binary files differnew file mode 100644 index 0000000..ec89733 --- /dev/null +++ b/tmw3/imageset/en/icon_user_online.gif diff --git a/tmw3/imageset/en/icon_user_profile.gif b/tmw3/imageset/en/icon_user_profile.gif Binary files differnew file mode 100644 index 0000000..43567de --- /dev/null +++ b/tmw3/imageset/en/icon_user_profile.gif diff --git a/tmw3/imageset/en/icon_user_search.gif b/tmw3/imageset/en/icon_user_search.gif Binary files differnew file mode 100644 index 0000000..b347eeb --- /dev/null +++ b/tmw3/imageset/en/icon_user_search.gif diff --git a/tmw3/imageset/en/icon_user_warn.gif b/tmw3/imageset/en/icon_user_warn.gif Binary files differnew file mode 100644 index 0000000..218bb7d --- /dev/null +++ b/tmw3/imageset/en/icon_user_warn.gif diff --git a/tmw3/imageset/en/imageset.cfg b/tmw3/imageset/en/imageset.cfg new file mode 100644 index 0000000..c0cc699 --- /dev/null +++ b/tmw3/imageset/en/imageset.cfg @@ -0,0 +1,47 @@ +# +# phpBB Imageset 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. +# +# + +# Images +img_icon_contact_aim = icon_contact_aim.gif +img_icon_contact_email = icon_contact_email.gif +img_icon_contact_icq = icon_contact_icq.gif +img_icon_contact_jabber = icon_contact_jabber.gif +img_icon_contact_msnm = icon_contact_msnm.gif +img_icon_contact_pm = icon_contact_pm.gif +img_icon_contact_yahoo = icon_contact_yahoo.gif +img_icon_contact_www = icon_contact_www.gif + +img_icon_post_delete = icon_post_delete.gif +img_icon_post_edit = icon_post_edit.gif +img_icon_post_info = icon_post_info.gif +img_icon_post_quote = icon_post_quote.gif +img_icon_post_report = icon_post_report.gif + +img_icon_user_online = icon_user_online.gif +img_icon_user_offline = icon_user_offline.gif +img_icon_user_profile = icon_user_profile.gif +img_icon_user_search = icon_user_search.gif +img_icon_user_warn = icon_user_warn.gif + +img_button_pm_forward = +img_button_pm_new = button_pm_new.gif +img_button_pm_reply = button_pm_reply.gif +img_button_topic_locked = button_topic_locked.gif +img_button_topic_new = button_topic_new.gif +img_button_topic_reply = button_topic_reply.gif + diff --git a/tmw3/imageset/forum_link.gif b/tmw3/imageset/forum_link.gif Binary files differnew file mode 100644 index 0000000..f0ceb6c --- /dev/null +++ b/tmw3/imageset/forum_link.gif diff --git a/tmw3/imageset/forum_read.gif b/tmw3/imageset/forum_read.gif Binary files differnew file mode 100644 index 0000000..910baeb --- /dev/null +++ b/tmw3/imageset/forum_read.gif diff --git a/tmw3/imageset/forum_read_locked.gif b/tmw3/imageset/forum_read_locked.gif Binary files differnew file mode 100644 index 0000000..3966d02 --- /dev/null +++ b/tmw3/imageset/forum_read_locked.gif diff --git a/tmw3/imageset/forum_read_subforum.gif b/tmw3/imageset/forum_read_subforum.gif Binary files differnew file mode 100644 index 0000000..a412f8d --- /dev/null +++ b/tmw3/imageset/forum_read_subforum.gif diff --git a/tmw3/imageset/forum_unread.gif b/tmw3/imageset/forum_unread.gif Binary files differnew file mode 100644 index 0000000..a4ede3d --- /dev/null +++ b/tmw3/imageset/forum_unread.gif diff --git a/tmw3/imageset/forum_unread_locked.gif b/tmw3/imageset/forum_unread_locked.gif Binary files differnew file mode 100644 index 0000000..bc852af --- /dev/null +++ b/tmw3/imageset/forum_unread_locked.gif diff --git a/tmw3/imageset/forum_unread_subforum.gif b/tmw3/imageset/forum_unread_subforum.gif Binary files differnew file mode 100644 index 0000000..cc92467 --- /dev/null +++ b/tmw3/imageset/forum_unread_subforum.gif diff --git a/tmw3/imageset/icon_post_target.gif b/tmw3/imageset/icon_post_target.gif Binary files differnew file mode 100644 index 0000000..d172abb --- /dev/null +++ b/tmw3/imageset/icon_post_target.gif diff --git a/tmw3/imageset/icon_post_target_unread.gif b/tmw3/imageset/icon_post_target_unread.gif Binary files differnew file mode 100644 index 0000000..8ec44a1 --- /dev/null +++ b/tmw3/imageset/icon_post_target_unread.gif diff --git a/tmw3/imageset/icon_topic_attach.gif b/tmw3/imageset/icon_topic_attach.gif Binary files differnew file mode 100644 index 0000000..1c9c89b --- /dev/null +++ b/tmw3/imageset/icon_topic_attach.gif diff --git a/tmw3/imageset/icon_topic_latest.gif b/tmw3/imageset/icon_topic_latest.gif Binary files differnew file mode 100644 index 0000000..b45e57a --- /dev/null +++ b/tmw3/imageset/icon_topic_latest.gif diff --git a/tmw3/imageset/icon_topic_newest.gif b/tmw3/imageset/icon_topic_newest.gif Binary files differnew file mode 100644 index 0000000..eca2861 --- /dev/null +++ b/tmw3/imageset/icon_topic_newest.gif diff --git a/tmw3/imageset/icon_topic_reported.gif b/tmw3/imageset/icon_topic_reported.gif Binary files differnew file mode 100644 index 0000000..9bd226e --- /dev/null +++ b/tmw3/imageset/icon_topic_reported.gif diff --git a/tmw3/imageset/icon_topic_unapproved.gif b/tmw3/imageset/icon_topic_unapproved.gif Binary files differnew file mode 100644 index 0000000..84d5683 --- /dev/null +++ b/tmw3/imageset/icon_topic_unapproved.gif diff --git a/tmw3/imageset/imageset.cfg b/tmw3/imageset/imageset.cfg new file mode 100644 index 0000000..8c3f1d3 --- /dev/null +++ b/tmw3/imageset/imageset.cfg @@ -0,0 +1,100 @@ +# +# phpBB Imageset 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 = tmw3 +copyright = © phpBB Group, 2003 +version = 3.0.2 + +# Images +img_site_logo = site_logo.gif*94*170 +img_upload_bar = upload_bar.gif*16*280 +img_poll_left = poll_left.gif*12*4 +img_poll_center = poll_center.gif*12* +img_poll_right = poll_right.gif*12*4 +img_icon_friend = +img_icon_foe = + +img_forum_link = forum_link.gif*25*46 +img_forum_read = forum_read.gif*25*46 +img_forum_read_locked = forum_read_locked.gif*25*46 +img_forum_read_subforum = forum_read_subforum.gif*25*46 +img_forum_unread = forum_unread.gif*25*46 +img_forum_unread_locked = forum_unread_locked.gif*25*46 +img_forum_unread_subforum = forum_unread_subforum.gif*25*46 + +img_topic_moved = topic_moved.gif*18*19 + +img_topic_read = topic_read.gif*18*19 +img_topic_read_mine = topic_read_mine.gif*18*19 +img_topic_read_hot = topic_read_hot.gif*18*19 +img_topic_read_hot_mine = topic_read_hot_mine.gif*18*19 +img_topic_read_locked = topic_read_locked.gif*18*19 +img_topic_read_locked_mine = topic_read_locked_mine.gif*18*19 + +img_topic_unread = topic_unread.gif*18*19 +img_topic_unread_mine = topic_unread_mine.gif*18*19 +img_topic_unread_hot = topic_unread_hot.gif*18*19 +img_topic_unread_hot_mine = topic_unread_hot_mine.gif*18*19 +img_topic_unread_locked = topic_unread_locked.gif*18*19 +img_topic_unread_locked_mine = topic_unread_locked_mine.gif*18*19 + +img_sticky_read = sticky_read.gif*18*19 +img_sticky_read_mine = sticky_read_mine.gif*18*19 +img_sticky_read_locked = sticky_read_locked.gif*18*19 +img_sticky_read_locked_mine = sticky_read_locked_mine.gif*18*19 +img_sticky_unread = sticky_unread.gif*18*19 +img_sticky_unread_mine = sticky_unread_mine.gif*18*19 +img_sticky_unread_locked = sticky_unread_locked.gif*18*19 +img_sticky_unread_locked_mine = sticky_unread_locked_mine.gif*18*19 + +img_announce_read = announce_read.gif*18*19 +img_announce_read_mine = announce_read_mine.gif*18*19 +img_announce_read_locked = announce_read_locked.gif*18*19 +img_announce_read_locked_mine = announce_read_locked_mine.gif*18*19 +img_announce_unread = announce_unread.gif*18*19 +img_announce_unread_mine = announce_unread_mine.gif*18*19 +img_announce_unread_locked = announce_unread_locked.gif*18*19 +img_announce_unread_locked_mine = announce_unread_locked_mine.gif*18*19 + +img_global_read = announce_read.gif*18*19 +img_global_read_mine = announce_read_mine.gif*18*19 +img_global_read_locked = announce_read_locked.gif*18*19 +img_global_read_locked_mine = announce_read_locked_mine.gif*18*19 +img_global_unread = announce_unread.gif*18*19 +img_global_unread_mine = announce_unread_mine.gif*18*19 +img_global_unread_locked = announce_unread_locked.gif*18*19 +img_global_unread_locked_mine = announce_unread_locked_mine.gif*18*19 + +img_subforum_read = +img_subforum_unread = + +img_pm_read = topic_read.gif*18*19 +img_pm_unread = topic_unread.gif*18*19 + +img_icon_back_top = + +img_icon_post_target = icon_post_target.gif*9*12 +img_icon_post_target_unread = icon_post_target_unread.gif*9*12 + +img_icon_topic_attach = icon_topic_attach.gif*18*14 +img_icon_topic_latest = icon_topic_latest.gif*9*18 +img_icon_topic_newest = icon_topic_newest.gif*9*18 +img_icon_topic_reported = icon_topic_reported.gif*18*19 +img_icon_topic_unapproved = icon_topic_unapproved.gif*18*19 + diff --git a/tmw3/imageset/poll_center.gif b/tmw3/imageset/poll_center.gif Binary files differnew file mode 100644 index 0000000..a4394cc --- /dev/null +++ b/tmw3/imageset/poll_center.gif diff --git a/tmw3/imageset/poll_left.gif b/tmw3/imageset/poll_left.gif Binary files differnew file mode 100644 index 0000000..41840c3 --- /dev/null +++ b/tmw3/imageset/poll_left.gif diff --git a/tmw3/imageset/poll_right.gif b/tmw3/imageset/poll_right.gif Binary files differnew file mode 100644 index 0000000..9a07536 --- /dev/null +++ b/tmw3/imageset/poll_right.gif diff --git a/tmw3/imageset/sticky_read.gif b/tmw3/imageset/sticky_read.gif Binary files differnew file mode 100644 index 0000000..a4ed20e --- /dev/null +++ b/tmw3/imageset/sticky_read.gif diff --git a/tmw3/imageset/sticky_read_locked.gif b/tmw3/imageset/sticky_read_locked.gif Binary files differnew file mode 100644 index 0000000..7b7d023 --- /dev/null +++ b/tmw3/imageset/sticky_read_locked.gif diff --git a/tmw3/imageset/sticky_read_locked_mine.gif b/tmw3/imageset/sticky_read_locked_mine.gif Binary files differnew file mode 100644 index 0000000..55362e1 --- /dev/null +++ b/tmw3/imageset/sticky_read_locked_mine.gif diff --git a/tmw3/imageset/sticky_read_mine.gif b/tmw3/imageset/sticky_read_mine.gif Binary files differnew file mode 100644 index 0000000..b138c02 --- /dev/null +++ b/tmw3/imageset/sticky_read_mine.gif diff --git a/tmw3/imageset/sticky_unread.gif b/tmw3/imageset/sticky_unread.gif Binary files differnew file mode 100644 index 0000000..d4d38ae --- /dev/null +++ b/tmw3/imageset/sticky_unread.gif diff --git a/tmw3/imageset/sticky_unread_locked.gif b/tmw3/imageset/sticky_unread_locked.gif Binary files differnew file mode 100644 index 0000000..5fcf054 --- /dev/null +++ b/tmw3/imageset/sticky_unread_locked.gif diff --git a/tmw3/imageset/sticky_unread_locked_mine.gif b/tmw3/imageset/sticky_unread_locked_mine.gif Binary files differnew file mode 100644 index 0000000..65658f9 --- /dev/null +++ b/tmw3/imageset/sticky_unread_locked_mine.gif diff --git a/tmw3/imageset/sticky_unread_mine.gif b/tmw3/imageset/sticky_unread_mine.gif Binary files differnew file mode 100644 index 0000000..f1c0739 --- /dev/null +++ b/tmw3/imageset/sticky_unread_mine.gif diff --git a/tmw3/imageset/tmw-logo.png b/tmw3/imageset/tmw-logo.png Binary files differnew file mode 100644 index 0000000..69f4ab0 --- /dev/null +++ b/tmw3/imageset/tmw-logo.png diff --git a/tmw3/imageset/topic_moved.gif b/tmw3/imageset/topic_moved.gif Binary files differnew file mode 100644 index 0000000..650b749 --- /dev/null +++ b/tmw3/imageset/topic_moved.gif diff --git a/tmw3/imageset/topic_read.gif b/tmw3/imageset/topic_read.gif Binary files differnew file mode 100644 index 0000000..48d8287 --- /dev/null +++ b/tmw3/imageset/topic_read.gif diff --git a/tmw3/imageset/topic_read_hot.gif b/tmw3/imageset/topic_read_hot.gif Binary files differnew file mode 100644 index 0000000..48d8287 --- /dev/null +++ b/tmw3/imageset/topic_read_hot.gif diff --git a/tmw3/imageset/topic_read_hot_mine.gif b/tmw3/imageset/topic_read_hot_mine.gif Binary files differnew file mode 100644 index 0000000..b9136af --- /dev/null +++ b/tmw3/imageset/topic_read_hot_mine.gif diff --git a/tmw3/imageset/topic_read_locked.gif b/tmw3/imageset/topic_read_locked.gif Binary files differnew file mode 100644 index 0000000..4ae88af --- /dev/null +++ b/tmw3/imageset/topic_read_locked.gif diff --git a/tmw3/imageset/topic_read_locked_mine.gif b/tmw3/imageset/topic_read_locked_mine.gif Binary files differnew file mode 100644 index 0000000..eb81482 --- /dev/null +++ b/tmw3/imageset/topic_read_locked_mine.gif diff --git a/tmw3/imageset/topic_read_mine.gif b/tmw3/imageset/topic_read_mine.gif Binary files differnew file mode 100644 index 0000000..b9136af --- /dev/null +++ b/tmw3/imageset/topic_read_mine.gif diff --git a/tmw3/imageset/topic_unread.gif b/tmw3/imageset/topic_unread.gif Binary files differnew file mode 100644 index 0000000..52d63b0 --- /dev/null +++ b/tmw3/imageset/topic_unread.gif diff --git a/tmw3/imageset/topic_unread_hot.gif b/tmw3/imageset/topic_unread_hot.gif Binary files differnew file mode 100644 index 0000000..52d63b0 --- /dev/null +++ b/tmw3/imageset/topic_unread_hot.gif diff --git a/tmw3/imageset/topic_unread_hot_mine.gif b/tmw3/imageset/topic_unread_hot_mine.gif Binary files differnew file mode 100644 index 0000000..64d6ff7 --- /dev/null +++ b/tmw3/imageset/topic_unread_hot_mine.gif diff --git a/tmw3/imageset/topic_unread_locked.gif b/tmw3/imageset/topic_unread_locked.gif Binary files differnew file mode 100644 index 0000000..86f2030 --- /dev/null +++ b/tmw3/imageset/topic_unread_locked.gif diff --git a/tmw3/imageset/topic_unread_locked_mine.gif b/tmw3/imageset/topic_unread_locked_mine.gif Binary files differnew file mode 100644 index 0000000..a902114 --- /dev/null +++ b/tmw3/imageset/topic_unread_locked_mine.gif diff --git a/tmw3/imageset/topic_unread_mine.gif b/tmw3/imageset/topic_unread_mine.gif Binary files differnew file mode 100644 index 0000000..64d6ff7 --- /dev/null +++ b/tmw3/imageset/topic_unread_mine.gif diff --git a/tmw3/imageset/upload_bar.gif b/tmw3/imageset/upload_bar.gif Binary files differnew file mode 100644 index 0000000..75cf61c --- /dev/null +++ b/tmw3/imageset/upload_bar.gif diff --git a/tmw3/style.cfg b/tmw3/style.cfg new file mode 100644 index 0000000..0d7f051 --- /dev/null +++ b/tmw3/style.cfg @@ -0,0 +1,13 @@ +# +# phpBB Style Configuration File +# +# @package phpBB3 +# @copyright (c) 2005 phpBB Group +# @license http://opensource.org/licenses/gpl-license.php GNU Public License +# +# This style is based on subsilver2. + +# General Information about this style +name = tmw3 +copyright = © Platyna & 2005 phpBB Group 2003 +version = 0.1 diff --git a/tmw3/template/attachment.html b/tmw3/template/attachment.html new file mode 100644 index 0000000..d54994f --- /dev/null +++ b/tmw3/template/attachment.html @@ -0,0 +1,121 @@ + +<!-- BEGIN _file --> + + <!-- IF _file.S_DENIED --> + <span class="genmed">[{_file.DENIED_MESSAGE}]</span><br /> + <!-- ELSE --> + + <!-- IF _file.COMMENT --> + <span class="gensmall"><b>{L_FILE_COMMENT}:</b> {_file.COMMENT}</span><br /> + <!-- ENDIF --> + + <!-- IF _file.S_THUMBNAIL --> + <a href="{_file.U_DOWNLOAD_LINK}"><img src="{_file.THUMB_IMAGE}" alt="{_file.DOWNLOAD_NAME}" /></a><br /> + <span class="gensmall">{_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</span> + <!-- ENDIF --> + + <!-- IF _file.S_IMAGE --> + <img src="{_file.U_INLINE_LINK}" alt="{_file.DOWNLOAD_NAME}" /><br /> + <span class="gensmall">{_file.DOWNLOAD_NAME} [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</span> + <!-- ENDIF --> + + <!-- IF _file.S_FILE --> + <span class="genmed"> + <!-- IF _file.UPLOAD_ICON -->{_file.UPLOAD_ICON} <!-- ENDIF --> + <a href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a> [{_file.FILESIZE} {_file.SIZE_LANG}] + </span><br /> + <span class="gensmall">{_file.L_DOWNLOAD_COUNT}</span> + <!-- 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_DOWNLOAD_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_DOWNLOAD_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="0" height="16"> + <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="0" height="16" type="video/quicktime" autoplay="false"> + </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 --> + <br /> + <!-- IF _file.S_QUICKTIME_FILE --><a href="#" onclick="play_qt_file(document.qtstream_{_file.ATTACH_ID}); return false;">[ {L_PLAY_QUICKTIME_FILE} ]</a> <!-- ENDIF --> + <span class="gensmall"><a href="{_file.U_DOWNLOAD_LINK}">{_file.DOWNLOAD_NAME}</a> [ {_file.FILESIZE} {_file.SIZE_LANG} | {_file.L_DOWNLOAD_COUNT} ]</span> + <!-- ENDIF --> + + <br /> + <!-- ENDIF --> + +<!-- END _file --> diff --git a/tmw3/template/bbcode.html b/tmw3/template/bbcode.html new file mode 100644 index 0000000..5016274 --- /dev/null +++ b/tmw3/template/bbcode.html @@ -0,0 +1,69 @@ +<!-- 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 --> +<div class="quotetitle">{USERNAME} {L_WROTE}:</div><div class="quotecontent"> +<!-- END quote_username_open --> + +<!-- BEGIN quote_open --> +<div class="quotetitle"><b>{L_QUOTE}:</b></div><div class="quotecontent"> +<!-- END quote_open --> + +<!-- BEGIN quote_close --> +</div> +<!-- END quote_close --> + +<!-- BEGIN code_open --> +<div class="codetitle"><b>{L_CODE}:</b></div><div class="codecontent"> +<!-- END code_open --> + +<!-- BEGIN code_close --> +</div> +<!-- END code_close --> + +<!-- BEGIN inline_attachment_open --> +<div class="attachtitle">{L_ATTACHMENT}:</div><div class="attachcontent"> +<!-- 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: normal">{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 --> diff --git a/tmw3/template/breadcrumbs.html b/tmw3/template/breadcrumbs.html new file mode 100644 index 0000000..ad18025 --- /dev/null +++ b/tmw3/template/breadcrumbs.html @@ -0,0 +1,8 @@ + <table class="tablebg" width="100%" cellspacing="1" cellpadding="0" style="margin-top: 5px;"> + <tr> + <td class="row1"> + <p class="breadcrumbs"><a href="{U_INDEX}">{L_INDEX}</a><!-- BEGIN navlinks --> » <a href="{navlinks.U_VIEW_FORUM}">{navlinks.FORUM_NAME}</a><!-- END navlinks --></p> + <p class="datetime">{S_TIMEZONE}</p> + </td> + </tr> + </table>
\ No newline at end of file diff --git a/tmw3/template/captcha_qa.html b/tmw3/template/captcha_qa.html new file mode 100644 index 0000000..0b18ada --- /dev/null +++ b/tmw3/template/captcha_qa.html @@ -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 --> diff --git a/tmw3/template/captcha_recaptcha.html b/tmw3/template/captcha_recaptcha.html new file mode 100644 index 0000000..51a1615 --- /dev/null +++ b/tmw3/template/captcha_recaptcha.html @@ -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 --> diff --git a/tmw3/template/confirm_body.html b/tmw3/template/confirm_body.html new file mode 100644 index 0000000..92c2481 --- /dev/null +++ b/tmw3/template/confirm_body.html @@ -0,0 +1,28 @@ +<!-- INCLUDE overall_header.html --> + +<div id="pagecontent"> + + <form name="confirm" action="{S_CONFIRM_ACTION}" method="post"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th>{MESSAGE_TITLE}</th> + </tr> + <tr> + <td class="row1" align="center"><br /><p class="gen">{MESSAGE_TEXT}</p><br />{S_HIDDEN_FIELDS}<input type="submit" name="confirm" value="{YES_VALUE}" class="btnmain" /> <input type="submit" name="cancel" value="{L_NO}" class="btnlite" /></td> + </tr> + </table> + + </form> + +</div> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<br clear="all" /> + +<div align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/custom_profile_fields.html b/tmw3/template/custom_profile_fields.html new file mode 100644 index 0000000..c8f287d --- /dev/null +++ b/tmw3/template/custom_profile_fields.html @@ -0,0 +1,31 @@ +<!-- BEGIN dropdown --> + <select name="{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}" rows="{text.FIELD_ROWS}" cols="{text.FIELD_COLS}">{text.FIELD_VALUE}</textarea> +<!-- END text --> + +<!-- BEGIN string --> + <input type="text" class="post" name="{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 --><input type="radio" class="radio" name="{bool.FIELD_IDENT}" value="{bool.options.OPTION_ID}"{bool.options.CHECKED} /><span class="genmed">{bool.options.VALUE}</span> <!-- END options --> + <!-- ELSE --> + <input type="checkbox" class="radio" name="{bool.FIELD_IDENT}" value="1"<!-- IF bool.FIELD_VALUE eq 1 --> checked="checked"<!-- ENDIF --> /> + <!-- ENDIF --> +<!-- END bool --> + +<!-- BEGIN int --> + <input type="text" class="post" name="{int.FIELD_IDENT}" size="{int.FIELD_LENGTH}" value="{int.FIELD_VALUE}" /> +<!-- END int --> + +<!-- BEGIN date --> + <span class="genmed">{L_DAY}:</span> <select name="{date.FIELD_IDENT}_day">{date.S_DAY_OPTIONS}</select> + <span class="genmed">{L_MONTH}:</span> <select name="{date.FIELD_IDENT}_month">{date.S_MONTH_OPTIONS}</select> + <span class="genmed">{L_YEAR}:</span> <select name="{date.FIELD_IDENT}_year">{date.S_YEAR_OPTIONS}</select> +<!-- END date --> diff --git a/tmw3/template/editor.js b/tmw3/template/editor.js new file mode 100644 index 0000000..53b8b62 --- /dev/null +++ b/tmw3/template/editor.js @@ -0,0 +1,402 @@ +/** +* bbCode control by subBlue design [ www.subBlue.com ] +* Includes unixsafe colour palette selector by SHS` +*/ + +// Startup variables +var imageTag = false; +var theSelection = false; + +// 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; +window.onload = initInsertions; + +/** +* 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 + ' '; + } + + if (!isNaN(textarea.selectionStart)) + { + 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) +{ + var message_name = 'message_' + post_id; + var theSelection = ''; + var divarea = false; + + if (document.all) + { + divarea = document.all[message_name]; + } + else + { + divarea = document.getElementById(message_name); + } + + // Get text selection - not only the post content :( + if (window.getSelection) + { + theSelection = window.getSelection().toString(); + } + else if (document.getSelection) + { + 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, '&'); + } + 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) + { + insert_text('[quote="' + username + '"]' + theSelection + '[/quote]'); + } + + return; +} + +/** +* From http://www.massless.org/mozedit/ +*/ +function mozWrap(txtarea, open, close) +{ + var selLength = 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 = selEnd + open.length + close.length; + txtarea.selectionEnd = txtarea.selectionStart; + 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 + '">'); + document.write('<a href="#" onclick="bbfontstyle(\'[color=#' + color + ']\', \'[/color]\'); return false;" onmouseover="helpline(\'s\');" onmouseout="helpline(\'tip\');"><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; +}
\ No newline at end of file diff --git a/tmw3/template/faq_body.html b/tmw3/template/faq_body.html new file mode 100644 index 0000000..bbd9b82 --- /dev/null +++ b/tmw3/template/faq_body.html @@ -0,0 +1,63 @@ +<!-- INCLUDE overall_header.html --> + +<a name="faqtop"></a> + +<div id="pagecontent"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th>{L_FAQ_TITLE}</th> + </tr> + <tr> + <td class="row1"> + <!-- BEGIN faq_block --> + <span class="gen"><b>{faq_block.BLOCK_TITLE}</b></span><br /> + <!-- BEGIN faq_row --> + <span class="gen"><a class="postlink" href="#f{faq_block.S_ROW_COUNT}r{faq_block.faq_row.S_ROW_COUNT}">{faq_block.faq_row.FAQ_QUESTION}</a></span><br /> + <!-- END faq_row --> + <br /> + <!-- END faq_block --> + </td> + </tr> + <tr> + <td class="cat"> </td> + </tr> + </table> + + <br clear="all" /> + + <!-- BEGIN faq_block --> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="cat" align="center"><h4>{faq_block.BLOCK_TITLE}</h4></td> + </tr> + <!-- BEGIN faq_row --> + <tr> + <!-- IF faq_block.faq_row.S_ROW_COUNT is even --> + <td class="row1" valign="top"> + <!-- ELSE --> + <td class="row2" valign="top"> + <!-- ENDIF --> + <div class="postbody"><a name="f{faq_block.S_ROW_COUNT}r{faq_block.faq_row.S_ROW_COUNT}"></a><b>» {faq_block.faq_row.FAQ_QUESTION}</b></div> + <div class="postbody">{faq_block.faq_row.FAQ_ANSWER}</div> + <p class="gensmall"><a href="#faqtop">{L_BACK_TO_TOP}</a></p> + </td> + </tr> + <tr> + <td class="spacer" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> + </tr> + <!-- END faq_row --> + </table> + + <br clear="all" /> + <!-- END faq_block --> + +</div> + +<!-- INCLUDE breadcrumbs.html --> + +<br clear="all" /> + +<div align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/forumlist_body.html b/tmw3/template/forumlist_body.html new file mode 100644 index 0000000..27980dc --- /dev/null +++ b/tmw3/template/forumlist_body.html @@ -0,0 +1,76 @@ +<table class="tablebg" cellspacing="1" width="100%"> +<tr> + <td class="cat" colspan="5" align="{S_CONTENT_FLOW_END}"><!-- IF not S_IS_BOT and U_MARK_FORUMS --><a class="nav" href="{U_MARK_FORUMS}">{L_MARK_FORUMS_READ}</a><!-- ENDIF --> </td> +</tr> +<tr> + <th colspan="2"> {L_FORUM} </th> + <th width="50"> {L_TOPICS} </th> + <th width="50"> {L_POSTS} </th> + <th> {L_LAST_POST} </th> +</tr> +<!-- BEGIN forumrow --> + <!-- IF forumrow.S_IS_CAT --> + <tr> + <td class="cat" colspan="5"><h4><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></h4></td> + <!-- <td class="catdiv" colspan="3"> </td> --> + </tr> + <!-- ELSEIF forumrow.S_IS_LINK --> + <tr> + <td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td> + <td class="row1"> + <!-- IF forumrow.FORUM_IMAGE --> + <div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};"> + <!-- ENDIF --> + <a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a> + <p class="forumdesc">{forumrow.FORUM_DESC}</p> + <!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF --> + </td> + <!-- IF forumrow.CLICKS --> + <td class="row2" colspan="3" align="center"><span class="genmed">{L_REDIRECTS}: {forumrow.CLICKS}</span></td> + <!-- ELSE --> + <td class="row2" colspan="3" align="center"> </td> + <!-- ENDIF --> + </tr> + <!-- ELSE --> + <!-- IF forumrow.S_NO_CAT --> + <tr> + <td class="cat" colspan="2"><h4>{L_FORUM}</h4></td> + <td class="catdiv" colspan="3"> </td> + </tr> + <!-- ENDIF --> + <tr> + <td class="row1" width="50" align="center">{forumrow.FORUM_FOLDER_IMG}</td> + <td class="row1" width="100%"> + <!-- IF forumrow.FORUM_IMAGE --> + <div style="float: {S_CONTENT_FLOW_BEGIN}; margin-{S_CONTENT_FLOW_END}: 5px;">{forumrow.FORUM_IMAGE}</div><div style="float: {S_CONTENT_FLOW_BEGIN};"> + <!-- ENDIF --> + <a class="forumlink" href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a> + <p class="forumdesc">{forumrow.FORUM_DESC}</p> + <!-- IF forumrow.MODERATORS --> + <p class="forumdesc"><strong>{forumrow.L_MODERATOR_STR}:</strong> {forumrow.MODERATORS}</p> + <!-- ENDIF --> + <!-- IF forumrow.SUBFORUMS and forumrow.S_LIST_SUBFORUMS --> + <p class="forumdesc"><strong>{forumrow.L_SUBFORUM_STR}</strong> {forumrow.SUBFORUMS}</p> + <!-- ENDIF --> + <!-- IF forumrow.FORUM_IMAGE --></div><!-- ENDIF --> + </td> + <td class="row2" align="center"><p class="topicdetails">{forumrow.TOPICS}</p></td> + <td class="row2" align="center"><p class="topicdetails">{forumrow.POSTS}</p></td> + <td class="row2" align="center" nowrap="nowrap"> + <!-- IF forumrow.LAST_POST_TIME --> + <p class="topicdetails">{forumrow.LAST_POST_TIME}</p> + <p class="topicdetails">{forumrow.LAST_POSTER_FULL} + <!-- IF not S_IS_BOT --><a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF --> + </p> + <!-- ELSE --> + <p class="topicdetails">{L_NO_POSTS}</p> + <!-- ENDIF --> + </td> + </tr> + <!-- ENDIF --> +<!-- BEGINELSE --> + <tr> + <td class="row1" colspan="5" align="center"><p class="gensmall">{L_NO_FORUMS}</p></td> + </tr> +<!-- END forumrow --> +</table>
\ No newline at end of file diff --git a/tmw3/template/index.htm b/tmw3/template/index.htm new file mode 100644 index 0000000..4763c05 --- /dev/null +++ b/tmw3/template/index.htm @@ -0,0 +1,16 @@ +<html> +<head> +<title>subSilver created by subBlue Design</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<body bgcolor="#FFFFFF" text="#000000"> + +<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0"> + <tr> + <td align="center" valign="middle"><a href="http://www.subblue.com/" target="_new"><img src="images/created_by.jpg" width="400" height="300" alt="Created by subBlue Design" /></a></td> + </tr> +</table> + +</body> +</html>
\ No newline at end of file diff --git a/tmw3/template/index_body.html b/tmw3/template/index_body.html new file mode 100644 index 0000000..bf523dc --- /dev/null +++ b/tmw3/template/index_body.html @@ -0,0 +1,102 @@ +<!-- INCLUDE overall_header.html --> + +<!-- IF U_MCP --> + <div id="pageheader"> + <p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p> + </div> + + <br clear="all" /><br /> +<!-- ENDIF --> + +<!-- INCLUDE forumlist_body.html --> + +<!-- IF not S_IS_BOT or U_TEAM --> +<span class="gensmall"><!-- IF not S_IS_BOT --><a href="{U_DELETE_COOKIES}">{L_DELETE_COOKIES}</a><!-- ENDIF --><!-- IF not S_IS_BOT and U_TEAM --> | <!-- ENDIF --><!-- IF U_TEAM --><a href="{U_TEAM}">{L_THE_TEAM}</a><!-- ENDIF --></span><br /> +<!-- ENDIF --> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<!-- IF S_DISPLAY_ONLINE_LIST --> + <br clear="all" /> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="cat" colspan="2"><!-- IF U_VIEWONLINE --><h4><a href="{U_VIEWONLINE}">{L_WHO_IS_ONLINE}</a></h4><!-- ELSE --><h4>{L_WHO_IS_ONLINE}</h4><!-- ENDIF --></td> + </tr> + <tr> + <!-- IF LEGEND --> + <td class="row1" rowspan="2" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td> + <!-- ELSE --> + <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_WHO_IS_ONLINE}" /></td> + <!-- ENDIF --> + <td class="row1" width="100%"><span class="genmed">{TOTAL_USERS_ONLINE} ({L_ONLINE_EXPLAIN})<br />{RECORD_USERS}<br /><br />{LOGGED_IN_USER_LIST}</span></td> + </tr> + <!-- IF LEGEND --> + <tr> + <td class="row1"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td> + </tr> + <!-- ENDIF --> + </table> +<!-- ENDIF --> + +<!-- IF S_DISPLAY_BIRTHDAY_LIST --> + <br clear="all" /> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="cat" colspan="2"><h4>{L_BIRTHDAYS}</h4></td> + </tr> + <tr> + <td class="row1" align="center" valign="middle"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_BIRTHDAYS}" /></td> + <td class="row1" width="100%"><p class="genmed"><!-- IF BIRTHDAY_LIST -->{L_CONGRATULATIONS}: <b>{BIRTHDAY_LIST}</b><!-- ELSE -->{L_NO_BIRTHDAYS}<!-- ENDIF --></p></td> + </tr> + </table> +<!-- ENDIF --> + +<br clear="all" /> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <td class="cat" colspan="2"><h4>{L_STATISTICS}</h4></td> +</tr> +<tr> + <td class="row1"><img src="{T_THEME_PATH}/images/whosonline.gif" alt="{L_STATISTICS}" /></td> + <td class="row1" width="100%" valign="middle"><p class="genmed">{TOTAL_POSTS} | {TOTAL_TOPICS} | {TOTAL_USERS} | {NEWEST_USER}</p></td> +</tr> +</table> + +<!-- IF not S_USER_LOGGED_IN --> + <br clear="all" /> + + <form method="post" action="{S_LOGIN_ACTION}"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="cat"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></td> + </tr> + <tr> + <td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" /> <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" /> <!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF --> <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td> + </tr> + </table> + {S_FORM_TOKEN} + </form> +<!-- ENDIF --> + +<br clear="all" /> + +<table class="legend"> +<tr> + <td width="20" align="center">{FORUM_NEW_IMG}</td> + <td><span class="gensmall">{L_NEW_POSTS}</span></td> + <td> </td> + <td width="20" align="center">{FORUM_IMG}</td> + <td><span class="gensmall">{L_NO_NEW_POSTS}</span></td> + <td> </td> + <td width="20" align="center">{FORUM_LOCKED_IMG}</td> + <td><span class="gensmall">{L_FORUM_LOCKED}</span></td> +</tr> +</table> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/jumpbox.html b/tmw3/template/jumpbox.html new file mode 100644 index 0000000..f46fed9 --- /dev/null +++ b/tmw3/template/jumpbox.html @@ -0,0 +1,19 @@ + +<!-- IF S_DISPLAY_JUMPBOX --> + <form method="post" name="jumpbox" action="{S_JUMPBOX_ACTION}" onsubmit="if(document.jumpbox.f.value == -1){return false;}"> + + <table cellspacing="0" cellpadding="0" border="0"> + <tr> + <td nowrap="nowrap"><span class="gensmall"><!-- IF S_IN_MCP and S_MERGE_SELECT -->{L_SELECT_TOPICS_FROM}<!-- ELSEIF S_IN_MCP -->{L_MODERATE_FORUM}<!-- ELSE -->{L_JUMP_TO}<!-- ENDIF -->:</span> <select name="f" onchange="if(this.options[this.selectedIndex].value != -1){ document.forms['jumpbox'].submit() }"> + + <!-- BEGIN jumpbox_forums --> + <!-- IF jumpbox_forums.S_FORUM_COUNT eq 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 class="btnlite" type="submit" value="{L_GO}" /></td> + </tr> + </table> + + </form> +<!-- ENDIF -->
\ No newline at end of file diff --git a/tmw3/template/login_body.html b/tmw3/template/login_body.html new file mode 100644 index 0000000..36c2eae --- /dev/null +++ b/tmw3/template/login_body.html @@ -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"><span class="corners-top"><span></span></span> + + <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> + <span class="corners-bottom"><span></span></span></div> +</div> + + +<!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED --> + <div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <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> + + <span class="corners-bottom"><span></span></span></div> + </div> +<!-- ENDIF --> + +</form> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/login_body.html.old-customized b/tmw3/template/login_body.html.old-customized new file mode 100644 index 0000000..86eed2d --- /dev/null +++ b/tmw3/template/login_body.html.old-customized @@ -0,0 +1,104 @@ +<!-- INCLUDE overall_header.html --> + +<form action="{S_LOGIN_ACTION}" method="post"> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <!-- IF not S_ADMIN_AUTH --> + <th colspan="2">{L_LOGIN}</th> + <!-- ELSE --> + <th>{LOGIN_EXPLAIN}</th> + <!-- ENDIF --> +</tr> +<!-- IF LOGIN_EXPLAIN && not S_ADMIN_AUTH --> + <tr> + <td class="row3" colspan="2" align="center"><span class="gensmall">{LOGIN_EXPLAIN}</span></td> + </tr> +<!-- ENDIF --> +<tr><!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED --> + <td class="row1" width="50%"> + <p class="genmed">{L_LOGIN_INFO}</p> + + <p class="genmed" align="center"> + <a href="{U_TERMS_USE}">{L_TERMS_USE}</a> | <a href="{U_PRIVACY}">{L_PRIVACY}</a> + </p> + </td> + <!-- ENDIF --> + <td <!-- IF not S_ADMIN_AUTH -->class="row2"<!-- ELSE -->class="row1"<!-- ENDIF -->> + + <table align="center" cellspacing="1" cellpadding="4" style="width: 100%;"> + <!-- IF LOGIN_ERROR --> + <tr> + <td class="gensmall" colspan="2" align="center"><span class="error">{LOGIN_ERROR}</span></td> + </tr> + <!-- ENDIF --> + + <tr> + <td valign="top" <!-- IF S_ADMIN_AUTH -->style="width: 50%; text-align: {S_CONTENT_FLOW_END};"<!-- ENDIF -->><b class="gensmall">{L_USERNAME}:</b></td> + <td><input class="post" type="text" name="{USERNAME_CREDENTIAL}" size="25" value="{USERNAME}" tabindex="1" /> + <!-- IF not S_ADMIN_AUTH and S_REGISTER_ENABLED --> + <br /><a class="gensmall" href="{U_REGISTER}">{L_REGISTER}</a> + <!-- ENDIF --> + </td> + </tr> + <tr> + <td valign="top" <!-- IF S_ADMIN_AUTH -->style="width: 50%; text-align: {S_CONTENT_FLOW_END};"<!-- ENDIF -->><b class="gensmall">{L_PASSWORD}:</b></td> + <td> + <input class="post" type="password" name="{PASSWORD_CREDENTIAL}" size="25" tabindex="2" /> + <!-- IF U_SEND_PASSWORD --><br /><a class="gensmall" href="{U_SEND_PASSWORD}">{L_FORGOT_PASS}</a><!-- ENDIF --> + <!-- IF U_RESEND_ACTIVATION and not S_ADMIN_AUTH --><br /><a class="gensmall" href="{U_RESEND_ACTIVATION}">{L_RESEND_ACTIVATION}</a><!-- ENDIF --> + </td> + </tr> + <!-- IF S_DISPLAY_FULL_LOGIN --> + <!-- IF S_AUTOLOGIN_ENABLED --> + <tr> + <td> </td> + <td><input type="checkbox" class="radio" name="autologin" tabindex="3" /> <span class="gensmall">{L_LOG_ME_IN}</span></td> + </tr> + <!-- ENDIF --> + <tr> + <td> </td> + <td><input type="checkbox" class="radio" name="viewonline" tabindex="4" /> <span class="gensmall">{L_HIDE_ME}</span></td> + </tr> + <!-- ENDIF --> + </table> + </td> +</tr> + +<!-- IF S_CONFIRM_CODE --> +</table> +<table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th colspan="2" valign="middle">{L_LOGIN_CONFIRMATION}</th> + </tr> + <tr> + <td class="row3" colspan="2"><span class="gensmall">{L_LOGIN_CONFIRM_EXPLAIN}</span></td> + </tr> + <tr> + <td class="row1" colspan="2" align="center"> + <input type="hidden" name="confirm_id" value="{CONFIRM_ID}" /> + {CONFIRM_IMAGE} + </td> + </tr> + <tr> + <td class="row1"><b class="genmed">{L_CONFIRM_CODE}: </b><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td> + <td class="row2"><input class="post" type="text" name="confirm_code" size="8" maxlength="8" /></td> + </tr> +<!-- ENDIF --> +<tr> + <td class="cat" <!-- IF not S_ADMIN_AUTH or S_CONFIRM_CODE -->colspan="2"<!-- ENDIF --> align="center">{S_HIDDEN_FIELDS}<input type="submit" name="login" class="btnmain" value="{L_LOGIN}" tabindex="5" /></td> +</tr> +</table> +{S_FORM_TOKEN} + +</form> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<br clear="all" /> + +<div align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/login_forum.html b/tmw3/template/login_forum.html new file mode 100644 index 0000000..c3d5708 --- /dev/null +++ b/tmw3/template/login_forum.html @@ -0,0 +1,47 @@ +<!-- INCLUDE overall_header.html --> + +<div id="pagecontent"> + + <form name="login_forum" method="post" action="{S_LOGIN_ACTION}"> + + <table class="tablebg" width="100%" cellspacing="1" align="center"> + <tr> + <th>{L_LOGIN}</th> + </tr> + <tr> + <td class="row3" align="center"><span class="gensmall">{L_LOGIN_FORUM}</span></td> + </tr> + <tr> + <td class="row1" align="center"> + + <table cellspacing="1" cellpadding="4" border="0"> + <!-- IF LOGIN_ERROR --> + <tr> + <td class="gensmall" colspan="2" align="center"><span class="error">{LOGIN_ERROR}</span></td> + </tr> + <!-- ENDIF --> + <tr> + <td class="gensmall"><b>{L_PASSWORD}:</b></td> + <td><input class="post" type="password" name="password" size="25" tabindex="2" /></td> + </tr> + </table> + </td> + </tr> + <tr> + <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="login" class="btnmain" value="{L_LOGIN}" tabindex="3" /></td> + </tr> + </table> + {S_FORM_TOKEN} + </form> + +</div> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<br clear="all" /> + +<div align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_approve.html b/tmw3/template/mcp_approve.html new file mode 100644 index 0000000..2d2013f --- /dev/null +++ b/tmw3/template/mcp_approve.html @@ -0,0 +1,49 @@ +<!-- INCLUDE overall_header.html --> + +<div id="pagecontent"> + + <form name="confirm" action="{S_CONFIRM_ACTION}" method="post"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th>{MESSAGE_TITLE}</th> + </tr> + <tr> + <td class="row1" align="center"> + <!-- IF ADDITIONAL_MSG --> + <span class="gen error">{ADDITIONAL_MSG}</span><br /> + <!-- ENDIF --> + <!-- IF S_NOTIFY_POSTER --> + <input type="checkbox" class="radio" name="notify_poster" checked="checked" /><span class="gen"><!-- IF S_APPROVE -->{L_NOTIFY_POSTER_APPROVAL}<!-- ELSE -->{L_NOTIFY_POSTER_DISAPPROVAL}<!-- ENDIF --></span><br /> + <!-- ENDIF --> + <!-- IF not S_APPROVE --> + <br /> + <table border="0" width="90%" cellspacing="2" cellpadding="1"> + <tr> + <td class="row1" width="22%"><b class="gen">{L_DISAPPROVE_REASON}:</b></td> + <td class="row1" width="78%"><select name="reason_id"><!-- BEGIN reason --><option value="{reason.ID}"<!-- IF reason.S_SELECTED --> selected="selected"<!-- ENDIF -->>{reason.DESCRIPTION}</option><!-- END reason --></select></td> + </tr> + <tr> + <td class="row1" valign="top"><span class="gen"><b>{L_MORE_INFO}:</b></span><br /><span class="gensmall">{L_CAN_LEAVE_BLANK}</span></td> + <td class="row1"><textarea class="post" style="width:500px" name="reason" rows="10" cols="40">{REASON}</textarea></td> + </tr> + </table> + <br /> + <!-- ENDIF --> + <br />{S_HIDDEN_FIELDS}<span class="gen">{MESSAGE_TEXT}</span><br /><br /> + <input type="submit" name="confirm" value="{YES_VALUE}" class="btnmain" /> <input type="submit" name="cancel" value="{L_NO}" class="btnlite" /></span> + </td> + </tr> + </table> + {S_FORM_TOKEN} + </form> + +</div> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<br clear="all" /> + +<!-- INCLUDE overall_footer.html --> diff --git a/tmw3/template/mcp_ban.html b/tmw3/template/mcp_ban.html new file mode 100644 index 0000000..0e352b5 --- /dev/null +++ b/tmw3/template/mcp_ban.html @@ -0,0 +1,109 @@ +<!-- 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('mcp_ban').unbangivereason.value = ban_give_reason[option]; + document.getElementById('mcp_ban').unbanreason.value = ban_reason[option]; + document.getElementById('mcp_ban').unbanlength.value = ban_length[option]; + } + +// ]]> +</script> + +<form id="mcp_ban" method="post" action="{U_ACTION}"> + +<table width="100%" class="tablebg" cellspacing="1" cellpadding="4" border="0"> +<tr> + <th colspan="2" nowrap="nowrap">{L_TITLE}</th> +</tr> +<tr> + <td class="row3" colspan="2">{L_EXPLAIN}</td> +</tr> +<tr> + <td class="row1" width="45%" valign="top"><b>{L_BAN_CELL}:</b></td> + <td class="row2"> + <textarea name="ban" id="ban" cols="40" rows="3" class="post">{USERNAMES}</textarea> + <!-- IF S_USERNAME_BAN --><br />[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]<!-- ENDIF --> + </td> +</tr> +<tr> + <td class="row1" valign="top"><b>{L_BAN_LENGTH}:</b></td> + <td class="row2"><select name="banlength">{S_BAN_END_OPTIONS}</select><br /><input type="text" name="banlengthother" class="post" /> {L_YEAR_MONTH_DAY}</td> +</tr> +<tr> + <td class="row1" valign="top"><b>{L_BAN_EXCLUDE}:</b><br /><span class="gensmall">{L_BAN_EXCLUDE_EXPLAIN}</span></td> + <td class="row2"><input type="radio" class="radio" name="banexclude" value="1" /> {L_YES} <input type="radio" class="radio" name="banexclude" value="0" checked="checked" /> {L_NO}</td> +</tr> +<tr> + <td class="row1" valign="top"><b>{L_BAN_REASON}:</b></td> + <td class="row2"><input name="banreason" type="text" class="post" maxlength="255" /></td> +</tr> +<tr> + <td class="row1" valign="top"><b>{L_BAN_GIVE_REASON}:</b></td> + <td class="row2"><input name="bangivereason" type="text" class="post" maxlength="255" /></td> +</tr> +<tr> + <td class="cat" colspan="2" align="center"><input type="submit" name="bansubmit" value="{L_SUBMIT}" class="btnmain" /> <input type="reset" value="{L_RESET}" class="btnlite" /> </td> +</tr> +</table> + +<br /><br /> + +<table width="100%" class="tablebg" cellspacing="1" cellpadding="4" border="0"> +<tr> + <th colspan="2" nowrap="nowrap">{L_UNBAN_TITLE}</th> +</tr> +<tr> + <td class="row3" colspan="2">{L_UNBAN_EXPLAIN}</td> +</tr> +<!-- IF S_BANNED_OPTIONS --> + <tr> + <td class="row1" valign="top" width="45%"><b>{L_BAN_CELL}:</b></td> + <td class="row2"><select name="unban[]" multiple="multiple" size="10" style="width: 50%" onchange="if (this.selectedIndex > -1) display_details(this.options[this.selectedIndex].value); else display_details(-1);">{BANNED_OPTIONS}</select></td> + </tr> + <tr> + <td class="row1" valign="top"><b>{L_BAN_LENGTH}:</b></td> + <td class="row2"><input style="border: 0; width: 100%" type="text" name="unbanlength" disabled="disabled" /></td> + </tr> + <tr> + <td class="row1" valign="top"><b>{L_BAN_REASON}:</b></td> + <td class="row2"><textarea style="border: 0; width: 100%" name="unbanreason" disabled="disabled" rows="5" cols="80"> </textarea></td> + </tr> + <tr> + <td class="row1" valign="top"><b>{L_BAN_GIVE_REASON}:</b></td> + <td class="row2"><textarea style="border: 0; width: 100%" name="unbangivereason" disabled="disabled" rows="5" cols="80"> </textarea></td> + </tr> + <tr> + <td class="cat" colspan="2" align="center"><input type="submit" name="unbansubmit" value="{L_SUBMIT}" class="btnmain" /> <input type="reset" value="{L_RESET}" class="btnlite" /> </td> + </tr> +<!-- ELSE --> + <tr> + <td class="row1" colspan="2"><b>{L_NO_BAN_CELL}</b></td> + </tr> +<!-- ENDIF --> +</table> +{S_FORM_TOKEN} +</form> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_footer.html b/tmw3/template/mcp_footer.html new file mode 100644 index 0000000..3105c15 --- /dev/null +++ b/tmw3/template/mcp_footer.html @@ -0,0 +1,27 @@ + + </td> + </tr> + </table> + + <!-- IF PAGINATION --> + <table width="80%" align="{S_CONTENT_FLOW_END}" cellspacing="1"> + <tr> + <td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td> + <td class="gensmall" nowrap="nowrap"> [ <!-- IF TOTAL_TOPICS -->{TOTAL_TOPICS}<!-- ELSEIF TOTAL_POSTS -->{TOTAL_POSTS}<!-- ELSE -->{TOTAL}<!-- ENDIF --> ] </td> + <td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td> + </tr> + </table> + <br /> + <!-- ENDIF --> + +</div> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<br clear="all" /> + +<div align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_forum.html b/tmw3/template/mcp_forum.html new file mode 100644 index 0000000..80a6047 --- /dev/null +++ b/tmw3/template/mcp_forum.html @@ -0,0 +1,89 @@ +<!-- INCLUDE mcp_header.html --> + +<!-- IF S_MERGE_SELECT --><div style="float: {S_CONTENT_FLOW_END};"><!-- INCLUDE jumpbox.html --></div><!-- ENDIF --> + +<!-- IF U_VIEW_FORUM_LOGS --><a href="{U_VIEW_FORUM_LOGS}">{L_VIEW_FORUM_LOGS}</a><!-- ENDIF --> + +<!-- IF S_MERGE_SELECT --><br clear="{S_CONTENT_FLOW_END}" /><!-- ENDIF --> + +<form method="post" id="mcp" action="{S_MCP_ACTION}"> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <td class="cat" colspan="6" align="center"><span class="gensmall">{L_DISPLAY_TOPICS}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" name="sort" value="{L_GO}" /></td> +</tr> +<tr> + <th width="4%" nowrap="nowrap"> </th> + <th nowrap="nowrap"> {L_TOPICS} </th> + <th width="8%" nowrap="nowrap"> {L_REPLIES} </th> + <th width="17%" nowrap="nowrap"> {L_LAST_POST} </th> + <th width="5%" nowrap="nowrap"> {L_MARK} </th> +</tr> +<!-- BEGIN topicrow --> + <tr> + <td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td> + <!-- IF S_TOPIC_ICONS --> + <!-- td class="row1" width="25" align="center">{topicrow.TOPIC_ICON_IMG}</td --> + <!-- ENDIF --> + <td class="row1"> + <!-- IF topicrow.S_SELECT_TOPIC --> + <span class="genmed">[ <a href="{topicrow.U_SELECT_TOPIC}">{L_SELECT_MERGE}</a> ] </span> + <!-- ENDIF --> + <p class="topictitle">{NEWEST_POST_IMG} {topicrow.ATTACH_ICON_IMG} <a href="{topicrow.U_VIEW_TOPIC}">{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 and topicrow.U_MCP_REPORT --> + <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}">{L_DELETE_SHADOW_TOPIC}</a> ] + <!-- ENDIF --> + </p> + </td> + <td class="row1" width="50" align="center"><p class="topicdetails">{topicrow.REPLIES}</p></td> + <td class="row1" width="120" align="center"><p class="topicdetails">{topicrow.LAST_POST_TIME}</p></td> + <td class="row2" align="center"> + <!-- IF not topicrow.S_MOVED_TOPIC and not S_MERGE_SELECT --><input type="checkbox" class="radio" name="topic_id_list[]" value="{topicrow.TOPIC_ID}"<!-- IF topicrow.S_TOPIC_CHECKED --> checked="checked"<!-- ENDIF --> /><!-- ELSE --> <!-- ENDIF --> + </td> + </tr> +<!-- BEGINELSE --> + <tr> + <td class="row1" colspan="8" align="center"><p class="gen">{L_NO_TOPICS}</p></td> + </tr> +<!-- END topicrow --> +<!-- IF not S_MERGE_SELECT --> +<tr> + <td class="cat" colspan="6" align="{S_CONTENT_FLOW_END}"> + <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="btnmain" type="submit" value="{L_SUBMIT}" /> + </td> +</tr> +<!-- ENDIF --> +</table> +{S_FORM_TOKEN} +</form> + +<!-- IF not S_MERGE_SELECT --> +<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> +<tr> + <td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><b class="gensmall"><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></b></td> +</tr> +</table> +<!-- ENDIF --> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_front.html b/tmw3/template/mcp_front.html new file mode 100644 index 0000000..029ba3c --- /dev/null +++ b/tmw3/template/mcp_front.html @@ -0,0 +1,118 @@ +<!-- INCLUDE mcp_header.html --> + +<!-- IF S_SHOW_UNAPPROVED --> + <form name="mcp_queue" method="post" action="{S_MCP_QUEUE_ACTION}"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="row3" colspan="6" align="center"><b class="gen">{L_LATEST_UNAPPROVED}</b></td> + </tr> + <tr> + <th> {L_FORUM} </th> + <th> {L_TOPIC} </th> + <th> {L_SUBJECT} </th> + <th> {L_AUTHOR} </th> + <th> {L_POST_TIME} </th> + <th width="5%"> {L_SELECT} </th> + </tr> + <!-- BEGIN unapproved --> + <tr> + <td class="row1" width="15%" valign="top"><span class="gen"><!-- IF unapproved.U_FORUM --><a href="{unapproved.U_FORUM}">{unapproved.FORUM_NAME}</a><!-- ELSE -->{unapproved.FORUM_NAME}<!-- ENDIF --></span><!-- IF unapproved.U_MCP_FORUM --><br /><span class="gensmall">[ <a href="{unapproved.U_MCP_FORUM}">{L_MODERATE}</a> ]</span><!-- ENDIF --></td> + <td class="row2" valign="top"><span class="gen"><a href="{unapproved.U_TOPIC}">{unapproved.TOPIC_TITLE}</a></span><br /><span class="gensmall">[ <a href="{unapproved.U_MCP_TOPIC}">{L_MODERATE}</a> ]</span></td> + <td class="row1" valign="top"><span class="gen">{unapproved.SUBJECT}</span><br /><span class="gensmall">[ <a href="{unapproved.U_POST_DETAILS}">{L_VIEW_DETAILS}</a> ]</span></td> + <td class="row2" align="center" width="15%" nowrap="nowrap" valign="top"><span class="gen">{unapproved.AUTHOR_FULL}</span></td> + <td class="row1" align="center" width="15%" nowrap="nowrap" valign="top"><span class="gensmall">{unapproved.POST_TIME}</span></td> + <td class="row2" align="center"><input type="checkbox" class="radio" name="post_id_list[]" value="{unapproved.POST_ID}" /></td> + </tr> + <!-- BEGINELSE --> + <tr> + <td class="row1" colspan="6" align="center"><span class="gen">{L_UNAPPROVED_POSTS_ZERO_TOTAL}</span></td> + </tr> + <!-- END unapproved --> + <!-- IF S_HAS_UNAPPROVED_POSTS --> + <tr> + <td class="row3" colspan="6"><span class="gensmall">{L_UNAPPROVED_TOTAL}</span></td> + </tr> + <!-- ENDIF --> + <tr> + <td class="cat" colspan="6" align="center"><input class="btnmain" type="submit" name="action[approve]" value="{L_APPROVE}" /> <input class="btnlite" type="submit" name="action[disapprove]" value="{L_DISAPPROVE}" /></td> + </tr> + </table> + {S_FORM_TOKEN} + </form> + + <table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> + <tr> + <td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><b class="gensmall"><a href="#" onclick="marklist('mcp_queue', '', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp_queue', '', false); return false;">{L_UNMARK_ALL}</a></b></td> + </tr> + </table> + + <br clear="all" /><br /> +<!-- ENDIF --> + +<!-- IF S_SHOW_REPORTS --> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="row3" colspan="5" align="center"><b class="gen">{L_LATEST_REPORTED}</b></td> + </tr> + <tr> + <th> {L_FORUM} </th> + <th> {L_TOPIC} </th> + <th> {L_SUBJECT} </th> + <th> {L_REPORTER} </th> + <th> {L_REPORT_TIME} </th> + </tr> + <!-- BEGIN report --> + <tr> + <td class="row1" width="15%" valign="top"><span class="gen"><!-- IF report.U_FORUM --><a href="{report.U_FORUM}">{report.FORUM_NAME}</a><!-- ELSE -->{report.FORUM_NAME}<!-- ENDIF --></span><!-- IF report.U_MCP_FORUM --><br /><span class="gensmall">[ <a href="{report.U_MCP_FORUM}">{L_MODERATE}</a> ]</span><!-- ENDIF --></td> + <td class="row2" valign="top"><span class="gen"><a href="{report.U_TOPIC}">{report.TOPIC_TITLE}</a></span><br /><span class="gensmall">[ <a href="{report.U_MCP_TOPIC}">{L_MODERATE}</a> ]</span></td> + <td class="row1" valign="top"><span class="gen">{report.SUBJECT}</span><br /><span class="gensmall">[ <a href="{report.U_POST_DETAILS}">{L_VIEW_DETAILS}</a> ]</span></td> + <td class="row2" align="center" width="15%" nowrap="nowrap" valign="top"><span class="gen">{report.REPORTER_FULL}</span></td> + <td class="row1" align="center" width="15%" nowrap="nowrap" valign="top"><span class="gensmall">{report.REPORT_TIME}</span></td> + </tr> + <!-- BEGINELSE --> + <tr> + <td class="row1" colspan="5" align="center"><span class="gen">{L_REPORTS_ZERO_TOTAL}</span></td> + </tr> + <!-- END report --> + <!-- IF S_HAS_REPORTS --> + <tr> + <td class="row3" colspan="5"><span class="gensmall">{L_REPORTS_TOTAL}</span></td> + </tr> + <!-- ENDIF --> + </table> + + <br clear="all" /><br /> +<!-- ENDIF --> + +<!-- IF S_SHOW_LOGS --> + <table class="tablebg" width="100%" cellspacing="1" cellpadding="4" border="0" align="{S_CONTENT_FLOW_END}"> + <tr> + <td class="row3" colspan="5" align="center"><b class="gen">{L_LATEST_LOGS}</b></td> + </tr> + <tr> + <th width="15%" nowrap="nowrap">{L_USERNAME}</th> + <th width="12%" nowrap="nowrap">{L_IP}</th> + <th width="45%" nowrap="nowrap">{L_ACTION}</th> + <th nowrap="nowrap"></th> + <th width="18%" nowrap="nowrap">{L_TIME}</th> + </tr> + <!-- BEGIN log --> + <tr> + <td class="row1" nowrap="nowrap"><span class="gen">{log.USERNAME}</span></td> + <td class="row1" align="center" nowrap="nowrap"><span class="gen">{log.IP}</span></td> + <td class="row1"><span class="genmed">{log.ACTION}</span></td> + <td class="row1" align="center" nowrap="nowrap"><span class="gensmall"><!-- IF log.U_VIEW_TOPIC --><a href="{log.U_VIEW_TOPIC}">{L_VIEW_TOPIC}</a><!-- IF log.U_VIEWLOGS --> | <!-- ENDIF --><!-- ENDIF --><!-- IF log.U_VIEWLOGS --><a href="{log.U_VIEWLOGS}">{L_VIEW_TOPIC_LOGS}</a><!-- ENDIF --></span></td> + <td class="row1" align="center" nowrap="nowrap"><span class="gensmall">{log.TIME}</span></td> + </tr> + <!-- BEGINELSE --> + <tr> + <td class="row1" colspan="5" align="center"><span class="gen">{L_NO_ENTRIES}</span></td> + </tr> + <!-- END log --> + </table> + + <br clear="all" /> +<!-- ENDIF --> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_header.html b/tmw3/template/mcp_header.html new file mode 100644 index 0000000..f107732 --- /dev/null +++ b/tmw3/template/mcp_header.html @@ -0,0 +1,79 @@ +<!-- INCLUDE overall_header.html --> + +<div id="pageheader"> + <!-- 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 --> + + <!-- IF TOPIC_TITLE or FORUM_NAME --> + <h2><!-- IF TOPIC_TITLE --><a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- ELSE --><a class="titles" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><!-- ENDIF --></h2> + <!-- ENDIF --> +</div> + +<br clear="all" /> + +<div id="pagecontent"> + + <table width="100%" cellspacing="0" cellpadding="0" border="0"> + <tr> + <td width="20%" valign="top"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th>{L_OPTIONS}</th> + </tr> + <!-- BEGIN l_block1 --> + <tr> + <!-- IF l_block1.S_SELECTED --> + <td class="row1"><b class="nav">{l_block1.L_TITLE}</b> + + <ul class="nav" style="margin: 0; padding: 0; list-style-type: none; line-height: 175%;"> + <!-- BEGIN l_block2 --> + <li>» <!-- IF l_block1.l_block2.S_SELECTED --><b>{l_block1.l_block2.L_TITLE}</b><!-- ELSE --><a href="{l_block1.l_block2.U_TITLE}">{l_block1.l_block2.L_TITLE}</a><!-- ENDIF --></li> + <!-- END l_block2 --> + </ul> + <!-- ELSE --> + <td class="row2" nowrap="nowrap" onmouseover="this.className='row1'" onmouseout="this.className='row2'" onclick="location.href=this.firstChild.href;"><a class="nav" href="{l_block1.U_TITLE}">{l_block1.L_TITLE}</a> + <!-- ENDIF --> + </td> + </tr> + <!-- END l_block1 --> + </table> + + </td> + <td><img src="images/spacer.gif" width="4" alt="" /></td> + <td width="80%" valign="top"> + + <!-- IF MESSAGE --> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th>{L_MESSAGE}</th> + </tr> + <tr> + <td class="row1" align="center"><br /><span class="gen">{MESSAGE}<br /><br /><!-- BEGIN return_links -->{return_links.MESSAGE_LINK}<br /><br /><!-- END return_links --></span></td> + </tr> + </table> + + <br /> + <!-- ENDIF --> + + <!-- IF CONFIRM_MESSAGE --> + <form name="confirm" method="post" action="{S_CONFIRM_ACTION}"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th>{L_PLEASE_CONFIRM}</th> + </tr> + <tr> + <td class="row1" align="center"><span class="gen"><br />{CONFIRM_MESSAGE}<br /><br />{S_HIDDEN_FIELDS}<input class="btnmain" type="submit" name="confirm" value="{L_YES}" /> <input class="btnlite" type="submit" name="cancel" value="{L_NO}" /><br /><br /></span></td> + </tr> + </table> + + </form> + + <br /> + <!-- ENDIF --> diff --git a/tmw3/template/mcp_jumpbox.html b/tmw3/template/mcp_jumpbox.html new file mode 100644 index 0000000..1485659 --- /dev/null +++ b/tmw3/template/mcp_jumpbox.html @@ -0,0 +1,18 @@ +<!-- Note: no longer in use... --> + +<form name="jumpbox" method="post" action="{S_JUMPBOX_ACTION}"> + + <span class="gensmall">{L_JUMP_TO}:</span> <select name="f" onChange="if(this.options[this.selectedIndex].value != -1 && this.options[this.selectedIndex].value != document.jumpbox.current_f.value){ document.forms['jumpbox'].submit() }"> + +<!-- IF S_ENABLE_SELECT_ALL --> + <option value="0">{L_ALL_FORUMS}</option> +<!-- ELSE --> + <option value="-1">{L_SELECT_FORUM}</option> +<!-- ENDIF --> + +<!-- BEGIN options --> + <option value="{options.VALUE}"<!-- IF options.VALUE eq -1 --> class="disabled-option"<!-- ENDIF -->{options.SELECTED}/>{options.TEXT}</option> +<!-- BEGINELSE --> +<!-- END options --> +</select> <input type="hidden" name="current_f" value="{S_CURRENT_FORUM}" /><input name="jumpbox" class="btnlite" type="submit" value="{L_GO}" onclick="if(document.jumpbox.f.value == -1){return false;}" /> +</form> diff --git a/tmw3/template/mcp_logs.html b/tmw3/template/mcp_logs.html new file mode 100644 index 0000000..f7c4a99 --- /dev/null +++ b/tmw3/template/mcp_logs.html @@ -0,0 +1,43 @@ +<!-- INCLUDE mcp_header.html --> + +<form method="post" name="mcp" action="{U_POST_ACTION}"> + +<table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg"> +<tr> + <th>{L_USERNAME}</th> + <th>{L_IP}</th> + <th>{L_TIME}</th> + <th>{L_ACTION}</th> + <!-- IF S_CLEAR_ALLOWED --><th>{L_MARK}</th><!-- ENDIF --> +</tr> +<!-- IF S_LOGS --> + + <!-- BEGIN log --> + <!-- IF log.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td class="genmed">{log.USERNAME}</td> + <td class="genmed" style="text-align: center;">{log.IP}</td> + <td class="genmed" style="text-align: center;">{log.DATE}</td> + <td class="genmed">{log.ACTION}<br />{log.DATA}</td> + <!-- IF S_CLEAR_ALLOWED --><td width="5%" align="center"><input type="checkbox" class="radio" name="mark[]" value="{log.ID}" /></td><!-- ENDIF --> + </tr> + <!-- END log --> + <tr align="center"> + <td class="row3" colspan="<!-- IF S_CLEAR_ALLOWED -->5<!-- ELSE -->4<!-- ENDIF -->"><span class="gensmall">{L_DISPLAY_LOG}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" value="{L_GO}" name="sort" /></td> + </tr> + <!-- IF S_CLEAR_ALLOWED --> + <tr> + <td class="cat" colspan="5" align="center"><input class="btnlite" type="submit" name="action[del_all]" value="{L_DELETE_ALL}" /> <input class="btnlite" type="submit" name="action[del_marked]" value="{L_DELETE_MARKED}" /></td> + </tr> + <!-- ENDIF --> +<!-- ELSE --> + <tr> + <td class="row1" colspan="<!-- IF S_CLEAR_ALLOWED -->5<!-- ELSE -->4<!-- ENDIF -->" align="center"><span class="gen">{L_NO_ENTRIES}</span></td> + </tr> +<!-- ENDIF --> +</table> +{S_FORM_TOKEN} +</form> + +<br clear="all" /><br /> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_message.html b/tmw3/template/mcp_message.html new file mode 100644 index 0000000..7645e5d --- /dev/null +++ b/tmw3/template/mcp_message.html @@ -0,0 +1,14 @@ +<!-- INCLUDE mcp_header.html --> + +<table class="tablebg" width="100%" cellspacing="1" cellpadding="4" border="0" align="center"> +<tr> + <th><b>{MESSAGE_TITLE}</b></th> +</tr> +<tr> + <td class="row1" align="center"><br /><span class="gen">{MESSAGE_TEXT}</span><br /><br /></td> +</tr> +</table> + +<br clear="all" /> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_move.html b/tmw3/template/mcp_move.html new file mode 100644 index 0000000..db7a6e7 --- /dev/null +++ b/tmw3/template/mcp_move.html @@ -0,0 +1,43 @@ +<!-- INCLUDE overall_header.html --> + +<div id="pagecontent"> + + <form name="confirm" action="{S_CONFIRM_ACTION}" method="post"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th>{MESSAGE_TITLE}</th> + </tr> + <tr> + <td class="row1" align="center"> + <!-- IF ADDITIONAL_MSG --> + <span class="gen error">{ADDITIONAL_MSG}</span><br /> + <!-- ENDIF --> + <!-- IF S_FORUM_SELECT --> + <span class="gen"><br />{L_SELECT_DESTINATION_FORUM} </span> + <select name="to_forum_id">{S_FORUM_SELECT}</select><br /> + <!-- IF S_CAN_LEAVE_SHADOW --> + <input type="checkbox" class="radio" name="move_leave_shadow" checked="checked" /><span class="gen">{L_LEAVE_SHADOW}</span><br /> + <!-- ENDIF --> + <br />{S_HIDDEN_FIELDS}<span class="gen">{MESSAGE_TEXT}</span><br /><br /> + <input type="submit" name="confirm" value="{YES_VALUE}" class="btnmain" /> <input type="submit" name="cancel" value="{L_NO}" class="btnlite" /> + <!-- ELSE --> + <span class="gen">{L_NO_DESTINATION_FORUM}</span><br /><br /> + {S_HIDDEN_FIELDS} + <input type="submit" name="cancel" value="{L_CANCEL}" class="btnlite" /> + <!-- ENDIF --> + </td> + </tr> + </table> + {S_FORM_TOKEN} + </form> + +</div> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<br clear="all" /> + +<!-- INCLUDE overall_footer.html --> diff --git a/tmw3/template/mcp_notes_front.html b/tmw3/template/mcp_notes_front.html new file mode 100644 index 0000000..17f389f --- /dev/null +++ b/tmw3/template/mcp_notes_front.html @@ -0,0 +1,22 @@ +<!-- INCLUDE mcp_header.html --> + +<form method="post" name="mcp" action="{U_POST_ACTION}"> + +<table class="tablebg" width="100%" cellspacing="1" cellpadding="4" border="0" align="center"> +<tr> + <th colspan="2"align="center">{L_SELECT_USER}</th> +</tr> +<tr> + <td class="row1" width="40%"><b class="gen">{L_FIND_USERNAME}: </b><br /><span class="gensmall">[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span></td> + <td class="row2"><input type="text" class="post" name="username" size="20" /></td> +</tr> +<tr> + <td class="cat" colspan="2" align="center"><input type="submit" name="submituser" value="{L_SUBMIT}" class="btnmain" /></td> +</tr> +</table> +{S_FORM_TOKEN} +</form> + +<br clear="all" /><br /> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_notes_user.html b/tmw3/template/mcp_notes_user.html new file mode 100644 index 0000000..80ac96e --- /dev/null +++ b/tmw3/template/mcp_notes_user.html @@ -0,0 +1,122 @@ +<!-- INCLUDE mcp_header.html --> + +<form method="post" name="mcp" action="{U_POST_ACTION}"> + +<table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg"> +<tr> + <th colspan="2" align="center">{USERNAME}</th> +</tr> +<tr> + <td class="row1" align="center"> + <table cellspacing="1" cellpadding="2" border="0"> + <tr> + <td class="gen" align="center"><!-- IF USER_COLOR --><b style="color: #{USER_COLOR}"><!-- ELSE --><b><!-- ENDIF -->{USERNAME}</b></td> + </tr> + <!-- IF RANK_TITLE --> + <tr> + <td class="postdetails" align="center">{RANK_TITLE}</td> + </tr> + <!-- ENDIF --> + <!-- IF RANK_IMG --> + <tr> + <td align="center">{RANK_IMG}</td> + </tr> + <!-- ENDIF --> + <tr> + <td align="center"><!-- IF AVATAR_IMG -->{AVATAR_IMG}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF --></td> + </tr> + </table> + </td> + <td class="row1"> + <table width="100%" cellspacing="1" cellpadding="2" border="0"> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_JOINED}: </td> + <td width="100%"><b class="gen">{JOINED}</b></td> + </tr> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_TOTAL_POSTS}: </td> + <td><b class="gen">{POSTS}</b></td> + </tr> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_WARNINGS}: </td> + <td><b class="gen">{WARNINGS}</b></td> + </tr> + </table> + </td> +</tr> +</table> + +<br /> + +<table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg"> +<tr> + <th colspan="5" align="center">{L_FEEDBACK}</th> +</tr> +<!-- IF S_USER_NOTES --> + + <tr align="center"> + <td colspan="5" class="row3"><span class="gensmall">{L_DISPLAY_LOG}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}:</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" value="{L_GO}" name="sort" /></td> + </tr> + <tr> + <th>{L_REPORT_BY}</th> + <th>{L_IP}</th> + <th>{L_TIME}</th> + <th>{L_ACTION}</th> + <th><!-- IF S_CLEAR_ALLOWED -->{L_MARK}<!-- ENDIF --></th> + </tr> + + <!-- BEGIN usernotes --> + <!-- IF usernotes.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td class="gen">{usernotes.REPORT_BY}</td> + <td style="text-align: center;">{usernotes.IP}</td> + <td style="text-align: center;">{usernotes.REPORT_AT}</td> + <td class="gen"> + {usernotes.ACTION} + <!-- IF usernotes.DATA --><br />» <span class="gensmall">[ {usernotes.DATA} ]</span><!-- ENDIF --> + </td> + <td style="text-align: center;"><!-- IF S_CLEAR_ALLOWED --><input type="checkbox" class="radio" name="marknote[]" value="{usernotes.ID}" /><!-- ENDIF --></td> + </tr> + <!-- END usernotes --> + + <!-- IF S_CLEAR_ALLOWED --> + <tr> + <td class="cat" colspan="5" align="center"><input class="btnlite" type="submit" name="action[del_all]" value="{L_DELETE_ALL}" /> <input class="btnlite" type="submit" name="action[del_marked]" value="{L_DELETE_MARKED}" /></td> + </tr> + <!-- ENDIF --> + +<!-- ELSE --> + <tr> + <td class="row1" colspan="2" align="center"><span class="gen">{L_NO_FEEDBACK}</span></td> + </tr> +<!-- ENDIF --> +</table> + +<br clear="all" /> + +<table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg"> +<tr> + <th colspan="2" align="center">{L_ADD_FEEDBACK}</th> +</tr> +<tr> + <td class="row3" align="center" colspan="2"><span class="genmed">{L_ADD_FEEDBACK_EXPLAIN}</span></td> +</tr> +<tr> + <td colspan="2" class="row1" align="center"><textarea name="usernote" rows="10" cols="76"></textarea></td> +</tr> +<tr> + <td class="cat" colspan="2" align="center"><input class="btnmain" type="submit" name="action[add_feedback]" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td> +</tr> +</table> + +<table width="100%" cellspacing="0" cellpadding="0"> +<tr> + <td class="pagination">{PAGE_NUMBER} [ {TOTAL_REPORTS} ]</td> + <td align="{S_CONTENT_FLOW_END}"><span class="pagination"><!-- INCLUDE pagination.html --></span></td> +</tr> +</table> +{S_FORM_TOKEN} +</form> + +<br clear="all" /><br /> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_post.html b/tmw3/template/mcp_post.html new file mode 100644 index 0000000..6260c79 --- /dev/null +++ b/tmw3/template/mcp_post.html @@ -0,0 +1,185 @@ +<!-- INCLUDE mcp_header.html --> + +<!-- IF S_MCP_REPORT --> + <form method="post" name="mcp_report" action="{S_CLOSE_ACTION}"> + + <table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg"> + <tr> + <th colspan="2" align="center">{L_REPORT_DETAILS}</th> + </tr> + <tr> + <td class="row1"><b class="gen">{L_REPORT_REASON}: </b></td> + <td class="row2"><span class="gen">{REPORT_REASON_TITLE} » {REPORT_REASON_DESCRIPTION}</span></td> + </tr> + <tr> + <td class="row1" width="20%"><b class="gen">{L_REPORTER}: </b></td> + <td class="row2" width="80%"><span class="gen"<!-- IF REPORTER_COLOUR --> style="font-weight: bold; color: {REPORTER_COLOUR};"<!-- ENDIF -->>{REPORTER_NAME}</span> <span class="gen">[ <!-- IF U_VIEW_REPORTER_PROFILE --><a href="{U_VIEW_REPORTER_PROFILE}">{L_READ_PROFILE}</a><!-- ENDIF --><!-- IF S_USER_NOTES --><!-- IF U_VIEW_REPORTER_PROFILE --> | <!-- ENDIF --><a href="{U_MCP_REPORTER_NOTES}">{L_VIEW_NOTES}</a> | <a href="{U_MCP_WARN_REPORTER}">{L_WARN_USER}</a><!-- ENDIF --> ]</span></td> + </tr> + <tr> + <td class="row1"><b class="gen">{L_REPORTED}: </b></td> + <td class="row2"><span class="postdetails">{REPORT_DATE}</span></td> + </tr> + <!-- IF REPORT_TEXT --> + <tr> + <th colspan="2" align="center">{L_MORE_INFO}</th> + </tr> + <tr> + <td class="row1" colspan="2"><div class="gen" style="overflow: auto; width: 100%; height: 80pt; border: 1px;">{REPORT_TEXT}</div></td> + </tr> + <!-- ENDIF --> + <tr> + <td class="cat" align="center" colspan="2"><!-- IF S_POST_REPORTED --><input class="btnmain" type="submit" value="{L_CLOSE_REPORT}" name="action[close]" /><!-- ELSE -->{L_REPORT_CLOSED}<!-- ENDIF --> <input class="btnlite" type="submit" value="{L_DELETE_REPORT}" name="action[delete]" /></td> + </tr> + </table> + + <input type="hidden" name="report_id_list[]" value="{REPORT_ID}" /> + {S_FORM_TOKEN} + </form> + + <br clear="all"/> +<!-- ENDIF --> + +<!-- IF S_MCP_QUEUE --><form method="post" name="mcp_approve" action="{U_APPROVE_ACTION}"><!-- ELSE --><form method="post" name="mcp_report_details" action="{S_CLOSE_ACTION}"><!-- ENDIF --> + +<table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg"> +<tr> + <th colspan="2" align="center">{L_POST_DETAILS}</th> +</tr> +<tr> + <td class="row3" colspan="2" align="center"><span class="gensmall"><!-- IF S_MCP_QUEUE -->{RETURN_QUEUE} | {RETURN_TOPIC_SIMPLE} | {RETURN_POST}<!-- ELSEIF S_MCP_REPORT -->{RETURN_REPORTS} | <a href="{U_VIEW_POST}">{L_VIEW_POST}</a> | <a href="{U_VIEW_TOPIC}">{L_VIEW_TOPIC}</a> | <a href="{U_VIEW_FORUM}">{L_VIEW_FORUM}</a><!-- ELSE -->{RETURN_TOPIC}<!-- ENDIF --></span></td> +</tr> +<tr> + <td class="row1"><b class="gen">{L_POST_SUBJECT}: </b></td> + <td class="row2"><span class="gen">{POST_SUBJECT}</span> <!-- IF S_POST_UNAPPROVED --><span class="postapprove">{UNAPPROVED_IMG} <a href="{U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span> <!-- ENDIF --> <!-- IF S_POST_REPORTED and not S_MCP_REPORT --><span class="postreported">{REPORTED_IMG} <a href="{U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --></td> +</tr> +<tr> + <td class="row1" width="20%"><b class="gen">{L_POSTER}: </b></td> + <td class="row2" width="80%"><span class="gen"<!-- IF POST_AUTHOR_COLOUR --> style="font-weight: bold; color: {POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{POST_AUTHOR}</span><span class="gen"> [ <!-- IF U_POST_AUTHOR --><a href="{U_POST_AUTHOR}">{L_READ_PROFILE}</a><!-- ENDIF --><!-- IF S_USER_NOTES --><!-- IF U_POST_AUTHOR --> | <!-- ENDIF --><a href="{U_MCP_USER_NOTES}">{L_VIEW_NOTES}</a> <!-- IF U_MCP_WARN_USER -->| <a href="{U_MCP_WARN_USER}">{L_WARN_USER}</a><!-- ENDIF --><!-- ENDIF --> ]</span></td> +</tr> +<!-- IF S_CAN_VIEWIP --> + <tr> + <td class="row1"><b class="gen">{L_THIS_POST_IP}: </b></td> + <td class="row2"><span class="gen"> + <!-- IF U_WHOIS --> + <a href="{U_WHOIS}"><!-- IF POST_IPADDR -->{POST_IPADDR}<!-- ELSE -->{POST_IP}<!-- ENDIF --></a> (<!-- IF POST_IPADDR -->{POST_IP}<!-- ELSE --><a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a><!-- ENDIF -->) + <!-- ELSE --> + <!-- IF POST_IPADDR -->{POST_IPADDR} ({POST_IP})<!-- ELSE -->{POST_IP}<!-- IF U_LOOKUP_IP --> (<a href="{U_LOOKUP_IP}">{L_LOOKUP_IP}</a>)<!-- ENDIF --><!-- ENDIF --> + <!-- ENDIF --> + </span></td> + </tr> +<!-- ENDIF --> +<tr> + <td class="row1"><b class="gen">{L_POSTED}: </b></td> + <td class="row2"><span class="postdetails">{POST_DATE}</span></td> +</tr> +<tr> + <th colspan="2" align="center">{L_PREVIEW}</th> +</tr> +<tr> + <td class="row1" colspan="2"> + <!-- IF U_EDIT --><div class="gen" style="float: {S_CONTENT_FLOW_END};"><a href="{U_EDIT}">{EDIT_IMG}</a></div><!-- ENDIF --> + + <div class="postbody">{POST_PREVIEW}</div> + + <!-- IF S_HAS_ATTACHMENTS --> + <br clear="all" /><br /> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td> + </tr> + <!-- BEGIN attachment --> + <tr> + <!-- IF attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{attachment.DISPLAY_ATTACHMENT}</td> + </tr> + <!-- END attachment --> + </table> + <!-- ENDIF --> + + </td> +</tr> +<!-- IF S_POST_UNAPPROVED and S_MCP_QUEUE --> + <tr> + <td class="cat" align="center" colspan="2"><input class="btnmain" type="submit" value="{L_APPROVE}" name="action[approve]" /> <input class="btnlite" type="submit" value="{L_DISAPPROVE}" name="action[disapprove]" /></td> + </tr> + <input type="hidden" name="post_id_list[]" value="{POST_ID}" /> +<!-- ENDIF --> +</table> +{S_FORM_TOKEN} +</form> + +<!-- IF S_MCP_QUEUE --> + <br clear="all" /> + + <!-- IF S_TOPIC_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF --> +<!-- ELSEIF S_MCP_REPORT --> + <br clear="all" /> + + <!-- IF S_TOPIC_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF --> +<!-- ELSE --> + <!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST or S_CAN_CHGPOSTER --> + <br /><a name="mod"></a> + + <table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg"> + <tr> + <th colspan="2" align="center">{L_MOD_OPTIONS}</th> + </tr> + <!-- IF S_CAN_CHGPOSTER --> + <tr> + <td class="row1" valign="top"><b class="gen">{L_CHANGE_POSTER}</b></td> + <td class="row2"><form method="post" name="mcp_chgposter" action="{U_POST_ACTION}"><input class="post" type="text" name="username" value="" /> <input class="btnmain" type="submit" value="{L_CONFIRM}" name="action[chgposter]" /><br /><span class="gensmall">[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span><!-- IF S_USER_SELECT --><br /><select name="u">{S_USER_SELECT}</select> <input type="submit" class="btnmain" name="action[chgposter_ip]" value="{L_CONFIRM}" /><!-- ENDIF -->{S_FORM_TOKEN}</form></td> + </tr> + <!-- ENDIF --> + <!-- IF S_CAN_LOCK_POST or S_CAN_DELETE_POST --> + <tr> + <td class="row1" valign="top"><b class="gen">{L_MOD_OPTIONS}</b></td> + <td class="row2"><form method="post" name="mcp" action="{U_MCP_ACTION}"><select name="action"><!-- IF S_CAN_LOCK_POST --><!-- IF S_POST_LOCKED --><option value="unlock_post">{L_UNLOCK_POST} [{L_UNLOCK_POST_EXPLAIN}]</option><!-- ELSE --><option value="lock_post">{L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]</option><!-- ENDIF --><!-- ENDIF --><!-- IF S_CAN_DELETE_POST --><option value="delete_post">{L_DELETE_POST}</option><!-- ENDIF --></select> <input class="btnmain" type="submit" value="{L_SUBMIT}" /> {S_FORM_TOKEN}</form></td> + </tr> + <!-- ENDIF --> + </table> + <!-- ENDIF --> + + <!-- IF S_CAN_VIEWIP --> + <br /><a name="ip"></a> + + <table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg"> + <tr> + <th colspan="2" align="center">{L_IP_INFO}</th> + </tr> + <tr> + <td colspan="2" class="cat"><b class="gen">{L_OTHER_USERS}</b></td> + </tr> + <!-- BEGIN userrow --> + <!-- IF userrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td><span class="gen"><!-- IF userrow.U_PROFILE --><a href="{userrow.U_PROFILE}">{userrow.USERNAME}</a><!-- ELSE -->{userrow.USERNAME}<!-- ENDIF --> [ {userrow.NUM_POSTS} {userrow.L_POST_S} ]</span></td> + <td align="center"><a href="{userrow.U_SEARCHPOSTS}">{SEARCH_IMG}</a></td> + </tr> + <!-- BEGINELSE --> + <tr class="row1"> + <td colspan="2" align="center"><span class="gen">{L_NO_MATCHES_FOUND}</span></td> + </tr> + <!-- END userrow --> + <tr> + <td class="cat"><b class="gen">{L_IPS_POSTED_FROM}</b></td> + <td class="cat" width="10%" nowrap="nowrap"><!-- IF U_LOOKUP_ALL --><span class="gen">[ <a href="{U_LOOKUP_ALL}">{L_LOOKUP_ALL}</a> ]</span><!-- ENDIF --></td> + </tr> + <!-- BEGIN iprow --> + <!-- IF iprow.S_ROW_COUNT is even --> + <tr class="row1"> + <!-- ELSE --> + <tr class="row2"> + <!-- ENDIF --> + <td><span class="gen"><!-- IF iprow.HOSTNAME --><a href="{iprow.U_WHOIS}">{iprow.HOSTNAME}</a> ({iprow.IP})<!-- ELSE --><a href="{iprow.U_WHOIS}">{iprow.IP}</a><!-- ENDIF --> [ {iprow.NUM_POSTS} {iprow.L_POST_S} ]</span></td> + <td align="center"><!-- IF iprow.U_LOOKUP_IP --><span class="gen">[ <a href="{iprow.U_LOOKUP_IP}">{L_LOOKUP_IP}</a> ]</span><!-- ENDIF --></td> + </tr> + <!-- BEGINELSE --> + <tr class="row1"> + <td colspan="2" align="center"><span class="gen">{L_NO_MATCHES_FOUND}</span></td> + </tr> + <!-- END iprow --> + </table> + <!-- ENDIF --> + +<!-- ENDIF --> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_queue.html b/tmw3/template/mcp_queue.html new file mode 100644 index 0000000..4def047 --- /dev/null +++ b/tmw3/template/mcp_queue.html @@ -0,0 +1,46 @@ +<!-- INCLUDE mcp_header.html --> + +<form name="mcp" id="mcp" method="post" action="{S_MCP_ACTION}"> + +<table width="100%" class="tablebg" cellspacing="1" cellpadding="4" border="0"> +<tr> + <th colspan="4" nowrap="nowrap">{L_DISPLAY_OPTIONS}</th> +</tr> +<tr> + <td colspan="4" class="cat" align="center"><span class="gensmall">{L_DISPLAY_ITEMS}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <span class="gensmall">{L_FORUM}</span> <select name="f">{S_FORUM_OPTIONS}</select> <!-- IF TOPIC_ID --><input type="checkbox" class="radio" name="t" value="{TOPIC_ID}" checked="checked" /> <b>{L_ONLY_TOPIC}</b> <!-- ENDIF --><input class="btnlite" type="submit" name="sort" value="{L_GO}" /></td> +</tr> +<tr> + <th> <!-- IF S_TOPICS -->{L_TOPIC}<!-- ELSE -->{L_POST}<!-- ENDIF --> </th> + <th> {L_AUTHOR} </th> + <th> {L_POST_TIME} </th> + <th width="5%"> {L_SELECT} </th> +</tr> +<!-- BEGIN postrow --> + + <!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td style="padding: 4px;"><p class="topictitle"><a href="{postrow.U_VIEWPOST}">{postrow.POST_SUBJECT}</a></p> + <span class="gensmall"><!-- IF postrow.U_VIEWFORUM -->{L_FORUM}: <a href="{postrow.U_VIEWFORUM}">{postrow.FORUM_NAME}</a><!-- ELSE -->{postrow.FORUM_NAME}<!-- ENDIF --></span></td> + <td style="padding: 4px;" align="{S_CONTENT_FLOW_BEGIN}" valign="top" nowrap="nowrap"><span class="gen">{postrow.POST_AUTHOR_FULL}</span><br /> + <span class="gensmall">[ <a href="{postrow.U_VIEW_DETAILS}">{L_VIEW_DETAILS}</a> ]</span></td> + <td class="postdetails" style="padding: 4px;" align="{S_CONTENT_FLOW_BEGIN}" valign="top" nowrap="nowrap">{postrow.POST_TIME}</td> + <td align="center"><input type="checkbox" class="radio" name="post_id_list[]" value="{postrow.POST_ID}" /></td> + </tr> +<!-- BEGINELSE --> + <tr> + <td class="row1" colspan="4" height="30" align="center" valign="middle"><span class="gen"><!-- IF S_TOPICS -->{L_NO_TOPICS_QUEUE}<!-- ELSE -->{L_UNAPPROVED_POSTS_ZERO_TOTAL}<!-- ENDIF --></span></td> + </tr> +<!-- END postrow --> +<tr> + <td class="cat" colspan="4" align="center"><input class="btnmain" type="submit" name="action[approve]" value="{L_APPROVE}" /> <input class="btnlite" type="submit" name="action[disapprove]" value="{L_DISAPPROVE}" /></td> +</tr> +</table> +{S_FORM_TOKEN} +</form> + +<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> +<tr> + <td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><b class="gensmall"><a href="#" onclick="marklist('mcp', '', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', '', false); return false;">{L_UNMARK_ALL}</a></b></td> +</tr> +</table> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_reports.html b/tmw3/template/mcp_reports.html new file mode 100644 index 0000000..72b26e8 --- /dev/null +++ b/tmw3/template/mcp_reports.html @@ -0,0 +1,55 @@ +<!-- INCLUDE mcp_header.html --> + +<form name="mcp" id="mcp" method="post" action="{S_MCP_ACTION}"> + +<table width="100%" class="tablebg" cellspacing="1" cellpadding="4" border="0"> +<tr> + <th colspan="5" nowrap="nowrap">{L_DISPLAY_OPTIONS}</th> +</tr> +<tr> + <td colspan="5" class="cat" align="center"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <span class="gensmall">{L_FORUM}</span> <select name="f">{S_FORUM_OPTIONS}</select> <!-- IF TOPIC_ID --><input type="checkbox" class="radio" name="t" value="{TOPIC_ID}" checked="checked" /> <b>{L_ONLY_TOPIC}</b> <!-- ENDIF --><input class="btnlite" type="submit" name="sort" value="{L_GO}" /></td> +</tr> +<tr> + <th> {L_POST} </th> + <th> {L_AUTHOR} </th> + <th> {L_REPORTER} </th> + <th> {L_REPORT_TIME} </th> + <th width="5%"> {L_SELECT} </th> +</tr> +<!-- BEGIN postrow --> + + <!-- IF postrow.S_ROW_ is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td style="padding: 4px;"><p class="topictitle"><a href="{postrow.U_VIEWPOST}">{postrow.POST_SUBJECT}</a></p> + <span class="gensmall"><!-- IF postrow.U_VIEWFORUM -->{L_FORUM}: <a href="{postrow.U_VIEWFORUM}">{postrow.FORUM_NAME}</a><!-- ELSE -->{postrow.FORUM_NAME}<!-- ENDIF --></span></td> + <td style="padding: 4px;" align="{S_CONTENT_FLOW_BEGIN}" valign="top" nowrap="nowrap"><span class="gen">{postrow.POST_AUTHOR_FULL}</span><br /> + <span class="gensmall">{postrow.POST_TIME}</span></td> + <td style="padding: 4px;" align="{S_CONTENT_FLOW_BEGIN}" valign="top" nowrap="nowrap"><span class="gen">{postrow.REPORTER_FULL}</span></td> + <td style="padding: 4px;" align="{S_CONTENT_FLOW_BEGIN}" valign="top" nowrap="nowrap"><span class="gen">{postrow.REPORT_TIME}</span><br /> + <span class="gensmall">[ <a href="{postrow.U_VIEW_DETAILS}">{L_VIEW_DETAILS}</a> ]</span></td> + <td align="center"><input type="checkbox" class="radio" name="report_id_list[]" value="{postrow.REPORT_ID}" /></td> + </tr> +<!-- BEGINELSE --> + <tr> + <td class="row1" colspan="5" height="30" align="center" valign="middle"><span class="gen">{L_NO_POSTS}</span></td> + </tr> +<!-- END postrow --> +<tr> + <td class="cat" colspan="5" align="center"> + <!-- IF S_CLOSED --> + <input class="btnmain" type="submit" value="{L_DELETE_REPORTS}" name="action[delete]" /> + <!-- ELSE --> + <input class="btnmain" type="submit" name="action[close]" value="{L_CLOSE_REPORTS}" /> <input class="btnlite" type="submit" value="{L_DELETE_REPORTS}" name="action[delete]" /> + <!-- ENDIF --> + </td> +</tr> +</table> +{S_FORM_TOKEN} +</form> + +<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> +<tr> + <td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><b class="gensmall"><a href="#" onclick="marklist('mcp', '', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', '', false); return false;">{L_UNMARK_ALL}</a></b></td> +</tr> +</table> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_topic.html b/tmw3/template/mcp_topic.html new file mode 100644 index 0000000..2b66c87 --- /dev/null +++ b/tmw3/template/mcp_topic.html @@ -0,0 +1,159 @@ +<!-- INCLUDE mcp_header.html --> + +<form name="mcp" id="mcp" method="post" action="{S_MCP_ACTION}"> + +<table class="tablebg" width="100%" cellspacing="1"> +<!-- IF S_CAN_SPLIT --> + <tr> + <th colspan="3" nowrap="nowrap">{L_SPLIT_TOPIC}</th> + </tr> + <tr> + <td class="row2" colspan="3" align="center"><span class="gensmall">{L_SPLIT_TOPIC_EXPLAIN}</span></td> + </tr> + <tr> + <td class="row1" nowrap="nowrap"><span class="gen">{L_SPLIT_SUBJECT}</span></td> + <td class="row2" colspan="2"><input class="post" style="width: 350px" type="text" size="35" maxlength="64" name="subject" value="{SPLIT_SUBJECT}" /></td> + </tr> + <tr> + <td class="row1" nowrap="nowrap"><span class="gen">{L_SPLIT_FORUM}</span></td> + <td class="row2" colspan="2"><select name="to_forum_id">{S_FORUM_SELECT}</select></td> + </tr> + + <!-- IF S_SHOW_TOPIC_ICONS --> + <tr> + <td class="row1"><span class="gen">{L_TOPIC_ICON}</span></td> + <td class="row2" colspan="2"> + <table width="100%" cellspacing="0" cellpadding="0" border="0"> + <tr> + <td><span class="genmed nowrap"><input type="radio" class="radio" name="icon" value="0"<!-- IF not S_TOPIC_ICON --> checked="checked"<!-- ENDIF --> />{L_NO_TOPIC_ICON}</span> <!-- BEGIN topic_icon --><span class="nowrap"><input type="radio" class="radio" name="icon" value="{topic_icon.ICON_ID}"<!-- IF topic_icon.S_CHECKED --> checked="checked"<!-- ENDIF --> /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" hspace="2" vspace="2" /></span> <!-- END topic_icon --></td> + </tr> + </table> + </td> + </tr> + <!-- ENDIF --> +<!-- ENDIF --> + +<!-- IF S_CAN_MERGE --> + <tr> + <th colspan="3" nowrap="nowrap">{L_MERGE_TOPIC}</th> + </tr> + <tr> + <td class="row2" colspan="3" align="center"><span class="gensmall">{L_MERGE_TOPIC_EXPLAIN}</span></td> + </tr> + <tr> + <td class="row1" nowrap="nowrap"><span class="gen">{L_MERGE_TOPIC_ID}</span></td> + <td class="row2" colspan="2"><input class="post" type="text" size="6" name="to_topic_id" value="{TO_TOPIC_ID}" /> <a href="{U_SELECT_TOPIC}">{L_SELECT_TOPIC}</a></td> + </tr> + <!-- IF TO_TOPIC_INFO --> + <tr> + <td class="row3" colspan="3" align="center"><b class="gen">{TO_TOPIC_INFO}</b></td> + </tr> + <!-- ENDIF --> +<!-- ENDIF --> +<tr> + <th colspan="3" nowrap="nowrap">{L_DISPLAY_OPTIONS}</th> +</tr> +<tr> + <td class="row1" nowrap="nowrap"><span class="gen">{L_POSTS_PER_PAGE}</span><br /><span class="gensmall">{L_POSTS_PER_PAGE_EXPLAIN}</span></td> + <td class="row2" colspan="2"><input class="post" type="text" name="posts_per_page" size="6" value="{POSTS_PER_PAGE}" /></td> +</tr> +<tr> + <td class="cat" colspan="3" align="center"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" name="sort" value="{L_GO}" /></td> +</tr> +<tr> + <th nowrap="nowrap">{L_AUTHOR}</th> + <th nowrap="nowrap">{L_MESSAGE}</th> + <th nowrap="nowrap">{L_SELECT}</th> +</tr> +<tr> + <td class="row3" colspan="3" align="center"><span class="gensmall">{RETURN_TOPIC}</span></td> +</tr> +<!-- BEGIN postrow --> + + <!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + + <td align="center"><b class="postauthor">{postrow.POST_AUTHOR_FULL}</b></td> + <td width="100%"> + <table width="100%" cellspacing="0" cellpadding="0" border="0"> + <tr valign="top"> + <td class="gensmall" nowrap="nowrap"> <b>{L_POST_SUBJECT}:</b> </td> + <td class="gensmall" width="100%">{postrow.POST_SUBJECT}</td> + </tr> + </table> + </td> + <td rowspan="2" width="5%" align="center"><input type="checkbox" class="radio" name="post_id_list[]" value="{postrow.POST_ID}"<!-- IF postrow.S_CHECKED --> checked="checked"<!-- ENDIF --> /></td> + </tr> + + <!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + + <td valign="bottom"> + <table width="100%" cellspacing="0" cellpadding="0" border="0"> + <tr valign="middle"> + <td align="center"><span class="gensmall">[ <a href="{postrow.U_POST_DETAILS}">{L_POST_DETAILS}</a> ]</span></td> + </tr> + </table> + </td> + <td width="100%" valign="top"> + <table width="100%" cellspacing="0" cellpadding="2" border="0"> + <tr> + <td valign="top"> + <div class="postbody">{postrow.MESSAGE}</div> + <!-- IF postrow.S_HAS_ATTACHMENTS --> + <br clear="all" /><br /> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td> + </tr> + <!-- BEGIN attachment --> + <tr> + <!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td> + </tr> + <!-- END attachment --> + </table> + <!-- ENDIF --> + + </td> + </tr> + <tr> + <td valign="bottom"> + <table width="100%" cellspacing="0" cellpadding="0" border="0"> + <tr valign="middle"> + <td width="100%"> + <!-- IF postrow.S_POST_UNAPPROVED and postrow.U_MCP_APPROVE -->{UNAPPROVED_IMG} <span class="postapprove"><a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span><!-- ENDIF --> + <!-- IF postrow.S_POST_REPORTED and postrow.U_MCP_REPORT -->{REPORTED_IMG}<span class="postreported"><a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --> + </td> + <td width="10" nowrap="nowrap">{postrow.MINI_POST_IMG}</td> + <td class="gensmall" nowrap="nowrap"><b>{L_POSTED}:</b> {postrow.POST_DATE}</td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> + <tr> + <td class="row3" colspan="3" height="1"><img src="images/spacer.gif" width="1" height="1" alt="" /></td> + </tr> +<!-- END postrow --> +<tr> + <td class="cat" colspan="3" align="center"><select name="action"><option value="" selected="selected">{L_SELECT_ACTION}</option> + <!-- IF S_CAN_APPROVE --><option value="approve">{L_APPROVE_POSTS}</option><!-- ENDIF --> + <!-- IF S_CAN_LOCK --><option value="lock_post">{L_LOCK_POST_POSTS} [ {L_LOCK_POST_EXPLAIN} ]</option><option value="unlock_post">{L_UNLOCK_POST_POSTS}</option><!-- ENDIF --> + <!-- IF S_CAN_DELETE --><option value="delete_post">{L_DELETE_POSTS}</option><!-- ENDIF --> + <!-- IF S_CAN_MERGE --><option value="merge_posts"<!-- IF ACTION eq 'merge' --> selected="selected"<!-- ENDIF -->>{L_MERGE_POSTS}</option><!-- ENDIF --> + <!-- IF S_CAN_SPLIT --><option value="split_all"<!-- IF ACTION eq 'split' --> selected="selected"<!-- ENDIF -->>{L_SPLIT_POSTS}</option><option value="split_beyond">{L_SPLIT_AFTER}</option><!-- ENDIF --> + </select> <input class="btnmain" type="submit" name="mcp_topic_submit" value="{L_SUBMIT}" /></td> +</tr> +</table> +{S_HIDDEN_FIELDS} +{S_FORM_TOKEN} +</form> + +<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> +<tr> + <td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><b class="gensmall"><a href="#" onclick="marklist('mcp', '', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('mcp', '', false); return false;">{L_UNMARK_ALL}</a></b></td> +</tr> +</table> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_viewlogs.html b/tmw3/template/mcp_viewlogs.html new file mode 100644 index 0000000..b6431e4 --- /dev/null +++ b/tmw3/template/mcp_viewlogs.html @@ -0,0 +1,52 @@ +<!-- INCLUDE mcp_header.html --> + +<form method="post" name="mcp" action="{S_MCP_ACTION}"> + +<table class="tablebg" width="100%" cellspacing="1" cellpadding="2" border="0"> +<tr> + <th colspan="<!-- IF S_TOPIC_ID -->4<!-- ELSE -->5<!-- ENDIF -->" nowrap="nowrap">{L_DISPLAY_OPTIONS}</th> +</tr> +<tr> + <td colspan="<!-- IF S_TOPIC_ID -->4<!-- ELSE -->5<!-- ENDIF -->" class="cat" align="center"><span class="gensmall">{L_DISPLAY_LOG}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" name="sort" value="{L_GO}" /></span></td> +</tr> +<tr> + <th width="15%" nowrap="nowrap">{L_USERNAME}</th> + <th width="12%" nowrap="nowrap">{L_IP}</th> + <th width="18%" nowrap="nowrap">{L_TIME}</th> + <th width="45%" nowrap="nowrap">{L_ACTION}</th> + <!-- IF not S_TOPIC_ID --> + <th width="8%" nowrap="nowrap"></th> + <!-- ENDIF --> +</tr> +<!-- IF S_TOPIC_ID --> + <tr> + <td class="row3" colspan="5"><span class="gensmall">{L_LOGS_CURRENT_TOPIC} <a href="{U_VIEW_TOPIC}"><b>{TOPIC_NAME}</b></a></span></td> + </tr> +<!-- ENDIF --> +<!-- BEGIN log --> + <tr> + <td class="row1" nowrap="nowrap"><span class="gen">{log.USERNAME}</span></td> + <td class="row1" align="center" nowrap="nowrap"><span class="gen">{log.IP}</span></td> + <td class="row1" align="center" nowrap="nowrap"><span class="gensmall">{log.TIME}</span></td> + <td class="row1"><span class="gen">{log.ACTION}</span></td> + <!-- IF not S_TOPIC_ID --> + <td class="row1" align="center" nowrap="nowrap"><span class="gensmall"><!-- IF log.U_VIEW_TOPIC --><a href="{log.U_VIEW_TOPIC}">{L_VIEW_TOPIC}</a><!-- IF log.U_VIEWLOGS --> | <!-- ENDIF --><!-- ENDIF --><!-- IF log.U_VIEWLOGS --><a href="{log.U_VIEWLOGS}">{L_VIEW_TOPIC_LOGS}</a><!-- ENDIF --></span></td> + <!-- ENDIF --> + </tr> +<!-- BEGINELSE --> + <tr> + <td class="row1" colspan="<!-- IF S_TOPIC_ID -->4<!-- ELSE -->5<!-- ENDIF -->" align="center"><span class="gen">{L_NO_ENTRIES}</span></td> + </tr> +<!-- END log --> +</table> +{S_FORM_TOKEN} +</form> + +<table width="100%" cellspacing="2" cellpadding="2" border="0" align="center"> +<tr> + <td class="nav" align="{S_CONTENT_FLOW_BEGIN}" valign="middle">{PAGE_NUMBER}</td> + <td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><!-- INCLUDE pagination.html --></td> +</tr> +</table> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_warn_front.html b/tmw3/template/mcp_warn_front.html new file mode 100644 index 0000000..78673b6 --- /dev/null +++ b/tmw3/template/mcp_warn_front.html @@ -0,0 +1,74 @@ +<!-- INCLUDE mcp_header.html --> + +<form method="post" name="mcp" action="{U_POST_ACTION}"> + +<table class="tablebg" width="100%" cellspacing="1" border="0" align="center"> +<tr> + <th colspan="2"align="center">{L_SELECT_USER}</th> +</tr> +<tr> + <td class="row1" width="40%"><b class="gen">{L_FIND_USERNAME}: </b><br /><span class="gensmall">[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span></td> + <td class="row2"><input type="text" class="post" name="username" size="20" /></td> +</tr> +<tr> + <td class="cat" colspan="2" align="center"><input type="submit" name="submituser" value="{L_SUBMIT}" class="btnmain" /></td> +</tr> +</table> +{S_FORM_TOKEN} +</form> + +<br clear="all" /><br /> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <td class="row3" colspan="4" align="center"><b class="gen">{L_MOST_WARNINGS}</b></td> +</tr> +<tr> + <th> {L_USERNAME} </th> + <th> {L_WARNINGS} </th> + <th> {L_LATEST_WARNING_TIME} </th> + <th> </th> +</tr> +<!-- BEGIN highest --> + <tr> + <td class="row1" width="15%" valign="top"><span class="gen">{highest.USERNAME_FULL}</span></td> + <td class="row2" width="15%" valign="top"><span class="gen">{highest.WARNINGS}</span></td> + <td class="row1" width="15%" valign="top"><span class="gen">{highest.WARNING_TIME}</span></td> + <td class="row2" width="15%" valign="top"><span class="gen"><a href="{highest.U_NOTES}">{L_VIEW_NOTES}</a></span></td> + </tr> +<!-- BEGINELSE --> + <tr> + <td class="row1" colspan="4" align="center"><span class="gen">{L_WARNINGS_ZERO_TOTAL}</span></td> + </tr> +<!-- END highest --> +</table> + +<br clear="all" /><br /> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <td class="row3" colspan="4" align="center"><b class="gen">{L_LATEST_WARNINGS}</b></td> +</tr> +<tr> + <th> {L_USERNAME} </th> + <th> {L_TIME} </th> + <th> {L_TOTAL_WARNINGS} </th> + <th> </th> +</tr> +<!-- BEGIN latest --> + <tr> + <td class="row1" width="15%" valign="top"><span class="gen">{latest.USERNAME_FULL}</span></td> + <td class="row2" width="15%" valign="top"><span class="gen">{latest.WARNING_TIME}</span></td> + <td class="row1" width="15%" valign="top"><span class="gen">{latest.WARNINGS}</span></td> + <td class="row2" width="15%" valign="top"><span class="gen"><a href="{latest.U_NOTES}">{L_VIEW_NOTES}</a></span></td> + </tr> +<!-- BEGINELSE --> + <tr> + <td class="row1" colspan="4" align="center"><span class="gen">{L_WARNINGS_ZERO_TOTAL}</span></td> + </tr> +<!-- END latest --> +</table> + +<br clear="all" /><br /> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_warn_list.html b/tmw3/template/mcp_warn_list.html new file mode 100644 index 0000000..078bbc0 --- /dev/null +++ b/tmw3/template/mcp_warn_list.html @@ -0,0 +1,43 @@ +<!-- INCLUDE mcp_header.html --> + +<form method="post" name="mcp" action="{U_POST_ACTION}"> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <td class="row3" colspan="4" align="center"><b class="gen">{L_WARNED_USERS}</b></td> +</tr> +<tr> + <th> {L_USERNAME} </th> + <th> {L_WARNINGS} </th> + <th> {L_LATEST_WARNING_TIME} </th> + <th> </th> +</tr> +<!-- BEGIN user --> + <tr> + <td class="row1" width="15%" valign="top"><span class="gen">{user.USERNAME_FULL}</span></td> + <td class="row2" width="15%" valign="top"><span class="gen">{user.WARNINGS}</span></td> + <td class="row1" width="15%" valign="top"><span class="gen">{user.WARNING_TIME}</span></td> + <td class="row2" width="15%" valign="top"><span class="gen"><a href="{user.U_NOTES}">{L_VIEW_NOTES}</a></span></td> + </tr> +<!-- BEGINELSE --> + <tr> + <td class="row1" colspan="4" align="center"><span class="gen">{L_WARNINGS_ZERO_TOTAL}</span></td> + </tr> +<!-- END user --> +<tr align="center"> + <td class="row3" colspan="4"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" value="{L_GO}" name="sort" /></td> +</tr> +</table> + +<table width="100%" cellspacing="0" cellpadding="0"> +<tr> + <td class="pagination">{PAGE_NUMBER} [ {TOTAL_USERS} ]</td> + <td align="{S_CONTENT_FLOW_END}"><span class="pagination"><!-- INCLUDE pagination.html --></span></td> +</tr> +</table> +{S_FORM_TOKEN} +</form> + +<br clear="all" /><br /> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_warn_post.html b/tmw3/template/mcp_warn_post.html new file mode 100644 index 0000000..ef0595e --- /dev/null +++ b/tmw3/template/mcp_warn_post.html @@ -0,0 +1,62 @@ +<!-- INCLUDE mcp_header.html --> + +<table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg"> +<tr> + <th colspan="2" align="center">{L_POST}</th> +</tr> +<tr> + <td class="row1" align="center"> + <table cellspacing="1" cellpadding="2" border="0"> + <tr> + <td class="gen" align="center"><!-- IF USER_COLOR --><b style="color: #{USER_COLOR}"><!-- ELSE --><b><!-- ENDIF -->{USERNAME}</b></td> + </tr> + <!-- IF RANK_TITLE --> + <tr> + <td class="postdetails" align="center">{RANK_TITLE}</td> + </tr> + <!-- ENDIF --> + <!-- IF RANK_IMG --> + <tr> + <td align="center">{RANK_IMG}</td> + </tr> + <!-- ENDIF --> + <tr> + <td align="center"><!-- IF AVATAR_IMG -->{AVATAR_IMG}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF --></td> + </tr> + </table> + </td> + <td class="row1"> + <span class="gen">{POST}</span> + </td> +</tr> +</table> + +<br clear="all" /><br /> + +<form method="post" name="mcp" action="{U_POST_ACTION}"> + +<table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg"> +<tr> + <th align="center">{L_ADD_WARNING}</th> +</tr> +<tr> + <td class="row3" align="center"><span class="genmed">{L_ADD_WARNING_EXPLAIN}</span></td> +</tr> +<tr> + <td class="row1" align="center"><textarea name="warning" rows="10" cols="76">{L_WARNING_POST_DEFAULT}</textarea></td> +</tr> +<!-- IF S_CAN_NOTIFY --> +<tr> + <td class="row1" align="center"><input type="checkbox" class="radio" name="notify_user" checked="checked" /><span class="genmed">{L_NOTIFY_USER_WARN}</span></td> +</tr> +<!-- ENDIF --> +<tr> + <td class="cat" align="center"><input class="btnmain" type="submit" name="action[add_warning]" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td> +</tr> +</table> +{S_FORM_TOKEN} +</form> + +<br clear="all" /><br /> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_warn_user.html b/tmw3/template/mcp_warn_user.html new file mode 100644 index 0000000..bb77c91 --- /dev/null +++ b/tmw3/template/mcp_warn_user.html @@ -0,0 +1,75 @@ +<!-- INCLUDE mcp_header.html --> + +<table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg"> +<tr> + <th colspan="2" align="center">{USERNAME}</th> +</tr> +<tr> + <td class="row1" align="center"> + <table cellspacing="1" cellpadding="2" border="0"> + <tr> + <td class="gen" align="center"><!-- IF USER_COLOR --><b style="color: #{USER_COLOR}"><!-- ELSE --><b><!-- ENDIF -->{USERNAME}</b></td> + </tr> + <!-- IF RANK_TITLE --> + <tr> + <td class="postdetails" align="center">{RANK_TITLE}</td> + </tr> + <!-- ENDIF --> + <!-- IF RANK_IMG --> + <tr> + <td align="center">{RANK_IMG}</td> + </tr> + <!-- ENDIF --> + <tr> + <td align="center"><!-- IF AVATAR_IMG -->{AVATAR_IMG}<!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /><!-- ENDIF --></td> + </tr> + </table> + </td> + <td class="row1"> + <table width="100%" cellspacing="1" cellpadding="2" border="0"> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_JOINED}: </td> + <td width="100%"><b class="gen">{JOINED}</b></td> + </tr> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_TOTAL_POSTS}: </td> + <td><b class="gen">{POSTS}</b></td> + </tr> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_WARNINGS}: </td> + <td><b class="gen">{WARNINGS}</b></td> + </tr> + </table> + </td> +</tr> +</table> + +<br clear="all" /><br /> + +<form method="post" name="mcp" action="{U_POST_ACTION}"> + +<table width="100%" cellpadding="3" cellspacing="1" border="0" class="tablebg"> +<tr> + <th align="center">{L_ADD_WARNING}</th> +</tr> +<tr> + <td class="row3" align="center"><span class="genmed">{L_ADD_WARNING_EXPLAIN}</span></td> +</tr> +<tr> + <td class="row1" align="center"><textarea name="warning" rows="10" cols="76"></textarea></td> +</tr> +<!-- IF S_CAN_NOTIFY --> +<tr> + <td class="row1" align="center"><input type="checkbox" class="radio" name="notify_user" checked="checked" /><span class="genmed">{L_NOTIFY_USER_WARN}</span></td> +</tr> +<!-- ENDIF --> +<tr> + <td class="cat" align="center"><input class="btnmain" type="submit" name="action[add_warning]" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td> +</tr> +</table> +{S_FORM_TOKEN} +</form> + +<br clear="all" /><br /> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/mcp_whois.html b/tmw3/template/mcp_whois.html new file mode 100644 index 0000000..54b93ee --- /dev/null +++ b/tmw3/template/mcp_whois.html @@ -0,0 +1,15 @@ +<!-- INCLUDE mcp_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th>{L_WHOIS}</th> +</tr> +<tr> + <td class="row3" align="center"><span class="gensmall">{RETURN_POST}</span></td> +</tr> +<tr> + <td class="row1"><pre>{WHOIS}</pre></td> +</tr> +</table> + +<!-- INCLUDE mcp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/memberlist_body.html b/tmw3/template/memberlist_body.html new file mode 100644 index 0000000..cb7a7b2 --- /dev/null +++ b/tmw3/template/memberlist_body.html @@ -0,0 +1,116 @@ +<!-- IF S_IN_SEARCH_POPUP --> + <!-- INCLUDE simple_header.html --> +<!-- ELSE --> + <!-- INCLUDE overall_header.html --> +<!-- ENDIF --> + +<!-- IF S_SEARCH_USER --> + <!-- INCLUDE memberlist_search.html --> +<!-- ENDIF --> + +<!-- IF S_SHOW_GROUP --><!-- INCLUDE memberlist_group.html --><!-- ENDIF --> + +<!-- IF not S_SHOW_GROUP --> + <form method="post" name="charsearch" action="{S_MODE_ACTION}"> + <table width="100%" cellspacing="1"> + <tr> + <td align="{S_CONTENT_FLOW_BEGIN}"><span class="genmed">{L_USERNAME_BEGINS_WITH}: </span><select name="first_char" onchange="this.form.submit();">{S_CHAR_OPTIONS}</select> <input type="submit" name="char" value="{L_DISPLAY}" class="btnlite" /></td> + <!-- IF U_FIND_MEMBER and not S_SEARCH_USER --> + <td class="genmed" align="{S_CONTENT_FLOW_END}"><a href="{U_FIND_MEMBER}">{L_FIND_USERNAME}</a></td> + <!-- ELSEIF S_SEARCH_USER and U_HIDE_FIND_MEMBER and not S_IN_SEARCH_POPUP --> + <td class="genmed" align="{S_CONTENT_FLOW_END}"><a href="{U_HIDE_FIND_MEMBER}">{L_HIDE_MEMBER_SEARCH}</a></td> + <!-- ENDIF --> + </tr> + </table> + {S_FORM_TOKEN} + </form> +<!-- ENDIF --> + +<!-- IF S_IN_SEARCH_POPUP --> + <form method="post" name="results" action="{S_MODE_ACTION}" onsubmit="insert_marked(this.user);return false"> +<!-- ELSE --> + <form method="post" action="{S_MODE_ACTION}"> +<!-- ENDIF --> +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th nowrap="nowrap">#</th> + <th nowrap="nowrap" width="25%" align="{S_CONTENT_FLOW_BEGIN}"><a href="{U_SORT_USERNAME}">{L_USERNAME}</a></th> + <th nowrap="nowrap" width="15%"><a href="{U_SORT_JOINED}">{L_JOINED}</a></th> + <th nowrap="nowrap" width="10%"><a href="{U_SORT_POSTS}">{L_POSTS}</a></th> + <th nowrap="nowrap" width="15%"><a href="{U_SORT_RANK}">{L_RANK}</a></th> + <th nowrap="nowrap" width="11%">{L_SEND_MESSAGE}</th> + <th nowrap="nowrap" width="11%"><a href="{U_SORT_EMAIL}">{L_EMAIL}</a></th> + <th nowrap="nowrap" width="11%"><a href="{U_SORT_WEBSITE}">{L_WEBSITE}</a></th> + <!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE --><th width="2%" nowrap="nowrap">{L_MARK}</th><!-- ENDIF --> +</tr> +<!-- BEGIN memberrow --> + + <!-- IF S_SHOW_GROUP --> + <!-- IF memberrow.S_FIRST_ROW and memberrow.S_GROUP_LEADER --> + <tr class="row3"> + <td colspan="8"><b class="gensmall">{L_GROUP_LEADER}</b></td> + </tr> + <!-- ELSEIF not memberrow.S_GROUP_LEADER and not $S_MEMBER_HEADER --> + <tr class="row3"> + <td colspan="8"><b class="gensmall">{L_GROUP_MEMBERS}</b></td> + </tr> + <!-- DEFINE $S_MEMBER_HEADER = 1 --> + <!-- ENDIF --> + <!-- ENDIF --> + + <!-- IF memberrow.S_ROW_COUNT is even --><tr class="row2"><!-- ELSE --> <tr class="row1"><!-- ENDIF --> + + <td class="gen" align="center"> {memberrow.ROW_NUMBER} </td> + <td class="genmed" align="{S_CONTENT_FLOW_BEGIN}">{memberrow.USERNAME_FULL}<!-- IF S_SELECT_SINGLE --> [ <a href="#" onclick="insert_single('{memberrow.A_USERNAME}'); return false;">{L_SELECT}</a> ]<!-- ENDIF --></td> + <td class="genmed" align="center" nowrap="nowrap"> {memberrow.JOINED} </td> + <td class="gen" align="center">{memberrow.POSTS}</td> + <td class="gen" align="center"><!-- IF memberrow.RANK_IMG -->{memberrow.RANK_IMG}<!-- ELSE -->{memberrow.RANK_TITLE}<!-- ENDIF --></td> + <td class="gen" align="center"> <!-- IF memberrow.U_PM --><a href="{memberrow.U_PM}">{PM_IMG}</a><!-- ENDIF --> </td> + <td class="gen" align="center"> <!-- IF memberrow.U_EMAIL --><a href="{memberrow.U_EMAIL}">{EMAIL_IMG}</a><!-- ENDIF --> </td> + <td class="gen" align="center"> <!-- IF memberrow.U_WWW --><a href="{memberrow.U_WWW}">{WWW_IMG}</a><!-- ENDIF --> </td> + <!-- IF memberrow.S_PROFILE_FIELD1 --> + <!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. --> + <td class="gen" align="center"> {memberrow.PROFILE_FIELD1_VALUE}</td> + <!-- ENDIF --> + <!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE --><td align="center"><input type="checkbox" class="radio" name="user" value="{memberrow.USERNAME}" /></td><!-- ENDIF --> + </tr> + +<!-- BEGINELSE --> + + <tr> + <td class="row1" colspan="<!-- IF S_IN_SEARCH_POPUP -->9<!-- ELSE -->8<!-- ENDIF -->" align="center"> + <span class="gen"><!-- IF S_SHOW_GROUP -->{L_NO_GROUP_MEMBERS}<!-- ELSE -->{L_NO_MEMBERS}<!-- ENDIF --></span> + </td> + </tr> + +<!-- END memberrow --> + +<tr> + <td class="cat" colspan="<!-- IF S_IN_SEARCH_POPUP -->9<!-- ELSE -->8<!-- ENDIF -->" align="center"><!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE --><input class="btnlite" type="submit" value="{L_SELECT_MARKED}" /><!-- ELSE --><span class="gensmall">{L_SELECT_SORT_METHOD}:</span> <select name="sk">{S_MODE_SELECT}</select> <span class="gensmall">{L_ORDER}</span> <select name="sd">{S_ORDER_SELECT}</select> <input type="submit" name="submit" value="{L_SUBMIT}" class="btnlite" /><!-- ENDIF --></td> +</tr> +</table> +{S_FORM_TOKEN} + +</form> + +<table width="100%" cellspacing="0" cellpadding="0"> +<tr> + <td class="pagination">{PAGE_NUMBER} [ {TOTAL_USERS} ]</td> + <td align="{S_CONTENT_FLOW_END}"><!-- IF S_IN_SEARCH_POPUP and not S_SELECT_SINGLE --><b class="nav"><a href="#" onclick="marklist('results', 'user', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('results', 'user', false); return false;">{L_UNMARK_ALL}</a></b><br /><!-- ENDIF --><span class="pagination"><!-- INCLUDE pagination.html --></span></td> +</tr> +</table> + + + +<!-- IF S_IN_SEARCH_POPUP --> + <!-- INCLUDE simple_footer.html --> +<!-- ELSE --> + <br clear="all" /> + + <!-- INCLUDE breadcrumbs.html --> + + <br clear="all" /> + + <div align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></div> + <!-- INCLUDE overall_footer.html --> +<!-- ENDIF -->
\ No newline at end of file diff --git a/tmw3/template/memberlist_email.html b/tmw3/template/memberlist_email.html new file mode 100644 index 0000000..976ac1a --- /dev/null +++ b/tmw3/template/memberlist_email.html @@ -0,0 +1,73 @@ +<!-- INCLUDE overall_header.html --> + +<div id="pagecontent"> + + <form action="{S_POST_ACTION}" method="post" name="postform"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th colspan="2">{L_SEND_EMAIL_USER} {USERNAME}</th> + </tr> + <!-- IF ERROR_MESSAGE --> + <tr> + <td class="row3" colspan="2" align="center"><span class="error">{ERROR_MESSAGE}</span></td> + </tr> + <!-- ENDIF --> + <!-- IF S_SEND_USER --> + <tr> + <td class="row1" width="35%"><b class="genmed">{L_RECIPIENT}</b></td> + <td class="row2" width="65%"><b class="genmed">{USERNAME}</b></td> + </tr> + <tr> + <td class="row1" width="35%"><b class="genmed">{L_SUBJECT}</b></td> + <td class="row2"><input class="post" type="text" name="subject" size="50" tabindex="2" value="{SUBJECT}" /></td> + </tr> + <!-- ELSE --> + <tr> + <td class="row1" width="35%"><b class="genmed">{L_EMAIL_ADDRESS}</b></td> + <td class="row2"><input class="post" type="text" name="email" size="50" maxlength="100" value="{EMAIL}" /></td> + </tr> + <tr> + <td class="row1" width="35%"><b class="genmed">{L_REAL_NAME}</b></td> + <td class="row2"><input class="post" type="text" name="name" size="50" value="{NAME}" /></td> + </tr> + <tr> + <td class="row1" width="35%"><b class="genmed">{L_DEST_LANG}</b><br /><span class="gensmall">{L_DEST_LANG_EXPLAIN}</span></td> + <td class="row2"><select name="lang">{S_LANG_OPTIONS}</select></td> + </tr> + <!-- ENDIF --> + <tr> + <td class="row1" valign="top"><b class="genmed">{L_MESSAGE_BODY}</b><br /><span class="gensmall">{L_EMAIL_BODY_EXPLAIN}</span></td> + <td class="row2"><textarea class="post" name="message" rows="15" cols="76" tabindex="3">{MESSAGE}</textarea></td> + </tr> + <tr> + <td class="row1" valign="top"><span class="gen"><b>{L_OPTIONS}</b></span></td> + <td class="row2"> + <table cellspacing="0" cellpadding="1" border="0"> + <tr> + <td><input type="checkbox" class="radio" name="cc_email" value="1" checked="checked" /></td> + <td class="gen">{L_CC_EMAIL}</td> + </tr> + </table> + </td> + </tr> + <tr> + <td class="cat" colspan="2" align="center"><input type="submit" tabindex="6" name="submit" class="btnmain" value="{L_SEND_EMAIL}" /></td> + </tr> + </table> + + {S_FORM_TOKEN} + + </form> + +</div> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<br clear="all" /> + +<div style="float: {S_CONTENT_FLOW_END};"><!-- INCLUDE jumpbox.html --></div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/memberlist_group.html b/tmw3/template/memberlist_group.html new file mode 100644 index 0000000..650868f --- /dev/null +++ b/tmw3/template/memberlist_group.html @@ -0,0 +1,17 @@ + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="3">{L_GROUP_INFORMATION}</th> +</tr> +<tr> + <td class="row1" width="20%"><b class="genmed">{L_GROUP_NAME}:</b></td> + <td class="row2"><b class="gen"<!-- IF GROUP_COLOR --> style="color:#{GROUP_COLOR}"<!-- ENDIF -->>{GROUP_NAME}</b></td> +<!-- IF AVATAR_IMG or RANK_IMG or GROUP_RANK or U_PM --> + <td class="row1" width="33%" rowspan="2" align="center"><!-- IF AVATAR_IMG -->{AVATAR_IMG}<br /><!-- ENDIF --><!-- IF RANK_IMG -->{RANK_IMG}<!-- ENDIF --><!-- IF GROUP_RANK --><span class="gensmall">{GROUP_RANK}</span><br /><br /><!-- ENDIF --><!-- IF U_PM --><a href="{U_PM}">{PM_IMG}</a><!-- ENDIF --></td> +<!-- ENDIF --> +</tr> +<tr> + <td class="row1" width="20%"><b class="genmed">{L_GROUP_DESC}:</b></td> + <td class="row2"><span class="gen">{GROUP_DESC}</span><p class="forumdesc">{GROUP_TYPE}</p></td> +</tr> +</table> diff --git a/tmw3/template/memberlist_im.html b/tmw3/template/memberlist_im.html new file mode 100644 index 0000000..acbe1fe --- /dev/null +++ b/tmw3/template/memberlist_im.html @@ -0,0 +1,139 @@ +<!-- INCLUDE simple_header.html --> + +<br clear="all" /> + +<!-- MSNM info from http://www.cdolive.net/ - doesn't seem to work with MSN Messenger --> + +<form method="post" action="{S_IM_ACTION}"> + <table class="tablebg" width="95%" cellspacing="1" cellpadding="4" border="0" align="center"> + <tr> + <th colspan="2">{L_SEND_IM}</th> + </tr> + <tr> + <td class="row3" colspan="2"><span class="gensmall">{L_SEND_IM_EXPLAIN}</span></td> + </tr> + <tr> + <td class="row1"><b class="genmed">{L_IM_RECIPIENT}: </b></td> + <td class="row2"><span class="gen"><b>{USERNAME}</b><!-- IF S_SEND_ICQ or S_SEND_AIM or S_SEND_MSNM --> [ {IM_CONTACT} ]<!-- ENDIF --></span> <!-- IF PRESENCE_IMG -->{PRESENCE_IMG}<!-- ENDIF --></td> + </tr> + + <!-- IF S_SEND_AIM --> + <tr> + <td class="row1" colspan="2" align="center"><br /><a class="gen" href="{U_AIM_CONTACT}">{L_IM_ADD_CONTACT}</a><br /><a class="gen" href="{U_AIM_MESSAGE}">{L_IM_SEND_MESSAGE}</a><br /><br /><a class="gensmall" href="http://www.aim.com/download.adp">{L_IM_DOWNLOAD_APP}</a> | <a class="gensmall" href="http://aimexpress.oscar.aol.com/aimexpress/launch.adp?Brand=AIM">{L_IM_AIM_EXPRESS}</a> </td> + </tr> + <tr> + <td class="cat" colspan="2" align="center"> </td> + </tr> + <!-- ENDIF --> + + <!-- IF S_SEND_MSNM --> + <tr> + <td class="row1" colspan="2" align="center"> + <object classid="clsid:B69003B3-C55E-4B48-836C-BC5946FC3B28" codetype="application/x-oleobject" id="objMessengerApp" width="0" height="0"></object> + <script type="text/javascript"> + // <![CDATA[ + var app = document.getElementById('objMessengerApp'); + + /** + * Check whether the browser supports this and whether MSNM is connected + */ + function msn_supported() + { + // Does the browser support the MSNM object? + if (app.MyStatus) + { + // Is MSNM connected? + if (app.MyStatus == 1) + { + alert('{LA_IM_MSNM_CONNECT}'); + return false; + } + } + else + { + alert('{LA_IM_MSNM_BROWSER}'); + return false; + } + return true; + } + + /** + * Add to your contact list + */ + function add_contact(address) + { + if (msn_supported()) + { + // Could return an error while MSNM is connecting, don't want that + try + { + app.AddContact(0, address); + } + catch (e) + { + return; + } + } + } + + /** + * Write IM to contact + */ + function im_contact(address) + { + if (msn_supported()) + { + // Could return an error while MSNM is connecting, don't want that + try + { + app.InstantMessage(address); + } + catch (e) + { + return; + } + } + } + // ]]> + </script> + + <a class="gen" href="#" onclick="add_contact('{A_IM_CONTACT}'); return false;">{L_IM_ADD_CONTACT}</a><br /><a class="gen" href="#" onclick="im_contact('{A_IM_CONTACT}'); return false;">{L_IM_SEND_MESSAGE}</a> + </td> + </tr> + <tr> + <td class="cat" colspan="2" align="center"> </td> + </tr> + <!-- ENDIF --> + + <!-- IF S_SEND_JABBER --> + <tr> + <td class="row1"><b class="genmed">{L_IM_MESSAGE}: </b></td> + <td class="row2"><textarea class="post" name="message" rows="5" cols="45"></textarea></td> + </tr> + <tr> + <td class="cat" colspan="2" align="center"><input class="btnmain" name="submit" type="submit" value="{L_IM_SEND}" /></td> + </tr> + <!-- ENDIF --> + + <!-- IF S_NO_SEND_JABBER --> + <tr> + <td class="row1" colspan="2"><span class="genmed">{L_IM_NO_JABBER}</span></td> + </tr> + <!-- ENDIF --> + + <!-- IF S_SENT_JABBER --> + <tr> + <td class="row1" colspan="2" align="center"><span class="gen">{L_IM_SENT_JABBER}</span></td> + </tr> + <tr> + <td class="cat" colspan="2" align="center"></td> + </tr> + <!-- ENDIF --> + + </table> + <a class="nav" href="#" onclick="window.close(); return false;">{L_CLOSE_WINDOW}</a> +{S_FORM_TOKEN} +</form> + + +<!-- INCLUDE simple_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/memberlist_leaders.html b/tmw3/template/memberlist_leaders.html new file mode 100644 index 0000000..ba6dbde --- /dev/null +++ b/tmw3/template/memberlist_leaders.html @@ -0,0 +1,71 @@ +<!-- INCLUDE overall_header.html --> + +<form method="post" action="{S_MODE_ACTION}"> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th nowrap="nowrap" width="20%">{L_USERNAME}</th> + <th nowrap="nowrap" width="25%">{L_FORUMS}</th> + <th nowrap="nowrap" width="20%">{L_PRIMARY_GROUP}</th> + <th nowrap="nowrap" width="15%">{L_RANK}</th> + <th nowrap="nowrap" width="11%">{L_SEND_MESSAGE}</th> +</tr> +<tr class="row3"> + <td colspan="5"><b class="gensmall">{L_ADMINISTRATORS}</b></td> +</tr> +<!-- BEGIN admin --> + <!-- IF admin.S_ROW_COUNT is even --><tr class="row2"><!-- ELSE --><tr class="row1"><!-- ENDIF --> + + <td class="gen" align="center"><strong>{admin.USERNAME_FULL}</strong></td> + <td class="gensmall" align="center"> </td> + <td class="gensmall" align="center" nowrap="nowrap"> + <!-- IF admin.U_GROUP --> + <a<!-- IF admin.GROUP_COLOR --> style="font-weight: bold; color:#{admin.GROUP_COLOR}"<!-- ENDIF --> href="{admin.U_GROUP}">{admin.GROUP_NAME}</a> + <!-- ELSE --> + {admin.GROUP_NAME} + <!-- ENDIF --> + </td> + <td class="gen" align="center"><!-- IF admin.RANK_IMG -->{admin.RANK_IMG}<!-- ELSE -->{admin.RANK_TITLE}<!-- ENDIF --></td> + <td class="gen" align="center"> <!-- IF admin.U_PM --><a href="{admin.U_PM}">{PM_IMG}</a><!-- ENDIF --> </td> +</tr> +<!-- BEGINELSE --> + <tr> + <td class="row1" colspan="5" align="center"><span class="gen">{L_NO_ADMINISTRATORS}</span></td> + </tr> +<!-- END admin --> +<tr class="row3"> + <td colspan="5"><b class="gensmall">{L_MODERATORS}</b></td> +</tr> +<!-- BEGIN mod --> + <!-- IF mod.S_ROW_COUNT is even --><tr class="row2"><!-- ELSE --><tr class="row1"><!-- ENDIF --> + + <td class="gen" align="center"><strong>{mod.USERNAME_FULL}</strong></td> + <td align="center"><!-- IF not mod.FORUMS -->{L_ALL_FORUMS}<!-- ELSE --><select style="width: 200px;">{mod.FORUMS}</select><!-- ENDIF --> </td> + <td class="gensmall" align="center" nowrap="nowrap"> + <!-- IF mod.U_GROUP --> + <a<!-- IF mod.GROUP_COLOR --> style="font-weight: bold; color:#{mod.GROUP_COLOR}"<!-- ENDIF --> href="{mod.U_GROUP}">{mod.GROUP_NAME}</a> + <!-- ELSE --> + {mod.GROUP_NAME} + <!-- ENDIF --> + </td> + <td class="gen" align="center"><!-- IF mod.RANK_IMG -->{mod.RANK_IMG}<!-- ELSE -->{mod.RANK_TITLE}<!-- ENDIF --></td> + <td class="gen" align="center"> <!-- IF mod.U_PM --><a href="{mod.U_PM}">{PM_IMG}</a><!-- ENDIF --> </td> +</tr> +<!-- BEGINELSE --> + <tr> + <td class="row1" colspan="5" align="center"><span class="gen">{L_NO_MODERATORS}</span></td> + </tr> +<!-- END mod --> +</table> + +</form> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<br clear="all" /> + +<div style="float: {S_CONTENT_FLOW_END};"><!-- INCLUDE jumpbox.html --></div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/memberlist_search.html b/tmw3/template/memberlist_search.html new file mode 100644 index 0000000..96ffad0 --- /dev/null +++ b/tmw3/template/memberlist_search.html @@ -0,0 +1,143 @@ +<!-- You should retain this javascript in your own template! --> + +<!-- IF S_IN_SEARCH_POPUP --> + <script type="text/javascript"> + // <![CDATA[ + function insert_user(user) + { + opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value = ( opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value.length && opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.type == "textarea" ) ? opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value + "\n" + user : user; + } + + function insert_marked(users) + { + if (typeof(users.length) == "undefined") + { + if (users.checked) + { + insert_user(users.value); + } + } + else if (users.length > 0) + { + for (i = 0; i < users.length; i++) + { + if (users[i].checked) + { + insert_user(users[i].value); + } + } + } + + self.close(); + } + + function insert_single(user) + { + opener.document.forms['{S_FORM_NAME}'].{S_FIELD_NAME}.value = user; + self.close(); + } + + /** + * 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; + } + } + } + // ]]> + </script> +<!-- ENDIF --> + +<form method="post" action="{S_MODE_ACTION}" name="search"> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="4">{L_FIND_USERNAME}</th> +</tr> +<tr> + <td class="row3" colspan="4"><span class="gensmall">{L_FIND_USERNAME_EXPLAIN}</span></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_USERNAME}:</b></td> + <td class="row2"><input class="post" type="text" name="username" value="{USERNAME}" /></td> + <td class="row1"><b class="genmed">{L_ICQ}:</b></td> + <td class="row2"><input class="post" type="text" name="icq" value="{ICQ}" /></td> +</tr> +<tr> +<!-- IF S_EMAIL_SEARCH_ALLOWED --> + <td class="row1"><b class="genmed">{L_EMAIL}:</b></td> + <td class="row2"><input class="post" type="text" name="email" value="{EMAIL}" /></td> +<!-- ELSE --> + <td colspan="2" class="row1"> </td> +<!-- ENDIF --> + <td class="row1"><b class="genmed">{L_AIM}:</b></td> + <td class="row2"><input class="post" type="text" name="aim" value="{AIM}" /></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_JOINED}:</b></td> + <td class="row2"><select name="joined_select">{S_JOINED_TIME_OPTIONS}</select> <input class="post" type="text" name="joined" value="{JOINED}" /></td> + <td class="row1"><b class="genmed">{L_YIM}:</b></td> + <td class="row2"><input class="post" type="text" name="yahoo" value="{YAHOO}" /></td> +</tr> +<tr> +<!-- IF S_VIEWONLINE --> + <td class="row1"><b class="genmed">{L_LAST_ACTIVE}:</b></td> + <td class="row2"><select name="active_select">{S_ACTIVE_TIME_OPTIONS}</select> <input class="post" type="text" name="active" value="{ACTIVE}" /></td> +<!-- ELSE --> + <td colspan="2" class="row1"> </td> +<!-- ENDIF --> + <td class="row1"><b class="genmed">{L_MSNM}:</b></td> + <td class="row2"><input class="post" type="text" name="msn" value="{MSNM}" /></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_POSTS}:</b></td> + <td class="row2"><select name="count_select">{S_COUNT_OPTIONS}</select> <input class="post" type="text" name="count" value="{COUNT}" /></td> + <td class="row1"><b class="genmed">{L_JABBER}:</b></td> + <td class="row2"><input class="post" type="text" name="jabber" value="{JABBER}" /></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_SORT_BY}:</b></td> + <td class="row2" nowrap="nowrap"><select name="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select> </td> +<!-- IF S_IP_SEARCH_ALLOWED --> + <td class="row1"><b class="genmed">{L_POST_IP}:</b></td> + <td class="row2"><input class="post" type="text" name="ip" value="{IP}" /></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_GROUP}:</b></td> + <td class="row2" nowrap="nowrap"><select name="search_group_id">{S_GROUP_SELECT}</select></td> + <td class="row1"> </td> + <td class="row2"> </td> +</tr> +<!-- ELSE --> + <td class="row1"><b class="genmed">{L_GROUP}:</b></td> + <td class="row2" nowrap="nowrap"><select name="search_group_id">{S_GROUP_SELECT}</select></td> +</tr> +<!-- ENDIF --> +<tr> + <td class="cat" colspan="4" align="center"><input class="btnmain" type="submit" name="submit" value="{L_SEARCH}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td> +</tr> +</table> +{S_FORM_TOKEN} +</form> + +<br clear="all" /> diff --git a/tmw3/template/memberlist_view.html b/tmw3/template/memberlist_view.html new file mode 100644 index 0000000..c4536e4 --- /dev/null +++ b/tmw3/template/memberlist_view.html @@ -0,0 +1,199 @@ +<!-- INCLUDE overall_header.html --> + +<div id="pagecontent"> + + <form method="post" action="{S_PROFILE_ACTION}"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th colspan="2" nowrap="nowrap">{L_VIEWING_PROFILE}</th> + </tr> + <tr> + <td class="cat" width="40%" align="center"><h4>{L_USER_PRESENCE}</h4></td> + <td class="cat" width="60%" align="center"><h4>{L_USER_FORUM}</h4></td> + </tr> + <tr> + <td class="row1" align="center"> + + <table cellspacing="1" cellpadding="2" border="0"> + <!-- IF S_USER_INACTIVE --> + <tr> + <td align="center" style="color: red;"><b class="gen">{L_USER_IS_INACTIVE}</b><br />{L_INACTIVE_REASON}: {USER_INACTIVE_REASON}<br /><br /></td> + </tr> + <!-- ENDIF --> + <tr> + <td align="center"><!-- IF USER_COLOR --><b class="gen" style="color: {USER_COLOR}"><!-- ELSE --><b class="gen"><!-- ENDIF -->{USERNAME}</b><!-- IF U_USER_BAN --><span class="genmed"> [ <a href="{U_USER_BAN}">{L_USER_BAN}</a> ]</span><!-- ENDIF --><!-- IF U_USER_ADMIN --><span class="genmed"> [ <a href="{U_USER_ADMIN}">{L_USER_ADMIN}</a> ]</span><!-- ENDIF --></td> + </tr> + <!-- IF RANK_TITLE --> + <tr> + <td class="postdetails" align="center">{RANK_TITLE}</td> + </tr> + <!-- ENDIF --> + <!-- IF RANK_IMG --> + <tr> + <td align="center">{RANK_IMG}</td> + </tr> + <!-- ENDIF --> + <!-- IF AVATAR_IMG --> + <tr> + <td align="center">{AVATAR_IMG}</td> + </tr> + <!-- ENDIF --> + <!-- IF ONLINE_IMG --> + <tr> + <td align="center">{ONLINE_IMG}</td> + </tr> + <!-- ENDIF --> + <!-- IF U_SWITCH_PERMISSIONS --> + <tr> + <td class="genmed" align="center">[ <a href="{U_SWITCH_PERMISSIONS}">{L_USE_PERMISSIONS}</a> ]</td> + </tr> + <!-- ENDIF --> + <!-- IF S_USER_LOGGED_IN and S_ZEBRA --> + <tr> + <td class="genmed" align="center">[ <!-- IF U_ADD_FRIEND and U_ADD_FOE--><a href="{U_ADD_FRIEND}">{L_ADD_FRIEND}</a> | <a href="{U_ADD_FOE}">{L_ADD_FOE}</a><!-- ENDIF --><!-- IF U_REMOVE_FRIEND --><a href="{U_REMOVE_FRIEND}">{L_REMOVE_FRIEND}</a><!-- ENDIF --><!-- IF U_REMOVE_FOE --><a href="{U_REMOVE_FOE}">{L_REMOVE_FOE}</a><!-- ENDIF --> ]</td> + </tr> + <!-- ENDIF --> + </table> + </td> + <td class="row1"> + <table width="100%" cellspacing="1" cellpadding="2" border="0"> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_JOINED}: </td> + <td width="100%"><b class="gen">{JOINED}</b></td> + </tr> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_VISITED}: </td> + <td width="100%"><b class="gen">{VISITED}</b></td> + </tr> + <!-- IF U_NOTES or U_WARN --> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_WARNINGS}: </td> + <td width="100%"><b class="gen">{WARNINGS}</b><br /><span class="genmed">[ <a href="{U_NOTES}">{L_VIEW_NOTES}</a> <!-- IF U_WARN --> | <a href="{U_WARN}">{L_WARN_USER}</a> <!-- ENDIF -->]</span></td> + </tr> + <!-- ENDIF --> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_TOTAL_POSTS}: </td> + <td><b class="gen">{POSTS}</b><span class="genmed"><!-- IF POSTS_PCT --><br />[{POSTS_PCT} / {POSTS_DAY}]<!-- ENDIF --> + <!-- IF POSTS_IN_QUEUE and U_MCP_QUEUE --><br />[<a href="{U_MCP_QUEUE}">{L_POSTS_IN_QUEUE}</a>]<!-- ELSEIF POSTS_IN_QUEUE --><br />[{L_POSTS_IN_QUEUE}]<!-- ENDIF --> + <br /><a href="{U_SEARCH_USER}">{L_SEARCH_USER_POSTS}</a></span></td> + </tr> + <!-- IF S_SHOW_ACTIVITY --> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_ACTIVE_IN_FORUM}: </td> + <td><!-- IF ACTIVE_FORUM --><b><a class="gen" href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></b><br /><span class="genmed">[ {ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td> + </tr> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap">{L_ACTIVE_IN_TOPIC}: </td> + <td><!-- IF ACTIVE_TOPIC --><b><a class="gen" href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></b><br /><span class="genmed">[ {ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td> + </tr> + <!-- ENDIF --> + </table> + </td> + </tr> + <tr> + <td class="cat" align="center"><h4>{L_CONTACT_USER}</h4></td> + <td class="cat" align="center"><h4>{L_ABOUT_USER}</h4></td> + </tr> + <tr> + <td class="row1"> + <table width="100%" cellspacing="1" cellpadding="2" border="0"> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_EMAIL_ADDRESS}: </td> + <td width="100%"><!-- IF U_EMAIL --><a href="{U_EMAIL}">{EMAIL_IMG}</a><!-- ENDIF --></td> + </tr> + <!-- IF U_PM --> + <tr> + <td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_PM}: </td> + <td><a href="{U_PM}">{PM_IMG}</a></td> + </tr> + <!-- ENDIF --> + <tr> + <td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_MSNM}: </td> + <td><!-- IF U_MSN --><a href="{U_MSN}" onclick="popup(this.href, 550, 320); return false">{MSN_IMG}</a><!-- ELSEIF USER_MSN -->{USER_MSN}<!-- ENDIF --></td> + </tr> + <tr> + <td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_YIM}: </td> + <td><!-- IF U_YIM --><a href="{U_YIM}" onclick="popup(this.href, 780, 550); return false">{YIM_IMG}</a><!-- ELSEIF USER_YIM -->{USER_YIM}<!-- ENDIF --></td> + </tr> + <tr> + <td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_AIM}: </td> + <td><!-- IF U_AIM --><a href="{U_AIM}" onclick="popup(this.href, 550, 320); return false">{AIM_IMG}</a><!-- ELSEIF USER_AIM -->{USER_AIM}<!-- ENDIF --></td> + </tr> + <tr> + <td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_ICQ}: </td> + <td><!-- IF U_ICQ --><a href="{U_ICQ}" onclick="popup(this.href, 550, 320); return false">{ICQ_IMG}</a><!-- ELSEIF USER_ICQ -->{USER_ICQ}<!-- ENDIF --></td> + </tr> + <tr> + <td class="gen" nowrap="nowrap" align="{S_CONTENT_FLOW_END}">{L_JABBER}: </td> + <td><!-- IF U_JABBER and S_JABBER_ENABLED --><a href="{U_JABBER}" onclick="popup(this.href, 550, 320); return false">{JABBER_IMG}</a><!-- ELSEIF USER_JABBER -->{USER_JABBER_IMG}<!-- ENDIF --></td> + </tr> + </table> + </td> + <td class="row1"> + <table cellspacing="1" cellpadding="2" border="0"> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_USERGROUPS}: </td> + <td><select name="g">{S_GROUP_OPTIONS}</select> <input class="btnlite" type="submit" name="submit" value="{L_GO}" /></td> + </tr> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_LOCATION}: </td> + <td><!-- IF LOCATION --><b class="genmed">{LOCATION}</b><!-- ENDIF --></td> + </tr> + <!-- IF AGE --> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_AGE}: </td> + <td><b class="genmed"><!-- IF AGE -->{AGE}<!-- ELSE --> - <!-- ENDIF --></b></td> + </tr> + <!-- ENDIF --> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_OCCUPATION}: </td> + <td><!-- IF OCCUPATION --><b class="genmed">{OCCUPATION}</b><!-- ENDIF --></td> + </tr> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_INTERESTS}: </td> + <td><!-- IF INTERESTS --><b class="genmed">{INTERESTS}</b><!-- ENDIF --></td> + </tr> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{L_WEBSITE}: </td> + <td><!-- IF U_WWW --><b><a class="genmed" href="{U_WWW}">{U_WWW}</a></b><!-- ENDIF --></td> + </tr> + <!-- IF S_PROFILE_FIELD1 --> + <!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. --> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{PROFILE_FIELD1_NAME}: </td> + <td><b class="genmed">{PROFILE_FIELD1_VALUE}</b></td> + </tr> + <!-- ENDIF --> + <!-- BEGIN custom_fields --> + <tr> + <td class="gen" align="{S_CONTENT_FLOW_END}" nowrap="nowrap">{custom_fields.PROFILE_FIELD_NAME}: </td> + <td><b class="genmed">{custom_fields.PROFILE_FIELD_VALUE}</b></td> + </tr> + <!-- END custom_fields --> + </table> + </td> + </tr> + <!-- IF SIGNATURE --> + <tr> + <td class="cat" colspan="2" align="center"><h4>{L_SIGNATURE}</h4></td> + </tr> + <tr> + <td class="row1" colspan="2"><div class="postbody" style="padding: 10px;">{SIGNATURE}</div></td> + </tr> + <!-- ENDIF --> + </table> + + </form> + +</div> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<br clear="all" /> + +<div style="float: {S_CONTENT_FLOW_END};"><!-- INCLUDE jumpbox.html --></div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/message_body.html b/tmw3/template/message_body.html new file mode 100644 index 0000000..f61a3e6 --- /dev/null +++ b/tmw3/template/message_body.html @@ -0,0 +1,16 @@ +<!-- INCLUDE overall_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th>{MESSAGE_TITLE}</th> +</tr> +<tr> + <td class="row1" align="center"><br /><p class="gen">{MESSAGE_TEXT}</p><br /></td> +</tr> +</table> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/overall_footer.html b/tmw3/template/overall_footer.html new file mode 100644 index 0000000..64201ff --- /dev/null +++ b/tmw3/template/overall_footer.html @@ -0,0 +1,23 @@ + <!-- IF not S_IS_BOT -->{RUN_CRON_TASK}<!-- ENDIF --> +</div> + +<!-- + We request you retain the full copyright notice below including the link to www.phpbb.com. + This not only gives respect to the large amount of time given freely by the developers + but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain + the full copyright we ask you at least leave in place the "Powered by phpBB" line, with + "phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our + forums may be affected. + + The phpBB Group : 2006 +//--> + +<div id="wrapfooter"> + <!-- IF U_ACP --><span class="gensmall">[ <a href="{U_ACP}">{L_ACP}</a> ]</span><br /><br /><!-- ENDIF --> + <span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000, 2002, 2005, 2007 phpBB Group + <!-- IF TRANSLATION_INFO --><br />{TRANSLATION_INFO}<!-- ENDIF --> + <!-- IF DEBUG_OUTPUT --><br /><bdo dir="ltr">[ {DEBUG_OUTPUT} ]</bdo><!-- ENDIF --></span> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/tmw3/template/overall_header.html b/tmw3/template/overall_header.html new file mode 100644 index 0000000..cf6f20f --- /dev/null +++ b/tmw3/template/overall_header.html @@ -0,0 +1,196 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> +<head> + +<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> +<meta http-equiv="content-language" content="{S_USER_LANG}" /> +<meta http-equiv="content-style-type" content="text/css" /> +<meta http-equiv="imagetoolbar" content="no" /> +<meta name="resource-type" content="document" /> +<meta name="distribution" content="global" /> +<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" /> +<meta name="keywords" content="" /> +<meta name="description" content="" /> +{META} +<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title> + +<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" /> + +<script type="text/javascript"> +// <![CDATA[ +<!-- IF S_USER_PM_POPUP --> + if ({S_NEW_PM}) + { + popup('{UA_POPUP_PM}', 400, 225, '_phpbbprivmsg'); + } +<!-- ENDIF --> + +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; +} + +function jumpto() +{ + var page = prompt('{LA_JUMP_PAGE}:', '{ON_PAGE}'); + var perpage = '{PER_PAGE}'; + var base_url = '{A_BASE_URL}'; + + if (page !== null && !isNaN(page) && page > 0) + { + document.location.href = base_url.replace(/&/g, '&') + '&start=' + ((page - 1) * perpage); + } +} + +/** +* Find a member +*/ +function find_username(url) +{ + popup(url, 760, 570, '_usersearch'); + return false; +} + +/** +* 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; + } + } +} + +<!-- IF ._file --> + + /** + * Play quicktime file by determining it's width/height + * from the displayed rectangle area + * + * Only defined if there is a file block present. + */ + 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(); + } +<!-- ENDIF --> + +// ]]> +</script> +</head> +<body class="{S_CONTENT_DIRECTION}"> + +<a name="top"></a> + +<div id="wrapheader"> + + <div id="logodesc"> + <table width="100%" cellspacing="0"> + <tr> + <td><a href="{U_INDEX}">{SITE_LOGO_IMG}</a></td> + <td width="100%" align="left"><h1>{SITENAME}</h1><span class="gen">{SITE_DESCRIPTION}</span></td> + </tr> + </table> + </div> + + <div id="menubar"> + <table width="100%" cellspacing="0"> + <tr> + <td class="genmed"> + <!-- IF not S_IS_BOT --><a href="{U_LOGIN_LOGOUT}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_LOGIN_LOGOUT}</a> <!-- ENDIF --> + <!-- IF U_RESTORE_PERMISSIONS --> <a href="{U_RESTORE_PERMISSIONS}"><img src="{T_THEME_PATH}/images/icon_mini_login.gif" width="12" height="13" alt="*" /> {L_RESTORE_PERMISSIONS}</a><!-- ENDIF --> + <!-- IF S_BOARD_DISABLED and S_USER_LOGGED_IN --> <span style="color: red;">{L_BOARD_DISABLED}</span><!-- ENDIF --> + <!-- IF not S_IS_BOT --> + <!-- IF S_USER_LOGGED_IN --> + <!-- IF S_DISPLAY_PM --> <a href="{U_PRIVATEMSGS}"><img src="{T_THEME_PATH}/images/icon_mini_message.gif" width="12" height="13" alt="*" /> {PRIVATE_MESSAGE_INFO}<!-- IF PRIVATE_MESSAGE_INFO_UNREAD -->, {PRIVATE_MESSAGE_INFO_UNREAD}<!-- ENDIF --></a><!-- ENDIF --> + <!-- ELSEIF S_REGISTER_ENABLED --> <a href="{U_REGISTER}"><img src="{T_THEME_PATH}/images/icon_mini_register.gif" width="12" height="13" alt="*" /> {L_REGISTER}</a> + <!-- ENDIF --> + <!-- ENDIF --> + </td> + <td class="genmed" align="{S_CONTENT_FLOW_END}"> + <a href="{U_FAQ}"><img src="{T_THEME_PATH}/images/icon_mini_faq.gif" width="12" height="13" alt="*" /> {L_FAQ}</a> + <!-- IF S_DISPLAY_SEARCH --> <a href="{U_SEARCH}"><img src="{T_THEME_PATH}/images/icon_mini_search.gif" width="12" height="13" alt="*" /> {L_SEARCH}</a><!-- ENDIF --> + <!-- IF not S_IS_BOT --> + <!-- IF S_DISPLAY_MEMBERLIST --> <a href="{U_MEMBERLIST}"><img src="{T_THEME_PATH}/images/icon_mini_members.gif" width="12" height="13" alt="*" /> {L_MEMBERLIST}</a><!-- ENDIF --> + <!-- IF S_USER_LOGGED_IN --> <a href="{U_PROFILE}"><img src="{T_THEME_PATH}/images/icon_mini_profile.gif" width="12" height="13" alt="*" /> {L_PROFILE}</a><!-- ENDIF --> + <!-- ENDIF --> + </td> + </tr> + </table> + </div> + + <div id="datebar"> + <table width="100%" cellspacing="0"> + <tr> + <td class="gensmall"><!-- IF S_USER_LOGGED_IN -->{LAST_VISIT_DATE}<!-- ENDIF --></td> + <td class="gensmall" align="{S_CONTENT_FLOW_END}">{CURRENT_TIME}<br /></td> + </tr> + </table> + </div> + +</div> + +<div id="wrapcentre"> + + <!-- IF S_DISPLAY_SEARCH --> + <p class="searchbar"> + <span style="float: {S_CONTENT_FLOW_BEGIN};"><a href="{U_SEARCH_UNANSWERED}">{L_SEARCH_UNANSWERED}</a> | <a href="{U_SEARCH_ACTIVE_TOPICS}">{L_SEARCH_ACTIVE_TOPICS}</a></span> + <!-- IF S_USER_LOGGED_IN --> + <span style="float: {S_CONTENT_FLOW_END};"><a href="{U_SEARCH_NEW}">{L_SEARCH_NEW}</a> | <a href="{U_SEARCH_SELF}">{L_SEARCH_SELF}</a></span> + <!-- ENDIF --> + </p> + <!-- ENDIF --> + + <br style="clear: both;" /> + + <!-- INCLUDE breadcrumbs.html --> + + <br /> diff --git a/tmw3/template/pagination.html b/tmw3/template/pagination.html new file mode 100644 index 0000000..bf9c854 --- /dev/null +++ b/tmw3/template/pagination.html @@ -0,0 +1 @@ +<!-- IF PAGINATION --><b><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{L_GOTO_PAGE}</a> <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}">{L_PREVIOUS}</a> <!-- ENDIF -->{PAGINATION}<!-- IF NEXT_PAGE --> <a href="{NEXT_PAGE}">{L_NEXT}</a><!-- ENDIF --></b><!-- ENDIF -->
\ No newline at end of file diff --git a/tmw3/template/posting_attach_body.html b/tmw3/template/posting_attach_body.html new file mode 100644 index 0000000..8c70e4c --- /dev/null +++ b/tmw3/template/posting_attach_body.html @@ -0,0 +1,83 @@ +<tr> + <th colspan="2"> + <script type="text/javascript"> + // <![CDATA[ + /** + * Show upload progress bar + */ + function popup_progress_bar() + { + close_waitscreen = 0; + // no scrollbars + popup('{UA_PROGRESS_BAR}', 400, 200, '_upload'); + } + // ]]> + </script> + + <!-- IF S_CLOSE_PROGRESS_WINDOW --> + <script type="text/javascript"> + // <![CDATA[ + close_waitscreen = 1; + // ]]> + </script> + <!-- ENDIF --> + + {L_ADD_ATTACHMENT} + </th> +</tr> +<tr> + <td class="row3" colspan="2"><span class="gensmall">{L_ADD_ATTACHMENT_EXPLAIN}</span></td> +</tr> + +<tr> + <td class="row1"><b class="genmed">{L_FILENAME}</b></td> + <td class="row2"><input type="file" name="fileupload" size="40" maxlength="{FILESIZE}" value="" class="btnfile" /></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_FILE_COMMENT}</b></td> + <td class="row2"> + <table border="0" cellspacing="0" cellpadding="2"> + <tr> + <td><textarea class="post" name="filecomment" rows="3" cols="35">{FILE_COMMENT}</textarea> </td> + <td valign="top"> + <table border="0" cellspacing="4" cellpadding="0"> + <tr> + <td><input class="btnlite" type="submit" style="width:150px" name="add_file" value="{L_ADD_FILE}" onclick="popup_progress_bar();" /></td> + </tr> + </table> + </td> + </tr> + </table> + </td> +</tr> + +<!-- IF S_HAS_ATTACHMENTS --> + <tr> + <th colspan="2">{L_POSTED_ATTACHMENTS}</th> + </tr> + + <!-- BEGIN attach_row --> + <tr> + <td class="row1"><b class="genmed">{L_FILENAME}</b></td> + <td class="row2"><a class="genmed" href="{attach_row.U_VIEW_ATTACHMENT}" target="_blank">{attach_row.FILENAME}</a></td> + </tr> + <tr> + <td class="row1"><b class="genmed">{L_FILE_COMMENT}</b></td> + <td class="row2">{attach_row.S_HIDDEN} + <table border="0" cellspacing="0" cellpadding="2"> + <tr> + <td><textarea class="post" name="comment_list[{attach_row.ASSOC_INDEX}]" rows="3" cols="35" wrap="virtual">{attach_row.FILE_COMMENT}</textarea> </td> + <td valign="top"> + <table border="0" cellspacing="4" cellpadding="0"> + <tr> + <td><input class="btnlite" type="submit" style="width:150px" name="delete_file[{attach_row.ASSOC_INDEX}]" value="{L_DELETE_FILE}" /></td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> + <!-- END attach_row --> + +<!-- ENDIF --> diff --git a/tmw3/template/posting_body.html b/tmw3/template/posting_body.html new file mode 100644 index 0000000..d289233 --- /dev/null +++ b/tmw3/template/posting_body.html @@ -0,0 +1,427 @@ +<!-- IF S_PRIVMSGS --> + <!-- INCLUDE ucp_header.html --> +<!-- ELSE --> + <!-- INCLUDE overall_header.html --> +<!-- ENDIF --> + +<!-- IF S_FORUM_RULES --> + <div class="forumrules"> + <!-- IF U_FORUM_RULES --> + <h3>{L_FORUM_RULES}</h3><br /> + <a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a> + <!-- ELSE --> + <h3>{L_FORUM_RULES}</h3><br /> + {FORUM_RULES} + <!-- ENDIF --> + </div> + + <br clear="all" /> +<!-- ENDIF --> + +<!-- IF not S_PRIVMSGS --> + <div id="pageheader"> + <h2><!-- IF TOPIC_TITLE --><a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a><!-- ELSE --><a class="titles" href="{U_VIEW_FORUM}">{FORUM_NAME}</a><!-- ENDIF --></h2> + + <!-- IF MODERATORS --> + <p class="moderators">{L_MODERATORS}: {MODERATORS}</p> + <!-- ENDIF --> + <!-- IF U_MCP --> + <p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p> + <!-- ENDIF --> + </div> + + <br clear="all" /><br /> +<!-- ENDIF --> + +<!-- IF not S_SHOW_PM_BOX --> + <form action="{S_POST_ACTION}" method="post" name="postform"{S_FORM_ENCTYPE}> +<!-- ENDIF --> + +<!-- IF S_DRAFT_LOADED --> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th align="center">{L_INFORMATION}</th> + </tr> + <tr> + <td class="row1" align="center"><span class="gen"><!-- IF S_PRIVMSGS -->{L_DRAFT_LOADED_PM}<!-- ELSE -->{L_DRAFT_LOADED}<!-- ENDIF --></span></td> + </tr> + </table> + + <br clear="all" /> +<!-- ENDIF --> + +<!-- IF S_SHOW_DRAFTS --> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th colspan="3" align="center">{L_LOAD_DRAFT}</th> + </tr> + <tr> + <td class="row1" colspan="3" align="center"><span class="gen">{L_LOAD_DRAFT_EXPLAIN}</span></td> + </tr> + <tr> + <th>{L_SAVE_DATE}</th> + <th>{L_DRAFT_TITLE}</th> + <th>{L_OPTIONS}</th> + </tr> + <!-- BEGIN draftrow --> + + <!-- IF draftrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + + <td class="postdetails" style="padding: 4px;">{draftrow.DATE}</td> + <td style="padding: 4px;"><b class="gen">{draftrow.DRAFT_SUBJECT}</b> + <!-- IF draftrow.S_LINK_TOPIC --><br /><span class="gensmall">{L_TOPIC}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a></span> + <!-- ELSEIF draftrow.S_LINK_FORUM --><br /><span class="gensmall">{L_FORUM}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a></span> + <!-- ELSEIF draftrow.S_LINK_PM --><br /><span class="gensmall">{L_PRIVATE_MESSAGE}</span> + <!-- ELSE --><br /><span class="gensmall">{L_NO_TOPIC_FORUM}</span><!-- ENDIF --> + </td> + <td style="padding: 4px;" align="center"><span class="gen"><a href="{draftrow.U_INSERT}">{L_LOAD_DRAFT}</a></span></td> + </tr> + <!-- END draftrow --> + </table> + + <br clear="all" /> +<!-- ENDIF --> + + +<!-- IF S_POST_REVIEW --><!-- INCLUDE posting_review.html --><!-- ENDIF --> +<!-- IF S_DISPLAY_PREVIEW --><!-- INCLUDE posting_preview.html --><!-- ENDIF --> + + +<!-- IF not S_PRIVMSGS and S_UNGLOBALISE --> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th>{L_MOVE}</th> + </tr> + <tr> + <td class="spacer" colspan="2"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> + </tr> + <tr> + <td class="row2" align="center"><span class="gen">{L_UNGLOBALISE_EXPLAIN}<br /><br />{L_SELECT_DESTINATION_FORUM} </span><select name="to_forum_id">{S_FORUM_SELECT}</select><br /><br /><input class="btnmain" type="submit" name="post" value="{L_CONFIRM}" /> <input class="btnlite" type="submit" name="cancel_unglobalise" value="{L_CANCEL}" /></td> + </tr> + </table> + + <br clear="all" /> +<!-- ENDIF --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="2"><b>{L_POST_A}</b></th> +</tr> + +<!-- IF ERROR --> + <tr> + <td class="row2" colspan="2" align="center"><span class="genmed error">{ERROR}</span></td> + </tr> +<!-- ENDIF --> + +<!-- IF S_DELETE_ALLOWED --> + <tr> + <td class="row1"><b class="genmed">{L_DELETE_POST}:</b></td> + <td class="row2"><input type="checkbox" class="radio" name="delete" /> <span class="gensmall">[ {L_DELETE_POST_WARN} ]</span></td> + </tr> +<!-- ENDIF --> + +<!-- IF S_SHOW_TOPIC_ICONS or S_SHOW_PM_ICONS --> + <tr> + <td class="row1"><b class="genmed">{L_ICON}:</b></td> + <td class="row2"> + <table width="100%" cellspacing="0" cellpadding="0" border="0"> + <tr> + <td><input type="radio" class="radio" name="icon" value="0"{S_NO_ICON_CHECKED} /><span class="genmed"><!-- IF S_SHOW_TOPIC_ICONS -->{L_NO_TOPIC_ICON}<!-- ELSE -->{L_NO_PM_ICON}<!-- ENDIF --></span> <!-- BEGIN topic_icon --><span style="white-space: nowrap;"><input type="radio" class="radio" name="icon" value="{topic_icon.ICON_ID}"{topic_icon.S_ICON_CHECKED} /><img src="{topic_icon.ICON_IMG}" width="{topic_icon.ICON_WIDTH}" height="{topic_icon.ICON_HEIGHT}" alt="" title="" hspace="2" vspace="2" /></span> <!-- END topic_icon --></td> + </tr> + </table> + </td> + </tr> +<!-- ENDIF --> + +<!-- IF not S_PRIVMSGS and S_DISPLAY_USERNAME --> + <tr> + <td class="row1"><b class="genmed">{L_USERNAME}:</b></td> + <td class="row2"><input class="post" type="text" tabindex="1" name="username" size="25" value="{USERNAME}" /></td> + </tr> +<!-- ENDIF --> + +<!-- IF S_PRIVMSGS --> + <tr> + <td class="row1"><b class="genmed">{L_TO}:</b></td> + <td class="row2"> + {S_HIDDEN_ADDRESS_FIELD} + <!-- BEGIN to_recipient --> + <span style="display: block; float: {S_CONTENT_FLOW_BEGIN};" class="nowrap genmed"><strong> + <!-- IF to_recipient.IS_GROUP --><a href="{to_recipient.U_VIEW}"><span class="sep">{to_recipient.NAME}</span></a><!-- ELSE -->{to_recipient.NAME_FULL}<!-- ENDIF --></strong> <!-- IF not S_EDIT_POST --><input class="post" type="submit" name="remove_{to_recipient.TYPE}[{to_recipient.UG_ID}]" value="{L_REMOVE}" /> <!-- ENDIF --> + </span> + <!-- BEGINELSE --> + <span class="genmed">{L_NO_TO_RECIPIENT}</span> + <!-- END to_recipient --> + </td> + </tr> + <!-- IF S_ALLOW_MASS_PM --> + <tr> + <td class="row1"><b class="genmed">{L_BCC}:</b></td> + <td class="row2"> + <!-- BEGIN bcc_recipient --> + <span class="genmed nowrap"><strong> + <!-- IF bcc_recipient.IS_GROUP --><a href="{bcc_recipient.U_VIEW}"><span class="sep">{bcc_recipient.NAME}</span></a><!-- ELSE -->{bcc_recipient.NAME_FULL}<!-- ENDIF --></strong> <!-- IF not S_EDIT_POST --><input class="post" type="submit" name="remove_{bcc_recipient.TYPE}[{bcc_recipient.UG_ID}]" value="{L_REMOVE}" /> <!-- ENDIF --> + </span> + <!-- BEGINELSE --> + <span class="genmed">{L_NO_BCC_RECIPIENT}</span> + <!-- END bcc_recipient --> + </td> + </tr> + <!-- ENDIF --> +<!-- ENDIF --> + +<tr> + <td class="row1" width="22%"><b class="genmed">{L_SUBJECT}:</b></td> + <td class="row2" width="78%"><input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="<!-- IF S_NEW_MESSAGE -->60<!-- ELSE -->64<!-- ENDIF -->" tabindex="2" value="{SUBJECT}" /></td> +</tr> +<tr> + <td class="row1" valign="top"><b class="genmed">{L_MESSAGE_BODY}:</b><br /><span class="gensmall">{L_MESSAGE_BODY_EXPLAIN} </span><br /><br /> + <!-- IF S_SMILIES_ALLOWED --> + <table width="100%" cellspacing="5" cellpadding="0" border="0" align="center"> + <tr> + <td class="gensmall" align="center"><b>{L_SMILIES}</b></td> + </tr> + <tr> + <td align="center"> + <!-- BEGIN smiley --> + <a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true); return false;" style="line-height: 20px;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" hspace="2" vspace="2" /></a> + <!-- END smiley --> + </td> + </tr> + + <!-- IF S_SHOW_SMILEY_LINK --> + <tr> + <td align="center"><a class="nav" href="{U_MORE_SMILIES}" onclick="popup(this.href, 300, 350, '_phpbbsmilies'); return false;">{L_MORE_SMILIES}</a></td> + </tr> + <!-- ENDIF --> + + </table> + <!-- ENDIF --> + </td> + <td class="row2" valign="top"> + <script type="text/javascript"> + // <![CDATA[ + var form_name = 'postform'; + var text_name = 'message'; + // ]]> + </script> + + <table width="100%" cellspacing="0" cellpadding="0" border="0"> + <!-- INCLUDE posting_buttons.html --> + <tr> + <td valign="top" style="width: 100%;"><textarea name="message" rows="15" cols="76" tabindex="3" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);" style="width: 98%;">{MESSAGE}</textarea></td> + <!-- IF S_BBCODE_ALLOWED --> + <td width="80" align="center" valign="top"> + <script type="text/javascript"> + // <![CDATA[ + colorPalette('v', 7, 6) + // ]]> + </script> + </td> + <!-- ENDIF --> + </tr> + </table> + </td> +</tr> + +<!-- IF S_INLINE_ATTACHMENT_OPTIONS --> + <tr> + <td class="row1"><b class="genmed">{L_ATTACHMENTS}:</b></td> + <td class="row2"><select name="attachments">{S_INLINE_ATTACHMENT_OPTIONS}</select> <input type="button" class="btnbbcode" accesskey="a" value="{L_PLACE_INLINE}" name="attachinline" onclick="attach_form = document.forms[form_name].elements['attachments']; attach_inline(attach_form.value, attach_form.options[attach_form.selectedIndex].text);" onmouseover="helpline('a')" onmouseout="helpline('tip')" /> + </td> + </tr> +<!-- ENDIF --> + +<tr> + <td class="row1" valign="top"><b class="genmed">{L_OPTIONS}:</b><br /> + <table cellspacing="2" cellpadding="0" border="0"> + <tr> + <td class="gensmall">{BBCODE_STATUS}</td> + </tr> + <!-- IF S_BBCODE_ALLOWED --> + <tr> + <td class="gensmall">{IMG_STATUS}</td> + </tr> + <tr> + <td class="gensmall">{FLASH_STATUS}</td> + </tr> + <tr> + <td class="gensmall">{URL_STATUS}</td> + </tr> + <tr> + <td class="gensmall">{SMILIES_STATUS}</td> + </tr> + <!-- ENDIF --> + </table> + </td> + <td class="row2"> + <table cellpadding="1"> + <!-- IF S_BBCODE_ALLOWED --> + <tr> + <td><input type="checkbox" class="radio" name="disable_bbcode"{S_BBCODE_CHECKED} /></td> + <td class="gen">{L_DISABLE_BBCODE}</td> + </tr> + <!-- ENDIF --> + + <!-- IF S_SMILIES_ALLOWED --> + <tr> + <td><input type="checkbox" class="radio" name="disable_smilies"{S_SMILIES_CHECKED} /></td> + <td class="gen">{L_DISABLE_SMILIES}</td> + </tr> + <!-- ENDIF --> + + <!-- IF S_LINKS_ALLOWED --> + <tr> + <td><input type="checkbox" class="radio" name="disable_magic_url"{S_MAGIC_URL_CHECKED} /></td> + <td class="gen">{L_DISABLE_MAGIC_URL}</td> + </tr> + <!-- ENDIF --> + + <!-- IF S_SIG_ALLOWED --> + <tr> + <td><input type="checkbox" class="radio" name="attach_sig"{S_SIGNATURE_CHECKED} /></td> + <td class="gen">{L_ATTACH_SIG}</td> + </tr> + <!-- ENDIF --> + + <!-- IF S_NOTIFY_ALLOWED --> + <tr> + <td><input type="checkbox" class="radio" name="notify"{S_NOTIFY_CHECKED} /></td> + <td class="gen">{L_NOTIFY_REPLY}</td> + </tr> + <!-- ENDIF --> + + <!-- IF not S_PRIVMSGS --> + <!-- IF S_LOCK_TOPIC_ALLOWED --> + <tr> + <td><input type="checkbox" class="radio" name="lock_topic"{S_LOCK_TOPIC_CHECKED} /></td> + <td class="gen">{L_LOCK_TOPIC}</td> + </tr> + <!-- ENDIF --> + + <!-- IF S_LOCK_POST_ALLOWED --> + <tr> + <td><input type="checkbox" class="radio" name="lock_post"{S_LOCK_POST_CHECKED} /></td> + <td class="gen">{L_LOCK_POST} [{L_LOCK_POST_EXPLAIN}]</td> + </tr> + <!-- ENDIF --> + + <!-- IF S_TYPE_TOGGLE --> + <tr> + <td> </td> + <td class="gen"><!-- IF S_EDIT_POST -->{L_CHANGE_TOPIC_TO}<!-- ELSE -->{L_POST_TOPIC_AS}<!-- ENDIF -->: <!-- BEGIN topic_type --><input type="radio" class="radio" name="topic_type" value="{topic_type.VALUE}"{topic_type.S_CHECKED} />{topic_type.L_TOPIC_TYPE} <!-- END topic_type --></td> + </tr> + <!-- ENDIF --> + <!-- ENDIF --> + </table> + </td> +</tr> + +<!-- IF S_TOPIC_TYPE_ANNOUNCE or S_TOPIC_TYPE_STICKY --> + <tr> + <td class="row1"><b class="genmed">{L_STICK_TOPIC_FOR}:</b><br /><span class="gensmall">{L_STICKY_ANNOUNCE_TIME_LIMIT}</span></td> + <td class="row2"><input class="post" type="text" name="topic_time_limit" size="3" maxlength="3" value="{TOPIC_TIME_LIMIT}" /> <b class="gen">{L_DAYS}</b> <span class="gensmall">{L_STICK_TOPIC_FOR_EXPLAIN}</span></td> + </tr> +<!-- ENDIF --> + +<!-- IF S_EDIT_REASON --> + <tr> + <td class="row1" valign="top"><b class="genmed">{L_EDIT_REASON}:</b></td> + <td class="row2"><input class="post" type="text" name="edit_reason" size="50" value="{EDIT_REASON}" /></td> + </tr> +<!-- ENDIF --> + +<!-- IF S_CONFIRM_CODE --> + <tr> + <th colspan="2" valign="middle">{L_POST_CONFIRMATION}</th> + </tr> + <tr> + <td class="row3" colspan="2"><span class="gensmall">{L_POST_CONFIRM_EXPLAIN}</span></td> + </tr> + <tr> + <td class="row1" colspan="2" align="center"> + <input type="hidden" name="confirm_id" value="{CONFIRM_ID}" /> + {CONFIRM_IMAGE} + </td> + </tr> + <tr> + <td class="row1"><b class="genmed">{L_CONFIRM_CODE}: </b><br /><span class="gensmall">{L_CONFIRM_CODE_EXPLAIN}</span></td> + <td class="row2"><input class="post" type="text" name="confirm_code" size="8" maxlength="8" /></td> + </tr> +<!-- ENDIF --> + +<!-- IF S_SHOW_ATTACH_BOX or S_SHOW_POLL_BOX --> + <tr> + <td class="cat" colspan="2" align="center"> + <input class="btnlite" type="submit" tabindex="5" name="preview" value="{L_PREVIEW}" /> + <input class="btnmain" type="submit" accesskey="s" tabindex="6" name="post" value="{L_SUBMIT}" /> + <!-- IF S_SAVE_ALLOWED --> <input class="btnlite" type="submit" accesskey="k" tabindex="7" name="save" value="{L_SAVE}" /><!-- ENDIF --> + <!-- IF S_HAS_DRAFTS --> <input class="btnlite" type="submit" accesskey="d" tabindex="8" name="load" value="{L_LOAD}" /><!-- ENDIF --> + <input class="btnlite" type="submit" accesskey="c" tabindex="9" name="cancel" value="{L_CANCEL}" /> + </td> + </tr> + + <!-- IF S_SHOW_ATTACH_BOX --><!-- INCLUDE posting_attach_body.html --><!-- ENDIF --> + + <!-- IF S_SHOW_POLL_BOX --> + <!-- INCLUDE posting_poll_body.html --> + <!-- ELSEIF S_POLL_DELETE --> + <tr> + <td class="row1"><span class="genmed"><b>{L_POLL_DELETE}:</b></span></td> + <td class="row2"><input type="checkbox" class="radio" name="poll_delete" /></td> + </tr> + <!-- ENDIF --> +<!-- ENDIF --> + +<tr> + <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS} + <input class="btnlite" type="submit" tabindex="10" name="preview" value="{L_PREVIEW}" /> + <input class="btnmain" type="submit" accesskey="s" tabindex="11" name="post" value="{L_SUBMIT}" /> + <!-- IF not S_SHOW_ATTACH_BOX and not S_SHOW_POLL_BOX --> + <!-- IF S_SAVE_ALLOWED --> <input class="btnlite" type="submit" accesskey="k" tabindex="12" name="save" value="{L_SAVE}" /><!-- ENDIF --> + <!-- IF S_HAS_DRAFTS --> <input class="btnlite" type="submit" accesskey="d" tabindex="13" name="load" value="{L_LOAD}" /><!-- ENDIF --> + <!-- ENDIF --> + <input class="btnlite" type="submit" accesskey="c" tabindex="14" name="cancel" value="{L_CANCEL}" /> + </td> +</tr> +</table> +<!-- IF not S_PRIVMSGS --> + {S_FORM_TOKEN} + </form> +<!-- ENDIF --> +<br clear="all" /> + +<!-- IF S_DISPLAY_REVIEW --><!-- INCLUDE posting_topic_review.html --><!-- ENDIF --> +<!-- IF S_DISPLAY_HISTORY --><!-- INCLUDE ucp_pm_history.html --><!-- ENDIF --> + +<!-- IF S_PRIVMSGS --> + <!-- INCLUDE ucp_footer.html --> +<!-- ELSE --> + + <!-- INCLUDE breadcrumbs.html --> + + + <!-- IF S_DISPLAY_ONLINE_LIST --> + <br clear="all" /> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="cat"><h4>{L_WHO_IS_ONLINE}</h4></td> + </tr> + <tr> + <td class="row1"><span class="gensmall">{LOGGED_IN_USER_LIST}</span></td> + </tr> + </table> + <!-- ENDIF --> + + <br clear="all" /> + + <table width="100%" cellspacing="1"> + <tr> + <td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></td> + </tr> + </table> + + <!-- INCLUDE overall_footer.html --> +<!-- ENDIF -->
\ No newline at end of file diff --git a/tmw3/template/posting_buttons.html b/tmw3/template/posting_buttons.html new file mode 100644 index 0000000..5adfeab --- /dev/null +++ b/tmw3/template/posting_buttons.html @@ -0,0 +1,83 @@ +<tr valign="middle" align="{S_CONTENT_FLOW_BEGIN}"> + <td colspan="2"> + <script type="text/javascript"> + // <![CDATA[ + + // Define the bbCode tags + var bbcode = new Array(); + var bbtags = new Array('[b]','[/b]','[i]','[/i]','[u]','[/u]','[quote]','[/quote]','[code]','[/code]','[list]','[/list]','[list=]','[/list]','[img]','[/img]','[url]','[/url]','[flash=]', '[/flash]','[size=]','[/size]'<!-- BEGIN custom_tags -->, {custom_tags.BBCODE_NAME}<!-- END custom_tags -->); + var imageTag = false; + + // Helpline messages + var help_line = { + b: '{LA_BBCODE_B_HELP}', + i: '{LA_BBCODE_I_HELP}', + u: '{LA_BBCODE_U_HELP}', + q: '{LA_BBCODE_Q_HELP}', + c: '{LA_BBCODE_C_HELP}', + l: '{LA_BBCODE_L_HELP}', + o: '{LA_BBCODE_O_HELP}', + p: '{LA_BBCODE_P_HELP}', + w: '{LA_BBCODE_W_HELP}', + s: '{LA_BBCODE_S_HELP}', + f: '{LA_BBCODE_F_HELP}', + e: '{LA_BBCODE_E_HELP}', + d: '{LA_BBCODE_D_HELP}', + t: '{LA_BBCODE_T_HELP}', + tip: '{L_STYLES_TIP}' + <!-- BEGIN custom_tags --> + ,cb_{custom_tags.BBCODE_ID}: '{custom_tags.A_BBCODE_HELPLINE}' + <!-- END custom_tags --> + } + + // ]]> + </script> + <script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script> + +<!-- IF S_BBCODE_ALLOWED --> + <input type="button" class="btnbbcode" accesskey="b" name="addbbcode0" value=" B " style="font-weight:bold; width: 30px;" onclick="bbstyle(0)" onmouseover="helpline('b')" onmouseout="helpline('tip')" /> + <input type="button" class="btnbbcode" accesskey="i" name="addbbcode2" value=" i " style="font-style:italic; width: 30px;" onclick="bbstyle(2)" onmouseover="helpline('i')" onmouseout="helpline('tip')" /> + <input type="button" class="btnbbcode" accesskey="u" name="addbbcode4" value=" u " style="text-decoration: underline; width: 30px;" onclick="bbstyle(4)" onmouseover="helpline('u')" onmouseout="helpline('tip')" /> + <!-- IF S_BBCODE_QUOTE --> + <input type="button" class="btnbbcode" accesskey="q" name="addbbcode6" value="Quote" style="width: 50px" onclick="bbstyle(6)" onmouseover="helpline('q')" onmouseout="helpline('tip')" /> + <!-- ENDIF --> + <input type="button" class="btnbbcode" accesskey="c" name="addbbcode8" value="Code" style="width: 40px" onclick="bbstyle(8)" onmouseover="helpline('c')" onmouseout="helpline('tip')" /> + <input type="button" class="btnbbcode" accesskey="l" name="addbbcode10" value="List" style="width: 40px" onclick="bbstyle(10)" onmouseover="helpline('l')" onmouseout="helpline('tip')" /> + <input type="button" class="btnbbcode" accesskey="o" name="addbbcode12" value="List=" style="width: 40px" onclick="bbstyle(12)" onmouseover="helpline('o')" onmouseout="helpline('tip')" /> + <input type="button" class="btnbbcode" accesskey="t" name="addlitsitem" value="[*]" style="width: 40px" onclick="bbstyle(-1)" onmouseover="helpline('e')" onmouseout="helpline('tip')" /> + <!-- IF S_BBCODE_IMG --> + <input type="button" class="btnbbcode" accesskey="p" name="addbbcode14" value="Img" style="width: 40px" onclick="bbstyle(14)" onmouseover="helpline('p')" onmouseout="helpline('tip')" /> + <!-- ENDIF --> + <!-- IF S_LINKS_ALLOWED --> + <input type="button" class="btnbbcode" accesskey="w" name="addbbcode16" value="URL" style="text-decoration: underline; width: 40px" onclick="bbstyle(16)" onmouseover="helpline('w')" onmouseout="helpline('tip')" /> + <!-- ENDIF --> + <!-- IF S_BBCODE_FLASH --> + <input type="button" class="btnbbcode" accesskey="d" name="addbbcode18" value="Flash" onclick="bbstyle(18)" onmouseover="helpline('d')" onmouseout="helpline('tip')" /> + <!-- ENDIF --> + <span class="genmed nowrap">{L_FONT_SIZE}: <select class="gensmall" name="addbbcode20" onchange="bbfontstyle('[size=' + this.form.addbbcode20.options[this.form.addbbcode20.selectedIndex].value + ']', '[/size]');this.form.addbbcode20.selectedIndex = 2;" onmouseover="helpline('f')" onmouseout="helpline('tip')"> + <option value="50">{L_FONT_TINY}</option> + <option value="85">{L_FONT_SMALL}</option> + <option value="100" selected="selected">{L_FONT_NORMAL}</option> + <option value="150">{L_FONT_LARGE}</option> + <option value="200">{L_FONT_HUGE}</option> + </select></span> +<!-- ENDIF --> + </td> +</tr> +<!-- IF S_BBCODE_ALLOWED and .custom_tags --> + <tr valign="middle" align="{S_CONTENT_FLOW_BEGIN}"> + <td colspan="2"> + <!-- BEGIN custom_tags --> + <input type="button" class="btnbbcode" name="addbbcode{custom_tags.BBCODE_ID}" value="{custom_tags.BBCODE_TAG}" onclick="bbstyle({custom_tags.BBCODE_ID})"<!-- IF custom_tags.BBCODE_HELPLINE !== '' --> onmouseover="helpline('cb_{custom_tags.BBCODE_ID}')" onmouseout="helpline('tip')"<!-- ENDIF --> /> + <!-- END custom_tags --> + </td> + </tr> +<!-- ENDIF --> +<!-- IF S_BBCODE_ALLOWED --> +<tr> + <td<!-- IF $S_SIGNATURE or S_EDIT_DRAFT --> colspan="2"<!-- ENDIF -->><input type="text" readonly="readonly" name="helpbox" style="width:100%" class="helpline" value="{L_STYLES_TIP}" /></td> + <!-- IF not $S_SIGNATURE and not S_EDIT_DRAFT --> + <td class="genmed" align="center">{L_FONT_COLOR}</td> + <!-- ENDIF --> +</tr> +<!-- ENDIF --> diff --git a/tmw3/template/posting_poll_body.html b/tmw3/template/posting_poll_body.html new file mode 100644 index 0000000..3a52318 --- /dev/null +++ b/tmw3/template/posting_poll_body.html @@ -0,0 +1,36 @@ + +<tr> + <th colspan="2">{L_ADD_POLL}</th> +</tr> +<tr> + <td class="row3" colspan="2"><span class="gensmall">{L_ADD_POLL_EXPLAIN}</span></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_POLL_QUESTION}:</b></td> + <td class="row2"><input class="post" type="text" name="poll_title" size="50" maxlength="255" value="{POLL_TITLE}" /></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_POLL_OPTIONS}:</b><br /><span class="gensmall">{L_POLL_OPTIONS_EXPLAIN}</span></td> + <td class="row2"><textarea style="width:450px" name="poll_option_text" rows="5" cols="35">{POLL_OPTIONS}</textarea></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_POLL_MAX_OPTIONS}:</b><br /><span class="gensmall">{L_POLL_MAX_OPTIONS_EXPLAIN}</span></td> + <td class="row2"><input class="post" type="text" name="poll_max_options" size="3" maxlength="3" value="{POLL_MAX_OPTIONS}" /></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_POLL_FOR}:</b></td> + <td class="row2"><input class="post" type="text" name="poll_length" size="3" maxlength="3" value="{POLL_LENGTH}" /> <b class="gen">{L_DAYS}</b> <span class="gensmall">{L_POLL_FOR_EXPLAIN}</span></td> +</tr> +<!-- IF S_POLL_VOTE_CHANGE --> + <tr> + <td class="row1"><b class="genmed">{L_POLL_VOTE_CHANGE}:</b><br /><span class="gensmall">{L_POLL_VOTE_CHANGE_EXPLAIN}</span></td> + <td class="row2"><input type="checkbox" class="radio" name="poll_vote_change"{VOTE_CHANGE_CHECKED} /></td> + </tr> +<!-- ENDIF --> + +<!-- IF S_POLL_DELETE --> + <tr> + <td class="row1"><b class="genmed">{L_POLL_DELETE}:</b></td> + <td class="row2"><input type="checkbox" class="radio" name="poll_delete"<!-- IF S_POLL_DELETE_CHECKED --> checked="checked"<!-- ENDIF --> /></td> + </tr> +<!-- ENDIF --> diff --git a/tmw3/template/posting_preview.html b/tmw3/template/posting_preview.html new file mode 100644 index 0000000..b990428 --- /dev/null +++ b/tmw3/template/posting_preview.html @@ -0,0 +1,70 @@ + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th>{L_PREVIEW}</th> +</tr> +<tr> + <td class="row1">{MINI_POST_IMG}<span class="postdetails">{L_POSTED}: {POST_DATE} {L_POST_SUBJECT}: {PREVIEW_SUBJECT}</span></td> +</tr> +<!-- IF S_HAS_POLL_OPTIONS --> + <tr> + <td class="row2" colspan="2" align="center"><br clear="all" /> + <table cellspacing="0" cellpadding="4" border="0" align="center"> + <tr> + <td align="center"><span class="gen"><b>{POLL_QUESTION}</b></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td> + </tr> + <tr> + <td align="center"> + <table cellspacing="0" cellpadding="2" border="0"> + <!-- BEGIN poll_option --> + <tr> + <td> + <!-- IF S_IS_MULTI_CHOICE --> + <input type="checkbox" class="radio" name="vote_id" value="" /> + <!-- ELSE --> + <input type="radio" class="radio" name="vote_id" value="" /> + <!-- ENDIF --> + </td> + <td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td> + </tr> + <!-- END poll_option --> + </table> + </td> + </tr> + <tr> + <td align="center"><span class="gensmall">{L_MAX_VOTES}</span></td> + </tr> + </table> + </td> + </tr> +<!-- ENDIF --> +<tr> + <td class="row1"> + <table width="100%" border="0" cellspacing="0" cellpadding="0"> + <tr> + <td><div class="postbody">{PREVIEW_MESSAGE}</div> + <!-- IF .attachment --> + <br clear="all" /><br /> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td> + </tr> + <!-- BEGIN attachment --> + <tr> + <td class="row2">{attachment.DISPLAY_ATTACHMENT}</td> + </tr> + <!-- END attachment --> + </table> + <!-- ENDIF --> + <!-- IF PREVIEW_SIGNATURE --><span class="postbody"><br />_________________<br />{PREVIEW_SIGNATURE}</span><!-- ENDIF --></td> + </tr> + </table> + </td> +</tr> +<tr> + <td class="spacer"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> +</tr> +</table> + +<br clear="all" /> diff --git a/tmw3/template/posting_progress_bar.html b/tmw3/template/posting_progress_bar.html new file mode 100644 index 0000000..f9decc5 --- /dev/null +++ b/tmw3/template/posting_progress_bar.html @@ -0,0 +1,44 @@ +<!-- INCLUDE simple_header.html --> +<script type="text/javascript"> +// <![CDATA[ + /** + * Close upload popup + */ + function close_popup() + { + if (opener != null) + { + if (opener.close_waitscreen != null) + { + if (opener.close_waitscreen == 1) + { + opener.close_waitscreen = 0; + self.close(); + return 0; + } + } + } + setTimeout("close_popup()", 1000); + return 0; + } +// ]]> +</script> + +<table width="100%" border="0" cellspacing="0" cellpadding="10"> +<tr> + <td> + <table width="100%" border="0" cellspacing="1" cellpadding="4"> + <tr> + <td valign="top" class="row1" align="center"><br /><span class="genmed">{L_UPLOAD_IN_PROGRESS}</span><br /><br /><div style="align:center">{PROGRESS_BAR}</div><br /><br /><span class="genmed"><a href="#" onclick="window.close(); return false;">{L_CLOSE_WINDOW}</a></span><br /><br /></td> + </tr> + </table> + </td> +</tr> +</table> + +<script type="text/javascript"> +// <![CDATA[ + close_popup(); +// ]]> +</script> +<!-- INCLUDE simple_footer.html --> diff --git a/tmw3/template/posting_review.html b/tmw3/template/posting_review.html new file mode 100644 index 0000000..c3a7f7a --- /dev/null +++ b/tmw3/template/posting_review.html @@ -0,0 +1,95 @@ + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th align="center">{L_POST_REVIEW}</th> +</tr> +<tr> + <td class="row1" align="center"><span class="gen">{L_POST_REVIEW_EXPLAIN}</span></td> +</tr> +<tr> + <td class="spacer"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> +</tr> +<tr> + <td class="row1"> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th width="22%">{L_AUTHOR}</th> + <th>{L_MESSAGE}</th> + </tr> + <!-- BEGIN post_review_row --> + + <!-- IF post_review_row.S_ROW_COUNT is even --> <tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + + <td rowspan="2" align="{S_CONTENT_FLOW_BEGIN}" valign="top"><a id="pr{post_review_row.POST_ID}"></a> + <table width="150" cellspacing="0" cellpadding="4" border="0"> + <tr> + <td align="center"><b class="postauthor">{post_review_row.POST_AUTHOR_FULL}</b></td> + </tr> + </table> + </td> + <td width="100%"> + <table width="100%" cellspacing="0" cellpadding="0" border="0"> + <tr> + <td> </td> + <td class="gensmall" valign="middle" nowrap="nowrap"><b>{L_POST_SUBJECT}:</b> </td> + <td class="gensmall" width="100%" valign="middle">{post_review_row.POST_SUBJECT}</td> + <td> </td> + </tr> + </table> + </td> + </tr> + + <!-- IF post_review_row.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + + <td valign="top"> + <table width="100%" cellspacing="0"> + <tr> + <td valign="top"> + <table width="100%" cellspacing="0" cellpadding="2"> + <tr> + <td><div class="postbody">{post_review_row.MESSAGE}</div> + + <!-- IF post_review_row.S_HAS_ATTACHMENTS --> + <br clear="all" /><br /> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td> + </tr> + <!-- BEGIN attachment --> + <tr> + <!-- IF post_review_row.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{post_review_row.attachment.DISPLAY_ATTACHMENT}</td> + </tr> + <!-- END attachment --> + </table> + <!-- ENDIF --> + + </td> + </tr> + </table> + </td> + </tr> + <tr> + <td> + <table width="100%" cellspacing="0" cellpadding="0" border="0"> + <tr valign="middle"> + <td width="100%"> </td> + <td width="10" nowrap="nowrap"><!-- IF S_IS_BOT -->{post_review_row.MINI_POST_IMG}<!-- ELSE --><a href="{post_review_row.U_MINI_POST}">{post_review_row.MINI_POST_IMG}</a><!-- ENDIF --></td> + <td class="gensmall" nowrap="nowrap"><b>{L_POSTED}:</b> {post_review_row.POST_DATE}</td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> + <tr> + <td class="spacer" colspan="2" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> + </tr> + <!-- END post_review_row --> + </table> + </td> +</tr> +</table> + +<br clear="all" />
\ No newline at end of file diff --git a/tmw3/template/posting_smilies.html b/tmw3/template/posting_smilies.html new file mode 100644 index 0000000..a6f35bf --- /dev/null +++ b/tmw3/template/posting_smilies.html @@ -0,0 +1,26 @@ +<!-- INCLUDE simple_header.html --> + +<script type="text/javascript"> +// <![CDATA[ + var form_name = 'postform'; + var text_name = 'message'; +// ]]> +</script> +<script type="text/javascript" src="{T_TEMPLATE_PATH}/editor.js"></script> + +<table width="100%" cellspacing="1" cellpadding="4" border="0"> +<tr> + <td> + <table class="tablebg" width="95%" cellspacing="1" cellpadding="4" border="0"> + <tr> + <th>{L_SMILIES}</th> + </tr> + <tr> + <td class="row1" align="center" valign="middle"><!-- BEGIN smiley --> <a href="#" onclick="insert_text('{smiley.A_SMILEY_CODE}', true, true); return false;"><img src="{smiley.SMILEY_IMG}" width="{smiley.SMILEY_WIDTH}" height="{smiley.SMILEY_HEIGHT}" alt="{smiley.SMILEY_CODE}" title="{smiley.SMILEY_DESC}" hspace="2" vspace="2" /></a> <!-- END smiley --><br /><a class="nav" href="#" onclick="window.close(); return false;">{L_CLOSE_WINDOW}</a></td> + </tr> + </table> + </td> +</tr> +</table> + +<!-- INCLUDE simple_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/posting_topic_review.html b/tmw3/template/posting_topic_review.html new file mode 100644 index 0000000..9ac6f90 --- /dev/null +++ b/tmw3/template/posting_topic_review.html @@ -0,0 +1,94 @@ + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th align="center">{L_TOPIC_REVIEW} - {TOPIC_TITLE}</th> +</tr> +<tr> + <td class="row1"><div style="overflow: auto; width: 100%; height: 300px;"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th width="22%">{L_AUTHOR}</th> + <th>{L_MESSAGE}</th> + </tr> + <!-- BEGIN topic_review_row --> + + <!-- IF topic_review_row.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + + <td rowspan="2" align="{S_CONTENT_FLOW_BEGIN}" valign="top"><a id="pr{topic_review_row.POST_ID}"></a> + <table width="150" cellspacing="0"> + <tr> + <td align="center"><b class="postauthor"<!-- IF topic_review_row.POST_AUTHOR_COLOUR --> style="color: {topic_review_row.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{topic_review_row.POST_AUTHOR}</b></td> + </tr> + </table> + </td> + <td width="100%"> + <table width="100%" cellspacing="0"> + <tr> + <td> </td> + <td class="gensmall" valign="middle" nowrap="nowrap"><b>{L_POST_SUBJECT}:</b> </td> + <td class="gensmall" width="100%" valign="middle">{topic_review_row.POST_SUBJECT}</td> + <td valign="top" nowrap="nowrap"> <!-- IF topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE --><a href="#" onclick="addquote({topic_review_row.POST_ID},'{topic_review_row.POSTER_QUOTE}'); return false;">{QUOTE_IMG}</a><!-- ENDIF --></td> + </tr> + </table> + </td> + </tr> + + <!-- IF topic_review_row.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + + <td valign="top"> + <table width="100%" cellspacing="0"> + <tr> + <td valign="top"> + <table width="100%" cellspacing="0" cellpadding="2"> + <tr> + <td> + <div class="postbody">{topic_review_row.MESSAGE}</div> + + <!-- IF topic_review_row.S_HAS_ATTACHMENTS --> + <br clear="all" /><br /> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td> + </tr> + <!-- BEGIN attachment --> + <tr> + <!-- IF topic_review_row.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{topic_review_row.attachment.DISPLAY_ATTACHMENT}</td> + </tr> + <!-- END attachment --> + </table> + <!-- ENDIF --> + + <!-- IF topic_review_row.POSTER_QUOTE and topic_review_row.DECODED_MESSAGE --> + <div id="message_{topic_review_row.POST_ID}" style="display: none;">{topic_review_row.DECODED_MESSAGE}</div> + <!-- ENDIF --> + </td> + </tr> + </table> + </td> + </tr> + <tr> + <td> + <table width="100%" cellspacing="0"> + <tr valign="middle"> + <td width="100%" align="{S_CONTENT_FLOW_BEGIN}"><span class="gensmall"><!-- IF topic_review_row.U_MCP_DETAILS -->[ <a href="{topic_review_row.U_MCP_DETAILS}">{L_POST_DETAILS}</a> ]<!-- ENDIF --></span></td> + <td width="10" nowrap="nowrap"><!-- IF S_IS_BOT -->{topic_review_row.MINI_POST_IMG}<!-- ELSE --><a href="{topic_review_row.U_MINI_POST}">{topic_review_row.MINI_POST_IMG}</a><!-- ENDIF --></td> + <td class="gensmall" nowrap="nowrap"><b>{L_POSTED}:</b> {topic_review_row.POST_DATE}</td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> + <tr> + <td class="spacer" colspan="2"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> + </tr> + <!-- END topic_review_row --> + </table> + </div></td> +</tr> +</table> + +<br clear="all" /> diff --git a/tmw3/template/report_body.html b/tmw3/template/report_body.html new file mode 100644 index 0000000..6861d28 --- /dev/null +++ b/tmw3/template/report_body.html @@ -0,0 +1,41 @@ +<!-- INCLUDE overall_header.html --> + +<form method="post" id="report" action="{S_REPORT_ACTION}"> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="2">{L_REPORT_POST}</th> +</tr> +<tr> + <td class="row3" colspan="2"><span class="gensmall">{L_REPORT_POST_EXPLAIN}</span></td> +</tr> +<tr> + <td class="row1" width="22%"><b class="gen">{L_REASON}:</b></td> + <td class="row2" width="78%"><select name="reason_id"> + <!-- BEGIN reason --><option value="{reason.ID}"<!-- IF reason.S_SELECTED --> selected="selected"<!-- ENDIF -->>{reason.TITLE} » {reason.DESCRIPTION}</option><!-- END reason --> + </select></td> +</tr> +<!-- IF S_CAN_NOTIFY --> + <tr> + <td class="row1"><span class="gen"><b>{L_REPORT_NOTIFY}:</b></span><br /><span class="gensmall">{L_REPORT_NOTIFY_EXPLAIN}</span></td> + <td class="row2"><span class="gen"><input type="radio" class="radio" name="notify" value="1"<!-- IF S_NOTIFY --> checked="checked"<!-- ENDIF --> /> {L_YES} <input type="radio" class="radio" name="notify" value="0"<!-- IF not S_NOTIFY --> checked="checked"<!-- ENDIF --> /> {L_NO}</span></td> + </tr> +<!-- ENDIF --> +<tr> + <td class="row1" valign="top"><span class="gen"><b>{L_MORE_INFO}:</b></span><br /><span class="gensmall">{L_CAN_LEAVE_BLANK}</span></td> + <td class="row2"><textarea class="post" name="report_text" rows="10" cols="50">{REPORT_TEXT}</textarea></td> +</tr> +<tr> + <td class="cat" colspan="2" align="center"><input type="submit" name="submit" class="btnmain" value="{L_SUBMIT}" /> <input type="submit" name="cancel" class="btnlite" value="{L_CANCEL}" /></td> +</tr> +</table> +{S_FORM_TOKEN} +</form> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<div style="float: {S_CONTENT_FLOW_END};"><!-- INCLUDE jumpbox.html --></div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/search_body.html b/tmw3/template/search_body.html new file mode 100644 index 0000000..a0ec30e --- /dev/null +++ b/tmw3/template/search_body.html @@ -0,0 +1,78 @@ +<!-- INCLUDE overall_header.html --> + +<div id="pagecontent"> + + <form method="get" action="{S_SEARCH_ACTION}"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th colspan="4">{L_SEARCH_QUERY}</th> + </tr> + <tr> + <td class="row1" colspan="2" width="50%"><b class="genmed">{L_SEARCH_KEYWORDS}: </b><br /><span class="gensmall">{L_SEARCH_KEYWORDS_EXPLAIN}</span></td> + <td class="row2" colspan="2" valign="top"><input type="text" style="width: 300px" class="post" name="keywords" size="30" /><br /><input type="radio" class="radio" name="terms" value="all" checked="checked" /> <span class="genmed">{L_SEARCH_ALL_TERMS}</span><br /><input type="radio" class="radio" name="terms" value="any" /> <span class="genmed">{L_SEARCH_ANY_TERMS}</span></td> + </tr> + <tr> + <td class="row1" colspan="2"><b class="genmed">{L_SEARCH_AUTHOR}:</b><br /><span class="gensmall">{L_SEARCH_AUTHOR_EXPLAIN}</span></td> + <td class="row2" colspan="2" valign="middle"><input type="text" style="width: 300px" class="post" name="author" size="30" /></td> + </tr> + <tr> + <td class="row1" colspan="2"><b class="genmed">{L_SEARCH_FORUMS}: </b><br /><span class="gensmall">{L_SEARCH_FORUMS_EXPLAIN}</span></td> + <td class="row2" colspan="2"><select name="fid[]" multiple="multiple" size="5">{S_FORUM_OPTIONS}</select></td> + </tr> + <tr> + <th colspan="4">{L_SEARCH_OPTIONS}</th> + </tr> + <tr> + <td class="row1" width="25%" nowrap="nowrap"><b class="genmed">{L_SEARCH_SUBFORUMS}: </b></td> + <td class="row2" width="25%" nowrap="nowrap"><input type="radio" class="radio" name="sc" value="1" checked="checked" /> <span class="genmed">{L_YES}</span> <input type="radio" class="radio" name="sc" value="0" /> <span class="genmed">{L_NO}</span></td> + <td class="row1" width="25%" nowrap="nowrap"><b class="genmed">{L_SEARCH_WITHIN}: </b></td> + <td class="row2" width="25%" nowrap="nowrap"><input type="radio" class="radio" name="sf" value="all" checked="checked" /> <span class="genmed">{L_SEARCH_TITLE_MSG}</span><br /><input type="radio" class="radio" name="sf" value="msgonly" /> <span class="genmed">{L_SEARCH_MSG_ONLY}</span> <br /><input type="radio" class="radio" name="sf" value="titleonly" /> <span class="genmed">{L_SEARCH_TITLE_ONLY}</span> <br /><input type="radio" class="radio" name="sf" value="firstpost" /> <span class="genmed">{L_SEARCH_FIRST_POST}</span></td> + </tr> + <tr> + <td class="row1"><b class="genmed">{L_RESULT_SORT}: </b></td> + <td class="row2" nowrap="nowrap">{S_SELECT_SORT_KEY}<br /><input type="radio" class="radio" name="sd" value="a" /> <span class="genmed">{L_SORT_ASCENDING}</span><br /><input type="radio" class="radio" name="sd" value="d" checked="checked" /> <span class="genmed">{L_SORT_DESCENDING}</span></td> + <td class="row1" nowrap="nowrap"><b class="genmed">{L_DISPLAY_RESULTS}: </b></td> + <td class="row2" nowrap="nowrap"><input type="radio" class="radio" name="sr" value="posts" checked="checked" /> <span class="genmed">{L_POSTS}</span> <input type="radio" class="radio" name="sr" value="topics" /> <span class="genmed">{L_TOPICS}</span></td> + </tr> + <tr> + <td class="row1" width="25%"><b class="genmed">{L_RESULT_DAYS}: </b></td> + <td class="row2" width="25%" nowrap="nowrap">{S_SELECT_SORT_DAYS}</td> + <td class="row1" nowrap="nowrap"><b class="genmed">{L_RETURN_FIRST}: </b></td> + <td class="row2" nowrap="nowrap"><select name="ch">{S_CHARACTER_OPTIONS}</select> <span class="genmed">{L_POST_CHARACTERS}</span></td> + </tr> + <tr> + <td class="cat" colspan="4" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" name="submit" type="submit" value="{L_SEARCH}" /> <input class="btnlite" type="reset" value="{L_RESET}" /></td> + </tr> + </table> + + </form> + + <br clear="all" /> + + <!-- IF .recentsearch --> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th colspan="2">{L_RECENT_SEARCHES}</th> + </tr> + <!-- BEGIN recentsearch --> + <!-- IF recentsearch.S_ROW_COUNT is even --><tr class="row2"><!-- ELSE --><tr class="row1"><!-- ENDIF --> + + <td class="genmed" style="padding: 4px;" width="70%"><a href="{recentsearch.U_KEYWORDS}">{recentsearch.KEYWORDS}</a></td> + <td class="genmed" style="padding: 4px;" width="30%" align="center">{recentsearch.TIME}</td> + </tr> + <!-- END recentsearch --> + </table> + + <br clear="all" /> + <!-- ENDIF --> + + </div> + + <!-- INCLUDE breadcrumbs.html --> + + <br clear="all" /> + + <div align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/search_results.html b/tmw3/template/search_results.html new file mode 100644 index 0000000..d277b51 --- /dev/null +++ b/tmw3/template/search_results.html @@ -0,0 +1,146 @@ +<!-- INCLUDE overall_header.html --> + +<form method="post" action="{S_SEARCH_ACTION}"> + +<table width="100%" cellspacing="1"> +<tr> + <td colspan="2"><span class="titles"><!-- IF SEARCH_TITLE -->{SEARCH_TITLE}<!-- ELSE -->{SEARCH_MATCHES}<!-- ENDIF --></span><br /></td> +</tr> +<tr> + <td class="genmed"><!-- IF SEARCH_TOPIC -->{L_SEARCHED_TOPIC}: <a href="{U_SEARCH_TOPIC}"><b>{SEARCH_TOPIC}</b></a><br /><!-- ENDIF --><!-- IF SEARCH_WORDS -->{L_SEARCHED_FOR}: <a href="{U_SEARCH_WORDS}"><b>{SEARCH_WORDS}</b></a><!-- ENDIF --><!-- IF IGNORED_WORDS --> {L_IGNORED_TERMS}: <b>{IGNORED_WORDS}</b><!-- ENDIF --></td> + <td align="{S_CONTENT_FLOW_END}"><!-- IF SEARCH_IN_RESULTS --><span class="genmed">{L_SEARCH_IN_RESULTS}: </span><input type="text" name="add_keywords" value="" /> <input class="btnlite" type="submit" name="submit" value="{L_GO}" /><!-- ENDIF --></td> +</tr> +</table> + +<br clear="all" /> + +<!-- IF S_SHOW_TOPICS --> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th width="4%" nowrap="nowrap"> </th> + <th colspan="2" nowrap="nowrap"> {L_TOPICS} </th> + <th nowrap="nowrap"> {L_AUTHOR} </th> + <th nowrap="nowrap"> {L_REPLIES} </th> + <th nowrap="nowrap"> {L_VIEWS} </th> + <th nowrap="nowrap"> {L_LAST_POST} </th> + </tr> + <!-- BEGIN searchresults --> + <tr valign="middle"> + <td class="row1" width="25" align="center">{searchresults.TOPIC_FOLDER_IMG}</td> + <td class="row1" width="25" align="center"> + <!-- IF searchresults.TOPIC_ICON_IMG --> + <img src="{T_ICONS_PATH}{searchresults.TOPIC_ICON_IMG}" width="{searchresults.TOPIC_ICON_IMG_WIDTH}" height="{searchresults.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /> + <!-- ENDIF --> + </td> + <td class="row1"> + <!-- IF searchresults.S_UNREAD_TOPIC --><a href="{searchresults.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF --> + {searchresults.ATTACH_ICON_IMG} <a href="{searchresults.U_VIEW_TOPIC}" class="topictitle">{searchresults.TOPIC_TITLE}</a> + <!-- IF searchresults.S_TOPIC_UNAPPROVED or searchresults.S_POSTS_UNAPPROVED --> + <a href="{searchresults.U_MCP_QUEUE}">{searchresults.UNAPPROVED_IMG}</a> + <!-- ENDIF --> + <!-- IF searchresults.S_TOPIC_REPORTED --> + <a href="{searchresults.U_MCP_REPORT}">{REPORTED_IMG}</a> + <!-- ENDIF --> + <!-- IF searchresults.PAGINATION --> + <p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {searchresults.PAGINATION} ] </p> + <!-- ENDIF --> + <!-- IF searchresults.S_TOPIC_GLOBAL --> + <p class="gensmall">{L_GLOBAL}</p> + <!-- ELSE --> + <p class="gensmall">{L_IN} <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a></p> + <!-- ENDIF --> + </td> + <td class="row2" width="100" align="center"><p class="topicauthor">{searchresults.TOPIC_AUTHOR_FULL}</p></td> + <td class="row1" width="50" align="center"><p class="topicdetails">{searchresults.TOPIC_REPLIES}</p></td> + <td class="row2" width="50" align="center"><p class="topicdetails">{searchresults.TOPIC_VIEWS}</p></td> + <td class="row1" width="120" align="center"> + <p class="topicdetails">{searchresults.LAST_POST_TIME}</p> + <p class="topicdetails">{searchresults.LAST_POST_AUTHOR_FULL} + <a href="{searchresults.U_LAST_POST}">{LAST_POST_IMG}</a> + </p> + </td> + </tr> + <!-- BEGINELSE --> + <tr valign="middle"> + <td colspan="7" class="row3" align="center">{L_NO_SEARCH_RESULTS}</td> + </tr> + <!-- END searchresults --> + <tr> + <td class="cat" colspan="7" valign="middle" align="center"><!-- IF S_SELECT_SORT_DAYS or S_SELECT_SORT_KEY --><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS}<!-- IF S_SELECT_SORT_KEY --> <span class="gensmall">{L_SORT_BY}:</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR}<!-- ENDIF --> <input class="btnlite" type="submit" value="{L_GO}" name="sort" /><!-- ENDIF --></td> + </tr> + </table> + +<!-- ELSE --> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th width="150" nowrap="nowrap">{L_AUTHOR}</th> + <th width="100%" nowrap="nowrap">{L_MESSAGE}</th> + </tr> + + <!-- BEGIN searchresults --> + <tr class="row2"> + <!-- IF searchresults.S_IGNORE_POST --> + <td class="gensmall" colspan="2" height="25" align="center">{searchresults.L_IGNORE_POST}</td> + <!-- ELSE --> + <td colspan="2" height="25"><p class="topictitle"><a name="p{searchresults.POST_ID}" id="p{searchresults.POST_ID}"></a> <!-- IF searchresults.FORUM_TITLE -->{L_FORUM}: <a href="{searchresults.U_VIEW_FORUM}">{searchresults.FORUM_TITLE}</a><!-- ELSE -->{L_GLOBAL}<!-- ENDIF --> {L_TOPIC}: <a href="{searchresults.U_VIEW_TOPIC}">{searchresults.TOPIC_TITLE}</a> </p></td> + </tr> + <tr class="row1"> + <td width="150" align="center" valign="middle"><b class="postauthor">{searchresults.POST_AUTHOR_FULL}</b></td> + <td height="25"> + <table width="100%" cellspacing="0" cellpadding="0" border="0"> + <tr> + <td class="gensmall"> + <div style="float: {S_CONTENT_FLOW_BEGIN};"> + <!-- IF searchresults.POST_SUBJECT neq "" --> + <b>{L_POST_SUBJECT}:</b> <a href="{searchresults.U_VIEW_POST}">{searchresults.POST_SUBJECT}</a> + <!-- ELSE --> + [ <a href="{searchresults.U_VIEW_POST}">{L_JUMP_TO_POST}</a> ] + <!-- ENDIF --> + </div> + <div style="float: {S_CONTENT_FLOW_END};"><b>{L_POSTED}:</b> {searchresults.POST_DATE} </div> + </td> + </tr> + </table> + </td> + </tr> + <tr class="row1"> + <td width="150" align="center" valign="top"><br /><span class="postdetails">{L_REPLIES}: <b>{searchresults.TOPIC_REPLIES}</b><br />{L_VIEWS}: <b>{searchresults.TOPIC_VIEWS}</b></span><br /><br /></td> + <td valign="top"> + <table width="100%" cellspacing="5"> + <tr> + <td class="postbody">{searchresults.MESSAGE}</td> + </tr> + </table> + </td> + </tr> + <!-- ENDIF --> + <tr> + <td class="spacer" colspan="2"><img src="images/spacer.gif" height="1" alt="" /></td> + </tr> + <!-- BEGINELSE --> + <tr valign="middle"> + <td colspan="2" class="row3" align="center">{L_NO_SEARCH_RESULTS}</td> + </tr> + <!-- END searchresults --> + <tr> + <td class="cat" colspan="2" align="center"><!-- IF S_SELECT_SORT_KEY --><span class="gensmall">{L_SORT_BY}:</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" name="sort" value="{L_GO}" /><!-- ENDIF --></td> + </tr> + </table> +<!-- ENDIF --> + +</form> + +<div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"><span class="nav">{PAGE_NUMBER}</span> [ {SEARCH_MATCHES} ]</div> +<div class="nav" style="float: {S_CONTENT_FLOW_END};"><!-- INCLUDE pagination.html --></div> + +<br clear="all" /><br /> + +<!-- INCLUDE breadcrumbs.html --> + +<br clear="all" /> + +<div align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/searchbox.html b/tmw3/template/searchbox.html new file mode 100644 index 0000000..cb0bb5b --- /dev/null +++ b/tmw3/template/searchbox.html @@ -0,0 +1 @@ +<form method="post" name="search" action="{S_SEARCHBOX_ACTION}"><span class="gensmall">{L_SEARCH_FOR}:</span> <input class="post" type="text" name="keywords" size="20" /> <input class="btnlite" type="submit" value="{L_GO}" /></form> diff --git a/tmw3/template/simple_footer.html b/tmw3/template/simple_footer.html new file mode 100644 index 0000000..c8b69dd --- /dev/null +++ b/tmw3/template/simple_footer.html @@ -0,0 +1,20 @@ + +</div> + +<!-- + We request you retain the full copyright notice below including the link to www.phpbb.com. + This not only gives respect to the large amount of time given freely by the developers + but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain + the full copyright we ask you at least leave in place the "Powered by phpBB" line, with + "phpBB" linked to www.phpbb.com. If you refuse to include even this then support on our + forums may be affected. + + The phpBB Group : 2006 +//--> + +<div id="wrapfooter"> + <span class="copyright">Powered by <a href="http://www.phpbb.com/">phpBB</a> © 2000, 2002, 2005, 2007 phpBB Group</span> +</div> + +</body> +</html>
\ No newline at end of file diff --git a/tmw3/template/simple_header.html b/tmw3/template/simple_header.html new file mode 100644 index 0000000..bcef9a7 --- /dev/null +++ b/tmw3/template/simple_header.html @@ -0,0 +1,22 @@ +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml" dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}" xml:lang="{S_USER_LANG}"> +<head> + +<meta http-equiv="content-type" content="text/html; charset={S_CONTENT_ENCODING}" /> +<meta http-equiv="content-language" content="{S_USER_LANG}" /> +<meta http-equiv="content-style-type" content="text/css" /> +<meta http-equiv="imagetoolbar" content="no" /> +<meta name="resource-type" content="document" /> +<meta name="distribution" content="global" /> +<meta name="copyright" content="2000, 2002, 2005, 2007 phpBB Group" /> +<meta name="keywords" content="" /> +<meta name="description" content="" /> +{META} +<title>{SITENAME} • <!-- IF S_IN_MCP -->{L_MCP} • <!-- ELSEIF S_IN_UCP -->{L_UCP} • <!-- ENDIF -->{PAGE_TITLE}</title> + +<link rel="stylesheet" href="{T_STYLESHEET_LINK}" type="text/css" /> +</head> + +<body class="{S_CONTENT_DIRECTION}"> +<a name="top"></a> +<div id="wrapcentre">
\ No newline at end of file diff --git a/tmw3/template/template.cfg b/tmw3/template/template.cfg new file mode 100644 index 0000000..f9d5cf6 --- /dev/null +++ b/tmw3/template/template.cfg @@ -0,0 +1,23 @@ +# +# phpBB Template 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 template +name = tmw3 +copyright = © Platyna & phpBB Group, 2003 +version = 0.1 + diff --git a/tmw3/template/ucp_agreement.html b/tmw3/template/ucp_agreement.html new file mode 100644 index 0000000..f1ea9df --- /dev/null +++ b/tmw3/template/ucp_agreement.html @@ -0,0 +1,61 @@ +<!-- INCLUDE overall_header.html --> + + + +<!-- IF S_SHOW_COPPA or S_REGISTRATION --> + + <form method="post" action="{S_UCP_ACTION}"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th height="25">{SITENAME} - {L_REGISTRATION}</th> + </tr> + <tr> + <td class="row1" align="center"> + <table width="90%" cellspacing="2" cellpadding="2" border="0" align="center"> + <tr> + <!-- IF S_SHOW_COPPA --> + <td class="gen" align="center"><br />{L_COPPA_BIRTHDAY}<br /><br /><a href="{U_COPPA_NO}">{L_COPPA_NO}</a> :: <a href="{U_COPPA_YES}">{L_COPPA_YES}</a><br /><br /></td> + <!-- ELSE --> + <td> + <span class="genmed"><br />{L_TERMS_OF_USE}<br /><br /></span> + <div align="center"> + <input class="btnlite" type="submit" id="agreed" name="agreed" value="{L_AGREE}" /><br /><br /> + <input class="btnlite" type="submit" name="not_agreed" value="{L_NOT_AGREE}" /> + </div> + </td> + <!-- ENDIF --> + </tr> + </table> + </td> + </tr> + </table> + {S_HIDDEN_FIELDS} + {S_FORM_TOKEN} + </form> + +<!-- ELSEIF S_AGREEMENT --> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th height="25">{SITENAME} - {AGREEMENT_TITLE}</th> + </tr> + <tr> + <td class="row1" align="center"> + <table width="90%" cellspacing="2" cellpadding="2" border="0" align="center"> + <tr> + <td> + <span class="genmed"><br />{AGREEMENT_TEXT}<br /><br /></span> + <div align="center"> + <a href="{U_BACK}">{L_BACK}</a> + </div> + </td> + </tr> + </table> + </td> + </tr> + </table> + +<!-- ENDIF --> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_attachments.html b/tmw3/template/ucp_attachments.html new file mode 100644 index 0000000..35dcd33 --- /dev/null +++ b/tmw3/template/ucp_attachments.html @@ -0,0 +1,58 @@ +<!-- INCLUDE ucp_header.html --> + +<!-- IF S_ATTACHMENT_ROWS --> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th nowrap="nowrap">#</th> + <th nowrap="nowrap" width="15%"><a href="{U_SORT_FILENAME}">{L_FILENAME}</a></th> + <th nowrap="nowrap" width="5%"><a href="{U_SORT_POST_TIME}">{L_POST_TIME}</a></th> + <th nowrap="nowrap" width="5%"><a href="{U_SORT_FILESIZE}">{L_FILESIZE}</a></th> + <th nowrap="nowrap" width="5%"><a href="{U_SORT_DOWNLOADS}">{L_DOWNLOADS}</a></th> + <th width="2%" nowrap="nowrap">{L_DELETE}</th> + </tr> + <!-- IF TOTAL_ATTACHMENTS --> + <tr> + <td class="row3" colspan="6"> + <table width="100%" cellspacing="1"> + <tr> + <td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td> + <td class="gensmall" nowrap="nowrap"> [ {TOTAL_ATTACHMENTS} ] </td> + <td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td> + </tr> + </table> + </td> + </tr> + <!-- ENDIF --> + <!-- BEGIN attachrow --> + <!-- IF attachrow.S_ROW_COUNT is even --><tr class="row2"><!-- ELSE --><tr class="row1"><!-- ENDIF --> + + <td class="genmed" style="padding: 4px;" align="center" width="2%"> {attachrow.ROW_NUMBER} </td> + <td style="padding: 4px;"><a class="gen" href="{attachrow.U_VIEW_ATTACHMENT}">{attachrow.FILENAME}</a><br /><span class="gensmall"><!-- IF attachrow.S_IN_MESSAGE --><b>{L_PM}: </b><!-- ELSE --><b>{L_TOPIC}: </b><!-- ENDIF --><a href="{attachrow.U_VIEW_TOPIC}">{attachrow.TOPIC_TITLE}</a></span></td> + <td class="gensmall" style="padding: 4px;" align="center" valign="middle" nowrap="nowrap"> {attachrow.POST_TIME} </td> + <td class="genmed" style="padding: 4px;" align="center" valign="middle" nowrap="nowrap">{attachrow.SIZE}</td> + <td class="genmed" style="padding: 4px;" align="center">{attachrow.DOWNLOAD_COUNT}</td> + <td style="padding: 4px;" align="center" valign="middle"><input type="checkbox" class="radio" name="attachment[{attachrow.ATTACH_ID}]" value="1" /></td> + </tr> + <!-- END attachrow --> + <tr> + <td class="cat" colspan="6"><div style="float: {S_CONTENT_FLOW_BEGIN};"><span class="gensmall">{L_SORT_BY}: </span><select name="sk">{S_SORT_OPTIONS}</select> <select name="sd">{S_ORDER_SELECT}</select> <input class="btnlite" type="submit" name="sort" value="{L_SORT}" /></div><div style="float: {S_CONTENT_FLOW_END};"><input class="btnlite" type="submit" name="delete" value="{L_DELETE_MARKED}" /> </div></td> + </tr> + </table> + + <div style="float: {S_CONTENT_FLOW_END};"><b class="gensmall"><a href="#" onclick="marklist('ucp', 'attachment', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('ucp', 'attachment', false); return false;">{L_UNMARK_ALL}</a></b></div> + +<!-- ELSE --> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th>{L_TITLE}</th> + </tr> + <tr class="row1"> + <td align="center"><b class="genmed">{L_UCP_NO_ATTACHMENTS}</b></td> + </tr> + </table> + +<!-- ENDIF --> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_footer.html b/tmw3/template/ucp_footer.html new file mode 100644 index 0000000..1681fe3 --- /dev/null +++ b/tmw3/template/ucp_footer.html @@ -0,0 +1,13 @@ + + <!-- IF not S_PRIVMSGS or S_SHOW_DRAFTS --> {S_FORM_TOKEN}</form><!-- ENDIF --></td> +</tr> +</table> +<!-- IF (S_SHOW_PM_BOX or S_EDIT_POST) and S_POST_ACTION -->{S_FORM_TOKEN}</form><!-- ENDIF --> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<div align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_groups_manage.html b/tmw3/template/ucp_groups_manage.html new file mode 100644 index 0000000..6ae9816 --- /dev/null +++ b/tmw3/template/ucp_groups_manage.html @@ -0,0 +1,253 @@ +<!-- INCLUDE ucp_header.html --> + +<!-- IF S_EDIT --> + + <!-- IF S_ERROR --> + <div class="errorbox"> + <h3>{L_WARNING}</h3> + <p>{ERROR_MSG}</p> + </div> + <!-- ENDIF --> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th colspan="2">{L_USERGROUPS}</th> + </tr> + <tr> + <td class="row1" colspan="2"><span class="genmed">{L_GROUPS_EXPLAIN}</span></td> + </tr> + + <tr> + <th colspan="2">{L_GROUP_DETAILS}</th> + </tr> + <tr> + <td class="row1" width="35%"><label<!-- IF not S_SPECIAL_GROUP --> for="group_name"<!-- ENDIF -->>{L_GROUP_NAME}:</label></td> + <td class="row2"><!-- IF S_SPECIAL_GROUP --><b<!-- IF GROUP_COLOUR --> style="color: #{GROUP_COLOUR};"<!-- ENDIF -->>{GROUP_NAME}</b><!-- ENDIF --><input name="group_name" type="<!-- IF S_SPECIAL_GROUP -->hidden<!-- ELSE -->text<!-- ENDIF -->" id="group_name" value="{GROUP_INTERNAL_NAME}" /></td> + </tr> + <tr> + <td class="row1" width="35%"><label for="group_desc">{L_GROUP_DESC}:</label></td> + <td class="row2"><textarea id="group_desc" name="group_desc" rows="5" cols="45">{GROUP_DESC}</textarea> + <br /><input type="checkbox" class="radio" name="desc_parse_bbcode"<!-- IF S_DESC_BBCODE_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_BBCODE} <input type="checkbox" class="radio" name="desc_parse_smilies"<!-- IF S_DESC_SMILIES_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_SMILIES} <input type="checkbox" class="radio" name="desc_parse_urls"<!-- IF S_DESC_URLS_CHECKED --> checked="checked"<!-- ENDIF --> /> {L_PARSE_URLS} + </td> + </tr> + <!-- IF not S_SPECIAL_GROUP --> + <tr> + <td class="row1" width="35%"><label for="group_type">{L_GROUP_TYPE}:</label><br /><span>{L_GROUP_TYPE_EXPLAIN}</span></td> + <td class="row2"> + <input name="group_type" type="radio" class="radio" id="group_type" value="{GROUP_TYPE_FREE}"{GROUP_FREE} /> {L_GROUP_OPEN} + <input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_OPEN}"{GROUP_OPEN} /> {L_GROUP_REQUEST} + <input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_CLOSED}"{GROUP_CLOSED} /> {L_GROUP_CLOSED} + <input name="group_type" type="radio" class="radio" value="{GROUP_TYPE_HIDDEN}"{GROUP_HIDDEN} /> {L_GROUP_HIDDEN} + </td> + </tr> + <!-- ELSE --> + <tr style="display:none;"><td><input name="group_type" type="hidden" value="{GROUP_TYPE_SPECIAL}" /></td></tr> + <!-- ENDIF --> + + <tr> + <th colspan="2">{L_GROUP_SETTINGS_SAVE}</th> + </tr> + <tr> + <td class="row1" width="35%"><label for="group_colour">{L_GROUP_COLOR}:</label><br /><span>{L_GROUP_COLOR_EXPLAIN}</span></td> + <td class="row2"><input name="group_colour" type="text" id="group_colour" value="{GROUP_COLOUR}" size="6" maxlength="6" /> <span>[ <a href="{U_SWATCH}" onclick="popup(this.href, 636, 150, '_swatch'); return false;">{L_COLOUR_SWATCH}</a> ]</span></td> + </tr> + <tr> + <td class="row1" width="35%"><label for="group_rank">{L_GROUP_RANK}:</label></td> + <td class="row2"><select name="group_rank" id="group_rank">{S_RANK_OPTIONS}</select></td> + </tr> + <tr> + <th colspan="2">{L_GROUP_AVATAR}</th> + </tr> + <tr> + <td class="row1" width="35%"><label>{L_CURRENT_IMAGE}:</label><br /><span>{L_AVATAR_EXPLAIN}</span></td> + <td class="row2">{AVATAR_IMAGE}<br /><br /><input type="checkbox" class="radio" name="delete" /> <span>{L_DELETE_AVATAR}</span></td> + </tr> + <!-- IF not S_IN_AVATAR_GALLERY --> + <!-- IF S_CAN_UPLOAD --> + <tr> + <td class="row1" width="35%"><label for="uploadfile">{L_UPLOAD_AVATAR_FILE}:</label></td> + <td class="row2"><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_MAX_FILESIZE}" /><input type="file" id="uploadfile" name="uploadfile" /></td> + </tr> + <tr> + <td class="row1" width="35%"><label for="uploadurl">{L_UPLOAD_AVATAR_URL}:</label><br /><span>{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td> + <td class="row2"><input name="uploadurl" type="text" id="uploadurl" value="" /></td> + </tr> + <!-- ENDIF --> + <tr> + <td class="row1" width="35%"><label for="remotelink">{L_LINK_REMOTE_AVATAR}:</label><br /><span>{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td> + <td class="row2"><input name="remotelink" type="text" id="remotelink" value="" /></td> + </tr> + <tr> + <td class="row1" width="35%"><label for="width">{L_LINK_REMOTE_SIZE}:</label><br /><span>{L_LINK_REMOTE_SIZE_EXPLAIN}</span></td> + <td class="row2"><input name="width" type="text" id="width" size="3" value="{AVATAR_WIDTH}" /> <span>px X </span> <input type="text" name="height" size="3" value="{AVATAR_HEIGHT}" /> <span>px</span></td> + </tr> + <!-- IF S_DISPLAY_GALLERY --> + <tr> + <td class="row1" width="35%"><label>{L_AVATAR_GALLERY}:</label></td> + <td class="row2"><input class="btnmain" type="submit" name="display_gallery" value="{L_DISPLAY_GALLERY}" /></td> + </tr> + <!-- ENDIF --> + <!-- ELSE --> + + <tr> + <th colspan="2">{L_AVATAR_GALLERY}</th> + </tr> + <tr> + <td class="row1" width="35%"><label for="category">{L_AVATAR_CATEGORY}:</label></td> + <td class="row2"><select name="category" id="category">{S_CAT_OPTIONS}</select> <input class="btnmain" type="submit" value="{L_GO}" name="display_gallery" /></td> + </tr> + <tr> + <td class="row1" width="35%"> + <table cellspacing="1"> + <!-- BEGIN avatar_row --> + <tr> + <!-- BEGIN avatar_column --> + <td class="row1" style="text-align: center;"><img src="{avatar_row.avatar_column.AVATAR_IMAGE}" alt="{avatar_row.avatar_column.AVATAR_NAME}" title="{avatar_row.avatar_column.AVATAR_NAME}" /></td> + <!-- END avatar_column --> + </tr> + <tr> + <!-- BEGIN avatar_option_column --> + <td class="row2" style="text-align: center;"><input type="radio" class="radio" name="avatar_select" value="{avatar_row.avatar_option_column.S_OPTIONS_AVATAR}" /></td> + <!-- END avatar_option_column --> + </tr> + <!-- END avatar_row --> + </table> + </td> + <td class="row2"><input class="btnmain" type="submit" name="cancel" value="{L_CANCEL}" /></td> + </tr> + + <!-- ENDIF --> + + <tr> + <td class="cat" colspan="2" align="center"><input class="btnlite" type="submit" id="submit" name="update" value="{L_SUBMIT}" /> + <input class="btnmain" type="reset" id="reset" name="reset" value="{L_RESET}" /></td> + </tr> + </table> + +<!-- ELSEIF S_LIST --> + + <h1>{L_GROUP_MEMBERS}</h1> + + <p>{L_GROUP_MEMBERS_EXPLAIN}</p> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th>{L_USERNAME}</th> + <th>{L_GROUP_DEFAULT}</th> + <th>{L_JOINED}</th> + <th>{L_POSTS}</th> + <th>{L_MARK}</th> + </tr> + + <tr> + <td class="row3" colspan="5"><b>{L_GROUP_LEAD}</b></td> + </tr> + <!-- BEGIN leader --> + <!-- IF leader.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td>{leader.USERNAME_FULL}</td> + <td style="text-align: center;"><!-- IF leader.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td> + <td style="text-align: center;">{leader.JOINED}</td> + <td style="text-align: center;">{leader.USER_POSTS}</td> + <td style="text-align: center;"></td> + </tr> + <!-- END leader --> + + <!-- BEGIN member --> + <!-- IF member.S_PENDING --> + <tr> + <td class="row3" colspan="5"><b>{L_GROUP_PENDING}</b></td> + </tr> + <!-- ELSEIF member.S_APPROVED --> + <tr> + <td class="row3" colspan="5"><b>{L_GROUP_APPROVED}</b></td> + </tr> + <!-- ELSE --> + <!-- IF member.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td>{member.USERNAME_FULL}</td> + <td style="text-align: center;"><!-- IF member.S_GROUP_DEFAULT -->{L_YES}<!-- ELSE -->{L_NO}<!-- ENDIF --></td> + <td style="text-align: center;">{member.JOINED}</td> + <td style="text-align: center;">{member.USER_POSTS}</td> + <td style="text-align: center;"><input type="checkbox" class="radio" name="mark[]" value="{member.USER_ID}" /></td> + </tr> + <!-- ENDIF --> + <!-- BEGINELSE --> + <tr> + <td class="row1" colspan="5" style="text-align: center;">{L_GROUPS_NO_MEMBERS}</td> + </tr> + <!-- END member --> + <tr> + <td class="cat" colspan="5" align="center"><div style="float: {S_CONTENT_FLOW_END};"><span class="small"><a href="#" onclick="marklist('ucp', 'mark', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('ucp', 'mark', false); return false;">{L_UNMARK_ALL}</a></span></div><div style="float: {S_CONTENT_FLOW_BEGIN};"><select name="action"><option class="sep" value="">{L_SELECT_OPTION}</option>{S_ACTION_OPTIONS}</select> <input class="btnmain" type="submit" name="update" value="{L_SUBMIT}" /></div></td> + </tr> + </table> + + <div class="pagination" style="float: {S_CONTENT_FLOW_BEGIN};"> + <!-- IF PAGINATION --> + <!-- INCLUDE pagination.html --> + <!-- ELSE --> + {S_ON_PAGE} + <!-- ENDIF --> + </div> + + <br /> + <br /> + + <h1>{L_ADD_USERS}</h1> + + <p>{L_ADD_USERS_EXPLAIN}</p> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th colspan="2">{L_ADD_USERS}</th> + </tr> + <tr> + <td class="row1"><label for="default">{L_USER_GROUP_DEFAULT}:</label><br /><span>{L_USER_GROUP_DEFAULT_EXPLAIN}</span></td> + <td class="row2"><input name="default" type="radio" class="radio" value="1" /> {L_YES} <input name="default" type="radio" class="radio" id="default" value="0" checked="checked" /> {L_NO}</td> + </tr> + <tr> + <td class="row1"><label for="usernames">{L_USERNAME}:</label><br /><span>{L_USERNAMES_EXPLAIN}</span></td> + <td class="row2"><textarea id="usernames" name="usernames" cols="40" rows="5"></textarea><br />[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</td> + </tr> + <tr> + <td class="cat" colspan="2" align="center"><input class="btnmain" type="submit" name="addusers" value="{L_SUBMIT}" /></td> + </tr> + </table> + +<!-- ELSE --> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th colspan="3">{L_USERGROUPS}</th> + </tr> + <tr> + <td class="row1" colspan="3"><span class="genmed">{L_GROUPS_EXPLAIN}</span></td> + </tr> + + <tr> + <th>{L_GROUP_DETAILS}</th> + <th colspan="2">{L_OPTIONS}</th> + </tr> + <tr> + <td class="row3" colspan="3"><b class="gensmall">{L_GROUP_LEADER}</b></td> + </tr> + <!-- BEGIN leader --> + <!-- IF leader.S_ROW_COUNT is odd --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + + <td><b class="genmed"<!-- IF leader.GROUP_COLOUR --> style="color: #{leader.GROUP_COLOUR};"<!-- ENDIF -->>{leader.GROUP_NAME}</b><!-- IF leader.GROUP_DESC --><p class="forumdesc">{leader.GROUP_DESC}</p><!-- ENDIF --></td> + <td style="text-align: center;"><a href="{leader.U_EDIT}">{L_EDIT}</a></td> + <td style="text-align: center;"><a href="{leader.U_LIST}">{L_GROUP_LIST}</a></td> + + </tr> + <!-- BEGINELSE --> + <tr> + <td class="row2" align="center" colspan="3"><b class="genmed">{L_NO_LEADERS}</b></td> + </tr> + <!-- END leader --> + + <tr> + <td class="cat" align="{S_CONTENT_FLOW_END}" colspan="3"> </td> + </tr> + </table> + +<!-- ENDIF --> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_groups_membership.html b/tmw3/template/ucp_groups_membership.html new file mode 100644 index 0000000..b92dabc --- /dev/null +++ b/tmw3/template/ucp_groups_membership.html @@ -0,0 +1,93 @@ +<!-- INCLUDE ucp_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="3">{L_USERGROUPS}</th> +</tr> +<tr> + <td class="row1" colspan="3"><span class="genmed">{L_GROUPS_EXPLAIN}</span></td> +</tr> + +<tr> + <th colspan="2">{L_GROUP_DETAILS}</th> + <th>{L_SELECT}</th> +</tr> + +<!-- BEGIN leader --> + <!-- IF leader.S_FIRST_ROW --> + <tr> + <td class="row3" colspan="3"><b class="gensmall">{L_GROUP_LEADER}</b></td> + </tr> + <!-- ENDIF --> + + <!-- IF leader.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td width="6%" align="center" nowrap="nowrap"><!-- IF S_CHANGE_DEFAULT --><input type="radio" class="radio" name="default"<!-- IF leader.S_GROUP_DEFAULT --> checked="checked"<!-- ENDIF --> value="{leader.GROUP_ID}" /><!-- ENDIF --></td> + <td> + <b class="genmed"><a href="{leader.U_VIEW_GROUP}"<!-- IF leader.GROUP_COLOUR --> style="color: #{leader.GROUP_COLOUR};"<!-- ENDIF -->>{leader.GROUP_NAME}</a></b> + <!-- IF leader.GROUP_DESC --><br /><span class="genmed">{leader.GROUP_DESC}</span><!-- ENDIF --> + <!-- IF not leader.GROUP_SPECIAL --><br /><i class="gensmall">{leader.GROUP_STATUS}</i><!-- ENDIF --> + </td> + <td width="6%" align="center" nowrap="nowrap"><!-- IF not leader.GROUP_SPECIAL --><input type="radio" class="radio" name="selected" value="{leader.GROUP_ID}" /><!-- ENDIF --></td> + </tr> +<!-- END leader --> + +<!-- BEGIN member --> + <!-- IF member.S_FIRST_ROW --> + <tr> + <td class="row3" colspan="3"><b class="gensmall">{L_GROUP_MEMBER}</b></td> + </tr> + <!-- ENDIF --> + + <!-- IF member.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td width="6%" align="center" nowrap="nowrap"><!-- IF S_CHANGE_DEFAULT --><input type="radio" class="radio" name="default"<!-- IF member.S_GROUP_DEFAULT --> checked="checked"<!-- ENDIF --> value="{member.GROUP_ID}" /><!-- ENDIF --></td> + <td> + <b class="genmed"><a href="{member.U_VIEW_GROUP}"<!-- IF member.GROUP_COLOUR --> style="color: #{member.GROUP_COLOUR};"<!-- ENDIF -->>{member.GROUP_NAME}</a></b> + <!-- IF member.GROUP_DESC --><br /><span class="genmed">{member.GROUP_DESC}</span><!-- ENDIF --> + <!-- IF not member.GROUP_SPECIAL --><br /><i class="gensmall">{member.GROUP_STATUS}</i><!-- ENDIF --> + </td> + <td width="6%" align="center" nowrap="nowrap"><!-- IF not member.GROUP_SPECIAL --><input type="radio" class="radio" name="selected" value="{member.GROUP_ID}" /><!-- ENDIF --></td> + </tr> +<!-- END member --> + +<!-- BEGIN pending --> + <!-- IF pending.S_FIRST_ROW --> + <tr> + <td class="row3" colspan="3"><b class="gensmall">{L_GROUP_PENDING}</b></td> + </tr> + <!-- ENDIF --> + + <!-- IF pending.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td width="6%" align="center" nowrap="nowrap"> </td> + <td> + <b class="genmed"><a href="{pending.U_VIEW_GROUP}"<!-- IF pending.GROUP_COLOUR --> style="color: #{pending.GROUP_COLOUR};"<!-- ENDIF -->>{pending.GROUP_NAME}</a></b> + <!-- IF pending.GROUP_DESC --><br /><span class="genmed">{pending.GROUP_DESC}</span><!-- ENDIF --> + <!-- IF not pending.GROUP_SPECIAL --><br /><i class="gensmall">{pending.GROUP_STATUS}</i><!-- ENDIF --> + </td> + <td width="6%" align="center" nowrap="nowrap"><!-- IF not pending.GROUP_SPECIAL --><input type="radio" class="radio" name="selected" value="{pending.GROUP_ID}" /><!-- ENDIF --></td> + </tr> +<!-- END pending --> + +<!-- BEGIN nonmember --> + <!-- IF nonmember.S_FIRST_ROW --> + <tr> + <td class="row3" colspan="3"><b class="gensmall">{L_GROUP_NONMEMBER}</b></td> + </tr> + <!-- ENDIF --> + + <!-- IF nonmember.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td width="6%" align="center" nowrap="nowrap"> </td> + <td> + <b class="genmed"><a href="{nonmember.U_VIEW_GROUP}"<!-- IF nonmember.GROUP_COLOUR --> style="color: #{nonmember.GROUP_COLOUR};"<!-- ENDIF -->>{nonmember.GROUP_NAME}</a></b> + <!-- IF nonmember.GROUP_DESC --><br /><span class="genmed">{nonmember.GROUP_DESC}</span><!-- ENDIF --> + <!-- IF not nonmember.GROUP_SPECIAL --><br /><i class="gensmall">{nonmember.GROUP_STATUS}</i><!-- ENDIF --> + </td> + <td width="6%" align="center" nowrap="nowrap"><!-- IF nonmember.S_CAN_JOIN --><input type="radio" class="radio" name="selected" value="{nonmember.GROUP_ID}" /><!-- ENDIF --></td> + </tr> +<!-- END nonmember --> + +<tr> + <td class="cat" colspan="3"><!-- IF S_CHANGE_DEFAULT --><div style="float: {S_CONTENT_FLOW_BEGIN};"><input class="btnlite" type="submit" name="change_default" value="{L_CHANGE_DEFAULT_GROUP}" /></div><!-- ENDIF --><div style="float: {S_CONTENT_FLOW_END};"><span class="genmed">{L_SELECT}: </span><select name="action"><option value="join">{L_JOIN_SELECTED}</option><option value="resign">{L_RESIGN_SELECTED}</option><option value="demote">{L_DEMOTE_SELECTED}</option></select> <input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" /> </div></td> +</tr> +</table> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_header.html b/tmw3/template/ucp_header.html new file mode 100644 index 0000000..d330918 --- /dev/null +++ b/tmw3/template/ucp_header.html @@ -0,0 +1,163 @@ +<!-- INCLUDE overall_header.html --> + + +<!-- IF S_SHOW_PM_BOX and S_POST_ACTION --> + <form action="{S_POST_ACTION}" method="post" name="postform"{S_FORM_ENCTYPE}> +<!-- ENDIF --> +<table width="100%" cellspacing="0" cellpadding="0" border="0"> +<tr> + <td width="20%" valign="top"> + +<!-- IF S_SHOW_PM_BOX and S_POST_ACTION --> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th>{L_PM_TO}</th> + </tr> + <!-- IF not S_ALLOW_MASS_PM --> + <tr> + <td class="row1"><b class="genmed">{L_USERNAME}:</b><br />[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</td> + </tr> + + <tr> + <td class="row2"><input class="post" type="text" name="username_list" size="20" value="" /> <input class="post" type="submit" name="add_to" value="{L_ADD}" /></td> + </tr> + <!-- ELSE --> + <tr> + <td class="row1"><b class="genmed">{L_USERNAMES}:</b></td> + </tr> + <tr> + <td class="row2"><textarea name="username_list" rows="5" cols="22"></textarea><br /> + [ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ] + </td> + </tr> + <!-- ENDIF --> + <!-- IF S_GROUP_OPTIONS --> + <tr> + <td class="row1"><b class="genmed">{L_USERGROUPS}:</b></td> + </tr> + <tr> + <td class="row2"><select name="group_list[]" multiple="true" size="5" style="width:150px">{S_GROUP_OPTIONS}</select></td> + </tr> + <!-- ENDIF --> + <!-- IF S_ALLOW_MASS_PM --> + <tr> + <td class="row1"><div style="float: {S_CONTENT_FLOW_BEGIN};"> <input class="post" type="submit" name="add_bcc" value="{L_ADD_BCC}" /> </div><div style="float: {S_CONTENT_FLOW_END};"> <input class="post" type="submit" name="add_to" value="{L_ADD_TO}" /> </div></td> + </tr> + <!-- ENDIF --> + </table> + <div style="padding: 2px;"></div> +<!-- ENDIF --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th>{L_OPTIONS}</th> +</tr> + +<!-- BEGIN l_block1 --> + <tr> + <!-- IF l_block1.S_SELECTED --> + <td class="row1"><b class="nav">{l_block1.L_TITLE}</b> + + <!-- IF S_PRIVMSGS --> + + <!-- the ! at the beginning of the loop name forces the loop to be not a nested one of l_block1 (it gets parsed separately) --> + <!-- BEGIN !folder --> + <!-- IF folder.S_FIRST_ROW --> + <ul class="nav" style="margin: 0; padding: 0; list-style-type: none; line-height: 175%;"> + <!-- ENDIF --> + + <!-- IF folder.S_CUR_FOLDER --> + <li class="row2" style="padding: 1px 0;">» <a href="{folder.U_FOLDER}">{folder.FOLDER_NAME}<!-- IF folder.S_UNREAD_MESSAGES --> ({folder.UNREAD_MESSAGES})<!-- ENDIF --></a></li> + <!-- ELSE --> + <li>» <a href="{folder.U_FOLDER}">{folder.FOLDER_NAME}<!-- IF folder.S_UNREAD_MESSAGES --> ({folder.UNREAD_MESSAGES})<!-- ENDIF --></a></li> + <!-- ENDIF --> + + <!-- IF folder.S_LAST_ROW --> + </ul> + <hr /> + <!-- ENDIF --> + <!-- END !folder --> + + <!-- ENDIF --> + + <ul class="nav" style="margin: 0; padding: 0; list-style-type: none; line-height: 175%;"> + <!-- BEGIN l_block2 --> + <li>» <!-- IF l_block1.l_block2.S_SELECTED --><b>{l_block1.l_block2.L_TITLE}</b><!-- ELSE --><a href="{l_block1.l_block2.U_TITLE}">{l_block1.l_block2.L_TITLE}</a><!-- ENDIF --></li> + <!-- END l_block2 --> + </ul> + <!-- ELSE --> + <td class="row2" nowrap="nowrap" onmouseover="this.className='row1'" onmouseout="this.className='row2'" onclick="location.href=this.firstChild.href;"><a class="nav" href="{l_block1.U_TITLE}">{l_block1.L_TITLE}</a> + <!-- ENDIF --> + </td> + </tr> +<!-- END l_block1 --> +</table> + +<div style="padding: 2px;"></div> + +<!-- IF S_SHOW_COLOUR_LEGEND --> + <table class="tablebg" width="100%" cellspacing="1" cellpadding="0"> + <tr> + <th colspan="2">{L_MESSAGE_COLOURS}</th> + </tr> + <!-- BEGIN pm_colour_info --> + <tr> + <!-- IF not pm_colour_info.IMG --> + <td class="row1 {pm_colour_info.CLASS}" width="5"><img src="images/spacer.gif" width="5" alt="{pm_colour_info.LANG}" /></td> + <!-- ELSE --> + <td class="row1" width="25" align="center">{pm_colour_info.IMG}</td> + <!-- ENDIF --> + <td class="row1"><span class="genmed">{pm_colour_info.LANG}</span></td> + </tr> + <!-- END pm_colour_info --> + </table> + + <div style="padding: 2px;"></div> +<!-- ENDIF --> + +<!-- IF S_ZEBRA_ENABLED and S_ZEBRA_FRIENDS_ENABLED --> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th>{L_FRIENDS}</th> + </tr> + <tr> + <td class="row1" align="center"> + + <b class="genmed" style="color:green">{L_FRIENDS_ONLINE}</b> + + <ul class="nav" style="margin: 0; padding: 0; list-style-type: none; line-height: 175%;"> + <!-- BEGIN friends_online --> + <li>{friends_online.USERNAME_FULL} + <!-- IF S_SHOW_PM_BOX --> + [ <input class="post" style="font-size: 90%;" type="submit" name="add_to[{friends_online.USER_ID}]" value="{L_ADD}" /> ] + <!-- ENDIF --> + </li> + <!-- BEGINELSE --> + <li>{L_NO_FRIENDS_ONLINE}</li> + <!-- END friends_online --> + </ul> + + <hr /> + + <b class="genmed" style="color:red">{L_FRIENDS_OFFLINE}</b> + + <ul class="nav" style="margin: 0; padding: 0; list-style-type: none; line-height: 175%;"> + <!-- BEGIN friends_offline --> + <li>{friends_offline.USERNAME_FULL} + <!-- IF S_SHOW_PM_BOX --> + [ <input class="post" style="font-size: 90%;" type="submit" name="add_to[{friends_offline.USER_ID}]" value="{L_ADD}" /> ] + <!-- ENDIF --> + </li> + <!-- BEGINELSE --> + <li>{L_NO_FRIENDS_OFFLINE}</li> + <!-- END friends_offline --> + </ul> + + </td> + </tr> + </table> +<!-- ENDIF --> + +</td> +<td><img src="images/spacer.gif" width="4" alt="" /></td> +<td width="80%" valign="top"><!-- IF not S_PRIVMSGS or S_SHOW_DRAFTS --><form name="ucp" id="ucp" method="post" action="{S_UCP_ACTION}"{S_FORM_ENCTYPE}><!-- ENDIF --> diff --git a/tmw3/template/ucp_main_bookmarks.html b/tmw3/template/ucp_main_bookmarks.html new file mode 100644 index 0000000..191e25c --- /dev/null +++ b/tmw3/template/ucp_main_bookmarks.html @@ -0,0 +1,77 @@ +<!-- INCLUDE ucp_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="4">{L_UCP}</th> +</tr> +<tr> + <td class="row1" colspan="4" align="center"><span class="genmed">{L_BOOKMARKS_EXPLAIN}</span></td> +</tr> +<!-- IF .topicrow --> +<tr> + <th colspan="4">{L_BOOKMARKS}</th> +</tr> +<!-- ENDIF --> + +<!-- IF S_NO_DISPLAY_BOOKMARKS --> + <tr class="row1"> + <td colspan="4" align="center"><b class="genmed">{L_BOOKMARKS_DISABLED}</b></td> + </tr> +<!-- ELSE --> + + <!-- IF TOTAL_TOPICS --> + <tr> + <td class="row3" colspan="4"> + <table width="100%" cellspacing="1"> + <tr> + <td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td> + <td class="gensmall" nowrap="nowrap"> [ {TOTAL_TOPICS} ] </td> + <td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td> + </tr> + </table> + </td> + </tr> + <!-- ENDIF --> + + <!-- BEGIN topicrow --> + + <!-- IF topicrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td style="padding: 4px;" width="20" align="center" valign="middle">{topicrow.TOPIC_FOLDER_IMG}</td> + <!-- IF topicrow.S_DELETED_TOPIC --> + <td class="postdetails" style="padding: 4px" width="100%" colspan="2">{L_DELETED_TOPIC}</td> + <!-- ELSE --> + <td style="padding: 4px;" width="100%" valign="top"> + <p class="topictitle"><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->{topicrow.ATTACH_ICON_IMG} <a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></p> + <!-- IF topicrow.S_GLOBAL_TOPIC --><span class="gensmall">{L_GLOBAL_ANNOUNCEMENT}</span><!-- ELSE --><span class="gensmall"><b>{L_FORUM}: </b><a href="{topicrow.U_VIEW_FORUM}">{topicrow.FORUM_NAME}</a></span><!-- ENDIF --> + <!-- IF topicrow.PAGINATION --> + <p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p> + <!-- ENDIF --> + </td> + <td style="padding: 4px;" align="{S_CONTENT_FLOW_BEGIN}" valign="top" nowrap="nowrap"> + <p class="topicdetails">{topicrow.LAST_POST_TIME}</p> + <p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL} + <a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> + </p> + </td> + <!-- ENDIF --> + <td style="padding: 4px;"> <input type="checkbox" class="radio" name="t[{topicrow.TOPIC_ID}]" /> </td> + </tr> + <!-- BEGINELSE --> + <tr class="row1"> + <td colspan="4" align="center"><b class="genmed">{L_NO_BOOKMARKS}</b></td> + </tr> + <!-- END topicrow --> + + <!-- IF .topicrow --> + <tr> + <td class="cat" colspan="5" align="{S_CONTENT_FLOW_END}"><input class="btnlite" type="submit" name="unbookmark" value="{L_REMOVE_BOOKMARK_MARKED}" /> </td> + </tr> + <!-- ENDIF --> + <!-- ENDIF --> +</table> + +<!-- IF not S_NO_DISPLAY_BOOKMARKS and .topicrow --> + <div class="gensmall" style="float: {S_CONTENT_FLOW_END}; padding-top: 2px;"><b><a href="#" onclick="marklist('ucp', 't', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('ucp', 't', false); return false;">{L_UNMARK_ALL}</a></b></div> +<!-- ENDIF --> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_main_drafts.html b/tmw3/template/ucp_main_drafts.html new file mode 100644 index 0000000..14ae52b --- /dev/null +++ b/tmw3/template/ucp_main_drafts.html @@ -0,0 +1,101 @@ +<!-- INCLUDE ucp_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="4">{L_UCP}</th> +</tr> +<tr> + <td class="row1" colspan="4" align="center"><span class="genmed">{L_DRAFTS_EXPLAIN}</span></td> +</tr> + +<!-- IF ERROR --> + <tr> + <td class="row1" colspan="2" align="center"><span class="genmed error">{ERROR}</span></td> + </tr> +<!-- ENDIF --> + +<!-- IF not S_EDIT_DRAFT --> + + <!-- IF S_DRAFT_ROWS --> + <tr> + <th>{L_SAVE_DATE}</th> + <th>{L_DRAFT_TITLE}</th> + <th>{L_OPTIONS}</th> + <th>{L_DELETE}</th> + </tr> + <!-- ENDIF --> + + <!-- BEGIN draftrow --> + + <!-- IF draftrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + + <td class="postdetails" style="padding: 4px;" nowrap="nowrap">{draftrow.DATE}</td> + <td style="padding: 4px;" valign="top" width="100%"> + <p class="topictitle">{draftrow.DRAFT_SUBJECT}</p> + <!-- IF draftrow.S_LINK_TOPIC --><span class="gensmall">{L_TOPIC}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a></span> + <!-- ELSEIF draftrow.S_LINK_FORUM --><span class="gensmall">{L_FORUM}: <a href="{draftrow.U_VIEW}">{draftrow.TITLE}</a></span> + <!-- ELSEIF draftrow.S_LINK_PM --><span class="gensmall">{L_PRIVATE_MESSAGE}</span> + <!-- ELSE --><span class="gensmall">{L_NO_TOPIC_FORUM}</span><!-- ENDIF --> + </td> + <td style="padding: 4px;" align="center" nowrap="nowrap"><span class="genmed"><!-- IF draftrow.U_INSERT --><a href="{draftrow.U_INSERT}">{L_LOAD_DRAFT}</a><br /><!-- ENDIF --><a href="{draftrow.U_VIEW_EDIT}">{L_VIEW_EDIT}</a></span></td> + <td style="padding: 4px;" align="center"><input type="checkbox" class="radio" name="d[{draftrow.DRAFT_ID}]" /></td> + </tr> + <!-- BEGINELSE --> + <tr> + <td class="row1" colspan="4" align="center"><b class="genmed">{L_NO_SAVED_DRAFTS}</b></td> + </tr> + <!-- END draftrow --> + + <!-- IF S_DRAFT_ROWS --> + <tr> + <td class="cat" colspan="4" align="{S_CONTENT_FLOW_END}"><input class="btnlite" type="submit" name="delete" value="{L_DELETE_MARKED}" /> </td> + </tr> + <!-- ENDIF --> + +<!-- ELSEIF S_EDIT_DRAFT --> + <tr> + <td class="row1" width="22%"><b class="genmed">{L_SUBJECT}:</b></td> + <td class="row2"><input class="post" style="width:450px" type="text" name="subject" size="45" maxlength="64" tabindex="2" value="{DRAFT_SUBJECT}" /></td> + </tr> + <tr> + <td class="row1" width="22%"><b class="genmed">{L_MESSAGE}: </b><br /><span class="gensmall">{L_EDIT_DRAFT_EXPLAIN}</span></td> + <td class="row2"> + <script type="text/javascript"> + // <![CDATA[ + var form_name = 'ucp'; + var text_name = 'message'; + // ]]> + </script> + <table cellspacing="0" cellpadding="2" border="0"> + <!-- INCLUDE posting_buttons.html --> + <tr> + <td colspan="9"><textarea class="post" name="message" rows="10" cols="70" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{DRAFT_MESSAGE}</textarea></td> + </tr> + <tr> + <td colspan="9"> + <table cellspacing="0" cellpadding="0" border="0" width="100%"> + <tr> + <td align="{S_CONTENT_FLOW_BEGIN}"> + <script type="text/javascript"> + // <![CDATA[ + colorPalette('h', 6, 5) + // ]]> + </script> + </td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> + <tr class="row1"> + <td colspan="9" align="{S_CONTENT_FLOW_BEGIN}"><p class="topictitle"><a href="{S_UCP_ACTION}">{L_BACK_TO_DRAFTS}</a></p></td> + </tr> + <tr> + <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" name="reset" /></td> + </tr> +<!-- ENDIF --> +</table> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_main_front.html b/tmw3/template/ucp_main_front.html new file mode 100644 index 0000000..4dbe235 --- /dev/null +++ b/tmw3/template/ucp_main_front.html @@ -0,0 +1,72 @@ +<!-- INCLUDE ucp_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="3">{L_UCP}</th> +</tr> +<tr> + <td class="row1" colspan="3" align="center"><p class="genmed">{L_UCP_WELCOME}</p></td> +</tr> +<tr> + <th colspan="3">{L_IMPORTANT_NEWS}</th> +</tr> + +<!-- BEGIN topicrow --> + + <!-- IF topicrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td> + <td class="row1" width="100%"> + <p class="topictitle"><!-- IF topicrow.S_UNREAD --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->{topicrow.ATTACH_ICON_IMG} <a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></p><p class="gensmall">{topicrow.GOTO_PAGE}</p> + </td> + <td class="row1" width="120" align="center" nowrap="nowrap"> + <p class="topicdetails">{topicrow.LAST_POST_TIME}</p> + <p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL} + <a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> + </p> + </td> + </tr> +<!-- BEGINELSE --> + <tr class="row1"> + <td align="center" colspan="3"><b class="gen">{L_NO_IMPORTANT_NEWS}</b></td> + </tr> +<!-- END topicrow --> + +<tr> + <th colspan="3">{L_YOUR_DETAILS}</th> +</tr> +<tr> + <td class="row1" colspan="3"> + <table width="100%" cellspacing="1" cellpadding="4"> + <tr> + <td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><b class="genmed">{L_JOINED}: </b></td> + <td width="100%"><b class="gen">{JOINED}</b></td> + </tr> + <tr> + <td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><b class="genmed">{L_TOTAL_POSTS}: </b></td> + <td><!-- IF POSTS_PCT --><b class="gen">{POSTS}</b><br /><span class="genmed">[{POSTS_PCT} / {POSTS_DAY}]<br /><a href="{U_SEARCH_SELF}">{L_SEARCH_YOUR_POSTS}</a></span><!-- ELSE --><b class="gen">{POSTS}<b><!-- ENDIF --></td> + </tr> + <!-- IF S_SHOW_ACTIVITY --> + <tr> + <td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><b class="genmed">{L_ACTIVE_IN_FORUM}: </b></td> + <td><!-- IF ACTIVE_FORUM --><b><a class="gen" href="{U_ACTIVE_FORUM}">{ACTIVE_FORUM}</a></b><br /><span class="genmed">[ {ACTIVE_FORUM_POSTS} / {ACTIVE_FORUM_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td> + </tr> + <tr> + <td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><b class="genmed">{L_ACTIVE_IN_TOPIC}: </b></td> + <td><!-- IF ACTIVE_TOPIC --><b><a class="gen" href="{U_ACTIVE_TOPIC}">{ACTIVE_TOPIC}</a></b><br /><span class="genmed">[ {ACTIVE_TOPIC_POSTS} / {ACTIVE_TOPIC_PCT} ]</span><!-- ELSE --><span class="gen">-</span><!-- ENDIF --></td> + </tr> + <!-- ENDIF --> + <!-- IF WARNINGS --> + <tr> + <td align="{S_CONTENT_FLOW_END}" valign="middle" nowrap="nowrap"><b class="genmed">{L_YOUR_WARNINGS}: </b></td> + <td class="genmed">{WARNING_IMG} [ <b>{WARNINGS}</b> ]</td> + </tr> + <!-- ENDIF --> + </table> + </td> +</tr> +<tr> + <td class="cat" colspan="3"> </td> +</tr> +</table> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_main_subscribed.html b/tmw3/template/ucp_main_subscribed.html new file mode 100644 index 0000000..9335d01 --- /dev/null +++ b/tmw3/template/ucp_main_subscribed.html @@ -0,0 +1,84 @@ +<!-- INCLUDE ucp_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="4">{L_UCP}</th> +</tr> +<tr> + <td class="row1" colspan="4" align="center"><span class="genmed">{L_WATCHED_EXPLAIN}</span></td> +</tr> +<!-- IF S_FORUM_NOTIFY --> + <tr> + <th colspan="4">{L_WATCHED_FORUMS}</th> + </tr> + + <!-- BEGIN forumrow --> + + <!-- IF forumrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td style="padding: 4px;" width="20" align="center" valign="middle">{forumrow.FORUM_FOLDER_IMG}</td> + <td style="padding: 4px;" width="100%"><p class="topictitle"><a href="{forumrow.U_VIEWFORUM}">{forumrow.FORUM_NAME}</a></p></td> + <td class="gensmall" style="padding: 4px;" align="center" valign="middle" nowrap="nowrap"><!-- IF forumrow.LAST_POST_TIME -->{forumrow.LAST_POST_TIME}<br />{forumrow.LAST_POST_AUTHOR_FULL} <a href="{forumrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ELSE -->{L_NO_POSTS}<!-- ENDIF --></td> + <td style="padding: 4px;"> <input type="checkbox" class="radio" name="f[{forumrow.FORUM_ID}]" /> </td> + </tr> + <!-- BEGINELSE --> + <tr class="row1"> + <td colspan="4" align="center"><b class="genmed">{L_NO_WATCHED_FORUMS}</b></td> + </tr> + <!-- END forumrow --> +<!-- ENDIF --> +<!-- IF S_TOPIC_NOTIFY --> + <tr> + <th colspan="4">{L_WATCHED_TOPICS}</th> + </tr> + + <!-- IF TOTAL_TOPICS --> + <tr> + <td class="row3" colspan="4"> + <table width="100%" cellspacing="1"> + <tr> + <td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td> + <td class="gensmall" nowrap="nowrap"> [ {TOTAL_TOPICS} ] </td> + <td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td> + </tr> + </table> + </td> + </tr> + <!-- ENDIF --> + + <!-- BEGIN topicrow --> + + <!-- IF topicrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td style="padding: 4px;" width="20" align="center" valign="middle">{topicrow.TOPIC_FOLDER_IMG}</td> + <td style="padding: 4px;" width="100%" valign="top"> + <p class="topictitle"><!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a> <!-- ENDIF -->{topicrow.ATTACH_ICON_IMG} <a href="{topicrow.U_VIEW_TOPIC}">{topicrow.TOPIC_TITLE}</a></p> + <!-- IF topicrow.S_GLOBAL_TOPIC --><span class="gensmall">{L_GLOBAL_ANNOUNCEMENT}</span><!-- ELSE --><span class="gensmall"><b>{L_FORUM}: </b><a href="{topicrow.U_VIEW_FORUM}">{topicrow.FORUM_NAME}</a></span><!-- ENDIF --> + <!-- IF topicrow.PAGINATION --> + <p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p> + <!-- ENDIF --> + </td> + <td style="padding: 4px;" align="{S_CONTENT_FLOW_BEGIN}" valign="top" nowrap="nowrap"> + <p class="topicdetails">{topicrow.LAST_POST_TIME}</p> + <p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL} + <a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a> + </p> + </td> + <td style="padding: 4px;"> <input type="checkbox" class="radio" name="t[{topicrow.TOPIC_ID}]" /> </td> + </tr> + <!-- BEGINELSE --> + <tr class="row1"> + <td colspan="4" align="center"><b class="genmed">{L_NO_WATCHED_TOPICS}</b></td> + </tr> + <!-- END topicrow --> +<!-- ENDIF --> + +<!-- IF .topicrow or .forumrow --> +<tr> + <td class="cat" colspan="4" align="{S_CONTENT_FLOW_END}"><input class="btnlite" type="submit" name="unwatch" value="{L_UNWATCH_MARKED}" /> </td> +</tr> +<!-- ENDIF --> +</table> +<!-- IF .topicrow or .forumrow --> +<div class="gensmall" style="float: {S_CONTENT_FLOW_END}; padding-top: 2px;"><b><a href="#" onclick="marklist('ucp', 't', true); marklist('ucp', 'f', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('ucp', 't', false);marklist('ucp', 'f', false); return false;">{L_UNMARK_ALL}</a></b></div> +<!-- ENDIF --> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_pm_history.html b/tmw3/template/ucp_pm_history.html new file mode 100644 index 0000000..663f396 --- /dev/null +++ b/tmw3/template/ucp_pm_history.html @@ -0,0 +1,68 @@ + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th align="center">{L_MESSAGE_HISTORY} - {HISTORY_TITLE}</th> +</tr> +<tr> + <td class="row1"><div style="overflow: auto; width: 100%; height: 300px;"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th width="22%">{L_AUTHOR}</th> + <th>{L_MESSAGE}</th> + </tr> + <!-- BEGIN history_row --> + <!-- IF history_row.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td rowspan="2" align="{S_CONTENT_FLOW_BEGIN}" valign="top"><a name="{history_row.MSG_ID}"></a> + <table width="150" cellspacing="0"> + <tr> + <td align="center" colspan="2"><span class="postauthor">{history_row.MESSAGE_AUTHOR_FULL}</span></td> + </tr> + </table> + </td> + <td width="100%"<!-- IF history_row.S_CURRENT_MSG --> style="background-color:#CBA083"<!-- ENDIF -->> + <div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"><b>{L_PM_SUBJECT}:</b> {history_row.SUBJECT}</div><div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><b>{L_FOLDER}:</b> {history_row.FOLDER}</div> + </td> + </tr> + + <!-- IF history_row.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td valign="top"> + <table width="100%" cellspacing="0"> + <tr> + <td valign="top"> + <table width="100%" cellspacing="0" cellpadding="2"> + <tr> + <td><div class="postbody">{history_row.MESSAGE}</div><div id="message_{history_row.MSG_ID}" style="display: none;">{history_row.DECODED_MESSAGE}</div></td> + </tr> + </table> + </td> + </tr> + <tr> + <td> + <table width="100%" cellspacing="0"> + <tr valign="middle"> + <td width="100%"> </td> + <td width="10" nowrap="nowrap">{history_row.MINI_POST_IMG}</td> + <td class="gensmall" nowrap="nowrap"><b>{L_SENT_AT}:</b> {history_row.SENT_DATE}</td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> + + <!-- IF history_row.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + <td class="gensmall"><a href="{history_row.U_VIEW_MESSAGE}">{L_VIEW_PM}</a></td> + <td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- IF history_row.U_PROFILE --><a href="{history_row.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF history_row.U_EMAIL --><a href="{history_row.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF history_row.U_QUOTE or history_row.MESSAGE_AUTHOR_QUOTE --><a <!-- IF history_row.U_QUOTE -->href="{history_row.U_QUOTE}"<!-- ELSE -->href="#" onclick="addquote({history_row.MSG_ID}, '{history_row.MESSAGE_AUTHOR_QUOTE}'); return false;"<!-- ENDIF -->>{QUOTE_IMG}</a> <!-- ENDIF --> <!-- IF history_row.U_POST_REPLY_PM --><a href="{history_row.U_POST_REPLY_PM}">{REPLY_IMG}</a><!-- ENDIF --> </div></td> + </tr> + <tr> + <td class="spacer" colspan="2"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> + </tr> + <!-- END history_row --> + </table> + </div></td> +</tr> +</table> + +<br clear="all" /> diff --git a/tmw3/template/ucp_pm_message_footer.html b/tmw3/template/ucp_pm_message_footer.html new file mode 100644 index 0000000..314d03c --- /dev/null +++ b/tmw3/template/ucp_pm_message_footer.html @@ -0,0 +1,46 @@ + +<!-- IF not S_VIEW_MESSAGE --> + {S_FORM_TOKEN} + </form> +<!-- ENDIF --> + +<table class="tablebg" width="100%" cellspacing="1" cellpadding="0"> +<tr> + <td class="row1"> + <table border="0" cellspacing="0" cellpadding="0" width="100%"> + <tr> + <td align="{S_CONTENT_FLOW_BEGIN}"><!-- INCLUDE pagination.html --> + <!-- IF S_VIEW_MESSAGE --> + <span class="gensmall"> + <!-- IF U_PRINT_PM --><a href="{U_PRINT_PM}" title="{L_PRINT_PM}">{L_PRINT_PM}</a><!-- IF U_FORWARD_PM --> | <!-- ENDIF --><!-- ENDIF --> + <!-- IF U_FORWARD_PM --><a href="{U_FORWARD_PM}" title="{L_FORWARD_PM}">{L_FORWARD_PM}</a><!-- ENDIF --> + </span> + <!-- ENDIF --> + </td> + <td align="{S_CONTENT_FLOW_END}" nowrap="nowrap"> + <!-- IF S_VIEW_MESSAGE --> + <!-- IF not S_SPECIAL_FOLDER --> + <form name="movepm" method="post" action="{S_PM_ACTION}" style="margin:0px"> + <input type="hidden" name="marked_msg_id[]" value="{MSG_ID}" /> + <input type="hidden" name="cur_folder_id" value="{CUR_FOLDER_ID}" /> + <input type="hidden" name="p" value="{MSG_ID}" /> + <select name="dest_folder">{S_TO_FOLDER_OPTIONS}</select> <input class="btnlite" type="submit" name="move_pm" value="{L_MOVE_TO_FOLDER}" /> + {S_FORM_TOKEN} + </form> + <!-- ENDIF --> + <!-- ELSE --> + <form name="sortmsg" method="post" action="{S_PM_ACTION}" style="margin:0px"> + <span class="gensmall">{L_DISPLAY_MESSAGES}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" name="sort" value="{L_GO}" /> + {S_FORM_TOKEN} + </form> + <!-- ENDIF --> + </td> + </tr> + </table> + </td> +</tr> +</table> + +<!-- IF not S_VIEW_MESSAGE --> + <div style="float: {S_CONTENT_FLOW_END};"><b class="gensmall"><a href="#" onclick="marklist('viewfolder', 'marked_msg_id', true); return false;">{L_MARK_ALL}</a> :: <a href="#" onclick="marklist('viewfolder', 'marked_msg_id', false); return false;">{L_UNMARK_ALL}</a></b></div> +<!-- ENDIF --> diff --git a/tmw3/template/ucp_pm_message_header.html b/tmw3/template/ucp_pm_message_header.html new file mode 100644 index 0000000..370fa67 --- /dev/null +++ b/tmw3/template/ucp_pm_message_header.html @@ -0,0 +1,34 @@ + +<table class="tablebg" width="100%" cellspacing="1" cellpadding="0"> +<tr> + <td class="row1"> + <table border="0" cellspacing="0" cellpadding="0" width="100%"> + <tr> + <td align="{S_CONTENT_FLOW_BEGIN}"> + <!-- IF TOTAL_MESSAGES --> + <table width="100%" cellspacing="1"> + <tr> + <td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td> + <!-- IF FOLDER_MAX_MESSAGES neq 0 --> + <td class="gensmall" nowrap="nowrap" width="100%"> [ <b>{FOLDER_CUR_MESSAGES}</b>/{FOLDER_MAX_MESSAGES} {L_MESSAGES} ({FOLDER_PERCENT}%) ] </td> + <!-- ELSE --> + <td class="gensmall" nowrap="nowrap" width="100%"> [ <b>{FOLDER_CUR_MESSAGES}</b> {L_MESSAGES} ] </td> + <!-- ENDIF --> + </tr> + </table> + <!-- ENDIF --> + + <!-- IF S_VIEW_MESSAGE --> + <span class="gensmall"> + <!-- IF S_DISPLAY_HISTORY --> + <!-- IF U_VIEW_PREVIOUS_HISTORY --><a href="{U_VIEW_PREVIOUS_HISTORY}">{L_VIEW_PREVIOUS_HISTORY}</a> | <!-- ENDIF --><!-- IF U_VIEW_NEXT_HISTORY --><a href="{U_VIEW_NEXT_HISTORY}">{L_VIEW_NEXT_HISTORY}</a> | <!-- ENDIF --> + <!-- ENDIF --><a href="{U_PREVIOUS_PM}">{L_VIEW_PREVIOUS_PM}</a> | <a href="{U_NEXT_PM}">{L_VIEW_NEXT_PM}</a> + </span> + <!-- ENDIF --> + </td> + <td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE pagination.html --></td> + </tr> + </table> + </td> +</tr> +</table> diff --git a/tmw3/template/ucp_pm_options.html b/tmw3/template/ucp_pm_options.html new file mode 100644 index 0000000..3ff18d8 --- /dev/null +++ b/tmw3/template/ucp_pm_options.html @@ -0,0 +1,192 @@ +<!-- INCLUDE ucp_header.html --> + +<!-- IF ERROR_MESSAGE or NOTIFICATION_MESSAGE --> + <table border="0" cellspacing="0" cellpadding="0" width="100%"> + <tr> + <td class="row3" align="center"> + <!-- IF ERROR_MESSAGE --><span class="genmed error">{ERROR_MESSAGE}</span><!-- ENDIF --> + <!-- IF NOTIFICATION_MESSAGE --><span class="genmed error">{NOTIFICATION_MESSAGE}</span><!-- ENDIF --> + </td> + </tr> + </table> + <div style="padding: 2px;"></div> +<!-- ENDIF --> + +<form name="ucp" method="post" action="{S_UCP_ACTION}"> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="3">{L_ADD_NEW_RULE}</th> +</tr> +<!-- IF S_CHECK_DEFINED --> + <tr> + <td class="row1" width="50" align="{S_CONTENT_FLOW_BEGIN}" valign="top"><b class="gen">{L_IF}:</b></td> + <td class="row2" align="center" valign="top"><!-- IF S_CHECK_SELECT --><select name="check_option">{S_CHECK_OPTIONS}</select><!-- ELSE --><b class="gen">{CHECK_CURRENT}</b><input type="hidden" name="check_option" value="{CHECK_OPTION}" /><!-- ENDIF --></td> + <td class="row1" width="50" align="{S_CONTENT_FLOW_END}" valign="top"><!-- IF S_CHECK_SELECT --><input type="submit" name="next" value="{L_NEXT_STEP}" class="btnlite" /><!-- ELSE --> <!-- ENDIF --></td> + </tr> +<!-- ENDIF --> +<!-- IF S_RULE_DEFINED --> + <tr> + <td class="row1" width="50" align="{S_CONTENT_FLOW_BEGIN}" valign="top"><!-- IF S_RULE_SELECT --><input type="submit" name="back[rule]" value="{L_PREVIOUS_STEP}" class="btnlite" /><!-- ELSE --> <!-- ENDIF --></td> + <td class="row2" align="center" valign="top"><!-- IF S_RULE_SELECT --><select name="rule_option">{S_RULE_OPTIONS}</select><!-- ELSE --><b class="gen">{RULE_CURRENT}</b><input type="hidden" name="rule_option" value="{RULE_OPTION}" /><!-- ENDIF --></td> + <td class="row1" width="50" align="{S_CONTENT_FLOW_END}" valign="top"><!-- IF S_RULE_SELECT --><input type="submit" name="next" value="{L_NEXT_STEP}" class="btnlite" /><!-- ELSE --> <!-- ENDIF --></td> + </tr> +<!-- ENDIF --> + +<!-- IF S_COND_DEFINED --> + <!-- IF S_COND_SELECT or COND_CURRENT --> + <tr> + <td class="row1" width="50" align="{S_CONTENT_FLOW_BEGIN}" valign="top"><!-- IF S_COND_SELECT --><input type="submit" name="back[cond]" value="{L_PREVIOUS_STEP}" class="btnlite" /><!-- ELSE --> <!-- ENDIF --></td> + <td class="row2" align="center" valign="top"> + <!-- IF S_COND_SELECT --> + <!-- IF S_TEXT_CONDITION --> + <input type="text" name="rule_string" value="{CURRENT_STRING}" size="30" maxlength="250" class="post" /> + <!-- ELSEIF S_USER_CONDITION --> + <input type="text" class="post" name="rule_string" value="{CURRENT_STRING}" size="20" /> <span class="gensmall">[ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span> + <!-- ELSEIF S_GROUP_CONDITION --> + <input type="hidden" name="rule_string" value="{CURRENT_STRING}" /><!-- IF S_GROUP_OPTIONS --><select name="rule_group_id">{S_GROUP_OPTIONS}</select><!-- ELSE -->{L_NO_GROUPS}<!-- ENDIF --> + <!-- ENDIF --> + <!-- ELSE --> + <b class="gen">{COND_CURRENT}</b> + <input type="hidden" name="rule_string" value="{CURRENT_STRING}" /><input type="hidden" name="rule_user_id" value="{CURRENT_USER_ID}" /><input type="hidden" name="rule_group_id" value="{CURRENT_GROUP_ID}" /> + <!-- ENDIF --> + </td> + <td class="row1" width="50" align="{S_CONTENT_FLOW_END}" valign="top"><!-- IF S_COND_SELECT --><input type="submit" name="next" value="{L_NEXT_STEP}" class="btnlite" /><!-- ELSE --> <!-- ENDIF --></td> + </tr> + <!-- ENDIF --> + <input type="hidden" name="cond_option" value="{COND_OPTION}" /> +<!-- ENDIF --> + +<!-- IF NONE_CONDITION --><input type="hidden" name="cond_option" value="none" /><!-- ENDIF --> + +<!-- IF S_ACTION_DEFINED --> + <tr> + <td class="row1" width="50" align="{S_CONTENT_FLOW_BEGIN}" valign="top"><!-- IF S_ACTION_SELECT --><input type="submit" name="back[action]" value="{L_PREVIOUS_STEP}" class="btnlite" /><!-- ELSE --> <!-- ENDIF --></td> + <td class="row2" align="center" valign="top"><!-- IF S_ACTION_SELECT --><select name="action_option">{S_ACTION_OPTIONS}</select><!-- ELSE --><b class="gen">{ACTION_CURRENT}</b><input type="hidden" name="action_option" value="{ACTION_OPTION}" /><!-- ENDIF --></td> + <td class="row1" width="50" align="{S_CONTENT_FLOW_END}" valign="top"><!-- IF S_ACTION_SELECT --><input type="submit" name="add_rule" value="{L_ADD_RULE}" class="btnlite" /><!-- ELSE --> <!-- ENDIF --></td> + </tr> +<!-- ENDIF --> +</table> + +<div style="padding: 2px;"></div> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="6">{L_DEFINED_RULES}</th> +</tr> +<!-- BEGIN rule --> + <tr> + <td class="row1" width="25" align="center"><span class="gen">#{rule.COUNT}</span></td> + <td class="row2" width="120"><span class="gen"><strong>{L_IF}</strong> {rule.CHECK}</span></td> + <td class="row1" width="120"><span class="gen">{rule.RULE}</span></td> + <td class="row2" width="120"><span class="gen"><!-- IF rule.STRING -->{rule.STRING}<!-- ENDIF --></span></td> + <td class="row1"><span class="gen">{rule.ACTION}<!-- IF rule.FOLDER --> -> {rule.FOLDER}<!-- ENDIF --></span></td> + <td class="row2" width="25"><input type="submit" name="delete_rule[{rule.RULE_ID}]" value="{L_DELETE_RULE}" class="btnlite" /></td> + </tr> +<!-- BEGINELSE --> + <tr> + <td colspan="6" class="row3" align="center"><span class="gen">{L_NO_RULES_DEFINED}</span></td> + </tr> +<!-- END rule --> +</table> + +<div style="padding: 2px;"></div> + +<!-- IF S_FOLDER_OPTIONS --> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th colspan="2">{L_RENAME_FOLDER}</th> + </tr> + <tr> + <td class="row1" width="200"><b class="gen">{L_RENAME_FOLDER}: </b></td> + <td class="row1"><select name="rename_folder_id">{S_FOLDER_OPTIONS}</select></td> + </tr> + <tr> + <td class="row1" width="200"><b class="gen">{L_NEW_FOLDER_NAME}: </b></td> + <td class="row1"><input type="text" class="post" name="new_folder_name" size="30" maxlength="30" /></td> + </tr> + <tr> + <td class="row1" align="{S_CONTENT_FLOW_END}" colspan="2"><input class="btnlite" style="width:150px" type="submit" name="rename_folder" value="{L_RENAME}" /></td> + </tr> + </table> + + <div style="padding: 2px;"></div> +<!-- ENDIF --> + +<!-- IF not S_MAX_FOLDER_ZERO --> +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="2">{L_ADD_FOLDER}</th> +</tr> +<!-- IF S_MAX_FOLDER_REACHED --> + <tr> + <td colspan="2">{L_MAX_FOLDER_REACHED}</td> + </tr> +<!-- ELSE --> + <tr> + <td class="row1" width="200"><b class="gen">{L_ADD_FOLDER}: </b></td> + <td class="row1"><input type="text" class="post" name="foldername" size="30" maxlength="30" /></td> + </tr> + <tr> + <td class="row1" align="{S_CONTENT_FLOW_END}" colspan="2"><input class="btnlite" style="width:150px" type="submit" name="addfolder" value="{L_ADD}" /></td> + </tr> +<!-- ENDIF --> +</table> +<!-- ENDIF --> + +<div style="padding: 2px;"></div> + +<!-- IF S_FOLDER_OPTIONS --> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <th colspan="3">{L_REMOVE_FOLDER}</th> + </tr> + <tr> + <td class="row1" width="200"><b class="gen">{L_REMOVE_FOLDER}: </b></td> + <td class="row1"><select name="remove_folder_id">{S_FOLDER_OPTIONS}</select></td> + <td class="row1"><b class="genmed">{L_AND}</b></td> + </tr> + <tr> + <td class="row2" width="200"> </td> + <td class="row2" colspan="2"><input type="radio" class="radio" name="remove_action" value="1" checked="checked" /> <span class="genmed">{L_MOVE_DELETED_MESSAGES_TO} </span> <select name="move_to">{S_TO_FOLDER_OPTIONS}</select></td> + </tr> + <tr> + <td class="row2" width="200"> </td> + <td class="row2" colspan="2"><input type="radio" class="radio" name="remove_action" value="2" /> <span class="genmed">{L_DELETE_MESSAGES_IN_FOLDER}</span></td> + </tr> + <tr> + <td class="row2" width="200"> </td> + <td class="row2" colspan="2" align="{S_CONTENT_FLOW_END}"><input class="btnlite" style="width:150px" type="submit" name="remove_folder" value="{L_REMOVE}" /></td> + </tr> + </table> + + <div style="padding: 2px;"></div> +<!-- ENDIF --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="2">{L_FOLDER_OPTIONS}</th> +</tr> +<tr> + <td class="row1" width="200"><span><b class="genmed">{L_IF_FOLDER_FULL}: </b></span></td> + <td class="row1"><input type="radio" class="radio" name="full_action" value="1"{S_DELETE_CHECKED} /> <span class="genmed">{L_DELETE_OLDEST_MESSAGES}</span></td> +</tr> +<tr> + <td class="row1" width="200"> </td> + <td class="row1"><input type="radio" class="radio" name="full_action" value="2"{S_MOVE_CHECKED} /> <span class="genmed">{L_MOVE_TO_FOLDER}: </span><select name="full_move_to">{S_FULL_FOLDER_OPTIONS}</select></td> +</tr> +<tr> + <td class="row1" width="200"> </td> + <td class="row1"><input type="radio" class="radio" name="full_action" value="3"{S_HOLD_CHECKED} /> <span class="genmed">{L_HOLD_NEW_MESSAGES}</span></td> +</tr> +<tr> + <td class="row2" width="200"><b class="genmed">{L_DEFAULT_ACTION}: </b><br /><span class="gensmall">{L_DEFAULT_ACTION_EXPLAIN}</span></td> + <td class="row2"><span class="genmed">{DEFAULT_ACTION}</span></td> +</tr> +<tr> + <td class="row1" colspan="2" align="{S_CONTENT_FLOW_END}"><input class="btnlite" style="width:150px" type="submit" name="fullfolder" value="{L_CHANGE}" /></td> +</tr> +</table> +{S_FORM_TOKEN} +</form> +<!-- INCLUDE ucp_footer.html --> diff --git a/tmw3/template/ucp_pm_popup.html b/tmw3/template/ucp_pm_popup.html new file mode 100644 index 0000000..68816b8 --- /dev/null +++ b/tmw3/template/ucp_pm_popup.html @@ -0,0 +1,37 @@ +<!-- INCLUDE simple_header.html --> + +<script type="text/javascript"> +// <![CDATA[ +/** +* Jump to inbox +*/ +function jump_to_inbox(url) +{ + opener.document.location.href = url.replace(/&/g, '&'); + window.close(); +} +// ]]> +</script> + +<table width="100%" border="0" cellspacing="0" cellpadding="10"> +<tr> + <td> + <table width="100%" border="0" cellspacing="1" cellpadding="4" class="tablebg"> + <tr class="row1"> + <td valign="top" align="center"> + <br /><span class="gen"> + <!-- IF S_NOT_LOGGED_IN --> + {L_LOGIN_CHECK_PM} + <!-- ELSE --> + {MESSAGE}<br /><br />{CLICK_TO_VIEW} + <!-- ENDIF --> + </span> + <br /><br /><span class="genmed"><a href="#" onclick="window.close(); return false;">{L_CLOSE_WINDOW}</a></span><br /><br /> + </td> + </tr> + </table> + </td> +</tr> +</table> + +<!-- INCLUDE simple_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_pm_viewfolder.html b/tmw3/template/ucp_pm_viewfolder.html new file mode 100644 index 0000000..36998f1 --- /dev/null +++ b/tmw3/template/ucp_pm_viewfolder.html @@ -0,0 +1,122 @@ +<!-- INCLUDE ucp_header.html --> + +<div id="pagecontent"> + +<!-- IF not PROMPT --> + <!-- INCLUDE ucp_pm_message_header.html --> +<!-- ENDIF --> + +<div style="padding: 2px;"></div> + +<!-- IF S_PM_ICONS --> + <!-- DEFINE $COLSPAN = 6 --> +<!-- ELSE --> + <!-- DEFINE $COLSPAN = 5 --> +<!-- ENDIF --> + +<form name="viewfolder" method="post" action="{S_PM_ACTION}" style="margin:0px"> + +<!-- IF PROMPT --> + <table class="tablebg" width="100%" cellspacing="1" cellpadding="0" border="0"> + <tr> + <th colspan="2" valign="middle">{L_OPTIONS}</th> + </tr> + <tr> + <td class="row1" width="35%">{L_DELIMITER}: </td> + <td class="row2"><input class="post" type="text" name="delimiter" value="," /></td> + </tr> + <tr> + <td class="row1" width="35%">{L_ENCLOSURE}: </td> + <td class="row2"><input class="post" type="text" name="enclosure" value=""" /></td> + </tr> + <tr> + <td class="cat" colspan="2" align="center"><input type="hidden" name="export_option" value="CSV" /><input class="btnmain" type="submit" name="submit_export" value="{L_EXPORT_FOLDER}" /> <input class="btnlite" type="reset" value="Reset" name="reset" /></td> + </tr> + </table> + {S_FORM_TOKEN} + +</form> +<!-- ELSE --> + + <table class="tablebg" width="100%" cellspacing="1" cellpadding="0" border="0"> + <!-- IF NUM_NOT_MOVED or NUM_REMOVED --> + <tr> + <td class="row3" colspan="{$COLSPAN}" align="center"><span class="gen"> + <!-- IF NUM_REMOVED --> + {RULE_REMOVED_MESSAGES} + <!-- IF NUM_NOT_MOVED --><br /><!-- ENDIF --> + <!-- ENDIF --> + <!-- IF NUM_NOT_MOVED --> + {NOT_MOVED_MESSAGES}<br />{RELEASE_MESSAGE_INFO} + <!-- ENDIF --> + </span></td> + </tr> + <!-- ENDIF --> + <tr> + <th colspan="<!-- IF S_PM_ICONS -->3<!-- ELSE -->2<!-- ENDIF -->"> {L_SUBJECT} </th> + <th> <!-- IF S_SHOW_RECIPIENTS -->{L_RECIPIENTS}<!-- ELSE -->{L_AUTHOR}<!-- ENDIF --> </th> + <th> {L_SENT_AT} </th> + <th> {L_MARK} </th> + </tr> + + <!-- BEGIN messagerow --> + <tr> + <td class="row1" width="25" align="center" nowrap="nowrap">{messagerow.FOLDER_IMG}</td> + <!-- IF S_PM_ICONS --> + <td class="row1" width="25" align="center">{messagerow.PM_ICON_IMG}</td> + <!-- ENDIF --> + + <!-- IF messagerow.S_PM_DELETED --><td class="row3"><!-- ELSE --><td class="row1"><!-- ENDIF --> + <!-- IF not messagerow.PM_IMG and messagerow.PM_CLASS --> + <span class="{messagerow.PM_CLASS}" style="float: {S_CONTENT_FLOW_BEGIN};"><img src="images/spacer.gif" width="10" height="10" alt="" /></span> + <!-- ELSEIF messagerow.PM_IMG --> + {messagerow.PM_IMG} + <!-- ENDIF --> + + <span class="topictitle"> + {messagerow.ATTACH_ICON_IMG} + <!-- IF messagerow.S_PM_DELETED --> + {L_MESSAGE_REMOVED_FROM_OUTBOX}<br /> + <a href="{messagerow.U_REMOVE_PM}" style="float: {S_CONTENT_FLOW_END};">{L_DELETE_MESSAGE}</a> + <!-- ELSE --> + <a href="{messagerow.U_VIEW_PM}">{messagerow.SUBJECT}</a> + <!-- ENDIF --> + <!-- IF messagerow.S_AUTHOR_DELETED --> + <br /><em class="gensmall">{L_PM_FROM_REMOVED_AUTHOR}</em> + <!-- ENDIF --> + </span></td> + + <td class="row1" width="100" align="center"><p class="topicauthor"><!-- IF S_SHOW_RECIPIENTS -->{messagerow.RECIPIENTS}<!-- ELSE -->{messagerow.MESSAGE_AUTHOR_FULL}<!-- ENDIF --></p></td> + <td class="row1" width="120" align="center"><p class="topicdetails">{messagerow.SENT_TIME}</p></td> + <td class="row1" width="20" align="center"><p class="topicdetails"><input type="checkbox" class="radio" name="marked_msg_id[]" value="{messagerow.MESSAGE_ID}" /></p></td> + </tr> + <!-- BEGINELSE --> + <tr> + <td class="row1" colspan="{$COLSPAN}" height="30" align="center" valign="middle"><span class="gen">{L_NO_MESSAGES}</span></td> + </tr> + <!-- END messagerow --> +</table> + +<input type="hidden" name="cur_folder_id" value="{CUR_FOLDER_ID}" /> + +<table border="0" cellspacing="0" cellpadding="0" width="100%"> +<tr> + <td class="cat"> +<!-- IF .messagerow --> + <div style="float: {S_CONTENT_FLOW_BEGIN};"><select name="export_option"><option value="CSV">{L_EXPORT_AS_CSV}</option><option value="CSV_EXCEL">{L_EXPORT_AS_CSV_EXCEL}</option><option value="XML">{L_EXPORT_AS_XML}</option></select> <input class="btnlite" type="submit" name="submit_export" value="{L_EXPORT_FOLDER}" /></div> + <div style="float: {S_CONTENT_FLOW_END};"><select name="mark_option">{S_MARK_OPTIONS}{S_MOVE_MARKED_OPTIONS}</select> <input class="btnlite" type="submit" name="submit_mark" value="{L_GO}" /> </div> +<!-- ENDIF --> + </td> +</tr> +</table> + +<div style="padding: 2px;"></div> +<!-- INCLUDE ucp_pm_message_footer.html --> + +<!-- ENDIF --> + +<br clear="all" /> + +</div> + +<!-- INCLUDE ucp_footer.html --> diff --git a/tmw3/template/ucp_pm_viewmessage.html b/tmw3/template/ucp_pm_viewmessage.html new file mode 100644 index 0000000..b338768 --- /dev/null +++ b/tmw3/template/ucp_pm_viewmessage.html @@ -0,0 +1,124 @@ +<!-- INCLUDE ucp_header.html --> + +<div id="pagecontent"> + +<!-- INCLUDE ucp_pm_message_header.html --> +<div style="padding: 2px;"></div> + +<table class="tablebg" width="100%" cellspacing="1" cellpadding="4"> + +<tr class="row1"> + <td class="genmed" nowrap="nowrap" width="150"><b>{L_PM_SUBJECT}:</b></td> + <td class="gen">{SUBJECT}</td> +</tr> + +<tr class="row1"> + <td class="genmed" nowrap="nowrap" width="150"><b>{L_PM_FROM}:</b></td> + <td class="gen">{MESSAGE_AUTHOR_FULL}</td> +</tr> + +<tr class="row1"> + <td class="genmed" nowrap="nowrap" width="150"><b>{L_SENT_AT}:</b></td> + <td class="gen">{SENT_DATE}</td> +</tr> + +<!-- IF S_TO_RECIPIENT --> + <tr class="row1"> + <td class="genmed" nowrap="nowrap" width="150"><b>{L_TO}:</b></td> + <td class="gen"> + <!-- BEGIN to_recipient --> + <!-- IF to_recipient.IS_GROUP --><span class="sep"><a href="{to_recipient.U_VIEW}">{to_recipient.NAME}</a></span><!-- ELSE -->{to_recipient.NAME_FULL} <!-- ENDIF --> + <!-- END to_recipient --> + </td> + </tr> +<!-- ENDIF --> + +<!-- IF S_BCC_RECIPIENT --> + <tr class="row1"> + <td class="genmed" nowrap="nowrap" width="150"><b>{L_BCC}:</b></td> + <td class="gen"> + <!-- BEGIN bcc_recipient --> + <!-- IF bcc_recipient.IS_GROUP --><span class="sep"><a href="{bcc_recipient.U_VIEW}">{bcc_recipient.NAME}</a></span><!-- ELSE -->{bcc_recipient.NAME_FULL} <!-- ENDIF --> + <!-- END bcc_recipient --> + </td> + </tr> +<!-- ENDIF --> +</table> + +<div style="padding: 2px;"></div> + +<table class="tablebg" width="100%" cellspacing="1" cellpadding="0"> + +<tr> + <th nowrap="nowrap">{L_MESSAGE}</th> +</tr> + +<tr> + <td class="spacer" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> +</tr> + +<tr class="row1"> + <td valign="top"> + <table width="100%" cellspacing="5"> + <tr> + <td> + <div class="postbody">{MESSAGE}</div> + + <!-- IF S_HAS_ATTACHMENTS --> + <br clear="all" /><br /> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td> + </tr> + <!-- BEGIN attachment --> + <tr> + <td class="row2">{attachment.DISPLAY_ATTACHMENT}</td> + </tr> + <!-- END attachment --> + </table> + <!-- ENDIF --> + + <!-- IF S_DISPLAY_NOTICE --> + <span class="gensmall error"><br /><br />{L_DOWNLOAD_NOTICE}</span> + <!-- ENDIF --> + <!-- IF SIGNATURE --> + <span class="postbody"><br />_________________<br />{SIGNATURE}</span> + <!-- ENDIF --> + <!-- IF EDITED_MESSAGE --> + <span class="gensmall">{EDITED_MESSAGE}</span> + <!-- ENDIF --> + + <!-- IF not S_HAS_ATTACHMENTS --><br clear="all" /><br /><!-- ENDIF --> + + <table width="100%" cellspacing="0"> + <tr valign="middle"> + <td class="gensmall" align="{S_CONTENT_FLOW_END}"> <!-- IF U_DELETE --><a href="{U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF --></td> + </tr> + </table> + + </td> + </tr> + </table> + </td> +</tr> + +<tr class="row1"> + <td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- IF U_MESSAGE_AUTHOR --><a href="{U_MESSAGE_AUTHOR}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF U_EMAIL --><a href="{U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF U_EDIT --><a href="{U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF U_QUOTE --><a href="{U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- IF U_POST_REPLY_PM --><a href="{U_POST_REPLY_PM}">{REPLY_IMG}</a><!-- ENDIF --> </div></td> +</tr> + +<tr> + <td class="spacer" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> +</tr> +</table> + +<div style="padding: 2px;"></div> +<!-- INCLUDE ucp_pm_message_footer.html --> + +<br clear="all" /> + +</div> + +<!-- IF S_DISPLAY_HISTORY --><!-- INCLUDE ucp_pm_history.html --><!-- ENDIF --> + +<!-- INCLUDE ucp_footer.html --> diff --git a/tmw3/template/ucp_pm_viewmessage_print.html b/tmw3/template/ucp_pm_viewmessage_print.html new file mode 100644 index 0000000..7963d76 --- /dev/null +++ b/tmw3/template/ucp_pm_viewmessage_print.html @@ -0,0 +1,131 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}"> +<meta http-equiv="Content-Style-Type" content="text/css"> +<meta http-equiv="Content-Language" content="{S_USER_LANG}"> +<title>{SITENAME} :: {PAGE_TITLE}</title> + +<style type="text/css"> +<!-- + +body { + font-family: Verdana,serif; + font-size: 10pt; +} + +td { + font-family: Verdana,serif; + font-size: 10pt; + line-height: 150%; +} + +.code, +.quote { + font-size: smaller; + border: black solid 1px; +} + +.forum { + font-family: Arial,Helvetica,sans-serif; + font-weight: bold; + font-size: 18pt; +} + +.topic { + font-family: Arial,Helvetica,sans-serif; + font-size: 14pt; + font-weight: bold; +} + +.gensmall { + font-size: 8pt; +} + +hr { + color: #888; + height: 3px; + border-style: solid; +} + +hr.sep { + color: #aaa; + height: 1px; + border-style: dashed; +} +//--> +</style> + +</head> +<body> + +<table width="85%" cellspacing="3" cellpadding="0" border="0" align="center"> +<tr> + <td colspan="2" align="center"><span class="Forum">{SITENAME}</span><br /><span class="gensmall">{L_PRIVATE_MESSAGING}</a></span></td> +</tr> +<tr> + <td colspan="2"><br /></td> +</tr> +<tr> + <td><span class="topic">{SUBJECT}</span><br /></td> + <td align="{S_CONTENT_FLOW_END}" valign="bottom"><span class="gensmall">{PAGE_NUMBER}</span></td> +</tr> +</table> + +<hr width="85%" /> + +<table width="85%" cellspacing="3" cellpadding="0" border="0" align="center"> +<tr> + <td width="10%" nowrap="nowrap">{L_PM_FROM}: </td> + <td><b>{MESSAGE_AUTHOR}</b> [ {SENT_DATE} ]</td> +</tr> + +<!-- IF S_TO_RECIPIENT --> + <tr> + <td width="10%" nowrap="nowrap">{L_TO}:</td> + <td> + <!-- BEGIN to_recipient --> + <!-- IF to_recipient.COLOUR --><span style="color:{to_recipient.COLOUR}"><!-- ELSE --><span<!-- IF to_recipient.IS_GROUP --> class="sep"<!-- ENDIF -->><!-- ENDIF -->{to_recipient.NAME}</span> + <!-- END to_recipient --> + </td> + </tr> +<!-- ENDIF --> + +<!-- IF S_BCC_RECIPIENT --> + <tr> + <td width="10%" nowrap="nowrap">{L_BCC}:</td> + <td> + <!-- BEGIN bcc_recipient --> + <!-- IF bcc_recipient.COLOUR --><span style="color:{bcc_recipient.COLOUR}"><!-- ELSE --><span<!-- IF bcc_recipient.IS_GROUP --> class="sep"<!-- ENDIF -->><!-- ENDIF -->{bcc_recipient.NAME}</span> + <!-- END bcc_recipient --> + </td> + </tr> +<!-- ENDIF --> +<tr> + <td colspan="2"><hr class="sep" />{MESSAGE}</td> +</tr> +</table> + +<hr width="85%" /> +<!-- + We request you retain the full copyright notice below including the link to www.phpbb.com. + This not only gives respect to the large amount of time given freely by the developers + but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain + the full copyright we ask you at least leave in place the "Powered by phpBB" line. If you + refuse to include even this then support on our forums may be affected. + + The phpBB Group : 2006 +// --> + +<table width="85%" cellspacing="3" cellpadding="0" border="0" align="center"> +<tr> + <td><span class="gensmall">{PAGE_NUMBER}</span></td> + <td align="{S_CONTENT_FLOW_END}"><span class="gensmall">{S_TIMEZONE}</span></td> +</tr> +<tr> + <td colspan="2" align="center"><span class="gensmall">Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group<br />http://www.phpbb.com/</span></td> +</tr> +</table> + +</body> +</html> diff --git a/tmw3/template/ucp_prefs_personal.html b/tmw3/template/ucp_prefs_personal.html new file mode 100644 index 0000000..e2266b7 --- /dev/null +++ b/tmw3/template/ucp_prefs_personal.html @@ -0,0 +1,98 @@ +<!-- INCLUDE ucp_header.html --> + +<script type="text/javascript"> +// <![CDATA[ + /** + * Set display of page element + * s[-1,0,1] = hide,toggle display,show + */ + function dE(n,s) + { + var e = document.getElementById(n); + if (!s) + { + s = (e.style.display == '') ? -1 : 1; + } + e.style.display = (s == 1) ? 'block' : 'none'; + } + + var default_dateformat = '{A_DEFAULT_DATEFORMAT}'; +// ]]> +</script> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="2" valign="middle">{L_TITLE}</th> +</tr> +<!-- IF ERROR --> + <tr> + <td class="row3" colspan="2" align="center"><span class="gensmall error">{ERROR}</span></td> + </tr> +<!-- ENDIF --> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_SHOW_EMAIL}:</b></td> + <td class="row2"><input type="radio" class="radio" name="viewemail" value="1"<!-- IF S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span> <input type="radio" class="radio" name="viewemail" value="0"<!-- IF not S_VIEW_EMAIL --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_ADMIN_EMAIL}:</b></td> + <td class="row2"><input type="radio" class="radio" name="massemail" value="1"<!-- IF S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span> <input type="radio" class="radio" name="massemail" value="0"<!-- IF not S_MASS_EMAIL --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_ALLOW_PM}:</b><br /><span class="gensmall">{L_ALLOW_PM_EXPLAIN}</span></td> + <td class="row2"><input type="radio" class="radio" name="allowpm" value="1"<!-- IF S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span> <input type="radio" class="radio" name="allowpm" value="0"<!-- IF not S_ALLOW_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td> +</tr> +<!-- IF S_CAN_HIDE_ONLINE --> + <tr> + <td class="row1" width="50%"><b class="genmed">{L_HIDE_ONLINE}:</b><br /><span class="gensmall">{L_HIDE_ONLINE_EXPLAIN}</span></td> + <td class="row2"><input type="radio" class="radio" name="hideonline" value="1"<!-- IF S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span> <input type="radio" class="radio" name="hideonline" value="0"<!-- IF not S_HIDE_ONLINE --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td> + </tr> +<!-- ENDIF --> +<!-- IF S_SELECT_NOTIFY --> + <tr> + <td class="row1" width="50%"><b class="genmed">{L_NOTIFY_METHOD}:</b><br /><span class="gensmall">{L_NOTIFY_METHOD_EXPLAIN}</span></td> + <td class="row2"><input type="radio" class="radio" name="notifymethod" value="0"<!-- IF S_NOTIFY_EMAIL --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NOTIFY_METHOD_EMAIL}</span> <input type="radio" class="radio" name="notifymethod" value="1"<!-- IF S_NOTIFY_IM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NOTIFY_METHOD_IM}</span> <input type="radio" class="radio" name="notifymethod" value="2"<!-- IF S_NOTIFY_BOTH --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NOTIFY_METHOD_BOTH}</span></td> + </tr> +<!-- ENDIF --> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_NOTIFY_ON_PM}:</b></td> + <td class="row2"><input type="radio" class="radio" name="notifypm" value="1"<!-- IF S_NOTIFY_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span> <input type="radio" class="radio" name="notifypm" value="0"<!-- IF not S_NOTIFY_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_POPUP_ON_PM}:</b></td> + <td class="row2"><input type="radio" class="radio" name="popuppm" value="1"<!-- IF S_POPUP_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_YES}</span> <input type="radio" class="radio" name="popuppm" value="0"<!-- IF not S_POPUP_PM --> checked="checked"<!-- ENDIF --> /><span class="genmed">{L_NO}</span></td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_BOARD_LANGUAGE}:</b></td> + <td class="row2"><select name="lang">{S_LANG_OPTIONS}</select></td> +</tr> +<!-- IF S_STYLE_OPTIONS --> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_BOARD_STYLE}:</b></td> + <td class="row2"><select name="style">{S_STYLE_OPTIONS}</select></td> +</tr> +<!-- ENDIF --> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_BOARD_TIMEZONE}:</b></td> + <td class="row2"> + <select id="tz" name="tz">{S_TZ_OPTIONS}</select> + </td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_BOARD_DST}:</b></td> + <td class="row2"><input type="radio" class="radio" name="dst" value="1"<!-- IF S_DST --> checked="checked"<!-- ENDIF --> /> <span class="genmed">{L_YES}</span> <input type="radio" class="radio" name="dst" value="0"<!-- IF not S_DST --> checked="checked"<!-- ENDIF --> /> <span class="genmed">{L_NO}</span></td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_BOARD_DATE_FORMAT}:</b><br /><span class="gensmall">{L_BOARD_DATE_FORMAT_EXPLAIN}</span></td> + <td class="row2"> + <select name="dateoptions" id="dateoptions" onchange="if(this.value=='custom'){dE('custom_date',1);}else{dE('custom_date',-1);} if (this.value == 'custom') { document.getElementById('dateformat').value = default_dateformat; } else { document.getElementById('dateformat').value = this.value; }"> + {S_DATEFORMAT_OPTIONS} + </select> + <div id="custom_date"<!-- IF not S_CUSTOM_DATEFORMAT --> style="display:none;"<!-- ENDIF -->><input type="text" name="dateformat" id="dateformat" value="{DATE_FORMAT}" maxlength="30" class="post" style="margin-top: 3px;" /></div> + </td> +</tr> +<tr> + <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" name="reset" /></td> +</tr> +</table> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_prefs_post.html b/tmw3/template/ucp_prefs_post.html new file mode 100644 index 0000000..edf0070 --- /dev/null +++ b/tmw3/template/ucp_prefs_post.html @@ -0,0 +1,33 @@ +<!-- INCLUDE ucp_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="2" valign="middle">{L_TITLE}</th> +</tr> +<!-- IF ERROR --> + <tr> + <td class="row3" colspan="2" align="center"><span class="gensmall error">{ERROR}</span></td> + </tr> +<!-- ENDIF --> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_DEFAULT_BBCODE}:</b></td> + <td class="row2"><input type="radio" class="radio" name="bbcode" value="1"<!-- IF S_BBCODE --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_YES}</span> <input type="radio" class="radio" name="bbcode" value="0"<!-- IF not S_BBCODE --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_NO}</span></td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_DEFAULT_SMILIES}:</b></td> + <td class="row2"><input type="radio" class="radio" name="smilies" value="1"<!-- IF S_SMILIES --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_YES}</span> <input type="radio" class="radio" name="smilies" value="0"<!-- IF not S_SMILIES --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_NO}</span></td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_DEFAULT_ADD_SIG}:</b></td> + <td class="row2"><input type="radio" class="radio" name="sig" value="1"<!-- IF S_SIG --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_YES}</span> <input type="radio" class="radio" name="sig" value="0"<!-- IF not S_SIG --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_NO}</span></td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_DEFAULT_NOTIFY}:</b></td> + <td class="row2"><input type="radio" class="radio" name="notify" value="1"<!-- IF S_NOTIFY --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_YES}</span> <input type="radio" class="radio" name="notify" value="0"<!-- IF not S_NOTIFY --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_NO}</span></td> +</tr> +<tr> + <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" name="reset" /></td> +</tr> +</table> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_prefs_view.html b/tmw3/template/ucp_prefs_view.html new file mode 100644 index 0000000..b97bcfd --- /dev/null +++ b/tmw3/template/ucp_prefs_view.html @@ -0,0 +1,73 @@ +<!-- INCLUDE ucp_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="2" valign="middle">{L_TITLE}</th> +</tr> +<!-- IF ERROR --> + <tr> + <td class="row3" colspan="2" align="center"><span class="gensmall error">{ERROR}</span></td> + </tr> +<!-- ENDIF --> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_VIEW_IMAGES}:</b></td> + <td class="row2"><input type="radio" class="radio" name="images" value="1"<!-- IF S_IMAGES --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_YES}</span> <input type="radio" class="radio" name="images" value="0"<!-- IF not S_IMAGES --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_NO}</span></td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_VIEW_FLASH}:</b></td> + <td class="row2"><input type="radio" class="radio" name="flash" value="1"<!-- IF S_FLASH --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_YES}</span> <input type="radio" class="radio" name="flash" value="0"<!-- IF not S_FLASH --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_NO}</span></td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_VIEW_SMILIES}:</b></td> + <td class="row2"><input type="radio" class="radio" name="smilies" value="1"<!-- IF S_SMILIES --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_YES}</span> <input type="radio" class="radio" name="smilies" value="0"<!-- IF not S_SMILIES --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_NO}</span></td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_VIEW_SIGS}:</b></td> + <td class="row2"><input type="radio" class="radio" name="sigs" value="1"<!-- IF S_SIGS --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_YES}</span> <input type="radio" class="radio" name="sigs" value="0"<!-- IF not S_SIGS --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_NO}</span></td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_VIEW_AVATARS}:</b></td> + <td class="row2"><input type="radio" class="radio" name="avatars" value="1"<!-- IF S_AVATARS --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_YES}</span> <input type="radio" class="radio" name="avatars" value="0"<!-- IF not S_AVATARS --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_NO}</span></td> +</tr> +<!-- IF S_CHANGE_CENSORS --> + <tr> + <td class="row1" width="50%"><b class="genmed">{L_DISABLE_CENSORS}:</b></td> + <td class="row2"><input type="radio" class="radio" name="wordcensor" value="1"<!-- IF S_DISABLE_CENSORS --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_YES}</span> <input type="radio" class="radio" name="wordcensor" value="0"<!-- IF not S_DISABLE_CENSORS --> checked="checked"<!-- ENDIF --> /><span class="gen">{L_NO}</span></td> + </tr> +<!-- ENDIF --> +<tr> + <td colspan="2" class="spacer"></td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_VIEW_TOPICS_DAYS}:</b></td> + <td class="row2">{S_TOPIC_SORT_DAYS}</td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_VIEW_TOPICS_KEY}:</b></td> + <td class="row2">{S_TOPIC_SORT_KEY}</td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_VIEW_TOPICS_DIR}:</b></td> + <td class="row2">{S_TOPIC_SORT_DIR}</td> +</tr> +<tr> + <td colspan="2" class="spacer"></td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_VIEW_POSTS_DAYS}:</b></td> + <td class="row2">{S_POST_SORT_DAYS}</td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_VIEW_POSTS_KEY}:</b></td> + <td class="row2">{S_POST_SORT_KEY}</td> +</tr> +<tr> + <td class="row1" width="50%"><b class="genmed">{L_VIEW_POSTS_DIR}:</b></td> + <td class="row2">{S_POST_SORT_DIR}</td> +</tr> +<tr> + <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" name="reset" /></td> +</tr> +</table> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_profile_avatar.html b/tmw3/template/ucp_profile_avatar.html new file mode 100644 index 0000000..c981b8d --- /dev/null +++ b/tmw3/template/ucp_profile_avatar.html @@ -0,0 +1,87 @@ +<!-- INCLUDE ucp_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="2" valign="middle">{L_TITLE}</th> +</tr> +<!-- IF ERROR --> + <tr> + <td class="row3" colspan="2" align="center"><span class="gensmall error">{ERROR}</span></td> + </tr> +<!-- ENDIF --> +<tr> + <td class="row1" width="35%"><b class="genmed">{L_CURRENT_IMAGE}: </b><br /><span class="gensmall">{L_AVATAR_EXPLAIN}</span></td> + <td class="row2" align="center"><br /> + <!-- IF AVATAR -->{AVATAR}<br /><br /><input type="checkbox" class="radio" name="delete" /> <span class="gensmall">{L_DELETE_AVATAR}</span> + <!-- ELSE --><img src="{T_THEME_PATH}/images/no_avatar.gif" alt="" /> + <!-- ENDIF --></td> +</tr> +<!-- IF not S_AVATARS_ENABLED --> + <tr> + <td class="row3" colspan="2" align="center">{L_AVATAR_FEATURES_DISABLED}</td> + </tr> +<!-- ENDIF --> +<!-- IF S_UPLOAD_AVATAR_FILE --> + <tr> + <td class="row1" width="35%"><b class="genmed">{L_UPLOAD_AVATAR_FILE}: </b></td> + <td class="row2"><input type="hidden" name="MAX_FILE_SIZE" value="{AVATAR_SIZE}" /><input class="post" type="file" name="uploadfile" /></td> + </tr> +<!-- ENDIF --> +<!-- IF S_UPLOAD_AVATAR_URL --> + <tr> + <td class="row1" width="35%"><b class="genmed">{L_UPLOAD_AVATAR_URL}: </b><br /><span class="gensmall">{L_UPLOAD_AVATAR_URL_EXPLAIN}</span></td> + <td class="row2"><input class="post" type="text" name="uploadurl" size="40" value="{AVATAR_URL}" /></td> + </tr> +<!-- ENDIF --> +<!-- IF S_LINK_AVATAR --> + <tr> + <td class="row1" width="35%"><b class="genmed">{L_LINK_REMOTE_AVATAR}: </b><br /><span class="gensmall">{L_LINK_REMOTE_AVATAR_EXPLAIN}</span></td> + <td class="row2"><input class="post" type="text" name="remotelink" size="40" value="{AVATAR_REMOTE}" /></td> + </tr> + <tr> + <td class="row1" width="35%"><b class="genmed">{L_LINK_REMOTE_SIZE}: </b><br /><span class="gensmall">{L_LINK_REMOTE_SIZE_EXPLAIN}</span></td> + <td class="row2"><input class="post" type="text" name="width" size="3" value="{AVATAR_WIDTH}" /> <span class="gen">px X </span> <input class="post" type="text" name="height" size="3" value="{AVATAR_HEIGHT}" /> <span class="gen">px</span></td> + </tr> +<!-- ENDIF --> +<!-- IF S_DISPLAY_GALLERY --> + <tr> + <td class="row1" width="35%"><b class="genmed">{L_AVATAR_GALLERY}: </b></td> + <td class="row2"><strong><a href="{U_GALLERY}">{L_DISPLAY_GALLERY}</a></strong></td> + </tr> +<!-- ENDIF --> + +<!-- IF S_IN_AVATAR_GALLERY --> + <tr> + <th colspan="2">{L_AVATAR_GALLERY}</th> + </tr> + <tr> + <td class="cat" colspan="2" align="center" valign="middle"><span class="genmed">{L_AVATAR_CATEGORY}: </span><select name="category">{S_CAT_OPTIONS}</select> <input class="btnlite" tabindex="0" type="submit" value="{L_GO}" name="display_gallery" /></td> + </tr> + <tr> + <td class="row1" colspan="2" align="center"> + <table cellspacing="1" cellpadding="4" border="0"> + <!-- BEGIN avatar_row --> + <tr> + <!-- BEGIN avatar_column --> + <td class="row1" align="center"><img src="{avatar_row.avatar_column.AVATAR_IMAGE}" alt="{avatar_row.avatar_column.AVATAR_NAME}" title="{avatar_row.avatar_column.AVATAR_NAME}" /></td> + <!-- END avatar_column --> + </tr> + <tr> + <!-- BEGIN avatar_option_column --> + <td class="row2" align="center"><input type="radio" class="radio" name="avatar_select" value="{avatar_row.avatar_option_column.S_OPTIONS_AVATAR}" /></td> + <!-- END avatar_option_column --> + </tr> + <!-- END avatar_row --> + </table> + </td> + </tr> +<!-- ENDIF --> + +<!-- IF S_DISPLAY_GALLERY or S_IN_AVATAR_GALLERY or S_LINK_AVATAR or S_UPLOAD_AVATAR_URL or S_UPLOAD_AVATAR_FILE or AVATAR --> + <tr> + <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" /> <!-- IF S_IN_AVATAR_GALLERY --><input class="btnlite" type="submit" name="cancel" value="{L_CANCEL}" /><!-- ELSE --><input class="btnlite" type="reset" value="{L_RESET}" name="reset" /><!-- ENDIF --></td> + </tr> +<!-- ENDIF --> +</table> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_profile_profile_info.html b/tmw3/template/ucp_profile_profile_info.html new file mode 100644 index 0000000..c08b873 --- /dev/null +++ b/tmw3/template/ucp_profile_profile_info.html @@ -0,0 +1,72 @@ +<!-- INCLUDE ucp_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="2" valign="middle">{L_TITLE}</th> +</tr> +<!-- IF ERROR --> + <tr> + <td class="row3" colspan="2" align="center"><span class="gensmall error">{ERROR}</span></td> + </tr> +<!-- ENDIF --> +<tr> + <td class="row1" colspan="2"><span class="gensmall">{L_PROFILE_INFO_NOTICE}</span></td> +</tr> +<tr> + <td class="row1" width="35%"><b class="genmed">{L_UCP_ICQ}: </b></td> + <td class="row2"><input class="post" type="text" name="icq" size="30" maxlength="15" value="{ICQ}" /></td> +</tr> +<tr> + <td class="row1" width="35%"><b class="genmed">{L_UCP_AIM}: </b></td> + <td class="row2"><input class="post" type="text" name="aim" size="30" maxlength="255" value="{AIM}" /></td> +</tr> +<tr> + <td class="row1" width="35%"><b class="genmed">{L_UCP_MSNM}: </b></td> + <td class="row2"><input class="post" type="text" name="msn" size="30" maxlength="255" value="{MSN}" /></td> +</tr> +<tr> + <td class="row1" width="35%"><b class="genmed">{L_UCP_YIM}: </b></td> + <td class="row2"><input class="post" type="text" name="yim" size="30" maxlength="255" value="{YIM}" /></td> +</tr> +<tr> + <td class="row1" width="35%"><b class="genmed">{L_UCP_JABBER}: </b></td> + <td class="row2"><input class="post" type="text" name="jabber" size="30" maxlength="255" value="{JABBER}" /></td> +</tr> +<tr> + <td class="row1" width="35%"><b class="genmed">{L_WEBSITE}: </b></td> + <td class="row2"><input class="post" type="text" name="website" size="30" maxlength="255" value="{WEBSITE}" /></td> +</tr> +<tr> + <td class="row1" width="35%"><b class="genmed">{L_LOCATION}: </b></td> + <td class="row2"><input class="post" type="text" name="location" size="30" maxlength="100" value="{LOCATION}" /></td> +</tr> +<tr> + <td class="row1" width="35%"><b class="genmed">{L_OCCUPATION}: </b></td> + <td class="row2"><textarea class="post" name="occupation" rows="3" cols="30">{OCCUPATION}</textarea></td> +</tr> +<tr> + <td class="row1" width="35%"><b class="genmed">{L_INTERESTS}: </b></td> + <td class="row2"><textarea class="post" name="interests" rows="3" cols="30">{INTERESTS}</textarea></td> +</tr> +<!-- IF S_BIRTHDAYS_ENABLED --> + <tr> + <td class="row1" width="35%"><b class="genmed">{L_BIRTHDAY}: </b><br /><span class="gensmall">{L_BIRTHDAY_EXPLAIN}</span></td> + <td class="row2"><span class="genmed">{L_DAY}:</span> <select name="bday_day">{S_BIRTHDAY_DAY_OPTIONS}</select> <span class="genmed">{L_MONTH}:</span> <select name="bday_month">{S_BIRTHDAY_MONTH_OPTIONS}</select> <span class="genmed">{L_YEAR}:</span> <select name="bday_year">{S_BIRTHDAY_YEAR_OPTIONS}</select></td> + </tr> +<!-- ENDIF --> +<!-- BEGIN profile_fields --> + <tr> + <td class="row1" width="35%"> + <b class="genmed">{profile_fields.LANG_NAME}: </b> + <!-- IF profile_fields.S_REQUIRED --><b>*</b><!-- ENDIF --> + <!-- IF profile_fields.LANG_EXPLAIN --><br /><span class="gensmall">{profile_fields.LANG_EXPLAIN}</span><!-- ENDIF --> + </td> + <td class="row2">{profile_fields.FIELD}<!-- IF profile_fields.ERROR --><br /><span class="gensmall error">{profile_fields.ERROR}</span><!-- ENDIF --></td> + </tr> +<!-- END profile_fields --> +<tr> + <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" name="reset" /></td> +</tr> +</table> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_profile_reg_details.html b/tmw3/template/ucp_profile_reg_details.html new file mode 100644 index 0000000..78fb5a9 --- /dev/null +++ b/tmw3/template/ucp_profile_reg_details.html @@ -0,0 +1,53 @@ +<!-- INCLUDE ucp_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="2" valign="middle">{L_TITLE}</th> +</tr> +<!-- IF S_FORCE_PASSWORD --> + <tr> + <td class="row3" colspan="2" align="center"><span class="gensmall">{L_FORCE_PASSWORD_EXPLAIN}</span></td> + </tr> +<!-- ENDIF --> +<!-- IF ERROR --> + <tr> + <td class="row3" colspan="2" align="center"><span class="gensmall error">{ERROR}</span></td> + </tr> +<!-- ENDIF --> +<tr> + <td class="row1" width="35%"><b class="genmed">{L_USERNAME}: </b><br /><span class="gensmall">{L_USERNAME_EXPLAIN}</span></td> + <td class="row2"><!-- IF S_CHANGE_USERNAME --><input type="text" class="post" name="username" size="30" value="{USERNAME}" /><!-- ELSE --><b class="gen">{USERNAME}</b><!-- ENDIF --></td> +</tr> +<tr> + <td class="row1" width="35%"><b class="genmed">{L_EMAIL_ADDRESS}: </b></td> + <td class="row2"><!-- IF S_CHANGE_EMAIL --><input type="text" class="post" name="email" size="30" maxlength="100" value="{EMAIL}" /><!-- ELSE --><b class="gen">{EMAIL}</b><!-- ENDIF --></td> +</tr> +<!-- IF S_CHANGE_EMAIL --> + <tr> + <td class="row1" width="35%"><b class="genmed">{L_CONFIRM_EMAIL}: </b><br /><span class="gensmall">{L_CONFIRM_EMAIL_EXPLAIN}</span></td> + <td class="row2"><input type="text" class="post" name="email_confirm" size="30" maxlength="100" value="{CONFIRM_EMAIL}" /></td> + </tr> +<!-- ENDIF --> +<!-- IF S_CHANGE_PASSWORD --> + <tr> + <td class="row1" width="35%"><b class="genmed">{L_NEW_PASSWORD}: </b><br /><span class="gensmall">{L_CHANGE_PASSWORD_EXPLAIN}</span></td> + <td class="row2"><input type="password" class="post" name="new_password" size="30" maxlength="255" value="{NEW_PASSWORD}" /></td> + </tr> + <tr> + <td class="row1" width="35%"><b class="genmed">{L_CONFIRM_PASSWORD}: </b><br /><span class="gensmall">{L_CONFIRM_PASSWORD_EXPLAIN}</span></td> + <td class="row2"><input type="password" class="post" name="password_confirm" size="30" maxlength="255" value="{PASSWORD_CONFIRM}" /></td> + </tr> +<!-- ENDIF --> +<tr> + <th colspan="2">{L_CONFIRM_CHANGES}</th> +</tr> +<tr> + <td class="row1" width="35%"><b class="genmed">{L_CURRENT_PASSWORD}: </b><br /><span class="gensmall">{L_CURRENT_PASSWORD_EXPLAIN}</span></td> + <td class="row2"><input type="password" class="post" name="cur_password" size="30" maxlength="255" value="{CUR_PASSWORD}" /></td> +</tr> +<tr> + <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" name="reset" /></td> +</tr> +</table> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_profile_signature.html b/tmw3/template/ucp_profile_signature.html new file mode 100644 index 0000000..26b0804 --- /dev/null +++ b/tmw3/template/ucp_profile_signature.html @@ -0,0 +1,110 @@ +<!-- INCLUDE ucp_header.html --> + +<!-- DEFINE $S_SIGNATURE = 1 --> +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="2">{L_TITLE}</th> +</tr> +<tr> + <td colspan="2" class="row1">{L_SIGNATURE_EXPLAIN}</td> +</tr> + +<!-- IF ERROR --> + <tr> + <td class="row3" colspan="2" align="center"><span class="genmed error">{ERROR}</span></td> + </tr> +<!-- ENDIF --> + +<tr> + <td colspan="2" class="row2"> + <script type="text/javascript"> + // <![CDATA[ + var form_name = 'ucp'; + var text_name = 'signature'; + // ]]> + </script> + + <table cellspacing="0" cellpadding="2" border="0" width="99%"> + <!-- INCLUDE posting_buttons.html --> + <tr> + <td colspan="2"><textarea class="post" name="signature" rows="10" cols="76" style="width: 90%;" onselect="storeCaret(this);" onclick="storeCaret(this);" onkeyup="storeCaret(this);">{SIGNATURE}</textarea></td> + </tr> + <!-- IF S_BBCODE_ALLOWED --> + <tr> + <td colspan="2"> + <table cellspacing="0" cellpadding="0" border="0" width="100%"> + <tr> + <td align="{S_CONTENT_FLOW_BEGIN}"> + <script type="text/javascript"> + // <![CDATA[ + colorPalette('h', 6, 5) + // ]]> + </script> + </td> + </tr> + </table> + </td> + </tr> + <!-- ENDIF --> + </table> + </td> +</tr> +<tr> + <td class="row1" valign="top"><b class="genmed">{L_OPTIONS}</b><br /> + <table cellspacing="2" cellpadding="0" border="0"> + <tr> + <td class="gensmall">{BBCODE_STATUS}</td> + </tr> + <tr> + <td class="gensmall">{IMG_STATUS}</td> + </tr> + <tr> + <td class="gensmall">{FLASH_STATUS}</td> + </tr> + <tr> + <td class="gensmall">{URL_STATUS}</td> + </tr> + <tr> + <td class="gensmall">{SMILIES_STATUS}</td> + </tr> + </table> + </td> + <td class="row2" valign="top"> + <table cellspacing="0" cellpadding="1" border="0"> + <!-- IF S_BBCODE_ALLOWED --> + <tr> + <td><input type="checkbox" class="radio" name="disable_bbcode"{S_BBCODE_CHECKED} /></td> + <td class="gen">{L_DISABLE_BBCODE}</td> + </tr> + <!-- ENDIF --> + <!-- IF S_SMILIES_ALLOWED --> + <tr> + <td><input type="checkbox" class="radio" name="disable_smilies"{S_SMILIES_CHECKED} /></td> + <td class="gen">{L_DISABLE_SMILIES}</td> + </tr> + <!-- ENDIF --> + <!-- IF S_LINKS_ALLOWED --> + <tr> + <td><input type="checkbox" class="radio" name="disable_magic_url"{S_MAGIC_URL_CHECKED} /></td> + <td class="gen">{L_DISABLE_MAGIC_URL}</td> + </tr> + <!-- ENDIF --> + </table> + </td> +</tr> + +<!-- IF SIGNATURE_PREVIEW --> + <tr> + <th colspan="2" valign="middle">{L_SIGNATURE_PREVIEW}</th> + </tr> + <tr> + <td class="row1" colspan="2"><div class="postbody" style="padding: 6px;">{SIGNATURE_PREVIEW}</div></td> + </tr> +<!-- ENDIF --> + +<tr> + <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="btnlite" type="submit" name="preview" value="{L_PREVIEW}" /> <input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" name="reset" /></td> +</tr> +</table> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_register.html b/tmw3/template/ucp_register.html new file mode 100644 index 0000000..0c632f5 --- /dev/null +++ b/tmw3/template/ucp_register.html @@ -0,0 +1,113 @@ +<!-- INCLUDE overall_header.html --> + +<script type="text/javascript"> +// <![CDATA[ + /** + * Change language + */ + function change_language(lang_iso) + { + document.forms['register'].change_lang.value = lang_iso; + document.forms['register'].submit.click(); + } + + <!-- IF CAPTCHA_TEMPLATE and S_CONFIRM_REFRESH --> + onload_functions.push('apply_onkeypress_event()'); + <!-- ENDIF --> + +// ]]> +</script> + +<form method="post" action="{S_UCP_ACTION}" id="register"> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h2>{SITENAME} - {L_REGISTRATION}</h2> + + <fieldset class="fields2"> + <!-- IF ERROR --><dl><dd class="error">{ERROR}</dd></dl><!-- ENDIF --> + <!-- IF L_REG_COND --> + <dl><dd><strong>{L_REG_COND}</strong></dd></dl> + <!-- ENDIF --> + <dl> + <dt><label for="username">{L_USERNAME}:</label><br /><span>{L_USERNAME_EXPLAIN}</span></dt> + <dd><input type="text" tabindex="1" name="username" id="username" size="25" value="{USERNAME}" class="inputbox autowidth" title="{L_USERNAME}" /></dd> + </dl> + <dl> + <dt><label for="email">{L_EMAIL_ADDRESS}:</label></dt> + <dd><input type="text" tabindex="2" name="email" id="email" size="25" maxlength="100" value="{EMAIL}" class="inputbox autowidth" title="{L_EMAIL_ADDRESS}" /></dd> + </dl> + <dl> + <dt><label for="email_confirm">{L_CONFIRM_EMAIL}:</label></dt> + <dd><input type="text" tabindex="3" name="email_confirm" id="email_confirm" size="25" maxlength="100" value="{EMAIL_CONFIRM}" class="inputbox autowidth" title="{L_CONFIRM_EMAIL}" /></dd> + </dl> + <dl> + <dt><label for="new_password">{L_PASSWORD}:</label><br /><span>{L_PASSWORD_EXPLAIN}</span></dt> + <dd><input type="password" tabindex="4" name="new_password" id="new_password" size="25" value="{PASSWORD}" class="inputbox autowidth" title="{L_NEW_PASSWORD}" /></dd> + </dl> + <dl> + <dt><label for="password_confirm">{L_CONFIRM_PASSWORD}:</label></dt> + <dd><input type="password" tabindex="5" name="password_confirm" id="password_confirm" size="25" value="{PASSWORD_CONFIRM}" class="inputbox autowidth" title="{L_CONFIRM_PASSWORD}" /></dd> + </dl> + + <hr /> + + <dl> + <dt><label for="lang">{L_LANGUAGE}:</label></dt> + <dd><select name="lang" id="lang" onchange="change_language(this.value); return false;" tabindex="6" title="{L_LANGUAGE}">{S_LANG_OPTIONS}</select></dd> + </dl> + <dl> + <dt><label for="tz">{L_TIMEZONE}:</label></dt> + <dd><select name="tz" id="tz" tabindex="7" class="autowidth">{S_TZ_OPTIONS}</select></dd> + </dl> + + <!-- IF .profile_fields --> + <dl><dd><strong>{L_ITEMS_REQUIRED}</strong></dd></dl> + + <!-- BEGIN profile_fields --> + <dl> + <dt><label<!-- IF profile_fields.FIELD_ID --> for="{profile_fields.FIELD_ID}"<!-- ENDIF -->>{profile_fields.LANG_NAME}:<!-- IF profile_fields.S_REQUIRED --> *<!-- ENDIF --></label> + <!-- IF profile_fields.LANG_EXPLAIN --><br /><span>{profile_fields.LANG_EXPLAIN}</span><!-- ENDIF --> + <!-- IF profile_fields.ERROR --><br /><span class="error">{profile_fields.ERROR}</span><!-- ENDIF --></dt> + <dd>{profile_fields.FIELD}</dd> + </dl> + <!-- END profile_fields --> + <!-- ENDIF --> + + </fieldset> + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- IF CAPTCHA_TEMPLATE --> + <!-- DEFINE $CAPTCHA_TAB_INDEX = 8 --> + <!-- INCLUDE {CAPTCHA_TEMPLATE} --> +<!-- ENDIF --> + +<!-- IF S_COPPA --> + + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <h4>{L_COPPA_COMPLIANCE}</h4> + + <p>{L_COPPA_EXPLAIN}</p> + <span class="corners-bottom"><span></span></span></div> +</div> +<!-- ENDIF --> + +<div class="panel"> + <div class="inner"><span class="corners-top"><span></span></span> + + <fieldset class="submit-buttons"> + {S_HIDDEN_FIELDS} + <input type="reset" value="{L_RESET}" name="reset" class="button2" /> + <input type="submit" tabindex="9" name="submit" id="submit" value="{L_SUBMIT}" class="button1 default-submit-action" /> + {S_FORM_TOKEN} + </fieldset> + + <span class="corners-bottom"><span></span></span></div> +</div> +</form> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_remind.html b/tmw3/template/ucp_remind.html new file mode 100644 index 0000000..b14fbe8 --- /dev/null +++ b/tmw3/template/ucp_remind.html @@ -0,0 +1,28 @@ +<!-- INCLUDE overall_header.html --> + +<div align="center"> + +<form action="{S_PROFILE_ACTION}" method="post"> + +<table class="tablebg" width="50%" cellspacing="1" cellpadding="4" border="0"> +<tr> + <th colspan="2">{L_SEND_PASSWORD}</th> +</tr> +<tr> + <td class="row1" width="38%"><b class="genmed">{L_USERNAME}: </b></td> + <td class="row2"><input type="text" class="post" name="username" size="25" value="{USERNAME}" /></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_EMAIL_ADDRESS}: </b><br /><span class="gensmall">{L_EMAIL_REMIND}</span></td> + <td class="row2"><input type="text" class="post" name="email" size="25" maxlength="100" value="{EMAIL}" /></td> +</tr> +<tr> + <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="btnmain" /> <input type="reset" value="{L_RESET}" name="reset" class="btnlite" /></td> +</tr> +</table> +{S_FORM_TOKEN} +</form> + +</div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_resend.html b/tmw3/template/ucp_resend.html new file mode 100644 index 0000000..3a39f90 --- /dev/null +++ b/tmw3/template/ucp_resend.html @@ -0,0 +1,29 @@ +<!-- INCLUDE overall_header.html --> + +<div align="center"> + +<form action="{S_PROFILE_ACTION}" method="post"> + +<table class="tablebg" width="50%" cellspacing="1" cellpadding="4" border="0"> +<tr> + <th colspan="2">{L_UCP_RESEND}</th> +</tr> +<tr> + <td class="row1" width="38%"><b class="genmed">{L_USERNAME}: </b></td> + <td class="row2"><input type="text" class="post" name="username" size="25" value="{USERNAME}" /></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_EMAIL_ADDRESS}: </b><br /><span class="gensmall">{L_EMAIL_REMIND}</span></td> + <td class="row2"><input type="text" class="post" name="email" size="25" maxlength="100" value="{EMAIL}" /></td> +</tr> +<tr> + <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input type="submit" name="submit" value="{L_SUBMIT}" class="btnmain" /> <input type="reset" value="{L_RESET}" name="reset" class="btnlite" /></td> +</tr> +</table> +{S_FORM_TOKEN} + +</form> + +</div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_zebra_foes.html b/tmw3/template/ucp_zebra_foes.html new file mode 100644 index 0000000..3de5737 --- /dev/null +++ b/tmw3/template/ucp_zebra_foes.html @@ -0,0 +1,30 @@ +<!-- INCLUDE ucp_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="2" valign="middle">{L_TITLE}</th> +</tr> +<tr> + <td class="row3" colspan="2"><span class="gensmall">{L_FOES_EXPLAIN}</span></td> +</tr> +<!-- IF ERROR --> + <tr> + <td class="row3" colspan="2" align="center"><span class="gensmall error">{ERROR}</span></td> + </tr> +<!-- ENDIF --> +<tr> + <td class="row1" width="40%"><b class="genmed">{L_YOUR_FOES}:</b><br /><span class="gensmall">{L_YOUR_FOES_EXPLAIN}</span></td> + <td class="row2" align="center"><!-- IF S_USERNAME_OPTIONS --><select name="usernames[]" multiple="multiple" size="5">{S_USERNAME_OPTIONS}</select><!-- ELSE --><b class="genmed">{L_NO_FOES}</b><!-- ENDIF --></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_ADD_FOES}:</b><br /><span class="gensmall">{L_ADD_FOES_EXPLAIN} [ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span></td> + <td class="row2" align="center"><textarea name="add" rows="5" cols="30">{USERNAMES}</textarea><br /></td> +</tr> +<tr> + <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" name="reset" /></td> +</tr> +</table> +<!-- TEST --> + + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/ucp_zebra_friends.html b/tmw3/template/ucp_zebra_friends.html new file mode 100644 index 0000000..2abea04 --- /dev/null +++ b/tmw3/template/ucp_zebra_friends.html @@ -0,0 +1,28 @@ +<!-- INCLUDE ucp_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th colspan="2" valign="middle">{L_TITLE}</th> +</tr> +<tr> + <td class="row3" colspan="2"><span class="gensmall">{L_FRIENDS_EXPLAIN}</span></td> +</tr> +<!-- IF ERROR --> + <tr> + <td class="row3" colspan="2" align="center"><span class="gensmall error">{ERROR}</span></td> + </tr> +<!-- ENDIF --> +<tr> + <td class="row1" width="40%"><b class="genmed">{L_YOUR_FRIENDS}:</b><br /><span class="gensmall">{L_YOUR_FRIENDS_EXPLAIN}</span></td> + <td class="row2" align="center"><!-- IF S_USERNAME_OPTIONS --><select name="usernames[]" multiple="multiple" size="5">{S_USERNAME_OPTIONS}</select><!-- ELSE --><b class="genmed">{L_NO_FRIENDS}</b><!-- ENDIF --></td> +</tr> +<tr> + <td class="row1"><b class="genmed">{L_ADD_FRIENDS}:</b><br /><span class="gensmall">{L_ADD_FRIENDS_EXPLAIN} [ <a href="{U_FIND_USERNAME}" onclick="find_username(this.href); return false;">{L_FIND_USERNAME}</a> ]</span></td> + <td class="row2" align="center"><textarea name="add" rows="5" cols="30">{USERNAMES}</textarea><br /></td> +</tr> +<tr> + <td class="cat" colspan="2" align="center">{S_HIDDEN_FIELDS}<input class="btnmain" type="submit" name="submit" value="{L_SUBMIT}" /> <input class="btnlite" type="reset" value="{L_RESET}" name="reset" /></td> +</tr> +</table> + +<!-- INCLUDE ucp_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/viewforum_body.html b/tmw3/template/viewforum_body.html new file mode 100644 index 0000000..c4375b6 --- /dev/null +++ b/tmw3/template/viewforum_body.html @@ -0,0 +1,329 @@ +<!-- INCLUDE overall_header.html --> + +<!-- IF S_FORUM_RULES --> + <div class="forumrules"> + <!-- IF U_FORUM_RULES --> + <h3>{L_FORUM_RULES}</h3><br /> + <a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a> + <!-- ELSE --> + <h3>{L_FORUM_RULES}</h3><br /> + {FORUM_RULES} + <!-- ENDIF --> + </div> + + <br clear="all" /> +<!-- ENDIF --> + +<!-- IF S_DISPLAY_ACTIVE --> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><span class="nav">{L_ACTIVE_TOPICS}</span></td> + </tr> + + <tr> + <!-- IF S_TOPIC_ICONS --> + <th colspan="3"> {L_TOPICS} </th> + <!-- ELSE --> + <th colspan="2"> {L_TOPICS} </th> + <!-- ENDIF --> + <th> {L_AUTHOR} </th> + <th> {L_REPLIES} </th> + <th> {L_VIEWS} </th> + <th> {L_LAST_POST} </th> + </tr> + + <!-- BEGIN topicrow --> + + <tr> + <td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td> + <!-- IF S_TOPIC_ICONS --> + <td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td> + <!-- ENDIF --> + <td class="row1"> + <!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF --> + {topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" 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}">{UNAPPROVED_IMG}</a> + <!-- ENDIF --> + <!-- IF topicrow.S_TOPIC_REPORTED --> + <a href="{topicrow.U_MCP_REPORT}">{REPORTED_IMG}</a> + <!-- ENDIF --> + <!-- IF topicrow.PAGINATION --> + <p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p> + <!-- ENDIF --> + </td> + <td class="row2" width="130" align="center"><p class="topicauthor">{topicrow.TOPIC_AUTHOR_FULL}</p></td> + <td class="row1" width="50" align="center"><p class="topicdetails">{topicrow.REPLIES}</p></td> + <td class="row2" width="50" align="center"><p class="topicdetails">{topicrow.VIEWS}</p></td> + <td class="row1" width="140" align="center"> + <p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p> + <p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL} + <!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF --> + </p> + </td> + </tr> + + <!-- BEGINELSE --> + + <tr> + <!-- IF S_TOPIC_ICONS --> + <td class="row1" colspan="7" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td> + <!-- ELSE --> + <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td> + <!-- ENDIF --> + </tr> + <!-- END topicrow --> + + <tr align="center"> + <td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"> </td> + </tr> + </table> + + <br clear="all" /> +<!-- ENDIF --> + +<!-- IF S_HAS_SUBFORUM --> + <!-- INCLUDE forumlist_body.html --> + <br clear="all" /> +<!-- ENDIF --> + +<!-- IF S_IS_POSTABLE or S_NO_READ_ACCESS --> + <div id="pageheader"> + <h2><a class="titles" href="{U_VIEW_FORUM}">{FORUM_NAME}</a></h2> + + <!-- IF MODERATORS --> + <p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p> + <!-- ENDIF --> + <!-- IF U_MCP --> + <p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p> + <!-- ENDIF --> + </div> + + <br clear="all" /><br /> +<!-- ENDIF --> + +<div id="pagecontent"> + +<!-- IF S_NO_READ_ACCESS --> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="row1" height="30" align="center" valign="middle"><span class="gen">{L_NO_READ_ACCESS}</span></td> + </tr> + </table> + + <!-- IF not S_USER_LOGGED_IN --> + + <br /><br /> + + <form method="post" action="{S_LOGIN_ACTION}"> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="cat"><h4><a href="{U_LOGIN_LOGOUT}">{L_LOGIN_LOGOUT}</a></h4></td> + </tr> + <tr> + <td class="row1" align="center"><span class="genmed">{L_USERNAME}:</span> <input class="post" type="text" name="username" size="10" /> <span class="genmed">{L_PASSWORD}:</span> <input class="post" type="password" name="password" size="10" /><!-- IF S_AUTOLOGIN_ENABLED --> <span class="gensmall">{L_LOG_ME_IN}</span> <input type="checkbox" class="radio" name="autologin" /><!-- ENDIF --> <input type="submit" class="btnmain" name="login" value="{L_LOGIN}" /></td> + </tr> + </table> + + </form> + + <!-- ENDIF --> + + <br clear="all" /> +<!-- ENDIF --> + + <!-- IF S_DISPLAY_POST_INFO or TOTAL_TOPICS --> + <table width="100%" cellspacing="1"> + <tr> + <!-- IF S_DISPLAY_POST_INFO and not S_IS_BOT --> + <td align="{S_CONTENT_FLOW_BEGIN}" valign="middle"><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a></td> + <!-- ENDIF --> + <!-- IF TOTAL_TOPICS --> + <td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td> + <td class="gensmall" nowrap="nowrap"> [ {TOTAL_TOPICS} ] </td> + <td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td> + <!-- ENDIF --> + </tr> + </table> + <!-- ENDIF --> + + <!-- IF not S_DISPLAY_ACTIVE and (S_IS_POSTABLE or .topicrow) --> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="cat" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"> + <table width="100%" cellspacing="0"> + <tr class="nav"> + <td valign="middle"> <!-- IF S_WATCH_FORUM_LINK and not S_IS_BOT --><a href="{S_WATCH_FORUM_LINK}">{S_WATCH_FORUM_TITLE}</a><!-- ENDIF --></td> + <td align="{S_CONTENT_FLOW_END}" valign="middle"><!-- IF not S_IS_BOT and U_MARK_TOPICS --><a href="{U_MARK_TOPICS}">{L_MARK_TOPICS_READ}</a><!-- ENDIF --> </td> + </tr> + </table> + </td> + </tr> + + <tr> + <!-- IF S_TOPIC_ICONS --> + <th colspan="3"> {L_TOPICS} </th> + <!-- ELSE --> + <th colspan="2"> {L_TOPICS} </th> + <!-- ENDIF --> + <th> {L_AUTHOR} </th> + <th> {L_REPLIES} </th> + <th> {L_VIEWS} </th> + <th> {L_LAST_POST} </th> + </tr> + + <!-- BEGIN topicrow --> + + <!-- IF topicrow.S_TOPIC_TYPE_SWITCH eq 1 --> + <tr> + <td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_ANNOUNCEMENTS}</b></td> + </tr> + <!-- ELSEIF topicrow.S_TOPIC_TYPE_SWITCH eq 0 --> + <tr> + <td class="row3" colspan="<!-- IF S_TOPIC_ICONS -->7<!-- ELSE -->6<!-- ENDIF -->"><b class="gensmall">{L_TOPICS}</b></td> + </tr> + <!-- ENDIF --> + + <tr> + <td class="row1" width="25" align="center">{topicrow.TOPIC_FOLDER_IMG}</td> + <!-- IF S_TOPIC_ICONS --> + <td class="row1" width="25" align="center"><!-- IF topicrow.TOPIC_ICON_IMG --><img src="{T_ICONS_PATH}{topicrow.TOPIC_ICON_IMG}" width="{topicrow.TOPIC_ICON_IMG_WIDTH}" height="{topicrow.TOPIC_ICON_IMG_HEIGHT}" alt="" title="" /><!-- ENDIF --></td> + <!-- ENDIF --> + <td class="row1"> + <!-- IF topicrow.S_UNREAD_TOPIC --><a href="{topicrow.U_NEWEST_POST}">{NEWEST_POST_IMG}</a><!-- ENDIF --> + {topicrow.ATTACH_ICON_IMG} <!-- IF topicrow.S_HAS_POLL or topicrow.S_TOPIC_MOVED --><b>{topicrow.TOPIC_TYPE}</b> <!-- ENDIF --><a title="{L_POSTED}: {topicrow.FIRST_POST_TIME}" 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.PAGINATION --> + <p class="gensmall"> [ {GOTO_PAGE_IMG}{L_GOTO_PAGE}: {topicrow.PAGINATION} ] </p> + <!-- ENDIF --> + </td> + <td class="row2" width="130" align="center"><p class="topicauthor">{topicrow.TOPIC_AUTHOR_FULL}</p></td> + <td class="row1" width="50" align="center"><p class="topicdetails">{topicrow.REPLIES}</p></td> + <td class="row2" width="50" align="center"><p class="topicdetails">{topicrow.VIEWS}</p></td> + <td class="row1" width="140" align="center"> + <p class="topicdetails" style="white-space: nowrap;">{topicrow.LAST_POST_TIME}</p> + <p class="topicdetails">{topicrow.LAST_POST_AUTHOR_FULL} + <!-- IF not S_IS_BOT --><a href="{topicrow.U_LAST_POST}">{LAST_POST_IMG}</a><!-- ENDIF --> + </p> + </td> + </tr> + + <!-- BEGINELSE --> + <!-- IF S_IS_POSTABLE --> + <tr> + <!-- IF S_TOPIC_ICONS --> + <td class="row1" colspan="7" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td> + <!-- ELSE --> + <td class="row1" colspan="6" height="30" align="center" valign="middle"><span class="gen"><!-- IF not S_SORT_DAYS -->{L_NO_TOPICS}<!-- ELSE -->{L_NO_TOPICS_TIME_FRAME}<!-- ENDIF --></span></td> + <!-- ENDIF --> + </tr> + <!-- ENDIF --> + <!-- END topicrow --> + + <!-- IF not S_IS_BOT --> + <tr align="center"> + <!-- IF S_TOPIC_ICONS --> + <td class="cat" colspan="7"> + <!-- ELSE --> + <td class="cat" colspan="6"> + <!-- ENDIF --> + <form method="post" action="{S_FORUM_ACTION}"><span class="gensmall">{L_DISPLAY_TOPICS}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" name="sort" value="{L_GO}" /></form> + </td> + </tr> + <!-- ENDIF --> + </table> + <!-- ENDIF --> + + <!-- IF S_DISPLAY_POST_INFO or TOTAL_TOPICS --> + <table width="100%" cellspacing="1"> + <tr> + <!-- IF S_DISPLAY_POST_INFO and not S_IS_BOT --> + <td align="{S_CONTENT_FLOW_BEGIN}" valign="middle"><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a></td> + <!-- ENDIF --> + <!-- IF TOTAL_TOPICS --> + <td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td> + <td class="gensmall" nowrap="nowrap"> [ {TOTAL_TOPICS} ] </td> + <td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td> + <!-- ENDIF --> + </tr> + </table> + <!-- ENDIF --> + + <br clear="all" /> +</div> + +<!-- INCLUDE breadcrumbs.html --> + +<!-- IF S_DISPLAY_ONLINE_LIST --> + <br clear="all" /> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="cat"><h4>{L_WHO_IS_ONLINE}</h4></td> + </tr> + <tr> + <td class="row1"><p class="gensmall">{LOGGED_IN_USER_LIST}</p></td> + </tr> + </table> +<!-- ENDIF --> + +<!-- IF S_DISPLAY_POST_INFO --> + <br clear="all" /> + + <table width="100%" cellspacing="0"> + <tr> + <td align="{S_CONTENT_FLOW_BEGIN}" valign="top"> + <table cellspacing="3" cellpadding="0" border="0"> + <tr> + <td width="20" style="text-align: center;">{FOLDER_NEW_IMG}</td> + <td class="gensmall">{L_NEW_POSTS}</td> + <td> </td> + <td width="20" style="text-align: center;">{FOLDER_IMG}</td> + <td class="gensmall">{L_NO_NEW_POSTS}</td> + <td> </td> + <td width="20" style="text-align: center;">{FOLDER_ANNOUNCE_IMG}</td> + <td class="gensmall">{L_ICON_ANNOUNCEMENT}</td> + </tr> + <tr> + <td style="text-align: center;">{FOLDER_HOT_NEW_IMG}</td> + <td class="gensmall">{L_NEW_POSTS_HOT}</td> + <td> </td> + <td style="text-align: center;">{FOLDER_HOT_IMG}</td> + <td class="gensmall">{L_NO_NEW_POSTS_HOT}</td> + <td> </td> + <td style="text-align: center;">{FOLDER_STICKY_IMG}</td> + <td class="gensmall">{L_ICON_STICKY}</td> + </tr> + <tr> + <td style="text-align: center;">{FOLDER_LOCKED_NEW_IMG}</td> + <td class="gensmall">{L_NEW_POSTS_LOCKED}</td> + <td> </td> + <td style="text-align: center;">{FOLDER_LOCKED_IMG}</td> + <td class="gensmall">{L_NO_NEW_POSTS_LOCKED}</td> + <td> </td> + <td style="text-align: center;">{FOLDER_MOVED_IMG}</td> + <td class="gensmall">{L_TOPIC_MOVED}</td> + </tr> + </table> + </td> + <td align="{S_CONTENT_FLOW_END}"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span></td> + </tr> + </table> +<!-- ENDIF --> + +<br clear="all" /> + +<table width="100%" cellspacing="0"> +<tr> + <td><!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td> + <td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></td> +</tr> +</table> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/viewonline_body.html b/tmw3/template/viewonline_body.html new file mode 100644 index 0000000..1fcab01 --- /dev/null +++ b/tmw3/template/viewonline_body.html @@ -0,0 +1,57 @@ +<!-- INCLUDE overall_header.html --> + +<h4>{TOTAL_REGISTERED_USERS_ONLINE}</h4> +<h4>{TOTAL_GUEST_USERS_ONLINE}<!-- IF S_SWITCH_GUEST_DISPLAY --> [ <a href="{U_SWITCH_GUEST_DISPLAY}">{L_SWITCH_GUEST_DISPLAY}</a> ]<!-- ENDIF --></h4> +<br /> + +<!-- IF PAGINATION --> + <table width="100%" cellspacing="1"> + <tr> + <td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td> + <td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><b><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{L_GOTO_PAGE}</a> <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}">{L_PREVIOUS}</a> <!-- ENDIF -->{PAGINATION}<!-- IF NEXT_PAGE --> <a href="{NEXT_PAGE}">{L_NEXT}</a><!-- ENDIF --></b></td> + </tr> + </table> +<!-- ENDIF --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th width="40%"><a href="{U_SORT_USERNAME}">{L_USERNAME}</a></th> + <th width="20%"><a href="{U_SORT_UPDATED}">{L_LAST_UPDATED}</a></th> + <th width="40%"><a href="{U_SORT_LOCATION}">{L_FORUM_LOCATION}</a></th> +</tr> +<!-- BEGIN user_row --> + <tr> + <td class="row1"><p class="gen">{user_row.USERNAME_FULL}</p><!-- IF user_row.USER_IP --><p class="gensmall">{L_IP}: <a href="{user_row.U_USER_IP}">{user_row.USER_IP}</a> » <a href="{user_row.U_WHOIS}" onclick="popup(this.href, 750, 500); return false;">{L_WHOIS}</a></p><!-- ENDIF --> + <!-- IF user_row.USER_BROWSER -->{user_row.USER_BROWSER}<!-- ENDIF --></td> + <td class="row2" align="center" nowrap="nowrap"><p class="genmed"> {user_row.LASTUPDATE}</p></td> + <td class="row1"><p class="genmed"><a href="{user_row.U_FORUM_LOCATION}">{user_row.FORUM_LOCATION}</a></p></td> + </tr> +<!-- END user_row --> + +<!-- IF LEGEND --> + <tr> + <td class="row1" colspan="3"><b class="gensmall">{L_LEGEND} :: {LEGEND}</b></td> + </tr> +<!-- ENDIF --> +</table> + +<!-- IF PAGINATION --> + <table width="100%" cellspacing="1"> + <tr> + <td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td> + <td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><b><a href="#" onclick="jumpto(); return false;" title="{L_JUMP_TO_PAGE}">{L_GOTO_PAGE}</a> <!-- IF PREVIOUS_PAGE --><a href="{PREVIOUS_PAGE}">{L_PREVIOUS}</a> <!-- ENDIF -->{PAGINATION}<!-- IF NEXT_PAGE --> <a href="{NEXT_PAGE}">{L_NEXT}</a><!-- ENDIF --></b></td> + </tr> + </table> +<!-- ENDIF --> + +<div class="gensmall" align="{S_CONTENT_FLOW_END}">{L_ONLINE_EXPLAIN}</div> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<br clear="all" /> + +<div align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></div> + +<!-- INCLUDE overall_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/viewonline_whois.html b/tmw3/template/viewonline_whois.html new file mode 100644 index 0000000..033d848 --- /dev/null +++ b/tmw3/template/viewonline_whois.html @@ -0,0 +1,12 @@ +<!-- INCLUDE simple_header.html --> + +<table class="tablebg" width="100%" cellspacing="1"> +<tr> + <th>{L_WHOIS}</th> +</tr> +<tr> + <td class="row1"><pre>{WHOIS}</pre><br /><a class="nav" href="#" onclick="window.close(); return false;">{L_CLOSE_WINDOW}</a></td> +</tr> +</table> + +<!-- INCLUDE simple_footer.html -->
\ No newline at end of file diff --git a/tmw3/template/viewtopic_body.html b/tmw3/template/viewtopic_body.html new file mode 100644 index 0000000..1c213fe --- /dev/null +++ b/tmw3/template/viewtopic_body.html @@ -0,0 +1,356 @@ +<!-- INCLUDE overall_header.html --> + +<!-- IF S_FORUM_RULES --> + <div class="forumrules"> + <!-- IF U_FORUM_RULES --> + <h3>{L_FORUM_RULES}</h3><br /> + <a href="{U_FORUM_RULES}"><b>{L_FORUM_RULES_LINK}</b></a> + <!-- ELSE --> + <h3>{L_FORUM_RULES}</h3><br /> + {FORUM_RULES} + <!-- ENDIF --> + </div> + + <br clear="all" /> +<!-- ENDIF --> + +<div id="pageheader"> + <h2><a class="titles" href="{U_VIEW_TOPIC}">{TOPIC_TITLE}</a></h2> + +<!-- IF MODERATORS --> + <p class="moderators"><!-- IF S_SINGLE_MODERATOR -->{L_MODERATOR}<!-- ELSE -->{L_MODERATORS}<!-- ENDIF -->: {MODERATORS}</p> +<!-- ENDIF --> +<!-- IF U_MCP --> + <p class="linkmcp">[ <a href="{U_MCP}">{L_MCP}</a> ]</p> +<!-- ENDIF --> +</div> + +<br clear="all" /><br /> + +<div id="pagecontent"> + + <table width="100%" cellspacing="1"> + <tr> + <td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap"> + <!-- IF not S_IS_BOT --> + <!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a> <!-- ENDIF --> + <!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF --> + <!-- ENDIF --> + </td> + <!-- IF TOTAL_POSTS --> + <td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td> + <td class="gensmall" nowrap="nowrap"> [ {TOTAL_POSTS} ] </td> + <td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td> + <!-- ENDIF --> + </tr> + </table> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="cat"> + <table width="100%" cellspacing="0"> + <tr> + <td class="nav" nowrap="nowrap"> + <!-- IF not S_IS_BOT --> + <!-- IF U_WATCH_TOPIC --><a href="{U_WATCH_TOPIC}" title="{L_WATCH_TOPIC}">{L_WATCH_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC or U_BOOKMARK_TOPIC --> | <!-- ENDIF --><!-- ENDIF --> + <!-- IF U_BOOKMARK_TOPIC --><a href="{U_BOOKMARK_TOPIC}" title="{L_BOOKMARK_TOPIC}">{L_BOOKMARK_TOPIC}</a><!-- IF U_PRINT_TOPIC or U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF --> + <!-- IF U_PRINT_TOPIC --><a href="{U_PRINT_TOPIC}" title="{L_PRINT_TOPIC}">{L_PRINT_TOPIC}</a><!-- IF U_EMAIL_TOPIC or U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF --> + <!-- IF U_EMAIL_TOPIC --><a href="{U_EMAIL_TOPIC}" title="{L_EMAIL_TOPIC}">{L_EMAIL_TOPIC}</a><!-- IF U_BUMP_TOPIC --> | <!-- ENDIF --><!-- ENDIF --> + <!-- IF U_BUMP_TOPIC --><a href="{U_BUMP_TOPIC}" title="{L_BUMP_TOPIC}">{L_BUMP_TOPIC}</a><!-- ENDIF --> + <!-- ENDIF --> + </td> + <td class="nav" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><a href="{U_VIEW_OLDER_TOPIC}">{L_VIEW_PREVIOUS_TOPIC}</a><!-- IF U_VIEW_UNREAD_POST and not S_IS_BOT --> | <a href="{U_VIEW_UNREAD_POST}">{L_VIEW_UNREAD_POST}</a><!-- ENDIF --> | <a href="{U_VIEW_NEWER_TOPIC}">{L_VIEW_NEXT_TOPIC}</a> </td> + </tr> + </table> + </td> + </tr> +<!-- IF S_HAS_POLL --> + <tr> + <td class="row2" colspan="2" align="center"><br clear="all" /> + + <form method="post" action="{S_POLL_ACTION}"> + + <table cellspacing="0" cellpadding="4" border="0" align="center"> + <tr> + <td align="center"><span class="gen"><b>{POLL_QUESTION}</b></span><br /><span class="gensmall">{L_POLL_LENGTH}</span></td> + </tr> + <tr> + <td align="{S_CONTENT_FLOW_BEGIN}"> + <table cellspacing="0" cellpadding="2" border="0"> + <!-- BEGIN poll_option --> + <tr> + <!-- IF S_CAN_VOTE --> + <td> + <!-- IF S_IS_MULTI_CHOICE --> + <input type="checkbox" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /> + <!-- ELSE --> + <input type="radio" class="radio" name="vote_id[]" value="{poll_option.POLL_OPTION_ID}"<!-- IF poll_option.POLL_OPTION_VOTED --> checked="checked"<!-- ENDIF --> /> + <!-- ENDIF --> + </td> + <!-- ENDIF --> + <td><span class="gen">{poll_option.POLL_OPTION_CAPTION}</span></td> + <!-- IF S_DISPLAY_RESULTS --> + <td dir="ltr">{POLL_LEFT_CAP_IMG}{poll_option.POLL_OPTION_IMG}{POLL_RIGHT_CAP_IMG}</td> + <td class="gen" align="{S_CONTENT_FLOW_END}"><b> {poll_option.POLL_OPTION_PERCENT} </b></td> + <td class="gen" align="center">[ {poll_option.POLL_OPTION_RESULT} ]</td> + <!-- IF poll_option.POLL_OPTION_VOTED --> + <td class="gensmall" valign="top"><b title="{L_POLL_VOTED_OPTION}">x</b></td> + <!-- ENDIF --> + <!-- ENDIF --> + </tr> + <!-- END poll_option --> + </table> + </td> + </tr> + <!-- IF S_CAN_VOTE --> + <tr> + <td align="center"><span class="gensmall">{L_MAX_VOTES}</span><br /><br /><input type="submit" name="update" value="{L_SUBMIT_VOTE}" class="btnlite" /></td> + </tr> + <!-- ENDIF --> + <!-- IF S_DISPLAY_RESULTS --> + <tr> + <td class="gensmall" colspan="4" align="center"><b>{L_TOTAL_VOTES} : {TOTAL_VOTES}</b></td> + </tr> + <!-- ELSE --> + <tr> + <td align="center"><span class="gensmall"><b><a href="{U_VIEW_RESULTS}">{L_VIEW_RESULTS}</a></b></span></td> + </tr> + <!-- ENDIF --> + </table> + {S_HIDDEN_FIELDS}{S_FORM_TOKEN} + + </form> + + </td> + </tr> +<!-- ENDIF --> + </table> + +<!-- BEGIN postrow --> + <table class="tablebg" width="100%" cellspacing="1"> + <!-- IF postrow.S_FIRST_ROW --> + <tr> + <th>{L_AUTHOR}</th> + <th>{L_MESSAGE}</th> + </tr> + <!-- ENDIF --> + <!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + + <!-- IF postrow.S_IGNORE_POST --> + <td class="gensmall" colspan="2" height="25" align="center"><!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a>{postrow.L_IGNORE_POST}</td> + <!-- ELSE --> + + <td align="center" valign="middle"> + <!-- IF postrow.S_FIRST_UNREAD --><a name="unread"></a><!-- ENDIF --><a name="p{postrow.POST_ID}"></a> + <b class="postauthor"<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b> + </td> + <td width="100%" height="25"> + <table width="100%" cellspacing="0"> + <tr> + <!-- IF postrow.POST_ICON_IMG --> + <td><img src="{T_ICONS_PATH}{postrow.POST_ICON_IMG}" width="{postrow.POST_ICON_IMG_WIDTH}" height="{postrow.POST_ICON_IMG_HEIGHT}" alt="" title="" /></td> + <!-- ENDIF --> + <td class="gensmall" width="100%"><div style="float: {S_CONTENT_FLOW_BEGIN};"> <b>{L_POST_SUBJECT}:</b> {postrow.POST_SUBJECT}</div><div style="float: {S_CONTENT_FLOW_END};"><!-- IF S_IS_BOT -->{postrow.MINI_POST_IMG}<!-- ELSE --><a href="{postrow.U_MINI_POST}">{postrow.MINI_POST_IMG}</a><!-- ENDIF --><b>{L_POSTED}:</b> {postrow.POST_DATE} </div></td> + </tr> + </table> + </td> + </tr> + + <!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + + <td valign="top" class="profile"> + <table cellspacing="4" align="center" width="150"> + <!-- IF postrow.ONLINE_IMG --> + <tr> + <td>{postrow.ONLINE_IMG}</td> + </tr> + <!-- ENDIF --> + <!-- IF postrow.RANK_TITLE --> + <tr> + <td class="postdetails">{postrow.RANK_TITLE}</td> + </tr> + <!-- ENDIF --> + <!-- IF postrow.RANK_IMG --> + <tr> + <td>{postrow.RANK_IMG}</td> + </tr> + <!-- ENDIF --> + <!-- IF postrow.POSTER_AVATAR --> + <tr> + <td>{postrow.POSTER_AVATAR}</td> + </tr> + <!-- ENDIF --> + </table> + + <span class="postdetails"> + <!-- IF postrow.POSTER_JOINED --><br /><b>{L_JOINED}:</b> {postrow.POSTER_JOINED}<!-- ENDIF --> + <!-- IF postrow.POSTER_POSTS != '' --><br /><b>{L_POSTS}:</b> {postrow.POSTER_POSTS}<!-- ENDIF --> + <!-- IF postrow.POSTER_FROM --><br /><b>{L_LOCATION}:</b> {postrow.POSTER_FROM}<!-- ENDIF --> + + <!-- IF postrow.S_PROFILE_FIELD1 --> + <!-- Use a construct like this to include admin defined profile fields. Replace FIELD1 with the name of your field. --> + <br /><b>{postrow.PROFILE_FIELD1_NAME}:</b> {postrow.PROFILE_FIELD1_VALUE} + <!-- ENDIF --> + + <!-- BEGIN custom_fields --> + <br /><b>{postrow.custom_fields.PROFILE_FIELD_NAME}:</b> {postrow.custom_fields.PROFILE_FIELD_VALUE} + <!-- END custom_fields --> + </span> + + </td> + <td valign="top"> + <table width="100%" cellspacing="5"> + <tr> + <td> + <!-- IF postrow.S_POST_UNAPPROVED or postrow.S_POST_REPORTED --> + <table width="100%" cellspacing="0"> + <tr> + <td class="gensmall"><!-- IF postrow.S_POST_UNAPPROVED --><span class="postapprove">{UNAPPROVED_IMG} <a href="{postrow.U_MCP_APPROVE}">{L_POST_UNAPPROVED}</a></span> <!-- ENDIF --> <!-- IF postrow.S_POST_REPORTED --><span class="postreported">{REPORTED_IMG} <a href="{postrow.U_MCP_REPORT}">{L_POST_REPORTED}</a></span><!-- ENDIF --></td> + </tr> + </table> + + <br clear="all" /> + <!-- ENDIF --> + + <div class="postbody">{postrow.MESSAGE}</div> + + <!-- IF postrow.S_HAS_ATTACHMENTS --> + <br clear="all" /><br /> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="row3"><b class="genmed">{L_ATTACHMENTS}: </b></td> + </tr> + <!-- BEGIN attachment --> + <tr> + <!-- IF postrow.attachment.S_ROW_COUNT is even --><td class="row2"><!-- ELSE --><td class="row1"><!-- ENDIF -->{postrow.attachment.DISPLAY_ATTACHMENT}</td> + </tr> + <!-- END attachment --> + </table> + <!-- ENDIF --> + + <!-- IF postrow.S_DISPLAY_NOTICE --> + <span class="gensmall error"><br /><br />{L_DOWNLOAD_NOTICE}</span> + <!-- ENDIF --> + <!-- IF postrow.SIGNATURE --> + <span class="postbody"><br />_________________<br />{postrow.SIGNATURE}</span> + <!-- ENDIF --> + + <!-- IF postrow.EDITED_MESSAGE or postrow.EDIT_REASON --> + <!-- IF postrow.EDIT_REASON --> + <br /><br /> + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="row3"><span class="gensmall">{postrow.EDITED_MESSAGE}</span></td> + </tr> + <tr> + <td class="row2"><span class="genmed">{postrow.EDIT_REASON}</span></td> + </tr> + </table> + <!-- ELSE --> + <br /><br /> + <span class="gensmall">{postrow.EDITED_MESSAGE}</span> + <!-- ENDIF --> + <!-- ENDIF --> + + <!-- IF postrow.BUMPED_MESSAGE --> + <span class="gensmall">{postrow.BUMPED_MESSAGE}</span> + <!-- ENDIF --> + + <!-- IF not postrow.S_HAS_ATTACHMENTS --><br clear="all" /><br /><!-- ENDIF --> + + <table width="100%" cellspacing="0"> + <tr valign="middle"> + <td class="gensmall" align="{S_CONTENT_FLOW_END}"> + <!-- IF not S_IS_BOT --> + <!-- IF postrow.U_REPORT --><a href="{postrow.U_REPORT}">{REPORT_IMG}</a> <!-- ENDIF --> + <!-- IF postrow.U_INFO --><a href="{postrow.U_INFO}">{INFO_IMG}</a> <!-- ENDIF --> + <!-- IF postrow.U_WARN --><a href="{postrow.U_WARN}">{WARN_IMG}</a> <!-- ENDIF --> + <!-- IF postrow.U_DELETE --><a href="{postrow.U_DELETE}">{DELETE_IMG}</a> <!-- ENDIF --> + <!-- ENDIF --> + </td> + </tr> + </table> + </td> + </tr> + </table> + </td> + </tr> + + <!-- IF postrow.S_ROW_COUNT is even --><tr class="row1"><!-- ELSE --><tr class="row2"><!-- ENDIF --> + + <td class="profile"><strong><a href="#wrapheader">{L_BACK_TO_TOP}</a></strong></td> + <td><div class="gensmall" style="float: {S_CONTENT_FLOW_BEGIN};"> <!-- IF postrow.U_PROFILE --><a href="{postrow.U_PROFILE}">{PROFILE_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_PM --><a href="{postrow.U_PM}">{PM_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_EMAIL --><a href="{postrow.U_EMAIL}">{EMAIL_IMG}</a> <!-- ENDIF --> </div> <div class="gensmall" style="float: {S_CONTENT_FLOW_END};"><!-- IF not S_IS_BOT --><!-- IF postrow.U_EDIT --><a href="{postrow.U_EDIT}">{EDIT_IMG}</a> <!-- ENDIF --> <!-- IF postrow.U_QUOTE --><a href="{postrow.U_QUOTE}">{QUOTE_IMG}</a> <!-- ENDIF --> <!-- ENDIF --> </div></td> + <!-- ENDIF --> + </tr> + + <tr> + <td class="spacer" colspan="2" height="1"><img src="images/spacer.gif" alt="" width="1" height="1" /></td> + </tr> + </table> +<!-- END postrow --> + + <!-- IF not S_IS_BOT --> + <table width="100%" cellspacing="1" class="tablebg"> + <tr align="center"> + <td class="cat"><form name="viewtopic" method="post" action="{S_TOPIC_ACTION}"><span class="gensmall">{L_DISPLAY_POSTS}:</span> {S_SELECT_SORT_DAYS} <span class="gensmall">{L_SORT_BY}</span> {S_SELECT_SORT_KEY} {S_SELECT_SORT_DIR} <input class="btnlite" type="submit" value="{L_GO}" name="sort" /></form></td> + </tr> + </table> + <!-- ENDIF --> + + <table width="100%" cellspacing="1"> + <tr> + <td align="{S_CONTENT_FLOW_BEGIN}" valign="middle" nowrap="nowrap"> + <!-- IF not S_IS_BOT --> + <!-- IF S_DISPLAY_POST_INFO --><a href="{U_POST_NEW_TOPIC}">{POST_IMG}</a> <!-- ENDIF --> + <!-- IF S_DISPLAY_REPLY_INFO --><a href="{U_POST_REPLY_TOPIC}">{REPLY_IMG}</a><!-- ENDIF --> + <!-- ENDIF --> + </td> + <!-- IF TOTAL_POSTS --> + <td class="nav" valign="middle" nowrap="nowrap"> {PAGE_NUMBER}<br /></td> + <td class="gensmall" nowrap="nowrap"> [ {TOTAL_POSTS} ] </td> + <td class="gensmall" width="100%" align="{S_CONTENT_FLOW_END}" nowrap="nowrap"><!-- INCLUDE pagination.html --></td> + <!-- ENDIF --> + </tr> + </table> + +</div> + +<div id="pagefooter"></div> + +<br clear="all" /> + +<!-- INCLUDE breadcrumbs.html --> + +<!-- IF S_DISPLAY_ONLINE_LIST --> + <br clear="all" /> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td class="cat"><h4>{L_WHO_IS_ONLINE}</h4></td> + </tr> + <tr> + <td class="row1"><p class="gensmall">{LOGGED_IN_USER_LIST}</p></td> + </tr> + </table> +<!-- ENDIF --> + +<br clear="all" /> + +<table width="100%" cellspacing="1"> +<tr> + <td width="40%" valign="top" nowrap="nowrap" align="{S_CONTENT_FLOW_BEGIN}"><!-- IF S_TOPIC_MOD --><form method="post" action="{S_MOD_ACTION}"><span class="gensmall">{L_QUICK_MOD}:</span> {S_TOPIC_MOD} <input class="btnlite" type="submit" value="{L_GO}" /></form><!-- ENDIF --></td> + <td align="{S_CONTENT_FLOW_END}" valign="top" nowrap="nowrap"><span class="gensmall"><!-- BEGIN rules -->{rules.RULE}<br /><!-- END rules --></span></td> +</tr> +</table> + +<br clear="all" /> + +<table width="100%" cellspacing="0"> +<tr> + <td><!-- IF S_DISPLAY_SEARCHBOX --><!-- INCLUDE searchbox.html --><!-- ENDIF --></td> + <td align="{S_CONTENT_FLOW_END}"><!-- INCLUDE jumpbox.html --></td> +</tr> +</table> + +<!-- INCLUDE overall_footer.html --> diff --git a/tmw3/template/viewtopic_print.html b/tmw3/template/viewtopic_print.html new file mode 100644 index 0000000..33d33f9 --- /dev/null +++ b/tmw3/template/viewtopic_print.html @@ -0,0 +1,137 @@ +<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> +<html dir="{S_CONTENT_DIRECTION}" lang="{S_USER_LANG}"> +<head> +<meta http-equiv="Content-Type" content="text/html; charset={S_CONTENT_ENCODING}"> +<meta http-equiv="Content-Style-Type" content="text/css"> +<meta http-equiv="Content-Language" content="{S_USER_LANG}"> +<title>{SITENAME} :: {PAGE_TITLE}</title> + +<style type="text/css"> +<!-- + +body { + font-family: Verdana,serif; + font-size: 10pt; +} + +img { + border: 0; +} + +td { + font-family: Verdana,serif; + font-size: 10pt; + line-height: 150%; +} + +.code, +.quote { + font-size: smaller; + border: black solid 1px; +} + +.forum { + font-family: Arial,Helvetica,sans-serif; + font-weight: bold; + font-size: 18pt; +} + +.topic { + font-family: Arial,Helvetica,sans-serif; + font-size: 14pt; + font-weight: bold; +} + +.gensmall { + font-size: 8pt; +} + +hr { + color: #888; + height: 3px; + border-style: solid; +} + +hr.sep { + color: #aaa; + height: 1px; + border-style: dashed; +} +//--> +</style> + +</head> +<body> + +<table width="85%" cellspacing="3" cellpadding="0" border="0" align="center"> +<tr> + <td colspan="2" align="center"><span class="Forum">{SITENAME}</span><br /><span class="gensmall"><a href="{U_FORUM}">{U_FORUM}</a></span></td> +</tr> +<tr> + <td colspan="2"><br /></td> +</tr> +<tr> + <td><span class="topic">{TOPIC_TITLE}</span><br /><span class="gensmall"><a href="{U_TOPIC}">{U_TOPIC}</a></span></td> + <td align="{S_CONTENT_FLOW_END}" valign="bottom"><span class="gensmall">{PAGE_NUMBER}</span></td> +</tr> +</table> + +<!-- BEGIN postrow --> + + <hr width="85%" /> + + <table width="85%" cellspacing="3" cellpadding="0" border="0" align="center"> + <tr> + <td width="10%" nowrap="nowrap">{L_AUTHOR}: </td> + <td><b<!-- IF postrow.POST_AUTHOR_COLOUR --> style="color: {postrow.POST_AUTHOR_COLOUR}"<!-- ENDIF -->>{postrow.POST_AUTHOR}</b> [ {postrow.POST_DATE} ]</td> + </tr> + <tr> + <td width="10%" nowrap="nowrap">{L_POST_SUBJECT}: </td> + <td><b>{postrow.POST_SUBJECT}</b></td> + </tr> + <tr> + <td colspan="2"><hr class="sep" />{postrow.MESSAGE} + + <!-- IF postrow.S_HAS_ATTACHMENTS --> + <br clear="all" /><br /> + + <table class="tablebg" width="100%" cellspacing="1"> + <tr> + <td><b class="genmed">{L_ATTACHMENTS}: </b></td> + </tr> + <!-- BEGIN attachment --> + <tr> + <td>{postrow.attachment.DISPLAY_ATTACHMENT}</td> + </tr> + <!-- END attachment --> + </table> + <!-- ENDIF --> + + </td> + </tr> + </table> +<!-- END postrow --> + +<hr width="85%" /> +<!-- + We request you retain the full copyright notice below including the link to www.phpbb.com. + This not only gives respect to the large amount of time given freely by the developers + but also helps build interest, traffic and use of phpBB3. If you (honestly) cannot retain + the full copyright we ask you at least leave in place the "Powered by phpBB" line. If you + refuse to include even this then support on our forums may be affected. + + The phpBB Group : 2006 +// --> + +<table width="85%" cellspacing="3" cellpadding="0" border="0" align="center"> +<tr> + <td><span class="gensmall">{PAGE_NUMBER}</span></td> + <td align="{S_CONTENT_FLOW_END}"><span class="gensmall">{S_TIMEZONE}</span></td> +</tr> +<tr> + <td colspan="2" align="center"><span class="gensmall">Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group<br />http://www.phpbb.com/</span></td> +</tr> +</table> + +</body> +</html>
\ No newline at end of file diff --git a/tmw3/theme/bidi.css b/tmw3/theme/bidi.css new file mode 100644 index 0000000..f441784 --- /dev/null +++ b/tmw3/theme/bidi.css @@ -0,0 +1,757 @@ +/* proSilver RTL definitions +---------------------------------------- */ + +/** +* common.css +*/ +.rtl h1 { + margin-right: 0; + margin-left: 200px; +} + +.rtl p.right { + text-align: left; +} + +.rtl div.rules ul { + margin-left: 0; + margin-right: 20px; +} + +/* Main blocks +---------------------------------------- */ +.rtl #logo { + float: right; + padding: 10px 10px 0 13px; +} + +/* Search box +--------------------------------------------- */ +.rtl #search-box { + float: left; + text-align: left; + margin-right: 0; + margin-left: 5px; +} + +.rtl #search-box li { + text-align: left; +} + +.rtl #search-box img { + margin-right: 0; + margin-left: 3px; +} + +.rtl #site-description { + float: right; +} + +.rtl #site-description h1 { + margin-left: 0; +} + +/* Round cornered boxes and backgrounds +---------------------------------------- */ +.rtl .post { + background-position: 0 0; +} + +/* Horizontal lists +----------------------------------------*/ +.rtl ul.linklist li { + float: right; + margin-right: 0; + margin-left: 5px; +} + +.rtl ul.linklist li.rightside, .rtl p.rightside { + float: left; + margin-right: 5px; + margin-left: 0; + text-align: left; +} + +.rtl ul.leftside li, .rtl ul.rightside li { + float: left; +} + +.rtl ul.leftside { + float: right; + margin-left: 5px; + margin-right: 0; + text-align: right; +} + +.rtl ul.rightside { + float: left; + margin-left: -5px; + margin-right: 5px; + text-align: left; +} + +/* Table styles +----------------------------------------*/ +.rtl table.table1 thead th { + padding: 0 3px 4px 0; +} + +.rtl table.table1 thead th span { + padding-left: 0; + padding-right: 7px; +} + +.rtl table.table1 tbody th { + text-align: right; +} + +/* Specific column styles */ +.rtl table.table1 .name { text-align: right; } +.rtl table.table1 .joined { text-align: right; } +.rtl table.table1 .active { text-align: right; } +.rtl table.table1 .info { text-align: right; } +.rtl table.table1 thead .autocol { padding-left: 0; padding-right: 1em; } + +.rtl table.table1 span.rank-img { + float: left; +} + +.rtl table.info tbody th { + text-align: left; +} + +.rtl .forumbg table.table1 { + margin: 0 -1px -1px -2px; +} + +/* Misc layout styles +---------------------------------------- */ +/* column[1-2] styles are containers for two column layouts + Also see tweaks.css */ +.rtl .column1 { + float: right; + clear: right; +} + +.rtl .column2 { + float: left; + clear: left; +} + +/* General classes for placing floating blocks */ +.rtl .left-box { + float: right; + text-align: right; +} + +.rtl .right-box { + float: left; + text-align: left; +} + +.rtl dl.details dt { + float: right; + clear: right; + text-align: left; +} + +.rtl dl.details dd { + margin-right: 0; + margin-left: 0; + padding-right: 5px; + padding-left: 0; + float: right; +} + +*:first-child+html dl.details dd { + margin-right: 30%; + float: none; +} + +* html dl.details dd { + margin-right: 30%; + float: none; +} + +/* Pagination +---------------------------------------- */ +.rtl .pagination { + text-align: left; + float: left; + padding-left: 5px; +} + +/* Pagination in viewforum for multipage topics */ +.rtl .row .pagination { + float: left; + padding: 1px 0 1px 15px; +} + +.rtl .pagination span { + direction: ltr; +} + +.rtl .pagination span.page-sep { + display: inline; + visibility: hidden; + position: absolute; +} + +/* Miscellaneous styles +---------------------------------------- */ +.rtl #forum-permissions { + float: left; + padding-right: 5px; + padding-left: 0; + margin-right: 5px; + margin-left: 0; + text-align: left; +} + +.rtl .forabg { + width: 99%; /* fix for IE6 */ +} + +.rtl .forumbg { + width: 99%; /* fix for IE6 */ +} + +/** +* links.css +*/ + +/* Back to top of page */ +.rtl .back2top { + text-align: left; +} + +/* Links adjustment to correctly display an order of rtl/ltr mixed content */ +.rtl a { + direction: rtl; + unicode-bidi: embed; +} + +.rtl a.top { + float: left; +} + +.rtl a.top2 { + background-position: 100% 50%; + padding-left: 0; + padding-right: 15px; +} + +.rtl .skiplink { + /* invisible skip link, used for accessibility */ + position: relative; + width: 1px; + height: 1px; + overflow: hidden; + display: block; + left: 0; +} + +.rtl a.feed-icon-forum { + float: left; +} + +/** +* content.css +*/ +.rtl ul.topiclist dfn { + /* Labels for post/view counts */ + position: relative; + width: 1px; + height: 1px; + overflow: hidden; + display: block; + left: 0; +} + +.rtl ul.topiclist dt { + float: right; +} + +.rtl ul.topiclist dl { + position: static; /* fix for IE6 */ +} + +.rtl ul.topiclist dd { + float: right; + border-right-width: 1px; + border-right-style: solid; + border-left: none; +} + +.rtl ul.topiclist li.row dt a.subforum { + padding-right: 12px; + background-position: right; + position: static; +} + +.rtl .forum-image { + float: right; + margin-right: 0; + margin-left: 5px; +} + +.rtl li.header dt, .rtl li.header dd { + border-right-width: 0; +} + +.rtl li.header dd { + margin-left: 0; + margin-right: 1px; +} + +.rtl dl.icon { + background-position: 99.5% 50%; +} + +.rtl li.header dl.icon dt { + /* Tweak for headers alignment when folder icon used */ + padding-right: 0; + padding-left: 50px; +} + +.rtl dl.icon dt { + padding-left: 0; + padding-right: 45px; /* Space for folder icon */ + background-position: 99.5% 95%; /* Position of topic icon */ +} + +.rtl dd.lastpost span, .rtl ul.topiclist dd.searchby span, .rtl ul.topiclist dd.info span, .rtl ul.topiclist dd.time span, .rtl dd.redirect span, .rtl dd.moderation span { + padding-left: 0; + padding-right: 5px; +} + +.rtl dd.mark { + float: left !important; +} + +.rtl ul.topiclist dd.searchextra { + margin-left: 0; + margin-right: 5px; + border-right: none; +} + +/* Post body styles +----------------------------------------*/ +.rtl .postbody { + float: right; +} + +/* Topic review panel +----------------------------------------*/ +.rtl #topicreview { + padding-right: 0; + padding-left: 5px; +} + +/* Content container styles +----------------------------------------*/ +.rtl .content ul, .rtl .content ol { + margin-right: 3em; + margin-left: 0; +} + +/* Post author */ +.rtl p.author { + margin: 0 0 0.6em 15em; +} + +.rtl .signature { + clear: right; +} + +.rtl .notice { + clear: right; +} + +/* Jump to post link for now */ +.rtl ul.searchresults { + text-align: left; +} + +/* BB Code styles +----------------------------------------*/ +/* Quote block */ +.rtl blockquote { + margin: 0.5em 25px 0 1px; + background-position: 99% 8px; +} + +.rtl blockquote blockquote { + /* Nested quotes */ + margin: 0.5em 15px 0 1px; +} + +.rtl blockquote cite { + /* Username/source of quoter */ + margin-right: 20px; + margin-left: 0; +} + +.rtl blockquote dl.codebox { + margin-right: 0; +} + +.rtl code { + direction: ltr; +} + +/* Attachments +----------------------------------------*/ +.rtl .attachbox { + float: right; + margin: 5px 0 5px 5px; + clear: right; +} + +.rtl .attachbox dd { + clear: right; +} + +.rtl .attachbox p { + clear: right; +} + +.rtl .attachbox p.stats { + clear: right; +} + +/* Post poll styles +----------------------------------------*/ +.rtl fieldset.polls dt { + text-align: right; + float: right; + border-left: none; +} + +.rtl fieldset.polls dd { + float: right; + border-right: none; + margin-right: 0; +} + +.rtl fieldset.polls dd div { + text-align: left; +} + +.rtl .pollbar1, .rtl .pollbar2, .rtl .pollbar3, .rtl .pollbar4, .rtl .pollbar5 { + border-left-width: 1px; + border-left-style: solid; + border-right: none; +} + +/* Poster profile block +----------------------------------------*/ +.rtl .postprofile { + border-left: none; + border-right-width: 1px; + border-right-style: solid; + float: left; +/* text-align: right; */ +} + +.rtl .pm .postprofile { + border-right-width: 1px; + border-right-style: solid; + border-left: none; +} + +.rtl .postprofile dd, .rtl .postprofile dt { + margin-left: 0; + margin-right: 8px; +} + +.rtl .online { + background-position: 0 0; +} + +.rtl dl.pmlist dd { + margin-right: 61% !important; + margin-left: 0 !important; +} + +/** +* buttons.css +*/ +/* Rollover buttons + Based on: http://wellstyled.com/css-nopreload-rollovers.html +----------------------------------------*/ +.rtl .buttons { + float: right; +} + +/* Rollover state */ +.rtl .buttons div { + margin: 0 1px 0 5px; +} + +/* Sub-header (navigation bar) +--------------------------------------------- */ +.rtl a.print, .rtl a.sendemail, .rtl a.fontsize { + text-align: right; +} + +/* Icon images +---------------------------------------- */ +.rtl .sitehome, .rtl .icon-faq, .rtl .icon-members, .rtl .icon-home, .rtl .icon-ucp, .rtl .icon-register, .rtl .icon-logout, +.rtl .icon-bookmark, .rtl .icon-bump, .rtl .icon-subscribe, .rtl .icon-unsubscribe, .rtl .icon-pages, .rtl .icon-search { + background-position: 100% 50%; + padding: 1px 17px 0 0; +} + +/* Poster profile icons +----------------------------------------*/ +/* Rollover state */ +.rtl .postprofile ul.profile-icons li { + float: right; + margin: 0 0 3px 6px; +} + +/* Positioning of moderator icons */ +.rtl .postbody ul.profile-icons { + float: left; +} + +/** +* cp.css +*/ +/* proSilver Control Panel Styles +---------------------------------------- */ + + +/* Main CP box +----------------------------------------*/ +.rtl #cp-menu { + float: right; +} + +.rtl #cp-main { + float: right; +} + +.rtl #cp-main .panel ol { + margin-right: 2em; + margin-left: 0; +} + +.rtl #cp-main .pagination { + float: left; +} + +.rtl #cp-main .buttons { + margin-right: 0; + margin-left: 0; +} + +/* CP tabbed menu +----------------------------------------*/ +.rtl #tabs { + margin: 20px 7px -1px 0; +} + +.rtl #tabs a { + float: right; +} + +/*.rtl #tabs a span { + float: right; +}*/ + +/* Mini tabbed menu used in MCP +----------------------------------------*/ +.rtl #minitabs { + margin: -20px 0 0 7px; +} + +.rtl #minitabs li { + float: left; + margin-right: 2px; + margin-left: 0; +} + +/* UCP navigation menu +----------------------------------------*/ + +/* Preferences pane layout +----------------------------------------*/ +.rtl #cp-main h2 { + margin-left: 0; + margin-right: 10px; +} + +/* Friends list */ +.rtl .cp-mini { + margin: 10px 5px 10px 15px; +} + +/* PM Styles +----------------------------------------*/ + +/* Defined rules list for PM options */ +.rtl ol.def-rules { + padding-right: 0; +} + +/* PM marking colours */ +.rtl .pm-legend { + border-right-width: 10px; + border-right-style: solid; + border-left-width: 0; + padding-left: 0; + padding-right: 3px; +} + +/* Avatar gallery */ +.rtl #gallery label { + float: right; +} + +/** +* forms.css +*/ + +/* General form styles +----------------------------------------*/ + +.rtl option { + padding-right: 0; + padding-left: 1em; +} + +.rtl label { + padding-right: 0; + padding-left: 5px; +} + +/* Definition list layout for forms +---------------------------------------- */ +.rtl fieldset dt { + float: right; + text-align: right; +} + +.rtl fieldset dd { + margin-left: 0; + margin-right: 41%; +} + +/* Specific layout 1 */ +.rtl fieldset.fields1 dt { + border-left-width: 0; + border-right-width: 1px; +} + +.rtl fieldset.fields1 dd { + margin-right: 10em; + margin-left: 0; + border-right-width: 0; + border-left-width: 1px; +} + +/* Specific layout 2 */ +.rtl fieldset.fields2 dt { + border-right-width: 1px; + border-left-width: 0; +} + +.rtl fieldset.fields2 dd { + margin-right: 16em; + margin-left: 0; + border-left-width: 1px; + border-right-width: 0; +} + +/* Form elements */ +.rtl dt label { + text-align: right; +} + +.rtl dd input, .rtl dd textarea { + margin-left: 3px; + margin-right: 0; +} + +/* Quick-login on index page */ +.rtl fieldset.quick-login input.inputbox { + margin-left: 5px; + margin-right: 0; +} + +.rtl fieldset.quick-login label { + padding-left: 2px; + padding-right: 0; +} + +/* Display options on viewtopic/viewforum pages */ +.rtl fieldset.display-options label { + padding-left: 2px; + padding-right: 0; +} + +/* Display actions for ucp and mcp pages */ +.rtl fieldset.display-actions { + text-align: left; + padding-left: 1em; + padding-right: 0; +} + +.rtl fieldset.display-actions label { + padding-left: 2px; + padding-right: 0; +} + +/* MCP forum selection*/ +.rtl fieldset.forum-selection { + float: left; +} + +.rtl fieldset.forum-selection2 { + float: left; +} + +/* Jumpbox */ +.rtl fieldset.jumpbox { + text-align: left; +} + +.rtl fieldset.quickmod { + float: left; + text-align: left; +} + +/* Posting page styles +----------------------------------------*/ + +/* Emoticons panel */ +.rtl #smiley-box { + float: left; +} + +/* Form button styles +---------------------------------------- */ + +/* Topic and forum Search */ +.rtl .search-box { + margin-right: 5px; + margin-left: 0; + float: right; +} + +.rtl input.search { + background-position: right 1px; + padding-right: 17px; + padding-left: 0; +} + +/** +* tweaks.css +*/ + +/** Reference: Bug #27155 */ +.rtl #wrap, .rtl .headerbar, .rtl #site-description, .rtl .navbar { + position: relative; +} diff --git a/tmw3/theme/buttons.css b/tmw3/theme/buttons.css new file mode 100644 index 0000000..6cffdc5 --- /dev/null +++ b/tmw3/theme/buttons.css @@ -0,0 +1,169 @@ +/* proSilver Button Styles +---------------------------------------- */ + +/* Rollover buttons + Based on: http://wellstyled.com/css-nopreload-rollovers.html +----------------------------------------*/ +.buttons { + float: left; + width: auto; + height: auto; +} + +/* Rollover state */ +.buttons div { + float: left; + margin: 0 5px 0 0; + background-position: 0 100%; +} + +/* Rolloff state */ +.buttons div a { + display: block; + width: 100%; + height: 100%; + background-position: 0 0; + position: relative; + overflow: hidden; +} + +/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */ +/*.buttons div span { display: none; }*/ +/*.buttons div a:hover { background-image: none; }*/ +.buttons div span { position: absolute; width: 100%; height: 100%; cursor: pointer;} +.buttons div a:hover span { background-position: 0 100%; } + +/* Big button images */ +.reply-icon span { background: transparent none 0 0 no-repeat; } +.post-icon span { background: transparent none 0 0 no-repeat; } +.locked-icon span { background: transparent none 0 0 no-repeat; } +.pmreply-icon span { background: none 0 0 no-repeat; } +.newpm-icon span { background: none 0 0 no-repeat; } +.forwardpm-icon span { background: none 0 0 no-repeat; } + +/* Set big button dimensions */ +.buttons div.reply-icon { width: {IMG_BUTTON_TOPIC_REPLY_WIDTH}px; height: {IMG_BUTTON_TOPIC_REPLY_HEIGHT}px; } +.buttons div.post-icon { width: {IMG_BUTTON_TOPIC_NEW_WIDTH}px; height: {IMG_BUTTON_TOPIC_NEW_HEIGHT}px; } +.buttons div.locked-icon { width: {IMG_BUTTON_TOPIC_LOCKED_WIDTH}px; height: {IMG_BUTTON_TOPIC_LOCKED_HEIGHT}px; } +.buttons div.pmreply-icon { width: {IMG_BUTTON_PM_REPLY_WIDTH}px; height: {IMG_BUTTON_PM_REPLY_HEIGHT}px; } +.buttons div.newpm-icon { width: {IMG_BUTTON_PM_NEW_WIDTH}px; height: {IMG_BUTTON_PM_NEW_HEIGHT}px; } +.buttons div.forwardpm-icon { width: {IMG_BUTTON_PM_FORWARD_WIDTH}px; height: {IMG_BUTTON_PM_FORWARD_HEIGHT}px; } + +/* Sub-header (navigation bar) +--------------------------------------------- */ +a.print, a.sendemail, a.fontsize { + display: block; + overflow: hidden; + height: 18px; + text-indent: -5000px; + text-align: left; + background-repeat: no-repeat; +} + +a.print { + background-image: none; + width: 22px; +} + +a.sendemail { + background-image: none; + width: 22px; +} + +a.fontsize { + background-image: none; + background-position: 0 -1px; + width: 29px; +} + +a.fontsize:hover { + background-position: 0 -20px; + text-decoration: none; +} + +/* Icon images +---------------------------------------- */ +.sitehome, .icon-faq, .icon-members, .icon-home, .icon-ucp, .icon-register, .icon-logout, +.icon-bookmark, .icon-bump, .icon-subscribe, .icon-unsubscribe, .icon-pages, .icon-search { + background-position: 0 50%; + background-repeat: no-repeat; + background-image: none; + padding: 1px 0 0 17px; +} + +/* Poster profile icons +----------------------------------------*/ +ul.profile-icons { + padding-top: 10px; + list-style: none; +} + +/* Rollover state */ +ul.profile-icons li { + float: left; + margin: 0 6px 3px 0; + background-position: 0 100%; +} + +/* Rolloff state */ +ul.profile-icons li a { + display: block; + width: 100%; + height: 100%; + background-position: 0 0; +} + +/* Hide <a> text and hide off-state image when rolling over (prevents flicker in IE) */ +ul.profile-icons li span { display:none; } +ul.profile-icons li a:hover { background: none; } + +/* Positioning of moderator icons */ +.postbody ul.profile-icons { + float: right; + width: auto; + padding: 0; +} + +.postbody ul.profile-icons li { + margin: 0 3px; +} + +/* Profile & navigation icons */ +.email-icon, .email-icon a { background: none top left no-repeat; } +.aim-icon, .aim-icon a { background: none top left no-repeat; } +.yahoo-icon, .yahoo-icon a { background: none top left no-repeat; } +.web-icon, .web-icon a { background: none top left no-repeat; } +.msnm-icon, .msnm-icon a { background: none top left no-repeat; } +.icq-icon, .icq-icon a { background: none top left no-repeat; } +.jabber-icon, .jabber-icon a { background: none top left no-repeat; } +.pm-icon, .pm-icon a { background: none top left no-repeat; } +.quote-icon, .quote-icon a { background: none top left no-repeat; } + +/* Moderator icons */ +.report-icon, .report-icon a { background: none top left no-repeat; } +.warn-icon, .warn-icon a { background: none top left no-repeat; } +.edit-icon, .edit-icon a { background: none top left no-repeat; } +.delete-icon, .delete-icon a { background: none top left no-repeat; } +.info-icon, .info-icon a { background: none top left no-repeat; } + +/* Set profile icon dimensions */ +ul.profile-icons li.email-icon { width: {IMG_ICON_CONTACT_EMAIL_WIDTH}px; height: {IMG_ICON_CONTACT_EMAIL_HEIGHT}px; } +ul.profile-icons li.aim-icon { width: {IMG_ICON_CONTACT_AIM_WIDTH}px; height: {IMG_ICON_CONTACT_AIM_HEIGHT}px; } +ul.profile-icons li.yahoo-icon { width: {IMG_ICON_CONTACT_YAHOO_WIDTH}px; height: {IMG_ICON_CONTACT_YAHOO_HEIGHT}px; } +ul.profile-icons li.web-icon { width: {IMG_ICON_CONTACT_WWW_WIDTH}px; height: {IMG_ICON_CONTACT_WWW_HEIGHT}px; } +ul.profile-icons li.msnm-icon { width: {IMG_ICON_CONTACT_MSNM_WIDTH}px; height: {IMG_ICON_CONTACT_MSNM_HEIGHT}px; } +ul.profile-icons li.icq-icon { width: {IMG_ICON_CONTACT_ICQ_WIDTH}px; height: {IMG_ICON_CONTACT_ICQ_HEIGHT}px; } +ul.profile-icons li.jabber-icon { width: {IMG_ICON_CONTACT_JABBER_WIDTH}px; height: {IMG_ICON_CONTACT_JABBER_HEIGHT}px; } +ul.profile-icons li.pm-icon { width: {IMG_ICON_CONTACT_PM_WIDTH}px; height: {IMG_ICON_CONTACT_PM_HEIGHT}px; } +ul.profile-icons li.quote-icon { width: {IMG_ICON_POST_QUOTE_WIDTH}px; height: {IMG_ICON_POST_QUOTE_HEIGHT}px; } +ul.profile-icons li.report-icon { width: {IMG_ICON_POST_REPORT_WIDTH}px; height: {IMG_ICON_POST_REPORT_HEIGHT}px; } +ul.profile-icons li.edit-icon { width: {IMG_ICON_POST_EDIT_WIDTH}px; height: {IMG_ICON_POST_EDIT_HEIGHT}px; } +ul.profile-icons li.delete-icon { width: {IMG_ICON_POST_DELETE_WIDTH}px; height: {IMG_ICON_POST_DELETE_HEIGHT}px; } +ul.profile-icons li.info-icon { width: {IMG_ICON_POST_INFO_WIDTH}px; height: {IMG_ICON_POST_INFO_HEIGHT}px; } +ul.profile-icons li.warn-icon { width: {IMG_ICON_USER_WARN_WIDTH}px; height: {IMG_ICON_USER_WARN_HEIGHT}px; } + +/* Fix profile icon default margins */ +ul.profile-icons li.edit-icon { margin: 0 0 0 3px; } +ul.profile-icons li.quote-icon { margin: 0 0 0 10px; } +ul.profile-icons li.info-icon, ul.profile-icons li.report-icon { margin: 0 3px 0 0; } + diff --git a/tmw3/theme/colours.css b/tmw3/theme/colours.css new file mode 100644 index 0000000..e98ce23 --- /dev/null +++ b/tmw3/theme/colours.css @@ -0,0 +1,1029 @@ +/* +-------------------------------------------------------------- +Colours and backgrounds for common.css +-------------------------------------------------------------- */ + +html, body { + color: #536482; + background-color: #FFFFFF; +} + +h1 { + color: #FFFFFF; +} + +h2 { + color: #28313F; +} + +h3 { + border-bottom-color: #CCCCCC; + color: #115098; +} + +hr { + border-color: #FFFFFF; + border-top-color: #CCCCCC; +} + +hr.dashed { + border-top-color: #CCCCCC; +} + +/* Search box +--------------------------------------------- */ + +#search-box { + color: #FFFFFF; +} + +#search-box #keywords { + background-color: #FFF; +} + +#search-box input { + border-color: #0075B0; +} + +/* Round cornered boxes and backgrounds +---------------------------------------- */ +.headerbar { + background-color: #12A3EB; + background-image: url("{T_THEME_PATH}/images/bg_header.gif"); + color: #FFFFFF; +} + +.navbar { + background-color: #cadceb; +} + +.forabg { + background-color: #0076b1; + background-image: url("{T_THEME_PATH}/images/bg_list.gif"); +} + +.forumbg { + background-color: #12A3EB; + background-image: url("{T_THEME_PATH}/images/bg_header.gif"); +} + +.panel { + background-color: #ECF1F3; + color: #28313F; +} + +.post:target .content { + color: #000000; +} + +.post:target h3 a { + color: #000000; +} + +.bg1 { background-color: #ECF3F7; } +.bg2 { background-color: #e1ebf2; } +.bg3 { background-color: #cadceb; } + +.ucprowbg { + background-color: #DCDEE2; +} + +.fieldsbg { + background-color: #E7E8EA; +} + +span.corners-top { + background-image: url("{T_THEME_PATH}/images/corners_left.png"); +} + +span.corners-top span { + background-image: url("{T_THEME_PATH}/images/corners_right.png"); +} + +span.corners-bottom { + background-image: url("{T_THEME_PATH}/images/corners_left.png"); +} + +span.corners-bottom span { + background-image: url("{T_THEME_PATH}/images/corners_right.png"); +} + +/* Horizontal lists +----------------------------------------*/ + +ul.navlinks { + border-bottom-color: #FFFFFF; +} + +/* Table styles +----------------------------------------*/ +table.table1 thead th { + color: #FFFFFF; +} + +table.table1 tbody tr { + border-color: #BFC1CF; +} + +table.table1 tbody tr:hover, table.table1 tbody tr.hover { + background-color: #CFE1F6; + color: #000; +} + +table.table1 td { + color: #536482; +} + +table.table1 tbody td { + border-top-color: #FAFAFA; +} + +table.table1 tbody th { + border-bottom-color: #000000; + color: #333333; + background-color: #FFFFFF; +} + +table.info tbody th { + color: #000000; +} + +/* Misc layout styles +---------------------------------------- */ +dl.details dt { + color: #000000; +} + +dl.details dd { + color: #536482; +} + +.sep { + color: #1198D9; +} + +/* Pagination +---------------------------------------- */ + +.pagination span strong { + color: #FFFFFF; + background-color: #4692BF; + border-color: #4692BF; +} + +.pagination span a, .pagination span a:link, .pagination span a:visited { + color: #5C758C; + background-color: #ECEDEE; + border-color: #B4BAC0; +} + +.pagination span a:hover { + border-color: #368AD2; + background-color: #368AD2; + color: #FFF; +} + +.pagination span a:active { + color: #5C758C; + background-color: #ECEDEE; + border-color: #B4BAC0; +} + +/* Pagination in viewforum for multipage topics */ +.row .pagination { + background-image: url("{T_THEME_PATH}/images/icon_pages.gif"); +} + +.row .pagination span a, li.pagination span a { + background-color: #FFFFFF; +} + +.row .pagination span a:hover, li.pagination span a:hover { + background-color: #368AD2; +} + +/* Miscellaneous styles +---------------------------------------- */ + +.copyright { + color: #555555; +} + +.error { + color: #BC2A4D; +} + +.reported { + background-color: #F7ECEF; +} + +li.reported:hover { + background-color: #ECD5D8 !important; +} +.sticky, .announce { + /* you can add a background for stickies and announcements*/ +} + +div.rules { + background-color: #ECD5D8; + color: #BC2A4D; +} + +p.rules { + background-color: #ECD5D8; + background-image: none; +} + +/* +-------------------------------------------------------------- +Colours and backgrounds for links.css +-------------------------------------------------------------- */ + +a:link { color: #105289; } +a:visited { color: #105289; } +a:hover { color: #D31141; } +a:active { color: #368AD2; } + +/* Links on gradient backgrounds */ +#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link { + color: #FFFFFF; +} + +#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited { + color: #FFFFFF; +} + +#search-box a:hover, .navbg a:hover, .forumbg .header a:hover, .forabg .header a:hover, th a:hover { + color: #A8D8FF; +} + +#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active { + color: #C8E6FF; +} + +/* Links for forum/topic lists */ +a.forumtitle { + color: #105289; +} + +/* a.forumtitle:visited { color: #105289; } */ + +a.forumtitle:hover { + color: #BC2A4D; +} + +a.forumtitle:active { + color: #105289; +} + +a.topictitle { + color: #105289; +} + +/* a.topictitle:visited { color: #368AD2; } */ + +a.topictitle:hover { + color: #BC2A4D; +} + +a.topictitle:active { + color: #105289; +} + +/* Post body links */ +.postlink { + color: #368AD2; + border-bottom-color: #368AD2; +} + +.postlink:visited { + color: #5D8FBD; + border-bottom-color: #5D8FBD; +} + +.postlink:active { + color: #368AD2; +} + +.postlink:hover { + background-color: #D0E4F6; + color: #0D4473; +} + +.signature a, .signature a:visited, .signature a:hover, .signature a:active { + background-color: transparent; +} + +/* Profile links */ +.postprofile a:link, .postprofile a:visited, .postprofile dt.author a { + color: #105289; +} + +.postprofile a:hover, .postprofile dt.author a:hover { + color: #D31141; +} + +.postprofile a:active { + color: #105289; +} + +/* Profile searchresults */ +.search .postprofile a { + color: #105289; +} + +.search .postprofile a:hover { + color: #D31141; +} + +/* Back to top of page */ +a.top { + background-image: url("{IMG_ICON_BACK_TOP_SRC}"); +} + +a.top2 { + background-image: url("{IMG_ICON_BACK_TOP_SRC}"); +} + +/* Arrow links */ +a.up { background-image: url("{T_THEME_PATH}/images/arrow_up.gif") } +a.down { background-image: url("{T_THEME_PATH}/images/arrow_down.gif") } +a.left { background-image: url("{T_THEME_PATH}/images/arrow_left.gif") } +a.right { background-image: url("{T_THEME_PATH}/images/arrow_right.gif") } + +a.up:hover { + background-color: transparent; +} + +a.left:hover { + color: #368AD2; +} + +a.right:hover { + color: #368AD2; +} + + +/* +-------------------------------------------------------------- +Colours and backgrounds for content.css +-------------------------------------------------------------- */ + +ul.forums { + background-color: #eef5f9; + background-image: url("{T_THEME_PATH}/images/gradient.gif"); +} + +ul.topiclist li { + color: #4C5D77; +} + +ul.topiclist dd { + border-left-color: #FFFFFF; +} + +.rtl ul.topiclist dd { + border-right-color: #fff; + border-left-color: transparent; +} + +ul.topiclist li.row dt a.subforum.read { + background-image: url("{IMG_SUBFORUM_READ_SRC}"); +} + +ul.topiclist li.row dt a.subforum.unread { + background-image: url("{IMG_SUBFORUM_UNREAD_SRC}"); +} + +li.row { + border-top-color: #FFFFFF; + border-bottom-color: #00608F; +} + +li.row strong { + color: #000000; +} + +li.row:hover { + background-color: #F6F4D0; +} + +li.row:hover dd { + border-left-color: #CCCCCC; +} + +.rtl li.row:hover dd { + border-right-color: #CCCCCC; + border-left-color: transparent; +} + +li.header dt, li.header dd { + color: #FFFFFF; +} + +/* Forum list column styles */ +ul.topiclist dd.searchextra { + color: #333333; +} + +/* Post body styles +----------------------------------------*/ +.postbody { + color: #333333; +} + +/* Content container styles +----------------------------------------*/ +.content { + color: #333333; +} + +.content h2, .panel h2 { + color: #115098; + border-bottom-color: #CCCCCC; +} + +dl.faq dt { + color: #333333; +} + +.posthilit { + background-color: #F3BFCC; + color: #BC2A4D; +} + +/* Post signature */ +.signature { + border-top-color: #CCCCCC; +} + +/* Post noticies */ +.notice { + border-top-color: #CCCCCC; +} + +/* BB Code styles +----------------------------------------*/ +/* Quote block */ +blockquote { + background-color: #EBEADD; + background-image: url("{T_THEME_PATH}/images/quote.gif"); + border-color:#DBDBCE; +} + +.rtl blockquote { + background-image: url("{T_THEME_PATH}/images/quote_rtl.gif"); +} + +blockquote blockquote { + /* Nested quotes */ + background-color:#EFEED9; +} + +blockquote blockquote blockquote { + /* Nested quotes */ + background-color: #EBEADD; +} + +/* Code block */ +dl.codebox { + background-color: #FFFFFF; + border-color: #C9D2D8; +} + +dl.codebox dt { + border-bottom-color: #CCCCCC; +} + +dl.codebox code { + color: #2E8B57; +} + +.syntaxbg { color: #FFFFFF; } +.syntaxcomment { color: #FF8000; } +.syntaxdefault { color: #0000BB; } +.syntaxhtml { color: #000000; } +.syntaxkeyword { color: #007700; } +.syntaxstring { color: #DD0000; } + +/* Attachments +----------------------------------------*/ +.attachbox { + background-color: #FFFFFF; + border-color: #C9D2D8; +} + +.pm-message .attachbox { + background-color: #F2F3F3; +} + +.attachbox dd { + border-top-color: #C9D2D8; +} + +.attachbox p { + color: #666666; +} + +.attachbox p.stats { + color: #666666; +} + +.attach-image img { + border-color: #999999; +} + +/* Inline image thumbnails */ + +dl.file dd { + color: #666666; +} + +dl.thumbnail img { + border-color: #666666; + background-color: #FFFFFF; +} + +dl.thumbnail dd { + color: #666666; +} + +dl.thumbnail dt a:hover { + background-color: #EEEEEE; +} + +dl.thumbnail dt a:hover img { + border-color: #368AD2; +} + +/* Post poll styles +----------------------------------------*/ + +fieldset.polls dl { + border-top-color: #DCDEE2; + color: #666666; +} + +fieldset.polls dl.voted { + color: #000000; +} + +fieldset.polls dd div { + color: #FFFFFF; +} + +.rtl .pollbar1, .rtl .pollbar2, .rtl .pollbar3, .rtl .pollbar4, .rtl .pollbar5 { + border-right-color: transparent; +} + +.pollbar1 { + background-color: #AA2346; + border-bottom-color: #74162C; + border-right-color: #74162C; +} + +.rtl .pollbar1 { + border-left-color: #74162C; +} + +.pollbar2 { + background-color: #BE1E4A; + border-bottom-color: #8C1C38; + border-right-color: #8C1C38; +} + +.rtl .pollbar2 { + border-left-color: #8C1C38; +} + +.pollbar3 { + background-color: #D11A4E; + border-bottom-color: #AA2346; + border-right-color: #AA2346; +} + +.rtl .pollbar3 { + border-left-color: #AA2346; +} + +.pollbar4 { + background-color: #E41653; + border-bottom-color: #BE1E4A; + border-right-color: #BE1E4A; +} + +.rtl .pollbar4 { + border-left-color: #BE1E4A; +} + +.pollbar5 { + background-color: #F81157; + border-bottom-color: #D11A4E; + border-right-color: #D11A4E; +} + +.rtl .pollbar5 { + border-left-color: #D11A4E; +} + +/* Poster profile block +----------------------------------------*/ +.postprofile { + color: #666666; + border-left-color: #FFFFFF; +} + +.rtl .postprofile { + border-right-color: #FFFFFF; + border-left-color: transparent; +} + +.pm .postprofile { + border-left-color: #DDDDDD; +} + +.rtl .pm .postprofile { + border-right-color: #DDDDDD; + border-left-color: transparent; +} + +.postprofile strong { + color: #000000; +} + +.online { + background-image: url("{IMG_ICON_USER_ONLINE_SRC}"); +} + +/* +-------------------------------------------------------------- +Colours and backgrounds for buttons.css +-------------------------------------------------------------- */ + +/* Big button images */ +.reply-icon span { background-image: url("{IMG_BUTTON_TOPIC_REPLY_SRC}"); } +.post-icon span { background-image: url("{IMG_BUTTON_TOPIC_NEW_SRC}"); } +.locked-icon span { background-image: url("{IMG_BUTTON_TOPIC_LOCKED_SRC}"); } +.pmreply-icon span { background-image: url("{IMG_BUTTON_PM_REPLY_SRC}") ;} +.newpm-icon span { background-image: url("{IMG_BUTTON_PM_NEW_SRC}") ;} +.forwardpm-icon span { background-image: url("{IMG_BUTTON_PM_FORWARD_SRC}") ;} + +a.print { + background-image: url("{T_THEME_PATH}/images/icon_print.gif"); +} + +a.sendemail { + background-image: url("{T_THEME_PATH}/images/icon_sendemail.gif"); +} + +a.fontsize { + background-image: url("{T_THEME_PATH}/images/icon_fontsize.gif"); +} + +/* Icon images +---------------------------------------- */ +.sitehome { background-image: url("{T_THEME_PATH}/images/icon_home.gif"); } +.icon-faq { background-image: url("{T_THEME_PATH}/images/icon_faq.gif"); } +.icon-members { background-image: url("{T_THEME_PATH}/images/icon_members.gif"); } +.icon-home { background-image: url("{T_THEME_PATH}/images/icon_home.gif"); } +.icon-ucp { background-image: url("{T_THEME_PATH}/images/icon_ucp.gif"); } +.icon-register { background-image: url("{T_THEME_PATH}/images/icon_register.gif"); } +.icon-logout { background-image: url("{T_THEME_PATH}/images/icon_logout.gif"); } +.icon-bookmark { background-image: url("{T_THEME_PATH}/images/icon_bookmark.gif"); } +.icon-bump { background-image: url("{T_THEME_PATH}/images/icon_bump.gif"); } +.icon-subscribe { background-image: url("{T_THEME_PATH}/images/icon_subscribe.gif"); } +.icon-unsubscribe { background-image: url("{T_THEME_PATH}/images/icon_unsubscribe.gif"); } +.icon-pages { background-image: url("{T_THEME_PATH}/images/icon_pages.gif"); } +.icon-search { background-image: url("{T_THEME_PATH}/images/icon_search.gif"); } + +/* Profile & navigation icons */ +.email-icon, .email-icon a { background-image: url("{IMG_ICON_CONTACT_EMAIL_SRC}"); } +.aim-icon, .aim-icon a { background-image: url("{IMG_ICON_CONTACT_AIM_SRC}"); } +.yahoo-icon, .yahoo-icon a { background-image: url("{IMG_ICON_CONTACT_YAHOO_SRC}"); } +.web-icon, .web-icon a { background-image: url("{IMG_ICON_CONTACT_WWW_SRC}"); } +.msnm-icon, .msnm-icon a { background-image: url("{IMG_ICON_CONTACT_MSNM_SRC}"); } +.icq-icon, .icq-icon a { background-image: url("{IMG_ICON_CONTACT_ICQ_SRC}"); } +.jabber-icon, .jabber-icon a { background-image: url("{IMG_ICON_CONTACT_JABBER_SRC}"); } +.pm-icon, .pm-icon a { background-image: url("{IMG_ICON_CONTACT_PM_SRC}"); } +.quote-icon, .quote-icon a { background-image: url("{IMG_ICON_POST_QUOTE_SRC}"); } + +/* Moderator icons */ +.report-icon, .report-icon a { background-image: url("{IMG_ICON_POST_REPORT_SRC}"); } +.edit-icon, .edit-icon a { background-image: url("{IMG_ICON_POST_EDIT_SRC}"); } +.delete-icon, .delete-icon a { background-image: url("{IMG_ICON_POST_DELETE_SRC}"); } +.info-icon, .info-icon a { background-image: url("{IMG_ICON_POST_INFO_SRC}"); } +.warn-icon, .warn-icon a { background-image: url("{IMG_ICON_USER_WARN_SRC}"); } /* Need updated warn icon */ + +/* +-------------------------------------------------------------- +Colours and backgrounds for cp.css +-------------------------------------------------------------- */ + +/* Main CP box +----------------------------------------*/ + +#cp-main h3, #cp-main hr, #cp-menu hr { + border-color: #A4B3BF; +} + +#cp-main .panel li.row { + border-bottom-color: #B5C1CB; + border-top-color: #F9F9F9; +} + +ul.cplist { + border-top-color: #B5C1CB; +} + +#cp-main .panel li.header dd, #cp-main .panel li.header dt { + color: #000000; +} + +#cp-main table.table1 thead th { + color: #333333; + border-bottom-color: #333333; +} + +#cp-main .pm-message { + border-color: #DBDEE2; + background-color: #FFFFFF; +} + +/* CP tabbed menu +----------------------------------------*/ +#tabs a { + background-image: url("{T_THEME_PATH}/images/bg_tabs1.gif"); +} + +#tabs a span { + background-image: url("{T_THEME_PATH}/images/bg_tabs2.gif"); + color: #536482; +} + +#tabs a:hover span { + color: #BC2A4D; +} + +#tabs .activetab a { + border-bottom-color: #CADCEB; +} + +#tabs .activetab a span { + color: #333333; +} + +#tabs .activetab a:hover span { + color: #000000; +} + +/* Mini tabbed menu used in MCP +----------------------------------------*/ +#minitabs li { + background-color: #E1EBF2; +} + +#minitabs li.activetab { + background-color: #F9F9F9; +} + +#minitabs li.activetab a, #minitabs li.activetab a:hover { + color: #333333; +} + +/* UCP navigation menu +----------------------------------------*/ + +/* Link styles for the sub-section links */ +#navigation a { + color: #333; + background-color: #B2C2CF; + background-image: url("{T_THEME_PATH}/images/bg_menu.gif"); +} + +.rtl #navigation a { + background-image: url("{T_THEME_PATH}/images/bg_menu_rtl.gif"); + background-position: 0 100%; +} + +#navigation a:hover { + background-image: none; + background-color: #aabac6; + color: #BC2A4D; +} + +#navigation #active-subsection a { + color: #D31141; + background-color: #F9F9F9; + background-image: none; +} + +#navigation #active-subsection a:hover { + color: #D31141; +} + +/* Preferences pane layout +----------------------------------------*/ +#cp-main h2 { + color: #333333; +} + +#cp-main .panel { + background-color: #F9F9F9; +} + +#cp-main .pm { + background-color: #FFFFFF; +} + +#cp-main span.corners-top, #cp-menu span.corners-top { + background-image: url("{T_THEME_PATH}/images/corners_left2.gif"); +} + +#cp-main span.corners-top span, #cp-menu span.corners-top span { + background-image: url("{T_THEME_PATH}/images/corners_right2.gif"); +} + +#cp-main span.corners-bottom, #cp-menu span.corners-bottom { + background-image: url("{T_THEME_PATH}/images/corners_left2.gif"); +} + +#cp-main span.corners-bottom span, #cp-menu span.corners-bottom span { + background-image: url("{T_THEME_PATH}/images/corners_right2.gif"); +} + +/* Topicreview */ +#cp-main .panel #topicreview span.corners-top, #cp-menu .panel #topicreview span.corners-top { + background-image: url("{T_THEME_PATH}/images/corners_left.gif"); +} + +#cp-main .panel #topicreview span.corners-top span, #cp-menu .panel #topicreview span.corners-top span { + background-image: url("{T_THEME_PATH}/images/corners_right.gif"); +} + +#cp-main .panel #topicreview span.corners-bottom, #cp-menu .panel #topicreview span.corners-bottom { + background-image: url("{T_THEME_PATH}/images/corners_left.gif"); +} + +#cp-main .panel #topicreview span.corners-bottom span, #cp-menu .panel #topicreview span.corners-bottom span { + background-image: url("{T_THEME_PATH}/images/corners_right.gif"); +} + +/* Friends list */ +.cp-mini { + background-color: #eef5f9; +} + +dl.mini dt { + color: #425067; +} + +/* PM Styles +----------------------------------------*/ +/* PM Message history */ +.current { + color: #000000 !important; +} + +/* PM panel adjustments */ +.pm-panel-header, +#cp-main .pm-message-nav { + border-bottom-color: #A4B3BF; +} + +/* PM marking colours */ +.pmlist li.pm_message_reported_colour, .pm_message_reported_colour { + border-left-color: #BC2A4D; + border-right-color: #BC2A4D; +} + +.pmlist li.pm_marked_colour, .pm_marked_colour { + border-color: #FF6600; +} + +.pmlist li.pm_replied_colour, .pm_replied_colour { + border-color: #A9B8C2; +} + +.pmlist li.pm_friend_colour, .pm_friend_colour { + border-color: #5D8FBD; +} + +.pmlist li.pm_foe_colour, .pm_foe_colour { + border-color: #000000; +} + +/* Avatar gallery */ +#gallery label { + background-color: #FFFFFF; + border-color: #CCC; +} + +#gallery label:hover { + background-color: #EEE; +} + +/* +-------------------------------------------------------------- +Colours and backgrounds for forms.css +-------------------------------------------------------------- */ + +/* General form styles +----------------------------------------*/ +select { + border-color: #666666; + background-color: #FAFAFA; + color: #000; +} + +label { + color: #425067; +} + +option.disabled-option { + color: graytext; +} + +/* Definition list layout for forms +---------------------------------------- */ +dd label { + color: #333; +} + +/* Hover effects */ +fieldset dl:hover dt label { + color: #000000; +} + +fieldset.fields2 dl:hover dt label { + color: inherit; +} + +/* Quick-login on index page */ +fieldset.quick-login input.inputbox { + background-color: #F2F3F3; +} + +/* Posting page styles +----------------------------------------*/ + +#message-box textarea { + color: #333333; +} + +/* Input field styles +---------------------------------------- */ +.inputbox { + background-color: #FFFFFF; + border-color: #B4BAC0; + color: #333333; +} + +.inputbox:hover { + border-color: #11A3EA; +} + +.inputbox:focus { + border-color: #11A3EA; + color: #0F4987; +} + +/* Form button styles +---------------------------------------- */ + +a.button1, input.button1, input.button3, a.button2, input.button2 { + color: #000; + background-color: #FAFAFA; + background-image: url("{T_THEME_PATH}/images/bg_button.gif"); +} + +a.button1, input.button1 { + border-color: #666666; +} + +input.button3 { + background-image: none; +} + +/* Alternative button */ +a.button2, input.button2, input.button3 { + border-color: #666666; +} + +/* <a> button in the style of the form buttons */ +a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active { + color: #000000; +} + +/* Hover states */ +a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover { + border-color: #BC2A4D; + color: #BC2A4D; +} + +input.search { + background-image: url("{T_THEME_PATH}/images/icon_textbox_search.gif"); +} + +input.disabled { + color: #666666; +} diff --git a/tmw3/theme/common.css b/tmw3/theme/common.css new file mode 100644 index 0000000..a86f723 --- /dev/null +++ b/tmw3/theme/common.css @@ -0,0 +1,632 @@ +/* General proSilver Markup Styles +---------------------------------------- */ + +* { + /* Reset browsers default margin, padding and font sizes */ + margin: 0; + padding: 0; +} + +html { + font-size: 100%; + /* Always show a scrollbar for short pages - stops the jump when the scrollbar appears. non-IE browsers */ + height: 101%; +} + +body { + /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */ + font-family: Verdana, Helvetica, Arial, sans-serif; + color: #828282; + background-color: #FFFFFF; + /*font-size: 62.5%; This sets the default font size to be equivalent to 10px */ + font-size: 10px; + margin: 0; + padding: 12px 0; +} + +h1 { + /* Forum name */ + font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; + margin-right: 200px; + color: #FFFFFF; + margin-top: 15px; + font-weight: bold; + font-size: 2em; +} + +h2 { + /* Forum header titles */ + font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; + font-weight: normal; + color: #3f3f3f; + font-size: 2em; + margin: 0.8em 0 0.2em 0; +} + +h2.solo { + margin-bottom: 1em; +} + +h3 { + /* Sub-headers (also used as post headers, but defined later) */ + font-family: Arial, Helvetica, sans-serif; + font-weight: bold; + text-transform: uppercase; + border-bottom: 1px solid #CCCCCC; + margin-bottom: 3px; + padding-bottom: 2px; + font-size: 1.05em; + color: #989898; + margin-top: 20px; +} + +h4 { + /* Forum and topic list titles */ + font-family: "Trebuchet MS", Verdana, Helvetica, Arial, Sans-serif; + font-size: 1.3em; +} + +p { + line-height: 1.3em; + font-size: 1.1em; + margin-bottom: 1.5em; +} + +img { + border-width: 0; +} + +hr { + /* Also see tweaks.css */ + border: 0 none #FFFFFF; + border-top: 1px solid #CCCCCC; + height: 1px; + margin: 5px 0; + display: block; + clear: both; +} + +hr.dashed { + border-top: 1px dashed #CCCCCC; + margin: 10px 0; +} + +hr.divider { + display: none; +} + +p.right { + text-align: right; +} + +/* Main blocks +---------------------------------------- */ +#wrap { + padding: 0 20px; + min-width: 650px; +} + +#simple-wrap { + padding: 6px 10px; +} + +#page-body { + margin: 4px 0; + clear: both; +} + +#page-footer { + clear: both; +} + +#page-footer h3 { + margin-top: 20px; +} + +#logo { + float: left; + width: auto; + padding: 10px 13px 0 10px; +} + +a#logo:hover { + text-decoration: none; +} + +/* Search box +--------------------------------------------- */ +#search-box { + color: #FFFFFF; + position: relative; + margin-top: 30px; + margin-right: 5px; + display: block; + float: right; + text-align: right; + white-space: nowrap; /* For Opera */ +} + +#search-box #keywords { + width: 95px; + background-color: #FFF; +} + +#search-box input { + border: 1px solid #b0b0b0; +} + +/* .button1 style defined later, just a few tweaks for the search button version */ +#search-box input.button1 { + padding: 1px 5px; +} + +#search-box li { + text-align: right; + margin-top: 4px; +} + +#search-box img { + vertical-align: middle; + margin-right: 3px; +} + +/* Site description and logo */ +#site-description { + float: left; + width: 70%; +} + +#site-description h1 { + margin-right: 0; +} + +/* Round cornered boxes and backgrounds +---------------------------------------- */ +.headerbar { + background: #ebebeb none repeat-x 0 0; + color: #FFFFFF; + margin-bottom: 4px; + padding: 0 5px; +} + +.navbar { + background-color: #ebebeb; + padding: 0 10px; +} + +.forabg { + background: #b1b1b1 none repeat-x 0 0; + margin-bottom: 4px; + padding: 0 5px; + clear: both; +} + +.forumbg { + background: #ebebeb none repeat-x 0 0; + margin-bottom: 4px; + padding: 0 5px; + clear: both; +} + +.panel { + margin-bottom: 4px; + padding: 0 10px; + background-color: #f3f3f3; + color: #3f3f3f; +} + +.post { + padding: 0 10px; + margin-bottom: 4px; + background-repeat: no-repeat; + background-position: 100% 0; +} + +.post:target .content { + color: #000000; +} + +.post:target h3 a { + color: #000000; +} + +.bg1 { background-color: #f7f7f7;} +.bg2 { background-color: #f2f2f2; } +.bg3 { background-color: #ebebeb; } + +.rowbg { + margin: 5px 5px 2px 5px; +} + +.ucprowbg { + background-color: #e2e2e2; +} + +.fieldsbg { + /*border: 1px #DBDEE2 solid;*/ + background-color: #eaeaea; +} + +span.corners-top, span.corners-bottom, span.corners-top span, span.corners-bottom span { + font-size: 1px; + line-height: 1px; + display: block; + height: 5px; + background-repeat: no-repeat; +} + +span.corners-top { + background-image: none; + background-position: 0 0; + margin: 0 -5px; +} + +span.corners-top span { + background-image: none; + background-position: 100% 0; +} + +span.corners-bottom { + background-image: none; + background-position: 0 100%; + margin: 0 -5px; + clear: both; +} + +span.corners-bottom span { + background-image: none; + background-position: 100% 100%; +} + +.headbg span.corners-bottom { + margin-bottom: -1px; +} + +.post span.corners-top, .post span.corners-bottom, .panel span.corners-top, .panel span.corners-bottom, .navbar span.corners-top, .navbar span.corners-bottom { + margin: 0 -10px; +} + +.rules span.corners-top { + margin: 0 -10px 5px -10px; +} + +.rules span.corners-bottom { + margin: 5px -10px 0 -10px; +} + +/* Horizontal lists +----------------------------------------*/ +ul.linklist { + display: block; + margin: 0; +} + +ul.linklist li { + display: block; + list-style-type: none; + float: left; + width: auto; + margin-right: 5px; + font-size: 1.1em; + line-height: 2.2em; +} + +ul.linklist li.rightside, p.rightside { + float: right; + margin-right: 0; + margin-left: 5px; + text-align: right; +} + +ul.navlinks { + padding-bottom: 1px; + margin-bottom: 1px; + border-bottom: 1px solid #FFFFFF; + font-weight: bold; +} + +ul.leftside { + float: left; + margin-left: 0; + margin-right: 5px; + text-align: left; +} + +ul.rightside { + float: right; + margin-left: 5px; + margin-right: -5px; + text-align: right; +} + +/* Table styles +----------------------------------------*/ +table.table1 { + /* See tweaks.css */ +} + +#ucp-main table.table1 { + padding: 2px; +} + +table.table1 thead th { + font-weight: normal; + text-transform: uppercase; + color: #FFFFFF; + line-height: 1.3em; + font-size: 1em; + padding: 0 0 4px 3px; +} + +table.table1 thead th span { + padding-left: 7px; +} + +table.table1 tbody tr { + border: 1px solid #cfcfcf; +} + +table.table1 tbody tr:hover, table.table1 tbody tr.hover { + background-color: #f6f6f6; + color: #000; +} + +table.table1 td { + color: #6a6a6a; + font-size: 1.1em; +} + +table.table1 tbody td { + padding: 5px; + border-top: 1px solid #FAFAFA; +} + +table.table1 tbody th { + padding: 5px; + border-bottom: 1px solid #000000; + text-align: left; + color: #333333; + background-color: #FFFFFF; +} + +/* Specific column styles */ +table.table1 .name { text-align: left; } +table.table1 .posts { text-align: center !important; width: 7%; } +table.table1 .joined { text-align: left; width: 15%; } +table.table1 .active { text-align: left; width: 15%; } +table.table1 .mark { text-align: center; width: 7%; } +table.table1 .info { text-align: left; width: 30%; } +table.table1 .info div { width: 100%; white-space: normal; overflow: hidden; } +table.table1 .autocol { line-height: 2em; white-space: nowrap; } +table.table1 thead .autocol { padding-left: 1em; } + +table.table1 span.rank-img { + float: right; + width: auto; +} + +table.info td { + padding: 3px; +} + +table.info tbody th { + padding: 3px; + text-align: right; + vertical-align: top; + color: #000000; + font-weight: normal; +} + +.forumbg table.table1 { + margin: 0 -2px -1px -1px; +} + +/* Misc layout styles +---------------------------------------- */ +/* column[1-2] styles are containers for two column layouts + Also see tweaks.css */ +.column1 { + float: left; + clear: left; + width: 49%; +} + +.column2 { + float: right; + clear: right; + width: 49%; +} + +/* General classes for placing floating blocks */ +.left-box { + float: left; + width: auto; + text-align: left; +} + +.right-box { + float: right; + width: auto; + text-align: right; +} + +dl.details { + /*font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;*/ + font-size: 1.1em; +} + +dl.details dt { + float: left; + clear: left; + width: 30%; + text-align: right; + color: #000000; + display: block; +} + +dl.details dd { + margin-left: 0; + padding-left: 5px; + margin-bottom: 5px; + color: #828282; + float: left; + width: 65%; +} + +/* Pagination +---------------------------------------- */ +.pagination { + height: 1%; /* IE tweak (holly hack) */ + width: auto; + text-align: right; + margin-top: 5px; + float: right; +} + +.pagination span.page-sep { + display: none; +} + +li.pagination { + margin-top: 0; +} + +.pagination strong, .pagination b { + font-weight: normal; +} + +.pagination span strong { + padding: 0 2px; + margin: 0 2px; + font-weight: normal; + color: #FFFFFF; + background-color: #bfbfbf; + border: 1px solid #bfbfbf; + font-size: 0.9em; +} + +.pagination span a, .pagination span a:link, .pagination span a:visited, .pagination span a:active { + font-weight: normal; + text-decoration: none; + color: #747474; + margin: 0 2px; + padding: 0 2px; + background-color: #eeeeee; + border: 1px solid #bababa; + font-size: 0.9em; + line-height: 1.5em; +} + +.pagination span a:hover { + border-color: #d2d2d2; + background-color: #d2d2d2; + color: #FFF; + text-decoration: none; +} + +.pagination img { + vertical-align: middle; +} + +/* Pagination in viewforum for multipage topics */ +.row .pagination { + display: block; + float: right; + width: auto; + margin-top: 0; + padding: 1px 0 1px 15px; + font-size: 0.9em; + background: none 0 50% no-repeat; +} + +.row .pagination span a, li.pagination span a { + background-color: #FFFFFF; +} + +.row .pagination span a:hover, li.pagination span a:hover { + background-color: #d2d2d2; +} + +/* Miscellaneous styles +---------------------------------------- */ +#forum-permissions { + float: right; + width: auto; + padding-left: 5px; + margin-left: 5px; + margin-top: 10px; + text-align: right; +} + +.copyright { + padding: 5px; + text-align: center; + color: #555555; +} + +.small { + font-size: 0.9em !important; +} + +.titlespace { + margin-bottom: 15px; +} + +.headerspace { + margin-top: 20px; +} + +.error { + color: #bcbcbc; + font-weight: bold; + font-size: 1em; +} + +.reported { + background-color: #f7f7f7; +} + +li.reported:hover { + background-color: #ececec; +} + +div.rules { + background-color: #ececec; + color: #bcbcbc; + padding: 0 10px; + margin: 10px 0; + font-size: 1.1em; +} + +div.rules ul, div.rules ol { + margin-left: 20px; +} + +p.rules { + background-color: #ececec; + background-image: none; + padding: 5px; +} + +p.rules img { + vertical-align: middle; + padding-top: 5px; +} + +p.rules a { + vertical-align: middle; + clear: both; +} + +#top { + position: absolute; + top: -20px; +} + +.clear { + display: block; + clear: both; + font-size: 1px; + line-height: 1px; + background: transparent; +} diff --git a/tmw3/theme/content.css b/tmw3/theme/content.css new file mode 100644 index 0000000..64beb97 --- /dev/null +++ b/tmw3/theme/content.css @@ -0,0 +1,786 @@ +/* proSilver Content Styles +---------------------------------------- */ + +ul.topiclist { + display: block; + list-style-type: none; + margin: 0; +} + +ul.forums { + background: #f9f9f9 none repeat-x 0 0; +} + +ul.topiclist li { + display: block; + list-style-type: none; + color: #777777; + margin: 0; +} + +ul.topiclist dl { + position: relative; +} + +ul.topiclist li.row dl { + padding: 2px 0; +} + +ul.topiclist dt { + display: block; + float: left; + width: 50%; + font-size: 1.1em; + padding-left: 5px; + padding-right: 5px; +} + +ul.topiclist dd { + display: block; + float: left; + border-left: 1px solid #FFFFFF; + padding: 4px 0; +} + +ul.topiclist dfn { + /* Labels for post/view counts */ + position: absolute; + left: -999px; + width: 990px; +} + +ul.topiclist li.row dt a.subforum { + background-image: none; + background-position: 0 50%; + background-repeat: no-repeat; + position: relative; + white-space: nowrap; + padding: 0 0 0 12px; +} + +.forum-image { + float: left; + padding-top: 5px; + margin-right: 5px; +} + +li.row { + border-top: 1px solid #FFFFFF; + border-bottom: 1px solid #8f8f8f; +} + +li.row strong { + font-weight: normal; + color: #000000; +} + +li.row:hover { + background-color: #f6f6f6; +} + +li.row:hover dd { + border-left-color: #CCCCCC; +} + +li.header dt, li.header dd { + line-height: 1em; + border-left-width: 0; + margin: 2px 0 4px 0; + color: #FFFFFF; + padding-top: 2px; + padding-bottom: 2px; + font-size: 1em; + font-family: Arial, Helvetica, sans-serif; + text-transform: uppercase; +} + +li.header dt { + font-weight: bold; +} + +li.header dd { + margin-left: 1px; +} + +li.header dl.icon { + min-height: 0; +} + +li.header dl.icon dt { + /* Tweak for headers alignment when folder icon used */ + padding-left: 0; + padding-right: 50px; +} + +/* Forum list column styles */ +dl.icon { + min-height: 35px; + background-position: 10px 50%; /* Position of folder icon */ + background-repeat: no-repeat; +} + +dl.icon dt { + padding-left: 45px; /* Space for folder icon */ + background-repeat: no-repeat; + background-position: 5px 95%; /* Position of topic icon */ +} + +dd.posts, dd.topics, dd.views { + width: 8%; + text-align: center; + line-height: 2.2em; + font-size: 1.2em; +} + +/* List in forum description */ +dl.icon dt ol, +dl.icon dt ul { + list-style-position: inside; + margin-left: 1em; +} + +dl.icon dt li { + display: list-item; + list-style-type: inherit; +} + +dd.lastpost { + width: 25%; + font-size: 1.1em; +} + +dd.redirect { + font-size: 1.1em; + line-height: 2.5em; +} + +dd.moderation { + font-size: 1.1em; +} + +dd.lastpost span, ul.topiclist dd.searchby span, ul.topiclist dd.info span, ul.topiclist dd.time span, dd.redirect span, dd.moderation span { + display: block; + padding-left: 5px; +} + +dd.time { + width: auto; + line-height: 200%; + font-size: 1.1em; +} + +dd.extra { + width: 12%; + line-height: 200%; + text-align: center; + font-size: 1.1em; +} + +dd.mark { + float: right !important; + width: 9%; + text-align: center; + line-height: 200%; + font-size: 1.2em; +} + +dd.info { + width: 30%; +} + +dd.option { + width: 15%; + line-height: 200%; + text-align: center; + font-size: 1.1em; +} + +dd.searchby { + width: 47%; + font-size: 1.1em; + line-height: 1em; +} + +ul.topiclist dd.searchextra { + margin-left: 5px; + padding: 0.2em 0; + font-size: 1.1em; + color: #333333; + border-left: none; + clear: both; + width: 98%; + overflow: hidden; +} + +/* Container for post/reply buttons and pagination */ +.topic-actions { + margin-bottom: 3px; + font-size: 1.1em; + height: 28px; + min-height: 28px; +} +div[class].topic-actions { + height: auto; +} + +/* Post body styles +----------------------------------------*/ +.postbody { + padding: 0; + line-height: 1.48em; + color: #333333; + width: 76%; + float: left; + clear: both; +} + +.postbody .ignore { + font-size: 1.1em; +} + +.postbody h3.first { + /* The first post on the page uses this */ + font-size: 1.7em; +} + +.postbody h3 { + /* Postbody requires a different h3 format - so change it here */ + font-size: 1.5em; + padding: 2px 0 0 0; + margin: 0 0 0.3em 0 !important; + text-transform: none; + border: none; + font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; + line-height: 125%; +} + +.postbody h3 img { + /* Also see tweaks.css */ + vertical-align: bottom; +} + +.postbody .content { + font-size: 1.3em; +} + +.search .postbody { + width: 68% +} + +/* Topic review panel +----------------------------------------*/ +#review { + margin-top: 2em; +} + +#topicreview { + padding-right: 5px; + overflow: auto; + height: 300px; +} + +#topicreview .postbody { + width: auto; + float: none; + margin: 0; + height: auto; +} + +#topicreview .post { + height: auto; +} + +#topicreview h2 { + border-bottom-width: 0; +} + +.post-ignore .postbody { + display: none; +} + +/* MCP Post details +----------------------------------------*/ +#post_details +{ + /* This will only work in IE7+, plus the others */ + overflow: auto; + max-height: 300px; +} + +#expand +{ + clear: both; +} + +/* Content container styles +----------------------------------------*/ +.content { + min-height: 3em; + overflow: hidden; + line-height: 1.4em; + font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; + font-size: 1em; + color: #333333; + padding-bottom: 1px; +} + +.content h2, .panel h2 { + font-weight: normal; + color: #989898; + border-bottom: 1px solid #CCCCCC; + font-size: 1.6em; + margin-top: 0.5em; + margin-bottom: 0.5em; + padding-bottom: 0.5em; +} + +.panel h3 { + margin: 0.5em 0; +} + +.panel p { + font-size: 1.2em; + margin-bottom: 1em; + line-height: 1.4em; +} + +.content p { + font-family: "Lucida Grande", "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; + font-size: 1.2em; + margin-bottom: 1em; + line-height: 1.4em; +} + +dl.faq { + font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; + font-size: 1.1em; + margin-top: 1em; + margin-bottom: 2em; + line-height: 1.4em; +} + +dl.faq dt { + font-weight: bold; + color: #333333; +} + +.content dl.faq { + font-size: 1.2em; + margin-bottom: 0.5em; +} + +.content li { + list-style-type: inherit; +} + +.content ul, .content ol { + margin-bottom: 1em; + margin-left: 3em; +} + +.posthilit { + background-color: #f3f3f3; + color: #BCBCBC; + padding: 0 2px 1px 2px; +} + +.announce, .unreadpost { + /* Highlight the announcements & unread posts box */ + border-left-color: #BCBCBC; + border-right-color: #BCBCBC; +} + +/* Post author */ +p.author { + margin: 0 15em 0.6em 0; + padding: 0 0 5px 0; + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 1em; + line-height: 1.2em; +} + +/* Post signature */ +.signature { + margin-top: 1.5em; + padding-top: 0.2em; + font-size: 1.1em; + border-top: 1px solid #CCCCCC; + clear: left; + line-height: 140%; + overflow: hidden; + width: 100%; +} + +dd .signature { + margin: 0; + padding: 0; + clear: none; + border: none; +} + +.signature li { + list-style-type: inherit; +} + +.signature ul, .signature ol { + margin-bottom: 1em; + margin-left: 3em; +} + +/* Post noticies */ +.notice { + font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; + width: auto; + margin-top: 1.5em; + padding-top: 0.2em; + font-size: 1em; + border-top: 1px dashed #CCCCCC; + clear: left; + line-height: 130%; +} + +/* Jump to post link for now */ +ul.searchresults { + list-style: none; + text-align: right; + clear: both; +} + +/* BB Code styles +----------------------------------------*/ +/* Quote block */ +blockquote { + background: #ebebeb none 6px 8px no-repeat; + border: 1px solid #dbdbdb; + font-size: 0.95em; + margin: 0.5em 1px 0 25px; + overflow: hidden; + padding: 5px; +} + +blockquote blockquote { + /* Nested quotes */ + background-color: #bababa; + font-size: 1em; + margin: 0.5em 1px 0 15px; +} + +blockquote blockquote blockquote { + /* Nested quotes */ + background-color: #e4e4e4; +} + +blockquote cite { + /* Username/source of quoter */ + font-style: normal; + font-weight: bold; + margin-left: 20px; + display: block; + font-size: 0.9em; +} + +blockquote cite cite { + font-size: 1em; +} + +blockquote.uncited { + padding-top: 25px; +} + +/* Code block */ +dl.codebox { + padding: 3px; + background-color: #FFFFFF; + border: 1px solid #d8d8d8; + font-size: 1em; +} + +dl.codebox dt { + text-transform: uppercase; + border-bottom: 1px solid #CCCCCC; + margin-bottom: 3px; + font-size: 0.8em; + font-weight: bold; + display: block; +} + +blockquote dl.codebox { + margin-left: 0; +} + +dl.codebox code { + /* Also see tweaks.css */ + overflow: auto; + display: block; + height: auto; + max-height: 200px; + white-space: normal; + padding-top: 5px; + font: 0.9em Monaco, "Andale Mono","Courier New", Courier, mono; + line-height: 1.3em; + color: #8b8b8b; + margin: 2px 0; +} + +.syntaxbg { color: #FFFFFF; } +.syntaxcomment { color: #000000; } +.syntaxdefault { color: #bcbcbc; } +.syntaxhtml { color: #000000; } +.syntaxkeyword { color: #585858; } +.syntaxstring { color: #a7a7a7; } + +/* Attachments +----------------------------------------*/ +.attachbox { + float: left; + width: auto; + margin: 5px 5px 5px 0; + padding: 6px; + background-color: #FFFFFF; + border: 1px dashed #d8d8d8; + clear: left; +} + +.pm-message .attachbox { + background-color: #f3f3f3; +} + +.attachbox dt { + font-family: Arial, Helvetica, sans-serif; + text-transform: uppercase; +} + +.attachbox dd { + margin-top: 4px; + padding-top: 4px; + clear: left; + border-top: 1px solid #d8d8d8; +} + +.attachbox dd dd { + border: none; +} + +.attachbox p { + line-height: 110%; + color: #666666; + font-weight: normal; + clear: left; +} + +.attachbox p.stats +{ + line-height: 110%; + color: #666666; + font-weight: normal; + clear: left; +} + +.attach-image { + margin: 3px 0; + width: 100%; + max-height: 350px; + overflow: auto; +} + +.attach-image img { + border: 1px solid #999999; +/* cursor: move; */ + cursor: default; +} + +/* Inline image thumbnails */ +div.inline-attachment dl.thumbnail, div.inline-attachment dl.file { + display: block; + margin-bottom: 4px; +} + +div.inline-attachment p { + font-size: 100%; +} + +dl.file { + font-family: Verdana, Arial, Helvetica, sans-serif; + display: block; +} + +dl.file dt { + text-transform: none; + margin: 0; + padding: 0; + font-weight: bold; + font-family: Verdana, Arial, Helvetica, sans-serif; +} + +dl.file dd { + color: #666666; + margin: 0; + padding: 0; +} + +dl.thumbnail img { + padding: 3px; + border: 1px solid #666666; + background-color: #FFF; +} + +dl.thumbnail dd { + color: #666666; + font-style: italic; + font-family: Verdana, Arial, Helvetica, sans-serif; +} + +.attachbox dl.thumbnail dd { + font-size: 100%; +} + +dl.thumbnail dt a:hover { + background-color: #EEEEEE; +} + +dl.thumbnail dt a:hover img { + border: 1px solid #d2d2d2; +} + +/* Post poll styles +----------------------------------------*/ +fieldset.polls { + font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; +} + +fieldset.polls dl { + margin-top: 5px; + border-top: 1px solid #e2e2e2; + padding: 5px 0 0 0; + line-height: 120%; + color: #666666; +} + +fieldset.polls dl.voted { + font-weight: bold; + color: #000000; +} + +fieldset.polls dt { + text-align: left; + float: left; + display: block; + width: 30%; + border-right: none; + padding: 0; + margin: 0; + font-size: 1.1em; +} + +fieldset.polls dd { + float: left; + width: 10%; + border-left: none; + padding: 0 5px; + margin-left: 0; + font-size: 1.1em; +} + +fieldset.polls dd.resultbar { + width: 50%; +} + +fieldset.polls dd input { + margin: 2px 0; +} + +fieldset.polls dd div { + text-align: right; + font-family: Arial, Helvetica, sans-serif; + color: #FFFFFF; + font-weight: bold; + padding: 0 2px; + overflow: visible; + min-width: 2%; +} + +.pollbar1 { + background-color: #aaaaaa; + border-bottom: 1px solid #747474; + border-right: 1px solid #747474; +} + +.pollbar2 { + background-color: #bebebe; + border-bottom: 1px solid #8c8c8c; + border-right: 1px solid #8c8c8c; +} + +.pollbar3 { + background-color: #D1D1D1; + border-bottom: 1px solid #aaaaaa; + border-right: 1px solid #aaaaaa; +} + +.pollbar4 { + background-color: #e4e4e4; + border-bottom: 1px solid #bebebe; + border-right: 1px solid #bebebe; +} + +.pollbar5 { + background-color: #f8f8f8; + border-bottom: 1px solid #D1D1D1; + border-right: 1px solid #D1D1D1; +} + +/* Poster profile block +----------------------------------------*/ +.postprofile { + /* Also see tweaks.css */ + margin: 5px 0 10px 0; + min-height: 80px; + color: #666666; + border-left: 1px solid #FFFFFF; + width: 22%; + float: right; + display: inline; +} +.pm .postprofile { + border-left: 1px solid #DDDDDD; +} + +.postprofile dd, .postprofile dt { + line-height: 1.2em; + margin-left: 8px; +} + +.postprofile strong { + font-weight: normal; + color: #000000; +} + +.avatar { + border: none; + margin-bottom: 3px; +} + +.online { + background-image: none; + background-position: 100% 0; + background-repeat: no-repeat; +} + +/* Poster profile used by search*/ +.search .postprofile { + width: 30%; +} + +/* pm list in compose message if mass pm is enabled */ +dl.pmlist dt { + width: 60% !important; +} + +dl.pmlist dt textarea { + width: 95%; +} + +dl.pmlist dd { + margin-left: 61% !important; + margin-bottom: 2px; +}
\ No newline at end of file diff --git a/tmw3/theme/cp.css b/tmw3/theme/cp.css new file mode 100644 index 0000000..b574b0a --- /dev/null +++ b/tmw3/theme/cp.css @@ -0,0 +1,454 @@ +/* proSilver Control Panel Styles +---------------------------------------- */ + + +/* Main CP box +----------------------------------------*/ +#cp-menu { + float:left; + width: 19%; + margin-top: 1em; + margin-bottom: 5px; +} + +#cp-main { + float: left; + width: 81%; +} + +#cp-main .content { + padding: 0; +} + +#cp-main h3, #cp-main hr, #cp-menu hr { + border-color: #bfbfbf; +} + +#cp-main .panel p { + font-size: 1.1em; +} + +#cp-main .panel ol { + margin-left: 2em; + font-size: 1.1em; +} + +#cp-main .panel li.row { + border-bottom: 1px solid #cbcbcb; + border-top: 1px solid #F9F9F9; +} + +ul.cplist { + margin-bottom: 5px; + border-top: 1px solid #cbcbcb; +} + +#cp-main .panel li.header dd, #cp-main .panel li.header dt { + color: #000000; + margin-bottom: 2px; +} + +#cp-main table.table1 { + margin-bottom: 1em; +} + +#cp-main table.table1 thead th { + color: #333333; + font-weight: bold; + border-bottom: 1px solid #333333; + padding: 5px; +} + +#cp-main table.table1 tbody th { + font-style: italic; + background-color: transparent !important; + border-bottom: none; +} + +#cp-main .pagination { + float: right; + width: auto; + padding-top: 1px; +} + +#cp-main .postbody p { + font-size: 1.1em; +} + +#cp-main .pm-message { + border: 1px solid #e2e2e2; + margin: 10px 0; + background-color: #FFFFFF; + width: auto; + float: none; +} + +.pm-message h2 { + padding-bottom: 5px; +} + +#cp-main .postbody h3, #cp-main .box2 h3 { + margin-top: 0; +} + +#cp-main .buttons { + margin-left: 0; +} + +#cp-main ul.linklist { + margin: 0; +} + +/* MCP Specific tweaks */ +.mcp-main .postbody { + width: 100%; +} + +/* CP tabbed menu +----------------------------------------*/ +#tabs { + line-height: normal; + margin: 20px 0 -1px 7px; + min-width: 570px; +} + +#tabs ul { + margin:0; + padding: 0; + list-style: none; +} + +#tabs li { + display: inline; + margin: 0; + padding: 0; + font-size: 1em; + font-weight: bold; +} + +#tabs a { + float: left; + background: none no-repeat 0% -35px; + margin: 0 1px 0 0; + padding: 0 0 0 5px; + text-decoration: none; + position: relative; + cursor: pointer; +} + +#tabs a span { + float: left; + display: block; + background: none no-repeat 100% -35px; + padding: 6px 10px 6px 5px; + color: #828282; + white-space: nowrap; +} + +#tabs a:hover span { + color: #bcbcbc; +} + +#tabs .activetab a { + background-position: 0 0; + border-bottom: 1px solid #ebebeb; +} + +#tabs .activetab a span { + background-position: 100% 0; + padding-bottom: 7px; + color: #333333; +} + +#tabs a:hover { + background-position: 0 -70px; +} + +#tabs a:hover span { + background-position:100% -70px; +} + +#tabs .activetab a:hover { + background-position: 0 0; +} + +#tabs .activetab a:hover span { + color: #000000; + background-position: 100% 0; +} + +/* Mini tabbed menu used in MCP +----------------------------------------*/ +#minitabs { + line-height: normal; + margin: -20px 7px 0 0; +} + +#minitabs ul { + margin:0; + padding: 0; + list-style: none; +} + +#minitabs li { + display: block; + float: right; + padding: 0 10px 4px 10px; + font-size: 1em; + font-weight: bold; + background-color: #f2f2f2; + margin-left: 2px; +} + +#minitabs a { +} + +#minitabs a:hover { + text-decoration: none; +} + +#minitabs li.activetab { + background-color: #F9F9F9; +} + +#minitabs li.activetab a, #minitabs li.activetab a:hover { + color: #333333; +} + +/* UCP navigation menu +----------------------------------------*/ +/* Container for sub-navigation list */ +#navigation { + width: 100%; + padding-top: 36px; +} + +#navigation ul { + list-style:none; +} + +/* Default list state */ +#navigation li { + margin: 1px 0; + padding: 0; + font-weight: bold; + display: inline; +} + +/* Link styles for the sub-section links */ +#navigation a { + display: block; + padding: 5px; + margin: 1px 0; + text-decoration: none; + font-weight: bold; + color: #333; + background: #cfcfcf none repeat-y 100% 0; +} + +#navigation a:hover { + text-decoration: none; + background-color: #c6c6c6; + color: #bcbcbc; + background-image: none; +} + +#navigation #active-subsection a { + display: block; + color: #d3d3d3; + background-color: #F9F9F9; + background-image: none; +} + +#navigation #active-subsection a:hover { + color: #d3d3d3; +} + +/* Preferences pane layout +----------------------------------------*/ +#cp-main h2 { + border-bottom: none; + padding: 0; + margin-left: 10px; + color: #333333; +} + +#cp-main .panel { + background-color: #F9F9F9; +} + +#cp-main .pm { + background-color: #FFFFFF; +} + +#cp-main span.corners-top, #cp-menu span.corners-top { + background-image: none; +} + +#cp-main span.corners-top span, #cp-menu span.corners-top span { + background-image: none; +} + +#cp-main span.corners-bottom, #cp-menu span.corners-bottom { + background-image: none; +} + +#cp-main span.corners-bottom span, #cp-menu span.corners-bottom span { + background-image: none; +} + +/* Topicreview */ +#cp-main .panel #topicreview span.corners-top, #cp-menu .panel #topicreview span.corners-top { + background-image: none; +} + +#cp-main .panel #topicreview span.corners-top span, #cp-menu .panel #topicreview span.corners-top span { + background-image: none; +} + +#cp-main .panel #topicreview span.corners-bottom, #cp-menu .panel #topicreview span.corners-bottom { + background-image: none; +} + +#cp-main .panel #topicreview span.corners-bottom span, #cp-menu .panel #topicreview span.corners-bottom span { + background-image: none; +} + +/* Friends list */ +.cp-mini { + background-color: #f9f9f9; + padding: 0 5px; + margin: 10px 15px 10px 5px; +} + +.cp-mini span.corners-top, .cp-mini span.corners-bottom { + margin: 0 -5px; +} + +dl.mini dt { + font-weight: bold; + color: #676767; +} + +dl.mini dd { + padding-top: 4px; +} + +.friend-online { + font-weight: bold; +} + +.friend-offline { + font-style: italic; +} + +/* PM Styles +----------------------------------------*/ +#pm-menu { + line-height: 2.5em; +} + +/* PM panel adjustments */ +.pm-panel-header { + margin: 0; + padding-bottom: 10px; + border-bottom: 1px dashed #A4B3BF; +} + +.reply-all { + display: block; + padding-top: 4px; + clear: both; + float: left; +} + +.pm-panel-message { + padding-top: 10px; +} + +.pm-return-to { + padding-top: 23px; +} + +#cp-main .pm-message-nav { + margin: 0; + padding: 2px 10px 5px 10px; + border-bottom: 1px dashed #A4B3BF; +} + +/* PM Message history */ +.current { + color: #999999; +} + +/* Defined rules list for PM options */ +ol.def-rules { + padding-left: 0; +} + +ol.def-rules li { + line-height: 180%; + padding: 1px; +} + +/* PM marking colours */ +.pmlist li.bg1 { + padding: 0 3px; +} + +.pmlist li.bg2 { + padding: 0 3px; +} + +.pmlist li.pm_message_reported_colour, .pm_message_reported_colour { + border-left-color: #bcbcbc; + border-right-color: #bcbcbc; +} + +.pmlist li.pm_marked_colour, .pm_marked_colour { + padding: 0; + border: solid 3px #ffffff; + border-width: 0 3px; +} + +.pmlist li.pm_replied_colour, .pm_replied_colour { + padding: 0; + border: solid 3px #c2c2c2; + border-width: 0 3px; +} + +.pmlist li.pm_friend_colour, .pm_friend_colour { + padding: 0; + border: solid 3px #bdbdbd; + border-width: 0 3px; +} + +.pmlist li.pm_foe_colour, .pm_foe_colour { + padding: 0; + border: solid 3px #000000; + border-width: 0 3px; +} + +.pm-legend { + border-left-width: 10px; + border-left-style: solid; + border-right-width: 0; + margin-bottom: 3px; + padding-left: 3px; +} + +/* Avatar gallery */ +#gallery label { + position: relative; + float: left; + margin: 10px; + padding: 5px; + width: auto; + background: #FFFFFF; + border: 1px solid #CCC; + text-align: center; +} + +#gallery label:hover { + background-color: #EEE; +} diff --git a/tmw3/theme/forms.css b/tmw3/theme/forms.css new file mode 100644 index 0000000..4e48a93 --- /dev/null +++ b/tmw3/theme/forms.css @@ -0,0 +1,389 @@ +/* proSilver Form Styles +---------------------------------------- */ + +/* General form styles +----------------------------------------*/ +fieldset { + border-width: 0; + font-family: Verdana, Helvetica, Arial, sans-serif; + font-size: 1.1em; +} + +input { + font-weight: normal; + cursor: pointer; + vertical-align: middle; + padding: 0 3px; + font-size: 1em; + font-family: Verdana, Helvetica, Arial, sans-serif; +} + +select { + font-family: Verdana, Helvetica, Arial, sans-serif; + font-weight: normal; + cursor: pointer; + vertical-align: middle; + border: 1px solid #666666; + padding: 1px; + background-color: #FAFAFA; +} + +option { + padding-right: 1em; +} + +option.disabled-option { + color: graytext; +} + +textarea { + font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; + width: 60%; + padding: 2px; + font-size: 1em; + line-height: 1.4em; +} + +label { + cursor: default; + padding-right: 5px; + color: #676767; +} + +label input { + vertical-align: middle; +} + +label img { + vertical-align: middle; +} + +/* Definition list layout for forms +---------------------------------------- */ +fieldset dl { + padding: 4px 0; +} + +fieldset dt { + float: left; + width: 40%; + text-align: left; + display: block; +} + +fieldset dd { + margin-left: 41%; + vertical-align: top; + margin-bottom: 3px; +} + +/* Specific layout 1 */ +fieldset.fields1 dt { + width: 15em; + border-right-width: 0; +} + +fieldset.fields1 dd { + margin-left: 15em; + border-left-width: 0; +} + +fieldset.fields1 { + background-color: transparent; +} + +fieldset.fields1 div { + margin-bottom: 3px; +} + +/* Set it back to 0px for the reCaptcha divs: PHPBB3-9587 */ +fieldset.fields1 #recaptcha_widget_div div { + margin-bottom: 0; +} + +/* Specific layout 2 */ +fieldset.fields2 dt { + width: 15em; + border-right-width: 0; +} + +fieldset.fields2 dd { + margin-left: 16em; + border-left-width: 0; +} + +/* Form elements */ +dt label { + font-weight: bold; + text-align: left; +} + +dd label { + white-space: nowrap; + color: #333; +} + +dd input, dd textarea { + margin-right: 3px; +} + +dd select { + width: auto; +} + +dd textarea { + width: 85%; +} + +/* Hover effects */ +fieldset dl:hover dt label { + color: #000000; +} + +fieldset.fields2 dl:hover dt label { + color: inherit; +} + +#timezone { + width: 95%; +} + +* html #timezone { + width: 50%; +} + +/* Quick-login on index page */ +fieldset.quick-login { + margin-top: 5px; +} + +fieldset.quick-login input { + width: auto; +} + +fieldset.quick-login input.inputbox { + width: 15%; + vertical-align: middle; + margin-right: 5px; + background-color: #f3f3f3; +} + +fieldset.quick-login label { + white-space: nowrap; + padding-right: 2px; +} + +/* Display options on viewtopic/viewforum pages */ +fieldset.display-options { + text-align: center; + margin: 3px 0 5px 0; +} + +fieldset.display-options label { + white-space: nowrap; + padding-right: 2px; +} + +fieldset.display-options a { + margin-top: 3px; +} + +/* Display actions for ucp and mcp pages */ +fieldset.display-actions { + text-align: right; + line-height: 2em; + white-space: nowrap; + padding-right: 1em; +} + +fieldset.display-actions label { + white-space: nowrap; + padding-right: 2px; +} + +fieldset.sort-options { + line-height: 2em; +} + +/* MCP forum selection*/ +fieldset.forum-selection { + margin: 5px 0 3px 0; + float: right; +} + +fieldset.forum-selection2 { + margin: 13px 0 3px 0; + float: right; +} + +/* Jumpbox */ +fieldset.jumpbox { + text-align: right; + margin-top: 15px; + height: 2.5em; +} + +fieldset.quickmod { + width: 50%; + float: right; + text-align: right; + height: 2.5em; +} + +/* Submit button fieldset */ +fieldset.submit-buttons { + text-align: center; + vertical-align: middle; + margin: 5px 0; +} + +fieldset.submit-buttons input { + vertical-align: middle; + padding-top: 3px; + padding-bottom: 3px; +} + +/* Posting page styles +----------------------------------------*/ + +/* Buttons used in the editor */ +#format-buttons { + margin: 15px 0 2px 0; +} + +#format-buttons input, #format-buttons select { + vertical-align: middle; +} + +/* Main message box */ +#message-box { + width: 80%; +} + +#message-box textarea { + font-family: "Trebuchet MS", Verdana, Helvetica, Arial, sans-serif; + width: 100%; + font-size: 1.2em; + color: #333333; +} + +/* Emoticons panel */ +#smiley-box { + width: 18%; + float: right; +} + +#smiley-box img { + margin: 3px; +} + +/* Input field styles +---------------------------------------- */ +.inputbox { + background-color: #FFFFFF; + border: 1px solid #c0c0c0; + color: #333333; + padding: 2px; + cursor: text; +} + +.inputbox:hover { + border: 1px solid #eaeaea; +} + +.inputbox:focus { + border: 1px solid #eaeaea; + color: #4b4b4b; +} + +input.inputbox { width: 85%; } +input.medium { width: 50%; } +input.narrow { width: 25%; } +input.tiny { width: 125px; } + +textarea.inputbox { + width: 85%; +} + +.autowidth { + width: auto !important; +} + +/* Form button styles +---------------------------------------- */ +input.button1, input.button2 { + font-size: 1em; +} + +a.button1, input.button1, input.button3, a.button2, input.button2 { + width: auto !important; + padding-top: 1px; + padding-bottom: 1px; + font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; + color: #000; + background: #FAFAFA none repeat-x top left; +} + +a.button1, input.button1 { + font-weight: bold; + border: 1px solid #666666; +} + +input.button3 { + padding: 0; + margin: 0; + line-height: 5px; + height: 12px; + background-image: none; + font-variant: small-caps; +} + +/* Alternative button */ +a.button2, input.button2, input.button3 { + border: 1px solid #666666; +} + +/* <a> button in the style of the form buttons */ +a.button1, a.button1:link, a.button1:visited, a.button1:active, a.button2, a.button2:link, a.button2:visited, a.button2:active { + text-decoration: none; + color: #000000; + padding: 2px 8px; + line-height: 250%; + vertical-align: text-bottom; + background-position: 0 1px; +} + +/* Hover states */ +a.button1:hover, input.button1:hover, a.button2:hover, input.button2:hover, input.button3:hover { + border: 1px solid #BCBCBC; + background-position: 0 100%; + color: #BCBCBC; +} + +input.disabled { + font-weight: normal; + color: #666666; +} + +/* Topic and forum Search */ +.search-box { + margin-top: 3px; + margin-left: 5px; + float: left; +} + +.search-box input { +} + +input.search { + background-image: none; + background-repeat: no-repeat; + background-position: left 1px; + padding-left: 17px; +} + +.full { width: 95%; } +.medium { width: 50%;} +.narrow { width: 25%;} +.tiny { width: 10%;} + diff --git a/tmw3/theme/images/background.gif b/tmw3/theme/images/background.gif Binary files differnew file mode 100644 index 0000000..158a625 --- /dev/null +++ b/tmw3/theme/images/background.gif diff --git a/tmw3/theme/images/cellpic.gif b/tmw3/theme/images/cellpic.gif Binary files differnew file mode 100644 index 0000000..47457ef --- /dev/null +++ b/tmw3/theme/images/cellpic.gif diff --git a/tmw3/theme/images/cellpic.png b/tmw3/theme/images/cellpic.png Binary files differnew file mode 100644 index 0000000..d33270f --- /dev/null +++ b/tmw3/theme/images/cellpic.png diff --git a/tmw3/theme/images/cellpic1.gif b/tmw3/theme/images/cellpic1.gif Binary files differnew file mode 100644 index 0000000..715b8d4 --- /dev/null +++ b/tmw3/theme/images/cellpic1.gif diff --git a/tmw3/theme/images/cellpic2.jpg b/tmw3/theme/images/cellpic2.jpg Binary files differnew file mode 100644 index 0000000..a0ca7e8 --- /dev/null +++ b/tmw3/theme/images/cellpic2.jpg diff --git a/tmw3/theme/images/cellpic2_rtl.jpg b/tmw3/theme/images/cellpic2_rtl.jpg Binary files differnew file mode 100644 index 0000000..201e063 --- /dev/null +++ b/tmw3/theme/images/cellpic2_rtl.jpg diff --git a/tmw3/theme/images/cellpic3.gif b/tmw3/theme/images/cellpic3.gif Binary files differnew file mode 100644 index 0000000..ecf70e1 --- /dev/null +++ b/tmw3/theme/images/cellpic3.gif diff --git a/tmw3/theme/images/created_by.jpg b/tmw3/theme/images/created_by.jpg Binary files differnew file mode 100644 index 0000000..f274727 --- /dev/null +++ b/tmw3/theme/images/created_by.jpg diff --git a/tmw3/theme/images/icon_mini_faq.gif b/tmw3/theme/images/icon_mini_faq.gif Binary files differnew file mode 100644 index 0000000..892e83d --- /dev/null +++ b/tmw3/theme/images/icon_mini_faq.gif diff --git a/tmw3/theme/images/icon_mini_groups.gif b/tmw3/theme/images/icon_mini_groups.gif Binary files differnew file mode 100644 index 0000000..53b89ac --- /dev/null +++ b/tmw3/theme/images/icon_mini_groups.gif diff --git a/tmw3/theme/images/icon_mini_login.gif b/tmw3/theme/images/icon_mini_login.gif Binary files differnew file mode 100644 index 0000000..e935ea6 --- /dev/null +++ b/tmw3/theme/images/icon_mini_login.gif diff --git a/tmw3/theme/images/icon_mini_members.gif b/tmw3/theme/images/icon_mini_members.gif Binary files differnew file mode 100644 index 0000000..6a68c89 --- /dev/null +++ b/tmw3/theme/images/icon_mini_members.gif diff --git a/tmw3/theme/images/icon_mini_message.gif b/tmw3/theme/images/icon_mini_message.gif Binary files differnew file mode 100644 index 0000000..d920c20 --- /dev/null +++ b/tmw3/theme/images/icon_mini_message.gif diff --git a/tmw3/theme/images/icon_mini_profile.gif b/tmw3/theme/images/icon_mini_profile.gif Binary files differnew file mode 100644 index 0000000..51214de --- /dev/null +++ b/tmw3/theme/images/icon_mini_profile.gif diff --git a/tmw3/theme/images/icon_mini_register.gif b/tmw3/theme/images/icon_mini_register.gif Binary files differnew file mode 100644 index 0000000..9f5304c --- /dev/null +++ b/tmw3/theme/images/icon_mini_register.gif diff --git a/tmw3/theme/images/icon_mini_search.gif b/tmw3/theme/images/icon_mini_search.gif Binary files differnew file mode 100644 index 0000000..7814190 --- /dev/null +++ b/tmw3/theme/images/icon_mini_search.gif diff --git a/tmw3/theme/images/index.htm b/tmw3/theme/images/index.htm new file mode 100644 index 0000000..2953141 --- /dev/null +++ b/tmw3/theme/images/index.htm @@ -0,0 +1,16 @@ +<html> +<head> +<title>subSilver created by subBlue Design</title> +<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> +</head> + +<body bgcolor="#FFFFFF" text="#000000"> + +<table width="100%" height="100%" cellspacing="0" cellpadding="0" border="0"> + <tr> + <td align="center" valign="middle"><a href="http://www.subblue.com/" target="_new"><img src="created_by.jpg" width="400" height="300" alt="Created by subBlue Design" /></a></td> + </tr> +</table> + +</body> +</html>
\ No newline at end of file diff --git a/tmw3/theme/images/no_avatar.gif b/tmw3/theme/images/no_avatar.gif Binary files differnew file mode 100644 index 0000000..80539c8 --- /dev/null +++ b/tmw3/theme/images/no_avatar.gif diff --git a/tmw3/theme/images/spacer.gif b/tmw3/theme/images/spacer.gif Binary files differnew file mode 100644 index 0000000..5bfd67a --- /dev/null +++ b/tmw3/theme/images/spacer.gif diff --git a/tmw3/theme/images/whosonline.gif b/tmw3/theme/images/whosonline.gif Binary files differnew file mode 100644 index 0000000..7cae772 --- /dev/null +++ b/tmw3/theme/images/whosonline.gif diff --git a/tmw3/theme/large.css b/tmw3/theme/large.css new file mode 100644 index 0000000..dfb1d2c --- /dev/null +++ b/tmw3/theme/large.css @@ -0,0 +1,3 @@ +body { + font-size: 12px; +}
\ No newline at end of file diff --git a/tmw3/theme/links.css b/tmw3/theme/links.css new file mode 100644 index 0000000..1f6c2af --- /dev/null +++ b/tmw3/theme/links.css @@ -0,0 +1,223 @@ +/* proSilver Link Styles +---------------------------------------- */ + +/* Links adjustment to correctly display an order of rtl/ltr mixed content */ +a { + direction: ltr; + unicode-bidi: embed; +} + +a:link { color: #898989; text-decoration: none; } +a:visited { color: #898989; text-decoration: none; } +a:hover { color: #d3d3d3; text-decoration: underline; } +a:active { color: #d2d2d2; text-decoration: none; } + +/* Coloured usernames */ +.username-coloured { + font-weight: bold; + display: inline !important; + padding: 0 !important; +} + +/* Links on gradient backgrounds */ +#search-box a:link, .navbg a:link, .forumbg .header a:link, .forabg .header a:link, th a:link { + color: #FFFFFF; + text-decoration: none; +} + +#search-box a:visited, .navbg a:visited, .forumbg .header a:visited, .forabg .header a:visited, th a:visited { + color: #FFFFFF; + text-decoration: none; +} + +#search-box a:hover, .navbg a:hover, .forumbg .header a:hover, .forabg .header a:hover, th a:hover { + color: #ffffff; + text-decoration: underline; +} + +#search-box a:active, .navbg a:active, .forumbg .header a:active, .forabg .header a:active, th a:active { + color: #ffffff; + text-decoration: none; +} + +/* Links for forum/topic lists */ +a.forumtitle { + font-family: "Trebuchet MS", Helvetica, Arial, Sans-serif; + font-size: 1.2em; + font-weight: bold; + color: #898989; + text-decoration: none; +} + +/* a.forumtitle:visited { color: #898989; } */ + +a.forumtitle:hover { + color: #bcbcbc; + text-decoration: underline; +} + +a.forumtitle:active { + color: #898989; +} + +a.topictitle { + font-family: "Trebuchet MS", Helvetica, Arial, Sans-serif; + font-size: 1.2em; + font-weight: bold; + color: #898989; + text-decoration: none; +} + +/* a.topictitle:visited { color: #d2d2d2; } */ + +a.topictitle:hover { + color: #bcbcbc; + text-decoration: underline; +} + +a.topictitle:active { + color: #898989; +} + +/* Post body links */ +.postlink { + text-decoration: none; + color: #d2d2d2; + border-bottom: 1px solid #d2d2d2; + padding-bottom: 0; +} + +/* .postlink:visited { color: #bdbdbd; } */ + +.postlink:active { + color: #d2d2d2; +} + +.postlink:hover { + background-color: #f6f6f6; + text-decoration: none; + color: #404040; +} + +.signature a, .signature a:visited, .signature a:hover, .signature a:active { + border: none; + text-decoration: underline; + background-color: transparent; +} + +/* Profile links */ +.postprofile a:link, .postprofile a:visited, .postprofile dt.author a { + font-weight: bold; + color: #898989; + text-decoration: none; +} + +.postprofile a:hover, .postprofile dt.author a:hover { + text-decoration: underline; + color: #d3d3d3; +} + +/* CSS spec requires a:link, a:visited, a:hover and a:active rules to be specified in this order. */ +/* See http://www.phpbb.com/bugs/phpbb3/59685 */ +.postprofile a:active { + font-weight: bold; + color: #898989; + text-decoration: none; +} + + +/* Profile searchresults */ +.search .postprofile a { + color: #898989; + text-decoration: none; + font-weight: normal; +} + +.search .postprofile a:hover { + color: #d3d3d3; + text-decoration: underline; +} + +/* Back to top of page */ +.back2top { + clear: both; + height: 11px; + text-align: right; +} + +a.top { + background: none no-repeat top left; + text-decoration: none; + width: {IMG_ICON_BACK_TOP_WIDTH}px; + height: {IMG_ICON_BACK_TOP_HEIGHT}px; + display: block; + float: right; + overflow: hidden; + letter-spacing: 1000px; + text-indent: 11px; +} + +a.top2 { + background: none no-repeat 0 50%; + text-decoration: none; + padding-left: 15px; +} + +/* Arrow links */ +a.up { background: none no-repeat left center; } +a.down { background: none no-repeat right center; } +a.left { background: none no-repeat 3px 60%; } +a.right { background: none no-repeat 95% 60%; } + +a.up, a.up:link, a.up:active, a.up:visited { + padding-left: 10px; + text-decoration: none; + border-bottom-width: 0; +} + +a.up:hover { + background-position: left top; + background-color: transparent; +} + +a.down, a.down:link, a.down:active, a.down:visited { + padding-right: 10px; +} + +a.down:hover { + background-position: right bottom; + text-decoration: none; +} + +a.left, a.left:active, a.left:visited { + padding-left: 12px; +} + +a.left:hover { + color: #d2d2d2; + text-decoration: none; + background-position: 0 60%; +} + +a.right, a.right:active, a.right:visited { + padding-right: 12px; +} + +a.right:hover { + color: #d2d2d2; + text-decoration: none; + background-position: 100% 60%; +} + +/* invisible skip link, used for accessibility */ +.skiplink { + position: absolute; + left: -999px; + width: 990px; +} + +/* Feed icon in forumlist_body.html */ +a.feed-icon-forum { + float: right; + margin: 3px; +} diff --git a/tmw3/theme/medium.css b/tmw3/theme/medium.css new file mode 100644 index 0000000..4c992f9 --- /dev/null +++ b/tmw3/theme/medium.css @@ -0,0 +1,3 @@ +body { + font-size: 11px; +}
\ No newline at end of file diff --git a/tmw3/theme/normal.css b/tmw3/theme/normal.css new file mode 100644 index 0000000..d0783d1 --- /dev/null +++ b/tmw3/theme/normal.css @@ -0,0 +1,3 @@ +body { + font-size: 10px; +}
\ No newline at end of file diff --git a/tmw3/theme/print.css b/tmw3/theme/print.css new file mode 100644 index 0000000..2cfcd4d --- /dev/null +++ b/tmw3/theme/print.css @@ -0,0 +1,144 @@ +/* proSilver Print Style Sheet +------------------------------------------------- + Author: subBlue ( http://www.subBlue.com/ ) + Version: 25 August 2004 + + Copyright 2004 phpBB Group +-------------------------------------------------*/ + + +/* Lots still TODO here! */ + +/* General markup styles */ +* { + padding: 0; + margin: 0; +} + +body { + font: 11pt Verdana, Arial, Helvetica, sans-serif; + color:#000000; +} + +a:link { color: #000000; text-decoration: none; } +a:visited { color: #000000; text-decoration: none; } +a:active { color: #000000; text-decoration: none; } + +img, .noprint, #sub-header, #sub-footer, .navbar, .box1, .divider, .signature { display: none; } +/* Display smilies (Bug #47265) */ +.content img { + display: inline; +} + +/* Container for the main body */ +#wrap { + margin: 0 2em; +} + +p { font-size: 85%; } +.copyright { font-size: 75%; } +.page-number { float:right; width: auto; text-align: right; font-size: 75%; } + +h1, h2, h3, h1 a, h2 a, h3 a { + font-family: "Trebuchet MS",georgia,Verdana,Sans-serif; + color: #000000; + background: none; + text-decoration: none; + font-weight: bold; +} + +h1 { font-size: 20pt; } +h2 { font-size: 16pt; margin-top: 1em; } +h3 { font-size: 14pt; margin-top: 1em; } + +.content { + font-size: 11pt; + line-height: 14pt; + margin-bottom: 1em; + font-family: "Lucida Grande", "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif; + overflow: hidden; +} + +/* CSS2 Print tip from: http://www.alistapart.com/articles/goingtoprint/ */ +.postbody a:link, .postbody a:visited, .postbody a:hover, .postbody a:active { + text-decoration: underline; + padding: 0.1em 0.2em; + margin: -0.1em -0.2em; + color: #666; + background: none; + font-size: 100%; +} + +html>body .postbody a:link:after, html>body .postbody a:visited:after { + content: " (" attr(href) ") "; + font-size: 90%; + text-decoration: none; +} + +hr { + height: 1px; + background-color: #999999; + border-width: 0; +} + +.author { + font-family: Verdana, Arial, Helvetica, sans-serif; + font-size: 75%; + margin-bottom: 0.6em; +} + +.date { + font-family: Verdana, Arial, Helvetica, sans-serif; + float: right; + position: relative; + text-align: right; + font-size: 75%; +} + +/* Dont want to print url for names or titles in content area */ +.postbody .author a:link, .postbody .author a:visited, +html>body .postbody .author a:link:after, +html>body .postbody .author a:visited:after, +.postquote .quote-by a:link, .postquote .quote-by a:visited, +html>body .postquote .quote-by a:link:after, +html>body .postquote .quote-by a:visited:after, +html>body .postbody h1 a:link:after, html>body .postbody h2 a:link:after { + text-decoration: none; + content: ""; +} + +/* Poster profile */ +.postprofile { display: none; } +.grip-show { display:none; } + +/* Quote */ +.postquote, blockquote { + font-size: 85%; + margin: 1em 18% 1em 4%; + padding: 0.5em; + position: relative; + line-height: 1.5em; + border: 1px #999999 solid; +} + +.postquote img { display: none; } +.postquote span { display: block; } +.postquote span .postquote { font-size: 100%; } +.quote-by, blockquote cite { + color: black; + display : block; + font-weight: bold; +} + +/* List */ +ol, ul { + margin-left: 15pt +} + +/* Misc page elements */ +div.spacer { clear: both; } + +/* Accessibility tweaks: Mozilla.org */ +.skip_link { display: none; } + +dl.codebox dt { display: none; } diff --git a/tmw3/theme/stylesheet.css b/tmw3/theme/stylesheet.css new file mode 100644 index 0000000..a69e637 --- /dev/null +++ b/tmw3/theme/stylesheet.css @@ -0,0 +1,676 @@ +/* phpBB 3.0 Style Sheet + ------------------------------------------------------------------------- + Style name: TMW + Based on style: subsilver2 (a PHPBB3 style) + Original author: subBlue (http://www.subBlue.com/) + psoTFX and the phpBB team (http://www.phpbb.com) + Modified by: Platyna (http://platyna.platinum.edu.pl) + + This is an alternative style for phpBB3 for those wishing to stay with + the familiar subSilver style of phpBB version 2.x + + Copyright 2006 phpBB Group ( http://www.phpbb.com/ ) + ------------------------------------------------------------------------- +*/ + +@import url("common.css"); +@import url("links.css"); +@import url("content.css"); +@import url("buttons.css"); +@import url("cp.css"); +@import url("forms.css"); +@import url("tweaks.css"); +@import url("colours.css"); + +/* Layout */ +* { + /* Reset browsers default margin, padding and font sizes */ + margin: 0; + padding: 0; +} + +html { + font-size: 100%; +} + +body { + /* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */ + font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; + color: #000000; + background-color: #EEEEEE; + /* font-size: 62.5%; */ /* This sets the default font size to be equivalent to 10px */ + font-size: 65%; + margin: 0; +} + +#wrapheader { + min-height: 120px; + height: auto !important; + height: 120px; + padding: 0; +} + +#wrapcentre { + margin: 15px 25px 0 25px; +} + +#wrapfooter { + text-align: center; + clear: both; +} + +#wrapnav { + width: 100%; + margin: 0; + background-color: #E1D6CF; + border-width: 1px; + border-style: solid; + border-color: #784F3F; +} + +#logodesc { + margin-bottom: 5px; + margin-left: 25px; + margin-right: 25px; + margin-top: 15px; + padding: 5px 5px; + background: #E1D6CF; + border: 1px solid #6E402E; +} + +#menubar { + margin: 0 25px; +} + +#datebar { + margin: 10px 25px 0 25px; +} + +#findbar { + width: 100%; + margin: 0; + padding: 0; + border: 0; +} + +.forumrules { + background-color: #F9CC79; + border-width: 1px; + border-style: solid; + border-color: #BB9860; + padding: 4px; + font-weight: normal; + font-size: 1.1em; + font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; +} + +.forumrules h3 { + color: red; +} + +#pageheader { } +#pagecontent { } +#pagefooter { } + +#poll { } +#postrow { } +#postdata { } + + +/* Text */ +h1 { + color: black; + font-family: "Lucida Grande", "Trebuchet MS", Verdana, sans-serif; + font-weight: bold; + font-size: 1.8em; + text-decoration: none; +} + +h2 { + font-family: Arial, Helvetica, sans-serif; + font-weight: bold; + font-size: 1.5em; + text-decoration: none; + line-height: 120%; +} + +h3 { + font-size: 1.3em; + font-weight: bold; + font-family: Arial, Helvetica, sans-serif; + line-height: 120%; +} + +h4 { + margin: 0; + font-size: 1.1em; + font-weight: bold; +} + +p { + font-size: 1.1em; +} + +p.moderators { + margin: 0; + float: left; + color: black; + font-weight: bold; +} + +.rtl p.moderators { + float: right; +} + +p.linkmcp { + margin: 0; + float: right; + white-space: nowrap; +} + +.rtl p.linkmcp { + float: left; +} + +p.breadcrumbs { + margin: 0; + float: left; + color: black; + font-weight: bold; + white-space: normal; + font-size: 1em; +} + +.rtl p.breadcrumbs { + float: right; +} + +p.datetime { + margin: 0; + float: right; + white-space: nowrap; + font-size: 1em; +} + +.rtl p.datetime { + float: left; +} + +p.searchbar { + padding: 2px 0; + white-space: nowrap; +} + +p.searchbarreg { + margin: 0; + float: right; + white-space: nowrap; +} + +.rtl p.searchbarreg { + float: left; +} + +p.forumdesc { + padding-bottom: 4px; +} + +p.topicauthor { + margin: 1px 0; +} + +p.topicdetails { + margin: 1px 0; +} + +.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active { + margin: 1px 0; + color: red; + font-weight:bold; +} + +.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active { + color: green; + font-weight:bold; +} + +.postapprove img, .postreported img { + vertical-align: bottom; +} + +.postauthor { + color: #000000; +} + +.postdetails { + color: #000000; +} + +.postbody { + font-size: 1.3em; + line-height: 1.4em; + font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; +} + +.postbody li, ol, ul { + margin: 0 0 0 1.5em; +} + +.rtl .postbody li, .rtl ol, .rtl ul { + margin: 0 1.5em 0 0; +} + +.posthilit { + background-color: yellow; +} + +.nav { + margin: 0; + color: black; + font-weight: bold; +} + +.pagination { + padding: 4px; + color: black; + font-size: 1em; + font-weight: bold; +} + +.cattitle { + +} + +.gen { + margin: 1px 1px; + font-size: 1.2em; +} + +.genmed { + margin: 1px 1px; + font-size: 1.1em; +} + +.gensmall { + margin: 1px 1px; + font-size: 1em; +} + +.copyright { + color: #444; + font-weight: normal; + font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif; +} + +.titles { + font-family: "Lucida Grande", Helvetica, Arial, sans-serif; + font-weight: bold; + font-size: 1.3em; + text-decoration: none; +} + +.error { + color: red; +} + + +/* Tables */ +th { + color: #3C0000; + font-size: 1.1em; + font-weight: bold; + background-color: #BA7A58; + white-space: nowrap; + padding: 7px 5px; +} + +td { + padding: 2px; +} +td.profile { + padding: 4px; +} + +.tablebg { + /* background-color: #6E402E; */ + background-color: #784F3F; +} + +.catdiv { + height: 28px; + margin: 0; + padding: 0; + border: 0; + background-color: #CBA083; +} +.rtl .catdiv { +} + +.cat { + height: 28px; + margin: 0; + padding: 0; + border: 0; + background-color: #CBA083; + background-image: url(images/cellpic.png); + text-indent: 4px; + +} + +.row1 { + background-color: #E1D6CF; + padding: 4px; +} + +.row2 { + background-color: #F2EBE7; + padding: 4px; +} + +.row3 { + /* background-color: #E1D6CF; */ + background-image: url(images/cellpic.png); + background-color: #CBA083; + padding: 4px; +} + +.spacer { + background-color: #EEEEEE; +} + +hr { + height: 1px; + border-width: 0; + background-color: #D1D7DC; + color: #D1D7DC; +} + +.legend { + text-align:center; + margin: 0 auto; +} + +/* Links */ +a:link { + color: #640A0A; + text-decoration: none; +} + +a:active, +a:visited { + color: #3C0000; + text-decoration: none; +} + +a:hover { + color: #640A0A; + text-decoration: underline; +} + +a.forumlink { + color: #6E100C; + font-weight: bold; + font-family: "Lucida Grande", Helvetica, Arial, sans-serif; + font-size: 1.2em; +} + +a.topictitle { + margin: 1px 0; + font-family: "Lucida Grande", Helvetica, Arial, sans-serif; + font-weight: bold; + font-size: 1.2em; +} + +a.topictitle:visited { + color: #3C0000; + text-decoration: none; +} + +th a, +th a:visited { + color: #3C0000 !important; + text-decoration: none; +} + +th a:hover { + text-decoration: underline; +} + + +/* Form Elements */ +form { + margin: 0; + padding: 0; + border: 0; +} + +input { + color: #2F2E32; + font-family: "Lucida Grande", Verdana, Helvetica, sans-serif; + font-size: 1.1em; + font-weight: normal; + padding: 1px; + border: 1px solid #784F3F; + background-color: #FAFAFA; +} + +textarea { + background-color: #FAFAFA; + color: #2F2E32; + font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; + font-size: 1.3em; + line-height: 1.4em; + font-weight: normal; + border: 1px solid #784F3F; + padding: 2px; +} + +select { + color: #2F2E32; + background-color: #FAFAFA; + font-family: "Lucida Grande", Verdana, Helvetica, sans-serif; + font-size: 1.1em; + font-weight: normal; + border: 1px solid #784F3F; + padding: 1px; +} + +option { + padding: 0 1em 0 0; +} + +option.disabled-option { + color: graytext; +} + +.rtl option { + padding: 0 0 0 1em; +} + +input.radio { + border: none; + background-color: transparent; +} + +.post { + background-color: white; + border-style: solid; + border-width: 1px; +} + +.btnbbcode { + color: #000000; + font-weight: normal; + font-size: 1.1em; + font-family: "Lucida Grande", Verdana, Helvetica, sans-serif; + background-color: #E1D6CF; + border: 1px solid #666666; +} + +.btnmain { + font-weight: bold; + background-color: #E1D6CF; + border: 1px solid #784F3F; + cursor: pointer; + padding: 1px 5px; + font-size: 1.1em; +} + +.btnlite { + font-weight: normal; + background-color: #E1D6CF; + border: 1px solid #784F3F; + cursor: pointer; + padding: 1px 5px; + font-size: 1.1em; +} + +.btnfile { + font-weight: normal; + background-color: #E1D6CF; + border: 1px solid #784F3F; + padding: 1px 5px; + font-size: 1.1em; +} + +.helpline { + background-color: #F2EBE7; + border-style: none; +} + + +/* BBCode */ +.quotetitle, .attachtitle { + margin: 10px 5px 0 5px; + padding: 2px 4px; + border-width: 1px; + border-style: solid; + border-color: #784F3F; + color: #000000; + background-image: url(images/cellpic.png); + background-color: #CBA083; + font-size: 0.85em; + font-weight: bold; +} + +.quotetitle .quotetitle { + font-size: 1em; + background-image: url(images/cellpic.png); +} + +.quotecontent, .attachcontent { + margin: 0 5px 10px 5px; + padding: 5px; + border-color: #784F3F; + border-width: 0 1px 1px 1px; + border-style: solid; + font-weight: normal; + font-size: 1em; + line-height: 1.4em; + font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif; + background-color: #FAFAFA; + color: #4B5C77; +} + +.attachcontent { + font-size: 0.85em; +} + +.codetitle { + margin: 10px 5px 0px 5px; + padding: 2px 4px; + border-width: 1px; + border-style: solid; + border-color: #784F3F; + color: #000000; + background-image: url(images/cellpic.png); + background-color: #CBA083; + font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif; + font-size: 0.85em; + font-weight: bold; +} + +.codecontent { + direction: ltr; + margin: 0 5px 10px 5px; + padding: 5px; + border-color: #784F3F; + border-width: 0 1px 1px 1px; + border-style: solid; + font-weight: normal; + color: #006600; + font-size: 0.85em; + font-family: Monaco, 'Courier New', monospace; + background-color: #FAFAFA; +} + +.syntaxbg { + color: #EEEEEE; +} + +.syntaxcomment { + color: #FF8000; +} + +.syntaxdefault { + color: #0000BB; +} + +.syntaxhtml { + color: #000000; +} + +.syntaxkeyword { + color: #007700; +} + +.syntaxstring { + color: #DD0000; +} + + +/* Private messages */ +.pm_marked_colour { + background-color: #000000; +} + +.pm_replied_colour { + background-color: #784F3F; +} + +.pm_friend_colour { + background-color: #007700; +} + +.pm_foe_colour { + background-color: #DD0000; +} + + +/* Misc */ + +img { + border: none; +} + +.sep { + color: black; + background-color: #FFA34F; +} + +table.colortable td { + padding: 0; +} + +pre { + font-size: 1.1em; + font-family: Monaco, 'Courier New', monospace; +} + +.nowrap { + white-space: nowrap; +} + +.username-coloured { + font-weight: bold; +} diff --git a/tmw3/theme/theme.cfg b/tmw3/theme/theme.cfg new file mode 100644 index 0000000..4d544e0 --- /dev/null +++ b/tmw3/theme/theme.cfg @@ -0,0 +1,37 @@ +# +# phpBB Theme 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. +# +# This style is based on subsilver2. +# +# Available and used values: +# parse_css_file +# + +# General Information about this theme +name = tmw3 +copyright = © Platyna & 2005 phpBB Group 2003 +version = 0.1 + +# Some configuration options + +# +# You have to turn this option on if you want to use the +# path template variables ({T_IMAGESET_PATH} for example) within +# your css file. +# This is mostly the case if you want to use language specific +# images within your css file. +# +parse_css_file = off diff --git a/tmw3/theme/tweaks.css b/tmw3/theme/tweaks.css new file mode 100644 index 0000000..30fe5fb --- /dev/null +++ b/tmw3/theme/tweaks.css @@ -0,0 +1,101 @@ +/* proSilver Style Sheet Tweaks + +These style definitions are mainly IE specific +tweaks required due to its poor CSS support. +-------------------------------------------------*/ + +* html table, * html select, * html input { font-size: 100%; } +* html hr { margin: 0; } +* html span.corners-top, * html span.corners-bottom { background-image: url("{T_THEME_PATH}/images/corners_left.gif"); } +* html span.corners-top span, * html span.corners-bottom span { background-image: url("{T_THEME_PATH}/images/corners_right.gif"); } + +table.table1 { + width: 99%; /* IE < 6 browsers */ + /* Tantek hack */ + voice-family: "\"}\""; + voice-family: inherit; + width: 100%; +} +html>body table.table1 { width: 100%; } /* Reset 100% for opera */ + +* html ul.topiclist li { position: relative; } +* html .postbody h3 img { vertical-align: middle; } + +/* Form styles */ +html>body dd label input { vertical-align: text-bottom; } /* Align checkboxes/radio buttons nicely */ + +* html input.button1, * html input.button2 { + padding-bottom: 0; + margin-bottom: 1px; +} + +/* Misc layout styles */ +* html .column1, * html .column2 { width: 45%; } + +/* Nice method for clearing floated blocks without having to insert any extra markup (like spacer above) + From http://www.positioniseverything.net/easyclearing.html +#tabs:after, #minitabs:after, .post:after, .navbar:after, fieldset dl:after, ul.topiclist dl:after, ul.linklist:after, dl.polls:after { + content: "."; + display: block; + height: 0; + clear: both; + visibility: hidden; +}*/ + +.clearfix, #tabs, #minitabs, fieldset dl, ul.topiclist dl, dl.polls { + height: 1%; + overflow: hidden; +} + +/* viewtopic fix */ +* html .post { + height: 25%; + overflow: hidden; +} + +/* navbar fix */ +* html .clearfix, * html .navbar, ul.linklist { + height: 4%; + overflow: hidden; +} + +/* Simple fix so forum and topic lists always have a min-height set, even in IE6 + From http://www.dustindiaz.com/min-height-fast-hack */ +dl.icon { + min-height: 35px; + height: auto !important; + height: 35px; +} + +* html li.row dl.icon dt { + height: 35px; + overflow: visible; +} + +* html #search-box { + width: 25%; +} + +/* Correctly clear floating for details on profile view */ +*:first-child+html dl.details dd { + margin-left: 30%; + float: none; +} + +* html dl.details dd { + margin-left: 30%; + float: none; +} + +* html .forumbg table.table1 { + margin: 0 -2px 0px -1px; +} + +/* Headerbar height fix for IE7 and below */ +* html #site-description p { + margin-bottom: 1.0em; +} + +*:first-child+html #site-description p { + margin-bottom: 1.0em; +}
\ No newline at end of file |