Changeset 1950 for trunk


Ignore:
Timestamp:
Apr 10, 2007, 1:25:45 AM (18 years ago)
Author:
rvelices
Message:

merge revisions 1938 and 1949 from branch-1_7 to trunk:
dark theme correction
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:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/category.php

    r1903 r1950  
    6161if (!headers_sent())
    6262{
    63   set_status_header(302);
     63  set_status_header(301);
    6464  redirect_http( $url );
    6565}
  • trunk/include/section_init.inc.php

    r1900 r1950  
    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    }
  • trunk/template/yoga/picture.tpl

    r1903 r1950  
    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>
  • trunk/template/yoga/theme/dark/mail-css.tpl

    r1912 r1950  
    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; }
  • trunk/template/yoga/theme/dark/theme.css

    r1900 r1950  
    147147.calForeDate { color: #fff; }
    148148.virtual_cat { background: #3f3f3f !important; }
    149 #content ul.thumbnailCategories li div.thumbnailCategory .description p {
    150   display: none;
    151 }
    152 #content ul.thumbnailCategories li div.thumbnailCategory .description p + p {
    153   display: inline;
    154 }
    155149.qsearch { font-size: 80%; font-style: normal; }
    156150#mbMenu #quicksearch > p { text-align: left; }
Note: See TracChangeset for help on using the changeset viewer.