GIT.Harvie.CZ
/
mirrors
/
SokoMan.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ef0fa7a
)
Pri vylistovani cely tabulky se schovaj obrazky...
author
Thomas Mudrunka
<tomas@mudrunka.cz>
Sun, 8 Apr 2012 01:27:47 +0000
(
03:27
+0200)
committer
Thomas Mudrunka
<tomas@mudrunka.cz>
Sun, 8 Apr 2012 01:27:47 +0000
(
03:27
+0200)
index.php
patch
|
blob
|
blame
|
history
diff --git
a/index.php
b/index.php
index 6f4e75f79b2c3fb8bdfa8c0b2d46bac3741acd9e..640708eb71187ca32f1012dbd41b8dfda6f23c95 100755
(executable)
--- a/
index.php
+++ b/
index.php
@@
-82,6
+82,7
@@
class HTML {
}
function img($src='#void', $title='img', $options='height=64') {
}
function img($src='#void', $title='img', $options='height=64') {
+ if(isset($_GET['noimgs'])) return "<span title='$title'>".basename($src).'</span>';
$options = $options ? " $options" : '';
return "<img src='$src' alt='$title' title='$title'$options; />";
}
$options = $options ? " $options" : '';
return "<img src='$src' alt='$title' title='$title'$options; />";
}
@@
-901,10
+902,11
@@
class Sklad_UI {
$offset_next = $offset + $limit;
$offset_prev = $offset - $limit > 0 ? $offset - $limit : 0;
$get = $_SERVER['QUERY_STRING'] != '' ? '?'.$_SERVER['QUERY_STRING'] : '';
$offset_next = $offset + $limit;
$offset_prev = $offset - $limit > 0 ? $offset - $limit : 0;
$get = $_SERVER['QUERY_STRING'] != '' ? '?'.$_SERVER['QUERY_STRING'] : '';
+ $moreget = isset($get[0]) ? '&' : '?';
$html='';
$html.= $this->html->link('<<', "$class/$id/$limit/$offset_prev/$get");
$html.= '-';
$html='';
$html.= $this->html->link('<<', "$class/$id/$limit/$offset_prev/$get");
$html.= '-';
- $html.= $this->html->link('[*]', "$class/$id/0/0/$get
"
);
+ $html.= $this->html->link('[*]', "$class/$id/0/0/$get
$moreget".'noimgs'
);
$html.= '-';
$html.= $this->html->link('>>', "$class/$id/$limit/$offset_next/$get");
$html.= ' ';
$html.= '-';
$html.= $this->html->link('>>', "$class/$id/$limit/$offset_next/$get");
$html.= ' ';
This page took
0.138798 seconds
and
4
git commands to generate.