Private GIT

Skip to content
Snippets Groups Projects
Commit fa602b35 authored by Maximilien Bersoult's avatar Maximilien Bersoult
Browse files

* Apply style to pagination

parent 3155b1e5
Branches
Tags
No related merge requests found
www/img/icons/end_forward.png

276 B

www/img/icons/fast_forward.png

276 B | W: | H:

www/img/icons/fast_forward.png

1.16 KiB | W: | H:

www/img/icons/fast_forward.png
www/img/icons/fast_forward.png
www/img/icons/fast_forward.png
www/img/icons/fast_forward.png
  • 2-up
  • Swipe
  • Onion skin
www/img/icons/first_rewind.png

280 B

www/img/icons/rewind.png

280 B | W: | H:

www/img/icons/rewind.png

1.15 KiB | W: | H:

www/img/icons/rewind.png
www/img/icons/rewind.png
www/img/icons/rewind.png
www/img/icons/rewind.png
  • 2-up
  • Swipe
  • Onion skin
<td class="ToolbarPagination">
{if $firstPage}&nbsp;<a href="{$firstPage}{if $host_name}&host_name={$host_name}{/if}"><img src="./img/icones/16x16/arrow_left_blue_double.gif" title='{$first}'></a>{/if}
{if $firstPage}&nbsp;<a href="{$firstPage}{if $host_name}&host_name={$host_name}{/if}"><img src="./img/icons/first_rewind.png" class="ico-14" title='{$first}'></a>{/if}
{if $pagePrev}&nbsp;<a href="{$pagePrev}{if $host_name}&host_name={$host_name}{/if}"><img src="./img/icons/rewind.png" class="ico-14" title='{$previous}'></a>{/if}
{foreach key=key item=item from=$pageArr }
{if $pageArr[$key].num != $num}
......@@ -9,10 +9,9 @@
{/if}
{/foreach}
{if $pageNext}&nbsp;<a href="{$pageNext}{if $host_name}&host_name={$host_name}{/if}"><img src="./img/icons/fast_forward.png" class="ico-14" title='{$next}'></a>{/if}
{if $lastPage}&nbsp;<a href="{$lastPage}{if $host_name}&host_name={$host_name}{/if}"><img src="./img/icones/16x16/arrow_right_blue_double.gif" title='{$last}'></a>{/if}
{if $lastPage}&nbsp;<a href="{$lastPage}{if $host_name}&host_name={$host_name}{/if}"><img src="./img/icons/end_forward.png" class="ico-14" title='{$last}'></a>{/if}
</td>
<td class="Toolbar_pagelimit">
{$form.l.label}</b>&nbsp;
{$form.l.html}
</td>
{$form.hidden}
\ No newline at end of file
......@@ -220,7 +220,8 @@
<xsl:element name='img'>
<xsl:attribute name="title">first</xsl:attribute>
<xsl:attribute name="alt">first</xsl:attribute>
<xsl:attribute name="src">./img/icones/16x16/arrow_left_blue_double.gif</xsl:attribute>
<xsl:attribute name="class">ico-14</xsl:attribute>
<xsl:attribute name="src">./img/icons/first_rewind.png</xsl:attribute>
</xsl:element>
</xsl:element>
</td>
......@@ -233,7 +234,8 @@
<xsl:element name='img'>
<xsl:attribute name="title">previous</xsl:attribute>
<xsl:attribute name="alt">previous</xsl:attribute>
<xsl:attribute name="src">./img/icones/16x16/arrow_left_blue.gif</xsl:attribute>
<xsl:attribute name="class">ico-14</xsl:attribute>
<xsl:attribute name="src">./img/icons/rewind.png</xsl:attribute>
</xsl:element>
</xsl:element>
</td>
......@@ -261,7 +263,8 @@
<xsl:element name='img'>
<xsl:attribute name="title">next</xsl:attribute>
<xsl:attribute name="alt">next</xsl:attribute>
<xsl:attribute name="src">./img/icones/16x16/arrow_right_blue.gif</xsl:attribute>
<xsl:attribute name="class">ico-14</xsl:attribute>
<xsl:attribute name="src">./img/icons/fast_forward.png</xsl:attribute>
</xsl:element>
</xsl:element>
</td>
......@@ -274,7 +277,8 @@
<xsl:element name='img'>
<xsl:attribute name="title">last</xsl:attribute>
<xsl:attribute name="alt">last</xsl:attribute>
<xsl:attribute name="src">./img/icones/16x16/arrow_right_blue_double.gif</xsl:attribute>
<xsl:attribute name="class">ico-14</xsl:attribute>
<xsl:attribute name="src">./img/icons/end_forward.png</xsl:attribute>
</xsl:element>
</xsl:element>
</td>
......
......@@ -417,6 +417,7 @@ function mk_img(_src, _alt) {
_img.src = _src;
_img.alt = _alt;
_img.title = _alt;
_img.className = 'ico-14';
if (_img.complete){
_img.alt = _alt;
} else {
......@@ -522,10 +523,10 @@ function pagination_changed(){
<?php
for ($i = 1; $i <= 2; $i++) { ?>
var _img_previous<?php echo $i; ?> = mk_img("./img/icones/16x16/arrow_left_blue.gif", "previous");
var _img_next<?php echo $i; ?> = mk_img("./img/icones/16x16/arrow_right_blue.gif", "next");
var _img_first<?php echo $i; ?> = mk_img("./img/icones/16x16/arrow_left_blue_double.gif", "first");
var _img_last<?php echo $i; ?> = mk_img("./img/icones/16x16/arrow_right_blue_double.gif", "last");
var _img_previous<?php echo $i; ?> = mk_img("./img/icons/rewind.png", "previous");
var _img_next<?php echo $i; ?> = mk_img("./img/icons/fast_forward.png", "next");
var _img_first<?php echo $i; ?> = mk_img("./img/icons/first_rewind.png", "first");
var _img_last<?php echo $i; ?> = mk_img("./img/icons/end_forward.png", "last");
var _linkaction_right<?php echo $i; ?> = document.createElement("a");
_linkaction_right<?php echo $i; ?>.href = '#' ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment