Update of /cvsroot/php-blog/serendipity
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32453
Modified Files:
NEWS serendipity_sidebar_items.php serendipity_entries.php
serendipity_admin_image_selector.php serendipity_admin.php
comment.php
Log Message:
- Added unique identifieres to <body>-Tags for admin panel (allows better CSS customization)
- Moved smilies to template directory
- Moved xml-Button to template directory
- Uniquely use 'img' as image-subdirectory for all templates.
Index: NEWS
===================================================================
RCS file: /cvsroot/php-blog/serendipity/NEWS,v
retrieving revision 1.82
retrieving revision 1.83
diff -u -d -r1.82 -r1.83
--- NEWS 3 Mar 2004 08:17:59 -0000 1.82
+++ NEWS 3 Mar 2004 09:06:59 -0000 1.83
@@ -2,6 +2,8 @@
Version 0.5.1 ()
------------------------------------
+ * Added backwards-compatible CSS ids to admin panel for better CSS customization (garvinhicking)
+ * Moved smilies/xml buttons to template directory (img/) to be customized per-template (garvinhicking)
* Added plugin to switch themes on the frontend (Evan Nemerson, garvinhicking)
* Allow (multiple) dependencies for plugin API to allow pairing of event/sidebar plugins (garvinhicking)
* Redesigned the plugin manager (tomsommer)
Index: serendipity_sidebar_items.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_sidebar_items.php,v
retrieving revision 1.47
retrieving revision 1.48
diff -u -d -r1.47 -r1.48
--- serendipity_sidebar_items.php 27 Feb 2004 19:25:55 -0000 1.47
+++ serendipity_sidebar_items.php 3 Mar 2004 09:07:00 -0000 1.48
@@ -272,7 +272,7 @@
if ($this->get_config('show_0.91') != 'false') {
?>
- <a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=0.91<?php echo $cache; ?>"><img src="<?php echo $serendipity['serendipityHTTPPath']; ?>pixel/xml.gif" <?php echo ($serendipity['XHTML11'] ? 'style="border: 0px"' : 'border="0"'); ?> alt="XML" /></a>
+ <a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=0.91<?php echo $cache; ?>"><img src="<?php echo serendipity_getTemplateFile('img/xml.gif'); ?>" <?php echo ($serendipity['XHTML11'] ? 'style="border: 0px"' : 'border="0"'); ?> alt="XML" /></a>
<a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=0.91<?php echo $cache; ?>">RSS 0.91 feed</a>
<br />
<?php
@@ -280,7 +280,7 @@
if ($this->get_config('show_1.0') != 'false') {
?>
- <a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=1.0<?php echo $cache; ?>"><img src="<?php echo $serendipity['serendipityHTTPPath']; ?>pixel/xml.gif" <?php echo ($serendipity['XHTML11'] ? 'style="border: 0px"' : 'border="0"'); ?> alt="XML" /></a>
+ <a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=1.0<?php echo $cache; ?>"><img src="<?php echo serendipity_getTemplateFile('img/xml.gif'); ?>" <?php echo ($serendipity['XHTML11'] ? 'style="border: 0px"' : 'border="0"'); ?> alt="XML" /></a>
<a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=1.0<?php echo $cache; ?>">RSS 1.0 feed</a>
<br />
<?php
@@ -288,7 +288,7 @@
if ($this->get_config('show_2.0') != 'false') {
?>
- <a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=2.0<?php echo $cache; ?>"><img src="<?php echo $serendipity['serendipityHTTPPath']; ?>pixel/xml.gif" <?php echo ($serendipity['XHTML11'] ? 'style="border: 0px"' : 'border="0"'); ?> alt="XML" /></a>
+ <a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=2.0<?php echo $cache; ?>"><img src="<?php echo serendipity_getTemplateFile('img/xml.gif'); ?>" <?php echo ($serendipity['XHTML11'] ? 'style="border: 0px"' : 'border="0"'); ?> alt="XML" /></a>
<a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=2.0<?php echo $cache; ?>">RSS 2.0 feed</a>
<br />
<?php
@@ -296,7 +296,7 @@
if ($this->get_config('show_atom0.3') != 'false') {
?>
- <a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=atom0.3<?php echo $cache; ?>"><img src="<?php echo $serendipity['serendipityHTTPPath']; ?>pixel/xml.gif" <?php echo ($serendipity['XHTML11'] ? 'style="border: 0px"' : 'border="0"'); ?> alt="ATOM/XML" /></a>
+ <a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=atom0.3<?php echo $cache; ?>"><img src="<?php echo serendipity_getTemplateFile('img/xml.gif'); ?>" <?php echo ($serendipity['XHTML11'] ? 'style="border: 0px"' : 'border="0"'); ?> alt="ATOM/XML" /></a>
<a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=atom0.3<?php echo $cache; ?>">ATOM 0.3 feed</a>
<br />
<?php
@@ -304,7 +304,7 @@
if ($this->get_config('show_2.0c') != 'false') {
?>
- <a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=2.0&type=comments<?php echo $cache; ?>"><img src="<?php echo $serendipity['serendipityHTTPPath']; ?>pixel/xml.gif" <?php echo ($serendipity['XHTML11'] ? 'style="border: 0px"' : 'border="0"'); ?> alt="XML" /></a>
+ <a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=2.0&type=comments<?php echo $cache; ?>"><img src="<?php echo serendipity_getTemplateFile('img/xml.gif'); ?>" <?php echo ($serendipity['XHTML11'] ? 'style="border: 0px"' : 'border="0"'); ?> alt="XML" /></a>
<a href="<?php echo $serendipity['serendipityHTTPPath']; ?>rss.php?version=2.0&type=comments<?php echo $cache; ?>"><?php echo ($serendipity['XHTML11'] ? '<span style="white-space: nowrap">' : '<nobr>'); ?>RSS 2.0 <?php echo COMMENTS; ?><?php echo ($serendipity['XHTML11'] ? '</span>' : '</nobr>'); ?></a>
<?php
}
@@ -529,7 +529,7 @@
$serendipity['serendipityHTTPPath'] . 'rss.php?category=' . $category['categoryid'] . '_' . $category_id,
htmlentities($category['category_description']),
($serendipity['XHTML11'] ? 'style="display: inline; border: 0px"' : 'border="0"'),
- $serendipity['serendipityHTTPPath'] . 'pixel/xml.gif',
+ serendipity_getTemplateFile('img/xml.gif'),
$serendipity['serendipityHTTPPath'] . ($serendipity['rewrite'] == 'none' ? $serendipity['indexFile'] . '?/' : '') . 'categories/' . $category['categoryid'] . '_' . $category_id,
htmlentities($category['category_description']),
$category['category_name']
Index: serendipity_entries.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_entries.php,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -d -r1.23 -r1.24
--- serendipity_entries.php 17 Feb 2004 16:39:55 -0000 1.23
+++ serendipity_entries.php 3 Mar 2004 09:07:00 -0000 1.24
@@ -30,7 +30,7 @@
</head>
-<body>
+<body id="serendipity_admin_entries_page">
<div id="serendipity_banner">
<h1><?php echo $serendipity['blogTitle'] ; ?></h1>
<?php
Index: serendipity_admin_image_selector.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_admin_image_selector.php,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -d -r1.17 -r1.18
--- serendipity_admin_image_selector.php 1 Mar 2004 16:57:23 -0000 1.17
+++ serendipity_admin_image_selector.php 3 Mar 2004 09:07:00 -0000 1.18
@@ -26,7 +26,7 @@
<title><?php echo SELECT_IMAGE; ?></title>
<link rel="stylesheet" type="text/css" href="<?php echo $serendipity['serendipityHTTPPath']; ?>serendipity.css.php">
</head>
-<body>
+<body id="serendipity_admin_image_page">
<?php
switch ($serendipity['GET']['step']) {
Index: serendipity_admin.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/serendipity_admin.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- serendipity_admin.php 2 Mar 2004 17:35:24 -0000 1.29
+++ serendipity_admin.php 3 Mar 2004 09:07:00 -0000 1.30
@@ -26,7 +26,7 @@
?>
</head>
-<body>
+<body id="serendipity_admin_page">
<div id="serendipity_banner">
<h1><?php echo (isset($serendipity['blogTitle']) ? $serendipity['blogTitle'] : ''); ?></h1>
<?php
Index: comment.php
===================================================================
RCS file: /cvsroot/php-blog/serendipity/comment.php,v
retrieving revision 1.29
retrieving revision 1.30
diff -u -d -r1.29 -r1.30
--- comment.php 25 Feb 2004 10:50:41 -0000 1.29
+++ comment.php 3 Mar 2004 09:07:00 -0000 1.30
@@ -54,7 +54,7 @@
<title>' . COMMENTS . '</title>
<link rel="stylesheet" type="text/css" href="' . $serendipity['serendipityHTTPPath'] . 'serendipity.css.php?mode=comments" />
</head>
-<body>
+<body id="serendipity_comment_page">
';
if (isset($_GET['success']) && $_GET['success'] == 'true') {
echo $html_header;
|