aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/templates
diff options
context:
space:
mode:
authorPaul S. Owen <psotfx@users.sourceforge.net>2001-11-21 15:56:12 +0000
committerPaul S. Owen <psotfx@users.sourceforge.net>2001-11-21 15:56:12 +0000
commitcad29155b83c30b79db08d7edfc7b27f77fe0f42 (patch)
tree469e74bbdef248ae15273ac9ab9cc252db538517 /phpBB/templates
parentdb41a689f8312e16be125a157084ab64e5c4885a (diff)
downloadforums-cad29155b83c30b79db08d7edfc7b27f77fe0f42.tar
forums-cad29155b83c30b79db08d7edfc7b27f77fe0f42.tar.gz
forums-cad29155b83c30b79db08d7edfc7b27f77fe0f42.tar.bz2
forums-cad29155b83c30b79db08d7edfc7b27f77fe0f42.tar.xz
forums-cad29155b83c30b79db08d7edfc7b27f77fe0f42.zip
PM popup and icon are finally in place
git-svn-id: file:///svn/phpbb/trunk@1405 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/templates')
-rw-r--r--phpBB/templates/subSilver/overall_header.tpl14
-rw-r--r--phpBB/templates/subSilver/privmsgs_popup.tpl22
-rw-r--r--phpBB/templates/subSilver/subSilver.cfg2
3 files changed, 37 insertions, 1 deletions
diff --git a/phpBB/templates/subSilver/overall_header.tpl b/phpBB/templates/subSilver/overall_header.tpl
index 6feb03eab1..754e80d656 100644
--- a/phpBB/templates/subSilver/overall_header.tpl
+++ b/phpBB/templates/subSilver/overall_header.tpl
@@ -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}">
diff --git a/phpBB/templates/subSilver/privmsgs_popup.tpl b/phpBB/templates/subSilver/privmsgs_popup.tpl
new file mode 100644
index 0000000000..e48205b338
--- /dev/null
+++ b/phpBB/templates/subSilver/privmsgs_popup.tpl
@@ -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>
diff --git a/phpBB/templates/subSilver/subSilver.cfg b/phpBB/templates/subSilver/subSilver.cfg
index 33b605947f..a4dd58feda 100644
--- a/phpBB/templates/subSilver/subSilver.cfg
+++ b/phpBB/templates/subSilver/subSilver.cfg
@@ -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'] = "";