|
From: Paul S. O. <ps...@us...> - 2001-11-21 15:56:16
|
Update of /cvsroot/phpbb/phpBB2/templates/subSilver
In directory usw-pr-cvs1:/tmp/cvs-serv15794/templates/subSilver
Modified Files:
subSilver.cfg overall_header.tpl
Added Files:
privmsgs_popup.tpl
Log Message:
PM popup and icon are finally in place
--- NEW FILE ---
<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>
Index: subSilver.cfg
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/subSilver.cfg,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -r1.4 -r1.5
*** subSilver.cfg 2001/11/04 14:11:25 1.4
--- subSilver.cfg 2001/11/21 15:56:12 1.5
***************
*** 72,75 ****
--- 72,77 ----
$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'] = "";
Index: overall_header.tpl
===================================================================
RCS file: /cvsroot/phpbb/phpBB2/templates/subSilver/overall_header.tpl,v
retrieving revision 1.7
retrieving revision 1.8
diff -C2 -r1.7 -r1.8
*** overall_header.tpl 2001/11/03 15:15:05 1.7
--- overall_header.tpl 2001/11/21 15:56:12 1.8
***************
*** 5,9 ****
<html>
<head>
! <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1" />
<meta http-equiv="Content-Style-Type" content="text/css" />
{META}
--- 5,9 ----
<html>
<head>
! <meta http-equiv="Content-Type" content="text/html" />
<meta http-equiv="Content-Style-Type" content="text/css" />
{META}
***************
*** 202,205 ****
--- 202,217 ----
-->
</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>
|