Changeset 2224


Ignore:
Timestamp:
Feb 28, 2008, 7:31:40 AM (16 years ago)
Author:
rub
Message:

Resolved issue 0000807: New slideshow features

Fix bad <link rel="up"> in the header

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/picture.php

    r2218 r2224  
    634634    );
    635635  $template->assign_block_vars(
    636     'thumbnails',array('U_UP' => $url_up));
     636    'up',array('U_URL' => $url_up));
    637637}
    638638
  • trunk/template/yoga/header.tpl

    r2222 r2224  
    1717<!-- BEGIN first -->
    1818<link rel="first" title="{lang:first_page}" href="{first.U_IMG}" >
    19 <link rel="up" title="{lang:thumbnails}" href="{U_UP}" >
    2019<!-- END first -->
    2120<!-- BEGIN previous -->
     
    2726<!-- BEGIN last -->
    2827<link rel="last" title="{lang:last_page}" href="{last.U_IMG}" >
    29 <link rel="up" title="{lang:thumbnails}" href="{U_UP}" >
    3028<!-- END last -->
     29<!-- BEGIN up -->
     30<link rel="up" title="{lang:thumbnails}" href="{up.U_URL}" >
     31<!-- END up -->
    3132<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/layout.css">
    3233<!-- the next css is used to fix khtml (Konqueror/Safari) issue
  • trunk/template/yoga/picture_nav_buttons.tpl

    r2222 r2224  
    2020    <a class="navButton play" href="{stop_play.U_IMG}" title="{lang:stop_play}" rel="play"><img src="{pwg_root}{themeconf:icon_dir}/pause.png" class="button" alt="{lang:stop_play}"></a>
    2121  <!-- END stop_play -->
    22   <!-- BEGIN thumbnails -->
    23     <a class="navButton up" href="{thumbnails.U_UP}" title="{lang:thumbnails}" rel="up"><img src="{pwg_root}{themeconf:icon_dir}/up.png" class="button" alt="{lang:thumbnails}"></a>
    24   <!-- END thumbnails -->
     22  <!-- BEGIN up -->
     23    <a class="navButton up" href="{up.U_URL}" title="{lang:thumbnails}" rel="up"><img src="{pwg_root}{themeconf:icon_dir}/up.png" class="button" alt="{lang:thumbnails}"></a>
     24  <!-- END up -->
    2525  <!-- BEGIN previous -->
    2626    <a class="navButton prev" href="{previous.U_IMG}" title="{lang:previous_page} : {previous.TITLE_IMG}" rel="prev"><img src="{pwg_root}{themeconf:icon_dir}/left.png" class="button" alt="{lang:previous_page}"></a>
     
    7777    /*End*/case 35: if (e.ctrlKey){window.location="{last.U_IMG}".replace("&amp;","&"); return false; } break;
    7878<!-- END last -->
    79 <!-- BEGIN thumbnails -->
    80     /*Up*/case 38: if (e.ctrlKey){window.location="{thumbnails.U_UP}".replace("&amp;","&"); return false; } break;
    81 <!-- END thumbnails -->
     79<!-- BEGIN up -->
     80    /*Up*/case 38: if (e.ctrlKey){window.location="{up.U_UP}".replace("&amp;","&"); return false; } break;
     81<!-- END up -->
    8282<!-- BEGIN start_play -->
    8383    /*Pause*/case 32: {window.location="{start_play.U_IMG}".replace("&amp;","&"); return false; } break;
Note: See TracChangeset for help on using the changeset viewer.