X-Git-Url: http://git.shiar.nl/sheet.git/blobdiff_plain/6e999e79e078ca87e22b3474d532b3d570453661..3decd7a16f6c826533bb1ff3c8ed56bdc47a9a08:/common.inc.plp?ds=sidebyside diff --git a/common.inc.plp b/common.inc.plp index 6672bd5..e5292ba 100644 --- a/common.inc.plp +++ b/common.inc.plp @@ -168,7 +168,7 @@ sub Html { created by • AGPLv3 + rel="license">AGPLv3 EOT say sprintf '• %.3fs', Time::HiRes::tv_interval($Time) if $Dev and $Time; say '

'; @@ -180,6 +180,7 @@ EOT sub showlink { my ($title, $href, $selected) = @_; return sprintf( + !$href ? '%s' : $selected ? '%s' : '%s', EscapeHTML($title), EscapeHTML($href) );