aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--category.php2
-rw-r--r--include/section_init.inc.php2
-rw-r--r--template/yoga/picture.tpl2
-rw-r--r--template/yoga/theme/dark/mail-css.tpl2
4 files changed, 4 insertions, 4 deletions
diff --git a/category.php b/category.php
index ef7098a4d..eefb90236 100644
--- a/category.php
+++ b/category.php
@@ -60,7 +60,7 @@ if ( isset($_GET['cat']) )
$url = make_index_url($url_params);
if (!headers_sent())
{
- set_status_header(302);
+ set_status_header(301);
redirect_http( $url );
}
redirect ( $url );
diff --git a/include/section_init.inc.php b/include/section_init.inc.php
index 00c8c9137..9b16f937b 100644
--- a/include/section_init.inc.php
+++ b/include/section_init.inc.php
@@ -749,7 +749,7 @@ if ( 'categories'==$page['section'] and isset($page['category']) )
);
if (!headers_sent())
{ // this is a permanent redirection
- set_status_header(302);
+ set_status_header(301);
redirect_http( $redirect_url );
}
redirect( $redirect_url );
diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl
index d94ea8af6..542f8e952 100644
--- a/template/yoga/picture.tpl
+++ b/template/yoga/picture.tpl
@@ -18,7 +18,7 @@
<div class="randomButtons">
<a href="{U_SLIDESHOW}" title="{lang:slideshow}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/slideshow.png" class="button" alt="{lang:slideshow}"></a>
- <a href="{U_METADATA}" title="{lang:picture_show_metadata}"><img src="{pwg_root}{themeconf:icon_dir}/metadata.png" class="button" alt="{lang:picture_show_metadata}"></a>
+ <a href="{U_METADATA}" title="{lang:picture_show_metadata}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/metadata.png" class="button" alt="{lang:picture_show_metadata}"></a>
<!-- BEGIN representative -->
<a href="{representative.URL}" title="{lang:set as category representative}"><img src="{pwg_root}{themeconf:icon_dir}/representative.png" class="button" alt="{lang:representative}"></a>
<!-- END representative -->
diff --git a/template/yoga/theme/dark/mail-css.tpl b/template/yoga/theme/dark/mail-css.tpl
index 602a482b4..38a73423d 100644
--- a/template/yoga/theme/dark/mail-css.tpl
+++ b/template/yoga/theme/dark/mail-css.tpl
@@ -7,7 +7,7 @@ body{background-color:#444; color:#fff;}
#content {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/header-bg.png) no-repeat scroll left top;}
#copyright {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom;
color: #69c;}
-h2 { background-color: #ddd;color:#fff48e;background-image: url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/images/tableh1_bg.png);}
+h2 { background-color: #333;color:#fff48e;background-image: url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/images/tableh1_bg.png);}
img { margin: 16px; border: 16px solid #111; -moz-border-radius: 4px; border-radius: 4px 4px; }
img:hover { padding: 15px; border: 1px solid yellow;background-color:#444;-moz-border-radius: 4px; border-radius: 4px 4px; }
a { color: #fff48e; background: transparent;border-bottom:1px dotted #005e89; }