'. $lang['CUR_ACTIVE_DLS'] .'
- '. $lang['RELEASING'] .': '. $releasing_count .' :: '. $lang['SEEDING'] .': ' . $seeding_count .' :: '. $lang['LEECHING'] .': ' . $leeching_count .'
- '. $lang['RELEASING'] .': '. $releasing_count .' :: '. $lang['SEEDING'] .': ' . $seeding_count .' :: '. $lang['LEECHING'] .': ' . $leeching_count .'
+
-
+
# |
{L_FILENAME} |
{L_FILE_COMMENT} |
diff --git a/upload/templates/admin/admin_bt_tracker_cfg.tpl b/upload/templates/admin/admin_bt_tracker_cfg.tpl
index 73f92bc0e..4437318e1 100644
--- a/upload/templates/admin/admin_bt_tracker_cfg.tpl
+++ b/upload/templates/admin/admin_bt_tracker_cfg.tpl
@@ -52,7 +52,7 @@
{L_ALLOW_GUEST_DL}{L_ALLOW_GUEST_DL_EXPL} |
- {L_NO}{L_YES} |
+ {L_NO}{L_YES} |
diff --git a/upload/templates/admin/admin_extensions.tpl b/upload/templates/admin/admin_extensions.tpl
index 3d056273f..1d269595e 100644
--- a/upload/templates/admin/admin_extensions.tpl
+++ b/upload/templates/admin/admin_extensions.tpl
@@ -140,7 +140,7 @@
|
|
|
-
+
diff --git a/upload/templates/admin/admin_mass_email.tpl b/upload/templates/admin/admin_mass_email.tpl
index ebfd50ddf..f6efa6264 100644
--- a/upload/templates/admin/admin_mass_email.tpl
+++ b/upload/templates/admin/admin_mass_email.tpl
@@ -19,8 +19,8 @@
|
- {L_MESSAGE}
- |
+ | {L_MESSAGE} |
+ |
|
diff --git a/upload/templates/admin/admin_ranks.tpl b/upload/templates/admin/admin_ranks.tpl
index b2999bfd3..fac828828 100644
--- a/upload/templates/admin/admin_ranks.tpl
+++ b/upload/templates/admin/admin_ranks.tpl
@@ -25,6 +25,7 @@
{L_STYLE_COLOR}
{L_STYLE_COLOR_FAQ}
+ |
|
diff --git a/upload/templates/admin/admin_rebuild_search.tpl b/upload/templates/admin/admin_rebuild_search.tpl
index dc1261acc..accafd44f 100644
--- a/upload/templates/admin/admin_rebuild_search.tpl
+++ b/upload/templates/admin/admin_rebuild_search.tpl
@@ -173,7 +173,7 @@ function updateButton()
@@ -185,7 +185,7 @@ function updateButton()
-
+
diff --git a/upload/templates/admin/admin_user_search.tpl b/upload/templates/admin/admin_user_search.tpl
index 4475515a3..e4a436219 100644
--- a/upload/templates/admin/admin_user_search.tpl
+++ b/upload/templates/admin/admin_user_search.tpl
@@ -180,7 +180,7 @@
{userrow.USER} |
{userrow.EMAIL} |
{userrow.JOINDATE} |
-
{userrow.POSTS} |
+
{userrow.POSTS} |
{userrow.LASTVISIT} |
{L_MANAGE} |
{L_PERMISSIONS} |
diff --git a/upload/templates/default/usercp_viewprofile.tpl b/upload/templates/default/usercp_viewprofile.tpl
index 6e03d8bcb..3fa70d4e8 100644
--- a/upload/templates/default/usercp_viewprofile.tpl
+++ b/upload/templates/default/usercp_viewprofile.tpl
@@ -179,11 +179,9 @@ ajax.callback.view_profile = function(data) {
@@ -417,7 +415,7 @@ ajax.callback.view_profile = function(data) {
{L_ACCESS_SRV_LOAD}: {IGNORE_SRV_LOAD} |
-
+
{L_DRAFTS}: |
{COUNT_DRAFT} |
@@ -463,7 +461,7 @@ ajax.callback.view_profile = function(data) {
{L_MAX_SPEED} |
{L_DL_DL_SPEED}: {SPEED_DOWN} |
{L_DL_UL_SPEED}: {SPEED_UP} |
- {L_EXCHANGE} |
+ {L_EXCHANGE} |
@@ -497,16 +495,6 @@ ajax.callback.view_profile = function(data) {
-
-
-
-
-
-
diff --git a/upload/viewforum.php b/upload/viewforum.php
index e3aece9bd..351357e81 100644
--- a/upload/viewforum.php
+++ b/upload/viewforum.php
@@ -49,7 +49,6 @@ if (!$forum_id OR !$forum_data = @$forums['forum'][$forum_id])
// Only new
$only_new = $user->opt_js['only_new'];
$only_new_sql = '';
-$no_draft = "AND `t`.`is_draft` = 0";
if ($only_new == ONLY_NEW_POSTS)
{
$only_new_sql = "AND t.topic_last_post_time > $lastvisit";
@@ -279,6 +278,7 @@ if (!empty($_REQUEST['topicdays']))
SELECT COUNT(*) AS forum_topics
FROM ". BB_TOPICS ."
WHERE forum_id = $forum_id
+ AND is_draft != 1
AND topic_last_post_time > ". (TIMENOW - 86400*$req_topic_days) ."
";
@@ -363,7 +363,6 @@ $sql = "
$only_new_sql
$title_match_sql
$limit_topics_time_sql
- $no_draft
$order_sql
LIMIT $start, $topics_per_page
";
@@ -465,12 +464,18 @@ $template->assign_vars(array(
// Okay, lets dump out the page ...
foreach ($topic_rowset as $topic)
{
+ if ($topic['is_draft'] && $topic['first_user_id'] != $userdata['user_id'])
+ {
+ continue;
+ }
+
$topic_id = $topic['topic_id'];
$moved = ($topic['topic_status'] == TOPIC_MOVED);
$replies = $topic['topic_replies'];
$t_hot = ($replies >= $bb_cfg['hot_threshold']);
$t_type = $topic['topic_type'];
$separator = '';
+ $topic_draft = ($topic['is_draft']) ? $lang['TOPIC_DRAFT'] .' ' : '';
$is_unread = is_unread($topic['topic_last_post_time'], $topic_id, $forum_id);
if ($t_type == POST_ANNOUNCE && !defined('ANNOUNCE_SEP'))
@@ -511,7 +516,7 @@ foreach ($topic_rowset as $topic)
'FORUM_ID' => $forum_id,
'TOPIC_ID' => $topic_id,
'HREF_TOPIC_ID' => ($moved) ? $topic['topic_moved_id'] : $topic['topic_id'],
- 'TOPIC_TITLE' => wbr($topic['topic_title']),
+ 'TOPIC_TITLE' => $topic_draft . wbr($topic['topic_title']),
'TOPICS_SEPARATOR' => $separator,
'IS_UNREAD' => $is_unread,
'TOPIC_ICON' => get_topic_icon($topic, $is_unread),