Issue 0000639: Force selected page on index.php

Continue the Radu idea, restrict more use of random list

Issue 0000598: NBM: Add new informations
Add css on mail
Use user template for mail (on next commit, best control)

Comment mass_inserts because don't with MySQL 4.1.9


git-svn-id: http://piwigo.org/svn/trunk@1792 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rub 2007-02-08 22:04:36 +00:00
commit 5b038de717
8 changed files with 84 additions and 39 deletions

View file

@ -1,4 +1,5 @@
<div id="nbm_mail_content">
<h2>{lang:Notification}</h2>
<p>{lang:nbm_content_hello_1}{USERNAME}{lang:nbm_content_hello_2}</p>
<!-- BEGIN subscribe_by_admin -->
@ -42,11 +43,13 @@
<hr><br/>
</p>
<!-- BEGIN recent_post -->
<p>
</div>
</div>
<div id="content">
<div id="nbm_mail_recent_post">
<!-- BEGIN recent_post_block -->
<h2>{recent_post.recent_post_block.TITLE}</h2>
{recent_post.recent_post_block.HTML_DATA}
<!-- END recent_post_block -->
</p>
<!-- END recent_post -->
</div>

View file

@ -0,0 +1,8 @@
/* $Id$ */
BODY#theMailPage #content
{
margin: 2em;
text-align: left;
}

View file

@ -1,3 +1,4 @@
</div> <!-- content -->
<div id="copyright">
<HR>
<!-- Please, do not remove this copyright. If you really want to,

View file

@ -5,6 +5,22 @@
<meta http-equiv="Content-Type" content="text/html; charset={CONTENT_ENCODING}">
</head>
<body id="{BODY_ID}">
<div id="the_mail">
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/layout.css">
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/mail/text/html/default-layout.css">
<!-- the next css is used to fix khtml (Konqueror/Safari) issue
the "text/nonsense" prevents gecko based browsers to load it -->
<link rel="stylesheet" type="text/nonsense" href="{pwg_root}template/{themeconf:template}/fix-khtml.css">
<!--[if lt IE 7]>
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/fix-ie5-ie6.css">
<![endif]-->
<!--[if gt IE 6]>
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/fix-ie7.css">
<![endif]-->
<link rel="stylesheet" type="text/css" media="print" href="{pwg_root}template/{themeconf:template}/print.css">
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/default-colors.css">
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/theme.css">
<body id="theMailPage">
<div id="the_page">
<div id="content">