Changeset 1949


Ignore:
Timestamp:
04/10/07 01:24:34 (13 years ago)
Author:
rvelices
Message:

permalink and category.php redirections are permanent (http code 301) instead of temporary (301)
added rel nofollow for the metadata link on picture page
changed h2 background color style in dark/mail-css (was not readable when images are not downloaded)

Location:
branches/branch-1_7
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • branches/branch-1_7/category.php

    r1903 r1949  
    6161if (!headers_sent()) 
    6262{ 
    63   set_status_header(302); 
     63  set_status_header(301); 
    6464  redirect_http( $url ); 
    6565} 
  • branches/branch-1_7/include/section_init.inc.php

    r1900 r1949  
    750750    if (!headers_sent()) 
    751751    { // this is a permanent redirection 
    752       set_status_header(302); 
     752      set_status_header(301); 
    753753      redirect_http( $redirect_url ); 
    754754    } 
  • branches/branch-1_7/template/yoga/picture.tpl

    r1903 r1949  
    1919<div class="randomButtons"> 
    2020  <a href="{U_SLIDESHOW}" title="{lang:slideshow}" rel="nofollow"><img src="{pwg_root}{themeconf:icon_dir}/slideshow.png" class="button" alt="{lang:slideshow}"></a> 
    21   <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> 
     21  <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> 
    2222<!-- BEGIN representative --> 
    2323  <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> 
  • branches/branch-1_7/template/yoga/theme/dark/mail-css.tpl

    r1912 r1949  
    88#copyright {background: transparent url({pwg_root}template/{themeconf:template}/mail/text/html/images/footer-bg.png) no-repeat scroll left bottom; 
    99color: #69c;} 
    10 h2 { background-color: #ddd;color:#fff48e;background-image: url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/images/tableh1_bg.png);} 
     10h2 { background-color: #333;color:#fff48e;background-image: url({pwg_root}template/{themeconf:template}/theme/{themeconf:theme}/images/tableh1_bg.png);} 
    1111img { margin: 16px; border: 16px solid #111; -moz-border-radius: 4px; border-radius: 4px 4px; } 
    1212img:hover { padding: 15px; border: 1px solid yellow;background-color:#444;-moz-border-radius: 4px; border-radius: 4px 4px; } 
Note: See TracChangeset for help on using the changeset viewer.