GIT.Harvie.CZ
/
mirrors
/
SokoMan.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Reorganizace kodu pro generovani statistik
[mirrors/SokoMan.git]
/
index.php
diff --git
a/index.php
b/index.php
index 8ee47b8b099b87bbe4d00ac747fe51a29bb6c7a1..02aa5252b21644ec018d8950ece2b365574d7289 100755
(executable)
--- a/
index.php
+++ b/
index.php
@@
-224,8
+224,8
@@
EOF;
$assistants=array();
foreach(scandir(DIR_ASSISTANTS) as $item) {
if($item == '.' || $item == '..') continue;
$assistants=array();
foreach(scandir(DIR_ASSISTANTS) as $item) {
if($item == '.' || $item == '..') continue;
- $item = preg_replace('/\.inc\.php$/','',$item);
- $assistants[$item] = "assistant/$item";
+ $item = preg_replace('/\.inc\.php$/','',$item
,-1,$count
);
+
if($count)
$assistants[$item] = "assistant/$item";
}
$tables=array('item','model','category','producer','vendor','room','status');
}
$tables=array('item','model','category','producer','vendor','room','status');
@@
-365,6
+365,7
@@
EOF;
}
function render_item_table($table,$class=false) {
}
function render_item_table($table,$class=false) {
+ if(empty($table)) return '<h3>'.T('holy primordial emptiness is all you can find here...').'</h3><br />';
$this->table_add_images($table);
if($class) $this->table_add_relations($table,$class);
$this->table_add_barcodes($table);
$this->table_add_images($table);
if($class) $this->table_add_relations($table,$class);
$this->table_add_barcodes($table);
This page took
0.104505 seconds
and
4
git commands to generate.