0.7.3
This commit is contained in:
7
functions.php
Executable file → Normal file
7
functions.php
Executable file → Normal file
@@ -50,10 +50,6 @@ function getParents($zpath, $pathname) {
|
||||
}
|
||||
*/
|
||||
|
||||
function stringPrint($string) {
|
||||
echo $string.@str_repeat(" ", (10-strlen($string)));
|
||||
}
|
||||
|
||||
function shortlabel($pathname, $max = 99, $pad = false) {
|
||||
$basename = basename($pathname);
|
||||
$suffix = "(...).".pathinfo($basename,PATHINFO_EXTENSION);
|
||||
@@ -62,9 +58,6 @@ function shortlabel($pathname, $max = 99, $pad = false) {
|
||||
} else {
|
||||
$return = $basename;
|
||||
}
|
||||
if ($pad) {
|
||||
$return = $return.@str_repeat(" ", ($max-strlen($return)));
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user