mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-04-30 18:42:43 +02:00
Resolved issue 0000807: New slideshow features
Fix bad <link rel="up"> in the header git-svn-id: http://piwigo.org/svn/trunk@2224 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -633,7 +633,7 @@ else
|
||||
)
|
||||
);
|
||||
$template->assign_block_vars(
|
||||
'thumbnails',array('U_UP' => $url_up));
|
||||
'up',array('U_URL' => $url_up));
|
||||
}
|
||||
|
||||
$template->assign_vars(
|
||||
|
||||
@@ -16,7 +16,6 @@
|
||||
<link rel="search" title="{lang:search}" href="{pwg_root}search.php" >
|
||||
<!-- BEGIN first -->
|
||||
<link rel="first" title="{lang:first_page}" href="{first.U_IMG}" >
|
||||
<link rel="up" title="{lang:thumbnails}" href="{U_UP}" >
|
||||
<!-- END first -->
|
||||
<!-- BEGIN previous -->
|
||||
<link rel="prev" title="{lang:previous_page}" href="{previous.U_IMG}" >
|
||||
@@ -26,8 +25,10 @@
|
||||
<!-- END next -->
|
||||
<!-- BEGIN last -->
|
||||
<link rel="last" title="{lang:last_page}" href="{last.U_IMG}" >
|
||||
<link rel="up" title="{lang:thumbnails}" href="{U_UP}" >
|
||||
<!-- END last -->
|
||||
<!-- BEGIN up -->
|
||||
<link rel="up" title="{lang:thumbnails}" href="{up.U_URL}" >
|
||||
<!-- END up -->
|
||||
<link rel="stylesheet" type="text/css" href="{pwg_root}template/{themeconf:template}/layout.css">
|
||||
<!-- the next css is used to fix khtml (Konqueror/Safari) issue
|
||||
the "text/nonsense" prevents gecko based browsers to load it -->
|
||||
|
||||
@@ -19,9 +19,9 @@
|
||||
<!-- BEGIN stop_play -->
|
||||
<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>
|
||||
<!-- END stop_play -->
|
||||
<!-- BEGIN thumbnails -->
|
||||
<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>
|
||||
<!-- END thumbnails -->
|
||||
<!-- BEGIN up -->
|
||||
<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>
|
||||
<!-- END up -->
|
||||
<!-- BEGIN previous -->
|
||||
<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>
|
||||
<!-- END previous -->
|
||||
@@ -76,9 +76,9 @@ function keyboardNavigation(e)
|
||||
<!-- BEGIN last -->
|
||||
/*End*/case 35: if (e.ctrlKey){window.location="{last.U_IMG}".replace("&","&"); return false; } break;
|
||||
<!-- END last -->
|
||||
<!-- BEGIN thumbnails -->
|
||||
/*Up*/case 38: if (e.ctrlKey){window.location="{thumbnails.U_UP}".replace("&","&"); return false; } break;
|
||||
<!-- END thumbnails -->
|
||||
<!-- BEGIN up -->
|
||||
/*Up*/case 38: if (e.ctrlKey){window.location="{up.U_UP}".replace("&","&"); return false; } break;
|
||||
<!-- END up -->
|
||||
<!-- BEGIN start_play -->
|
||||
/*Pause*/case 32: {window.location="{start_play.U_IMG}".replace("&","&"); return false; } break;
|
||||
<!-- END start_play -->
|
||||
|
||||
Reference in New Issue
Block a user