Skip to content
Browse files

New viewtopic layout, with less icons

git-svn-id: http://svn.assembla.com/svn/icy_phoenix/ip/trunk@232 e0e46c49-be69-4f5a-ad62-21024a331aea
  • Loading branch information...
1 parent 4908adc commit 3a18538327678986c8bcb58aa56c289a3690806a @MightyGorgon MightyGorgon committed Aug 20, 2010
View
1 language/lang_english/lang_main.php
@@ -2380,6 +2380,7 @@
'FOE_ADD' => 'Add as a foe',
'FOE_REMOVE' => 'Remove as a foe',
+ 'SOCIAL_NETWORKS' => 'Social Networks',
'USER_FIRST_NAME' => 'First Name',
'USER_LAST_NAME' => 'Last Name',
'FACEBOOK' => 'Facebook',
View
2 templates/default/default.cfg
@@ -521,6 +521,8 @@ $images['vf_topic_imp'] = $default_images_root . 'topic_imp.png';
$images['vf_topic_news'] = $default_images_root . 'topic_news.png';
$images['vf_topic_nor'] = $default_images_root . 'topic_nor.png';
$images['vf_topic_poll'] = $default_images_root . 'topic_poll.png';
+$images['vt_post_download'] = $default_images_root . 'disk.png';
+$images['vt_post_ip'] = $default_images_root . 'computer.png';
$images['icon_minigender_male'] = $default_images_root . 'gender_male.png';
$images['icon_minigender_female'] = $default_images_root . 'gender_female.png';
View
BIN templates/default/images/computer.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN templates/default/images/disk.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN templates/default/images/disk_multiple.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN templates/default/images/email_link.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN templates/default/images/icon_im_status_hidden.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN templates/default/images/icon_im_status_offline.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN templates/default/images/icon_im_status_online.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN templates/default/images/icon_status_hidden.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN templates/default/images/icon_status_hidden_round.png
Deleted file not rendered
View
BIN templates/default/images/icon_status_offline.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN templates/default/images/icon_status_offline_round.png
Deleted file not rendered
View
BIN templates/default/images/icon_status_online.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
BIN templates/default/images/icon_status_online_round.png
Deleted file not rendered
View
7 templates/default/viewtopic_body.tpl
@@ -50,7 +50,7 @@
<!-- BEGIN postrow -->
<tr>
<td class="row-post-author">
- <span class="post-name"><a id="p{postrow.U_POST_ID}"></a>{postrow.POSTER_FROM_FLAG}&nbsp;{postrow.POSTER_NAME}&nbsp;{postrow.POSTER_GENDER}</span>
+ <span class="post-name"><a id="p{postrow.U_POST_ID}"></a>{postrow.POSTER_ONLINE_STATUS_IMG}&nbsp;{postrow.POSTER_NAME}&nbsp;{postrow.POSTER_GENDER}</span>
<br />
<div class="center-block-text">
<div class="post-rank">
@@ -69,7 +69,6 @@
<!-- END switch_showavatars -->
<div class="post-details">
<!-- IF not S_BOT -->
- {postrow.POSTER_ONLINE_STATUS_IMG}{postrow.IP_IMG}{postrow.AIM_IMG}{postrow.ICQ_IMG}{postrow.MSN_IMG}{postrow.SKYPE_IMG}{postrow.YIM_IMG}<br />
<!-- ENDIF -->
<!-- {postrow.POSTER_NO}<br /> -->
{postrow.POSTER_JOINED}<br />
@@ -78,7 +77,7 @@
{postrow.POSTER_THANKS_RECEIVED}
<!-- ENDIF -->
{postrow.POSTER_AGE}
- {postrow.POSTER_FROM}<br />
+ {postrow.POSTER_FROM_FULL}<br />
<!-- IF postrow.FEEDBACKS -->{postrow.FEEDBACKS}<!-- ENDIF -->
<!-- IF not S_BOT -->
<!-- BEGIN switch_poster_info -->
@@ -101,7 +100,7 @@
<!-- IF not S_BOT -->
{postrow.QUOTE_IMG}{postrow.EDIT_IMG}{postrow.DELETE_IMG}
{postrow.UNREAD_IMG}
- {postrow.U_R_CARD}{postrow.U_Y_CARD}{postrow.U_G_CARD}{postrow.U_B_CARD}<a href="{postrow.DOWNLOAD_POST}" class="genmed"><img src="{postrow.DOWNLOAD_IMG}" alt="{L_DOWNLOAD_POST}" title="{L_DOWNLOAD_POST}" /></a>{postrow.ARROWS}
+ {postrow.U_R_CARD}{postrow.U_Y_CARD}{postrow.U_G_CARD}{postrow.U_B_CARD}&nbsp;<!-- IF IS_APHRODITE -->{postrow.IP_IMG}&nbsp;<a href="{postrow.DOWNLOAD_POST}" class="genmed"><img src="{postrow.DOWNLOAD_IMG}" alt="{L_DOWNLOAD_POST}" title="{L_DOWNLOAD_POST}" /></a><!-- ELSE -->{postrow.IP_IMG_ICON}&nbsp;<a href="{postrow.DOWNLOAD_POST}" class="genmed"><img src="{postrow.DOWNLOAD_IMG_ICON}" alt="{L_DOWNLOAD_POST}" title="{L_DOWNLOAD_POST}" /></a><!-- ENDIF -->&nbsp;{postrow.ARROWS}
<!-- ELSE -->
&nbsp;
<!-- ENDIF -->
View
9 templates/default/viewtopic_kb_body.tpl
@@ -31,10 +31,7 @@ function open_postreview(ref)
<td class="row-post-buttons post-buttons" colspan="2">
<div class="post-buttons-top post-buttons">
<!-- IF not S_BOT -->
- {postrow.ARROWS}
- {postrow.QUOTE_IMG}
- <a href="{postrow.DOWNLOAD_POST}" class="genmed"><img src="{postrow.DOWNLOAD_IMG}" alt="{L_DOWNLOAD_POST}" title="{L_DOWNLOAD_POST}"></a>
- {postrow.EDIT_IMG}&nbsp;{postrow.DELETE_IMG}&nbsp;{postrow.IP_IMG}&nbsp;
+ {postrow.QUOTE_IMG}&nbsp;{postrow.EDIT_IMG}&nbsp;{postrow.DELETE_IMG}&nbsp;<!-- IF IS_APHRODITE -->{postrow.IP_IMG}&nbsp;<a href="{postrow.DOWNLOAD_POST}" class="genmed"><img src="{postrow.DOWNLOAD_IMG}" alt="{L_DOWNLOAD_POST}" title="{L_DOWNLOAD_POST}" /></a><!-- ELSE -->{postrow.IP_IMG_ICON}&nbsp;<a href="{postrow.DOWNLOAD_POST}" class="genmed"><img src="{postrow.DOWNLOAD_IMG_ICON}" alt="{L_DOWNLOAD_POST}" title="{L_DOWNLOAD_POST}" /></a><!-- ENDIF -->&nbsp;{postrow.ARROWS}
<!-- ELSE -->
&nbsp;
<!-- ENDIF -->
@@ -71,8 +68,8 @@ function open_postreview(ref)
</tr>
<tr>
<td class="row-post-buttons post-buttons" colspan="2">
- <div style="float:right;">{postrow.POSTER_ONLINE_STATUS_IMG}&nbsp;{postrow.PROFILE_IMG}&nbsp;{postrow.PM_IMG}&nbsp;{postrow.EMAIL_IMG}&nbsp;</div>
- <span class="gensmall">&nbsp;{postrow.POSTER_NAME}&nbsp;[&nbsp;{postrow.POST_DATE}&nbsp;]</span>
+ <div style="float:right;">{postrow.PROFILE_IMG}&nbsp;{postrow.PM_IMG}&nbsp;{postrow.EMAIL_IMG}&nbsp;</div>
+ <span class="gensmall">{postrow.POSTER_NAME}&nbsp;[&nbsp;{postrow.POST_DATE}&nbsp;]</span>
</td>
</tr>
<tr><td class="spaceRow" colspan="2"><img src="{SPACER}" width="1" height="3" alt="" /></td></tr>
View
18 viewtopic.php
@@ -1343,9 +1343,11 @@
$poster_posts = ($postrow[$i]['user_id'] != ANONYMOUS) ? $lang['Posts'] . ': ' . $postrow[$i]['user_posts'] : '';
- $poster_from = ($postrow[$i]['user_from'] && ($postrow[$i]['user_id'] != ANONYMOUS)) ? $lang['Location'] . ': ' . $postrow[$i]['user_from'] : '';
+ $poster_from_flag = (!empty($postrow[$i]['user_from_flag']) && ($postrow[$i]['user_id'] != ANONYMOUS)) ? '<img src="images/flags/' . $postrow[$i]['user_from_flag'] . '" alt="' . $postrow[$i]['user_from_flag'] . '" title="' . $postrow[$i]['user_from'] . '" />' : '';
- $poster_from_flag = ($postrow[$i]['user_from_flag'] && ($postrow[$i]['user_id'] != ANONYMOUS)) ? '<img src="images/flags/' . $postrow[$i]['user_from_flag'] . '" alt="' . $postrow[$i]['user_from_flag'] . '" title="' . $postrow[$i]['user_from'] . '" />' : '';
+ $poster_from = (!empty($postrow[$i]['user_from']) && ($postrow[$i]['user_id'] != ANONYMOUS)) ? $lang['Location'] . ': ' . $postrow[$i]['user_from'] : '';
+
+ $poster_from_full = ((!empty($poster_from_flag) || !empty($postrow[$i]['user_from'])) && ($postrow[$i]['user_id'] != ANONYMOUS)) ? $lang['Location'] . ':' . (!empty($poster_from_flag) ? (' ' . $poster_from_flag) : '') . (!empty($postrow[$i]['user_from']) ? (' ' . $postrow[$i]['user_from']) : '') : '';
$poster_joined = ($postrow[$i]['user_id'] != ANONYMOUS) ? $lang['Joined'] . ': ' . create_date($lang['JOINED_DATE_FORMAT'], $postrow[$i]['user_regdate'], $config['board_timezone']) : '';
@@ -1546,20 +1548,20 @@
{
if ($postrow[$i]['user_session_time'] >= (time() - $config['online_time']))
{
- $online_status_img = '<a href="' . $online_status_url . '"><img src="' . $images['icon_online2'] . '" alt="' . $lang['Online'] .'" title="' . $lang['Online'] .'" /></a>';
+ $online_status_img = '<a href="' . $online_status_url . '"><img src="' . $images['icon_im_status_online'] . '" alt="' . $lang['Online'] .'" title="' . $lang['Online'] .'" /></a>';
$online_status_lang = $lang['Online'];
$online_status_class = 'online';
}
else
{
- $online_status_img = '<img src="' . $images['icon_offline2'] . '" alt="' . $lang['Offline'] .'" title="' . $lang['Offline'] .'" />';
+ $online_status_img = '<img src="' . $images['icon_im_status_offline'] . '" alt="' . $lang['Offline'] .'" title="' . $lang['Offline'] .'" />';
$online_status_lang = $lang['Offline'];
$online_status_class = 'offline';
}
}
else
{
- $online_status_img = '<a href="' . $online_status_url . '"><img src="' . $images['icon_hidden2'] . '" alt="' . $lang['Hidden'] .'" title="' . $lang['Hidden'] .'" /></a>';
+ $online_status_img = '<a href="' . $online_status_url . '"><img src="' . $images['icon_im_status_hidden'] . '" alt="' . $lang['Hidden'] .'" title="' . $lang['Hidden'] .'" /></a>';
$online_status_lang = $lang['Hidden'];
$online_status_class = 'hidden';
}
@@ -1639,7 +1641,8 @@
{
$ip_url = 'modcp.' . PHP_EXT . '?mode=ip&amp;' . $forum_id_append . '&amp;' . $topic_id_append . '&amp;' . POST_POST_URL . '=' . $postrow[$i]['post_id'] . '&amp;sid=' . $userdata['session_id'];
// Start Advanced IP Tools Pack MOD
- $ip_img = '<a href="' . $ip_url . '"><img src="' . $images['icon_ip2'] . '" alt="' . $lang['View_IP'] . ' (' . decode_ip($postrow[$i]['poster_ip']) . ')" title="' . $lang['View_IP'] . ' (' . decode_ip($postrow[$i]['poster_ip']) . ')" /></a>';
+ $ip_img = '<a href="' . $ip_url . '"><img src="' . $images['icon_ip'] . '" alt="' . $lang['View_IP'] . ' (' . decode_ip($postrow[$i]['poster_ip']) . ')" title="' . $lang['View_IP'] . ' (' . decode_ip($postrow[$i]['poster_ip']) . ')" /></a>';
+ $ip_img_icon = '<a href="' . $ip_url . '"><img src="' . $images['vt_post_ip'] . '" alt="' . $lang['View_IP'] . ' (' . decode_ip($postrow[$i]['poster_ip']) . ')" title="' . $lang['View_IP'] . ' (' . decode_ip($postrow[$i]['poster_ip']) . ')" /></a>';
// End Advanced IP Tools Pack MOD
$ip = '<a href="' . $ip_url . '">' . $lang['View_IP'] . '</a>';
@@ -2195,6 +2198,7 @@
'POSTER_POSTS' => $poster_posts,
'POSTER_THANKS_RECEIVED' => $poster_thanks_received,
'POSTER_FROM' => $poster_from,
+ 'POSTER_FROM_FULL' => $poster_from_full,
'POSTER_FROM_FLAG' => $poster_from_flag,
'POSTER_AVATAR' => $poster_avatar,
'POST_DATE' => $post_date,
@@ -2247,7 +2251,9 @@
'QUOTE_IMG' => $quote_img,
'QUOTE' => $quote,
'DOWNLOAD_IMG' => $images['icon_download2'],
+ 'DOWNLOAD_IMG_ICON' => $images['vt_post_download'],
'IP_IMG' => $ip_img,
+ 'IP_IMG_ICON' => $ip_img_icon,
'IP' => $ip,
'U_PROFILE' => $profile_url,

0 comments on commit 3a18538

Please sign in to comment.
Something went wrong with that request. Please try again.