New split icon + tidied up other mod topic icons
git-svn-id: file:///svn/phpbb/trunk@752 89ea8834-ac86-4346-8a33-228a782c2dd0
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
BIN
phpBB/images/topic_split.gif
Normal file
After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
@ -218,6 +218,7 @@ $lang['Lock_topic'] = "Lock this topic";
|
||||
$lang['Unlock_topic'] = "Unlock this topic";
|
||||
$lang['Move_topic'] = "Move this topic";
|
||||
$lang['Delete_topic'] = "Delete this topic";
|
||||
$lang['Split_topic'] = "Split this topic";
|
||||
|
||||
|
||||
//
|
||||
|
@ -37,8 +37,21 @@ $images['folder_sticky_new'] = "images/folder_sticky_new.gif";
|
||||
$images['folder_announce'] = "images/folder_announce.gif";
|
||||
$images['folder_announce_new'] = "images/folder_announce_new.gif";
|
||||
|
||||
$images['topic_new'] = "templates/PSO/images/post.gif";
|
||||
$images['topic_reply'] = "templates/PSO/images/reply.gif";
|
||||
$images['topic_locked'] = "templates/PSO/images/reply-locked.gif";
|
||||
$images['post_new'] = "templates/PSO/images/post.gif";
|
||||
$images['post_locked'] = "templates/PSO/images/post-locked.gif";
|
||||
$images['reply_new'] = "templates/PSO/images/reply.gif";
|
||||
$images['reply_locked'] = "templates/PSO/images/reply-locked.gif";
|
||||
|
||||
$images['topic_mod_lock'] = "images/topic_lock.gif";
|
||||
$images['topic_mod_unlock'] = "images/topic_unlock.gif";
|
||||
$images['topic_mod_split'] = "images/topic_split.gif";
|
||||
$images['topic_mod_move'] = "images/topic_move.gif";
|
||||
$images['topic_mod_delete'] = "images/topic_delete.gif";
|
||||
|
||||
//
|
||||
// Default theme to use (can be blank if
|
||||
// themes aren't supported by this template)
|
||||
//
|
||||
$template_default_theme = "Default-Default";
|
||||
|
||||
?>
|
@ -44,6 +44,12 @@ $images['post_locked'] = "templates/PSO/images/post-locked.gif";
|
||||
$images['reply_new'] = "templates/PSO/images/reply.gif";
|
||||
$images['reply_locked'] = "templates/PSO/images/reply-locked.gif";
|
||||
|
||||
$images['topic_mod_lock'] = "images/topic_lock.gif";
|
||||
$images['topic_mod_unlock'] = "images/topic_unlock.gif";
|
||||
$images['topic_mod_split'] = "images/topic_split.gif";
|
||||
$images['topic_mod_move'] = "images/topic_move.gif";
|
||||
$images['topic_mod_delete'] = "images/topic_delete.gif";
|
||||
|
||||
//
|
||||
// Default theme to use (can be blank if
|
||||
// themes aren't supported by this template)
|
||||
|
@ -521,19 +521,19 @@ if( $is_auth['auth_mod'] )
|
||||
{
|
||||
$s_auth_can .= $lang['You'] . " " . $lang['can'] . " <a href=\"" . append_sid("modcp.$phpEx?" . POST_FORUM_URL . "=$forum_id") . "\">" . $lang['moderate_forum'] . "</a><br />";
|
||||
|
||||
$topic_mod = "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=delete&quick_op=1") . "\"><img src=\"images/topic_delete.gif\" alt = \"" . $lang['Delete_topic'] . "\" border=\"0\"></a> ";
|
||||
$topic_mod = "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=delete&quick_op=1") . "\"><img src=\"" . $images['topic_mod_delete'] . "\" alt = \"" . $lang['Delete_topic'] . "\" border=\"0\"></a> ";
|
||||
|
||||
$topic_mod .= "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=move&quick_op=1"). "\"><img src=\"images/topic_move.gif\" alt = \"" . $lang['Move_topic'] . "\" border=\"0\"></a> ";
|
||||
$topic_mod .= "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=move&quick_op=1"). "\"><img src=\"" . $images['topic_mod_move'] . "\" alt = \"" . $lang['Move_topic'] . "\" border=\"0\"></a> ";
|
||||
|
||||
if($forum_row['topic_status'] == TOPIC_UNLOCKED)
|
||||
{
|
||||
$topic_mod .= "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=lock&quick_op=1") . "\"><img src=\"images/topic_lock.gif\" alt = \"" . $lang['Lock_topic'] . "\" border=\"0\"></a> ";
|
||||
$topic_mod .= "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=lock&quick_op=1") . "\"><img src=\"" . $images['topic_mod_lock'] . "\" alt = \"" . $lang['Lock_topic'] . "\" border=\"0\"></a> ";
|
||||
}
|
||||
else
|
||||
{
|
||||
$topic_mod .= "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unlock&quick_op=1") . "\"><img src=\"images/topic_unlock.gif\" alt = \"" . $lang['Unlock_topic'] . "\" border=\"0\"></a> ";
|
||||
$topic_mod .= "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=unlock&quick_op=1") . "\"><img src=\"" . $images['topic_mod_unlock'] . "\" alt = \"" . $lang['Unlock_topic'] . "\" border=\"0\"></a> ";
|
||||
}
|
||||
$topic_mod .= "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=split") . "\">Split Topic</a>";
|
||||
$topic_mod .= "<a href=\"" . append_sid("modcp.$phpEx?" . POST_TOPIC_URL . "=$topic_id&mode=split") . "\"><img src=\"" . $images['topic_mod_split'] . "\" alt = \"" . $lang['Split_topic'] . "\" border=\"0\"></a> ";
|
||||
}
|
||||
|
||||
$template->assign_vars(array(
|
||||
|