mirror of
https://github.com/phpbb/phpbb.git
synced 2025-10-05 04:01:49 +02:00
PM popup and icon are finally in place
git-svn-id: file:///svn/phpbb/trunk@1405 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
|
||||
<meta http-equiv="Content-Type" content="text/html" />
|
||||
<meta http-equiv="Content-Style-Type" content="text/css" />
|
||||
{META}
|
||||
<title>{SITENAME} :: {PAGE_TITLE}</title>
|
||||
@@ -201,6 +201,18 @@ a.copyright { color: #333333; text-decoration: none;}
|
||||
a.copyright:hover { color: #000000; text-decoration: underline;}
|
||||
-->
|
||||
</style>
|
||||
<!-- BEGIN switch_enable_pm_popup -->
|
||||
<script language="Javascript" type="text/javascript">
|
||||
<!--
|
||||
var new_pm_flag = {PRIVATE_MESSAGE_NEW_FLAG};
|
||||
|
||||
if( new_pm_flag )
|
||||
{
|
||||
window.open('{U_PRIVATEMSGS_POPUP}', '_phpbbprivmsg', 'HEIGHT=200,resizable=yes,WIDTH=400');;
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
<!-- END switch_enable_pm_popup -->
|
||||
</head>
|
||||
|
||||
<body bgcolor="{T_BODY_BGCOLOR}" text="{T_BODY_TEXT}" link="{T_BODY_LINK}" vlink="{T_BODY_VLINK}">
|
||||
|
22
phpBB/templates/subSilver/privmsgs_popup.tpl
Normal file
22
phpBB/templates/subSilver/privmsgs_popup.tpl
Normal file
@@ -0,0 +1,22 @@
|
||||
|
||||
<script language="javascript" type="text/javascript">
|
||||
<!--
|
||||
function jump_to_inbox()
|
||||
{
|
||||
opener.document.location.href = "{U_PRIVATEMSGS}";
|
||||
window.close();
|
||||
}
|
||||
//-->
|
||||
</script>
|
||||
|
||||
<table width="100%" border="0" cellspacing="0" cellpadding="10">
|
||||
<tr>
|
||||
<td>
|
||||
<table width="100%" border="0" cellspacing="1" cellpadding="4" class="forumline">
|
||||
<tr>
|
||||
<td valign="top" class="row1" align="center"><br /><span class="gen">{L_MESSAGE}</span><br /><br /><span class="genmed"><a href="javascript:window.close();" class="genmed">{L_CLOSE_WINDOW}</a></span><br /><br /></td>
|
||||
</tr>
|
||||
</table>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
@@ -71,6 +71,8 @@ $images['pm_replymsg'] = "templates/subSilver/images/reply.gif";
|
||||
$images['pm_postmsg'] = "templates/subSilver/images/msg_newpost.gif";
|
||||
$images['pm_quotemsg'] = "templates/subSilver/images/icon_quote.gif";
|
||||
$images['pm_editmsg'] = "templates/subSilver/images/icon_edit.gif";
|
||||
$images['pm_new_msg'] = "";
|
||||
$images['pm_no_new_msg'] = "";
|
||||
|
||||
$images['topic_watch'] = "";
|
||||
$images['topic_un_watch'] = "";
|
||||
|
Reference in New Issue
Block a user