git.shiar.nl
/
minimedit.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
issue: reply edit of page and announce columns
[minimedit.git]
/
format.inc.php
diff --git
a/format.inc.php
b/format.inc.php
index 35ecebb954ecd1de2f88658bcc5043921cb3b100..74d53e3fe833e5d6b3a6144084975cc61a8e8ab5 100644
(file)
--- a/
format.inc.php
+++ b/
format.inc.php
@@
-26,3
+26,9
@@
function showsize($bytes)
]);
}
]);
}
+function showlink($title, $href)
+{
+ return empty($href) ? $title :
+ sprintf('<a href="%s">%s</a>', $href, $title);
+}
+