mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-19 08:01:27 +02:00
Various updates, templating var changes, config array updates, etc.
git-svn-id: file:///svn/phpbb/trunk@242 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -12,9 +12,9 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<!-- BEGIN userrow -->
|
<!-- BEGIN userrow -->
|
||||||
<tr bgcolor="{userrow.ROW_COLOR}" class="tablebody">
|
<tr bgcolor="{userrow.ROW_COLOR}" class="tablebody">
|
||||||
<td width="35%"> <a href="profile.{PHPEX}?mode=viewprofile&{S_USERS_URL}={userrow.USER_ID}">{userrow.USERNAME}</a> </td>
|
<td width="35%"> <a href="{userrow.U_USER_PROFILE}">{userrow.USERNAME}</a> </td>
|
||||||
<td width="25%" align="center"> {userrow.LASTUPDATE} </td>
|
<td width="25%" align="center"> {userrow.LASTUPDATE} </td>
|
||||||
<td width="40%"> <a href="{userrow.LOCATION_URL}"> {userrow.LOCATION}</a> </td>
|
<td width="40%"> <a href="{userrow.U_FORUM_LOCATION}"> {userrow.LOCATION}</a> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- END userrow -->
|
<!-- END userrow -->
|
||||||
</table></td>
|
</table></td>
|
||||||
|
@@ -17,7 +17,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<th bgcolor="{T_TH_COLOR2}"><table width="100%" cellspacing="0" border="0">
|
<th bgcolor="{T_TH_COLOR2}"><table width="100%" cellspacing="0" border="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td><a href="{U_INDEX}"><img src="templates/PSO/images/pso-online-small.gif" border="0" alt="PSO Online Forums" /></a></td>
|
<td><a href="{U_INDEX}"><img src="images/title.gif" border="0" alt="phpBB2 development forums" /></a></td>
|
||||||
<td align="right" valign="bottom"><font face="Arial,Helvetica,sans-serif" size="1"><a href="/">Back To {SITENAME}</a></font></td>
|
<td align="right" valign="bottom"><font face="Arial,Helvetica,sans-serif" size="1"><a href="/">Back To {SITENAME}</a></font></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table></th>
|
</table></th>
|
||||||
|
@@ -4,7 +4,7 @@
|
|||||||
<tr>
|
<tr>
|
||||||
<td colspan="6" bgcolor="{T_TH_COLOR2}"><table width="100%" cellspacing="0" cellpadding="0" border="0">
|
<td colspan="6" bgcolor="{T_TH_COLOR2}"><table width="100%" cellspacing="0" cellpadding="0" border="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td><font face="verdana,serif"><b>{FORUM_NAME}</b></font><br><font face="{T_FONTFACE2}" size="{T_FONTSIZE1}">{L_MODERATOR} : {MODERATORS}</font></TD>
|
<td><font face="{T_FONTFACE1}" size="{T_FONTSIZE3}"><b>{FORUM_NAME}</b></font><br><font face="{T_FONTFACE2}" size="{T_FONTSIZE1}">{L_MODERATOR} : {MODERATORS}</font></TD>
|
||||||
<td align="right"><a href="{U_POST_NEW_TOPIC}"><img src="templates/PSO/images/post.gif" border="1"></a></td>
|
<td align="right"><a href="{U_POST_NEW_TOPIC}"><img src="templates/PSO/images/post.gif" border="1"></a></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table></td>
|
</table></td>
|
||||||
|
@@ -1,23 +1,21 @@
|
|||||||
|
<div align="center"><table border="0" cellpadding="1" cellspacing="0" width="98%">
|
||||||
<tr>
|
<tr>
|
||||||
<td><table border="0" align="center" width="100%" bgcolor="#000000" cellpadding="0" cellspacing="1">
|
<td bgcolor="{T_TH_COLOR1}"><table border="0" cellpadding="4" cellspacing="1" width="100%">
|
||||||
<tr>
|
<tr>
|
||||||
<td><table border="0" width="100%" cellpadding="3" cellspacing="1">
|
<td colspan="3" bgcolor="{T_TH_COLOR2}" align="center"><font face="{T_FONTFACE1}" size="{T_FONTSIZE2}"><b>There are {ACTIVE_USERS} logged in users and {GUEST_USERS} guest users browsing this board.</b></font><br /><font face="{T_FONTFACE1}" size="{T_FONTSIZE2}">This data is based on users active over the past five minutes.</font></td>
|
||||||
<tr class="tableheader">
|
|
||||||
<td colspan="4" align="center"><b>There are {ACTIVE_USERS} logged in users and {GUEST_USERS} guest users browsing this board.</b><br />This data is based on users active over the past five minutes.</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<tr class="catheader">
|
<tr>
|
||||||
<td width="35%" align="center"> {L_USERNAME} </td>
|
<td width="35%" bgcolor="{T_TH_COLOR3}" align="center"> <font face="{T_FONTFACE1}" size="{T_FONTSIZE2}"><b>{L_USERNAME}</font> </td>
|
||||||
<td width="25%" align="center"> {L_LAST_UPDATE} </td>
|
<td width="25%" bgcolor="{T_TH_COLOR3}" align="center"> <font face="{T_FONTFACE1}" size="{T_FONTSIZE2}"><b>{L_LAST_UPDATE}</font> </td>
|
||||||
<td width="40%" align="center"> {L_LOCATION} </td>
|
<td width="40%" bgcolor="{T_TH_COLOR3}" align="center"> <font face="{T_FONTFACE1}" size="{T_FONTSIZE2}"><b>{L_LOCATION}</font> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- BEGIN userrow -->
|
<!-- BEGIN userrow -->
|
||||||
<tr bgcolor="{userrow.ROW_COLOR}" class="tablebody">
|
<tr>
|
||||||
<td width="35%"> <a href="profile.{PHPEX}?mode=viewprofile&{S_USERS_URL}={userrow.USER_ID}">{userrow.USERNAME}</a> </td>
|
<td bgcolor="{userrow.ROW_COLOR}" width="35%"> <font face="{T_FONTFACE1}" size="{T_FONTSIZE2}"><a href="{userrow.U_USER_PROFILE}">{userrow.USERNAME}</a></font> </td>
|
||||||
<td width="25%" align="center"> {userrow.LASTUPDATE} </td>
|
<td bgcolor="{userrow.ROW_COLOR}" width="25%" align="center"> <font face="{T_FONTFACE1}" size="{T_FONTSIZE2}">{userrow.LASTUPDATE}</font> </td>
|
||||||
<td width="40%"> <a href="{userrow.LOCATION_URL}"> {userrow.LOCATION}</a> </td>
|
<td bgcolor="{userrow.ROW_COLOR}" width="40%"> <font face="{T_FONTFACE1}" size="{T_FONTSIZE2}"><a href="{userrow.U_FORUM_LOCATION}">{userrow.LOCATION}</a></font> </td>
|
||||||
</tr>
|
</tr>
|
||||||
<!-- END userrow -->
|
<!-- END userrow -->
|
||||||
</table></td>
|
</table></td>
|
||||||
</tr>
|
</tr>
|
||||||
</table></td>
|
</table></div>
|
||||||
</tr>
|
|
@@ -1,17 +1,6 @@
|
|||||||
|
<div align="center"><table cellspacing="2" border="0" width="98%">
|
||||||
<tr>
|
<tr>
|
||||||
<td align="center"><table border="0" width="100%" cellpadding="0" cellspacing="1">
|
<td width="40%" valign="top"><font face="{T_FONTFACE1}" size="{T_FONTSIZE1}"><b>{S_TIMEZONE}</b></font></td>
|
||||||
<tr>
|
<td align="right" valign="top" nowrap>{JUMPBOX}</td>
|
||||||
<td style="{font-size: 8pt;}" align="left" valign="top"><b>{S_TIMEZONE}</b></td>
|
|
||||||
<td style="{font-size: 8pt;}" align="right" ><table cellpadding="0" cellspacing="1" border="0" bgcolor="#000000">
|
|
||||||
<tr>
|
|
||||||
<td bgcolor="#CCCCCC"><table width="100%" cellpadding="1" cellspacing="1" border="0">
|
|
||||||
<tr>
|
|
||||||
<td style="{font-size:8pt; height:55px;}" align="right">{JUMPBOX}</td>
|
|
||||||
</tr>
|
|
||||||
</table></td>
|
|
||||||
</tr>
|
|
||||||
</table></td>
|
|
||||||
</tr>
|
|
||||||
</table></td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
</table></div>
|
@@ -1,18 +1,5 @@
|
|||||||
|
<div align="center"><table width="98%" cellspacing="0" cellpadding="4" border="0">
|
||||||
<tr>
|
<tr>
|
||||||
<td>
|
<td align="left"><font face="{T_FONTFACE1}" size="{T_FONTSIZE1}" color="{T_FONTCOLOR1}"><a href="/">{SITENAME} {L_INDEX}</a></font></td>
|
||||||
<table border="0" align="right" width="30%" bgcolor="#000000" cellpadding="0" cellspacing="1">
|
|
||||||
<tr>
|
|
||||||
<td>
|
|
||||||
<table border="0" width="100%" bgcolor="#CCCCCC" cellpadding="1" cellspacing="1">
|
|
||||||
<tr>
|
|
||||||
<td align="right" style="{font-size: 8pt;}">{L_POSTEDTOTAL} -<b>{TOTAL_POSTS}</b>- {L_MESSAGES}.<br>
|
|
||||||
{L_WEHAVE} <b>{TOTAL_USERS}</b> {L_REGUSERS}.<br>
|
|
||||||
{L_NEWESTUSER} <b><a href="profile.{PHPEX}?mode=viewprofile&{POST_USER_URL}={NEWEST_UID}">{NEWEST_USER}</a></b>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
|
</table></div>
|
@@ -79,14 +79,28 @@ if($online_count)
|
|||||||
for($i = 0; $i < $online_count; $i++)
|
for($i = 0; $i < $online_count; $i++)
|
||||||
{
|
{
|
||||||
|
|
||||||
if($row_color == "#DDDDDD")
|
if(!(ix % 2))
|
||||||
{
|
{
|
||||||
$row_color = "#CCCCCC";
|
if(isset($theme['td_color1']))
|
||||||
|
{
|
||||||
|
$row_color = "#".$theme['td_color1'];
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$row_color = "#DDDDDD";
|
$row_color = "#DDDDDD";
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if(isset($theme['td_color2']))
|
||||||
|
{
|
||||||
|
$row_color = "#".$theme['td_color2'];
|
||||||
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
$row_color = "#CCCCCC";
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if($onlinerow[$i]['user_id'] != ANONYMOUS && $onlinerow[$i]['user_id'] != DELETED)
|
if($onlinerow[$i]['user_id'] != ANONYMOUS && $onlinerow[$i]['user_id'] != DELETED)
|
||||||
{
|
{
|
||||||
@@ -174,12 +188,12 @@ if($online_count)
|
|||||||
$template->assign_block_vars("userrow",
|
$template->assign_block_vars("userrow",
|
||||||
array(
|
array(
|
||||||
"ROW_COLOR" => $row_color,
|
"ROW_COLOR" => $row_color,
|
||||||
"USER_ID" => $onlinerow[$i]['user_id'],
|
|
||||||
"USERNAME" => $username,
|
"USERNAME" => $username,
|
||||||
"LOGGED_ON" => $logged_on,
|
"LOGGED_ON" => $logged_on,
|
||||||
"LASTUPDATE" => create_date($date_format, $onlinerow[$i]['session_time'], $sys_timezone),
|
"LASTUPDATE" => create_date($board_config['default_dateformat'], $onlinerow[$i]['session_time'], $board_config['default__timezone']),
|
||||||
"LOCATION" => $location,
|
"LOCATION" => $location,
|
||||||
"LOCATION_URL" => $location_url
|
"U_USER_PROFILE" => "profile.".$phpEx."?mode=viewprofile&".POST_USERS_URL."=".$onlinerow[$i]['user_id'],
|
||||||
|
"U_FORUM_LOCATION" => $location_url
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user