git.shiar.nl
/
sheet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
charset: move html link function to common include
[sheet.git]
/
common.inc.plp
diff --git
a/common.inc.plp
b/common.inc.plp
index 31c2c2270b71e209a20cf885fe0363ad623066e6..bfeb2449fc652a29d718e43595899d72e0cfc8bd 100644
(file)
--- a/
common.inc.plp
+++ b/
common.inc.plp
@@
-166,3
+166,11
@@
EOT
};
}
};
}
+sub showlink {
+ my ($title, $href, $selected) = @_;
+ return sprintf(
+ $selected ? '<strong>%s</strong>' : '<a href="%2$s">%s</a>',
+ EscapeHTML($title), EscapeHTML($href)
+ );
+}
+