Author: djce
Date: 2006-12-09 10:45:04 +0000 (Sat, 09 Dec 2006)
New Revision: 8712
Modified:
mb_server/trunk/htdocs/comp/linkartist
mb_server/trunk/htdocs/comp/linkdoc
mb_server/trunk/htdocs/comp/linkfingerprint
mb_server/trunk/htdocs/comp/linkrelease
mb_server/trunk/htdocs/comp/linktrack
mb_server/trunk/htdocs/comp/linkurl
mb_server/trunk/htdocs/comp/linkuser
mb_server/trunk/htdocs/comp/relationship/outputentity
Log:
When editing the files with no trailing newline, it was all too easy to
accidentally add it. Made less fragile.
Also appeased Vim's syntax highlighting.
Modified: mb_server/trunk/htdocs/comp/linkartist
===================================================================
--- mb_server/trunk/htdocs/comp/linkartist 2006-12-09 10:37:24 UTC (rev
8711)
+++ mb_server/trunk/htdocs/comp/linkartist 2006-12-09 10:45:04 UTC (rev
8712)
@@ -119,6 +119,5 @@
}
</%perl>
-%# -- no empty line here, else an additional space will be
-%# inserted before the dot at the end of sentences.
-%# vi: set ts=4 sw=4 ft=mason :
\ No newline at end of file
+%return; # no final newline
+%# vi: set ts=4 sw=4 ft=mason :
Modified: mb_server/trunk/htdocs/comp/linkdoc
===================================================================
--- mb_server/trunk/htdocs/comp/linkdoc 2006-12-09 10:37:24 UTC (rev 8711)
+++ mb_server/trunk/htdocs/comp/linkdoc 2006-12-09 10:45:04 UTC (rev 8712)
@@ -39,12 +39,12 @@
$m->out(qq!<strong>!) if ($strong);
$m->out(qq!<img src="/images/icon/wikidocs.gif" class="entityicon"
alt="" width="13" height="13" />!) if ($icon);
+ #/# for Vim
$m->out(qq!<a href="/doc/$pagename" title="Wiki page: $pagename" >!);
$m->out(qq!$linktext</a>!);
$m->out(qq!</strong>!) if ($strong);
</%perl>
-%# -- no empty line here, else an additional space will be
-%# inserted before the dot at the end of sentences.
-%# vi: set ts=4 sw=4 ft=mason :
\ No newline at end of file
+%return; # no final newline
+%# vi: set ts=4 sw=4 ft=mason :
Modified: mb_server/trunk/htdocs/comp/linkfingerprint
===================================================================
--- mb_server/trunk/htdocs/comp/linkfingerprint 2006-12-09 10:37:24 UTC (rev
8711)
+++ mb_server/trunk/htdocs/comp/linkfingerprint 2006-12-09 10:45:04 UTC (rev
8712)
@@ -50,6 +50,7 @@
# render link.
$m->out(qq!<strong>!) if ($strong);
$m->out(qq!<img src="/images/entity/$typeicon" alt="$typealt"
class="entityicon" width="13" height="13" />!) if ($icon);
+ #/# for Vim
$m->out(sprintf qq!<a href="%s">%s</a>!,
$url,
$m->interp->apply_escapes($name, 'h'));
@@ -57,6 +58,5 @@
$m->out(qq!</strong>!) if ($strong);
</%perl>
-%# -- no empty line here, else an additional space will be
-%# inserted before the dot at the end of sentences.
-%# vi: set ts=4 sw=4 ft=mason :
\ No newline at end of file
+%return; # no final newline
+%# vi: set ts=4 sw=4 ft=mason :
Modified: mb_server/trunk/htdocs/comp/linkrelease
===================================================================
--- mb_server/trunk/htdocs/comp/linkrelease 2006-12-09 10:37:24 UTC (rev
8711)
+++ mb_server/trunk/htdocs/comp/linkrelease 2006-12-09 10:45:04 UTC (rev
8712)
@@ -99,6 +99,5 @@
$m->out("</span>") if ($modpending);
</%perl>
-%# -- no empty line here, else an additional space will be
-%# inserted before the dot at the end of sentences.
-%# vi: set ts=4 sw=4 ft=mason :
\ No newline at end of file
+%return; # no final newline
+%# vi: set ts=4 sw=4 ft=mason :
Modified: mb_server/trunk/htdocs/comp/linktrack
===================================================================
--- mb_server/trunk/htdocs/comp/linktrack 2006-12-09 10:37:24 UTC (rev
8711)
+++ mb_server/trunk/htdocs/comp/linktrack 2006-12-09 10:45:04 UTC (rev
8712)
@@ -94,6 +94,5 @@
$m->out("</span>");
</%perl>
-%# -- no empty line here, else an additional space will be
-%# inserted before the dot at the end of sentences.
-%# vi: set ts=4 sw=4 ft=mason :
\ No newline at end of file
+%return; # no final newline
+%# vi: set ts=4 sw=4 ft=mason :
Modified: mb_server/trunk/htdocs/comp/linkurl
===================================================================
--- mb_server/trunk/htdocs/comp/linkurl 2006-12-09 10:37:24 UTC (rev 8711)
+++ mb_server/trunk/htdocs/comp/linkurl 2006-12-09 10:45:04 UTC (rev 8712)
@@ -93,6 +93,5 @@
if ($showlink && defined $href);
</%perl>
-%# -- no empty line here, else an additional space will be
-%# inserted before the dot at the end of sentences.
-%# vi: set ts=4 sw=4 ft=mason :
\ No newline at end of file
+%return; # no final newline
+%# vi: set ts=4 sw=4 ft=mason :
Modified: mb_server/trunk/htdocs/comp/linkuser
===================================================================
--- mb_server/trunk/htdocs/comp/linkuser 2006-12-09 10:37:24 UTC (rev
8711)
+++ mb_server/trunk/htdocs/comp/linkuser 2006-12-09 10:45:04 UTC (rev
8712)
@@ -77,12 +77,12 @@
if ($icon && !UserPreference::get("css_noentityicons"))
{
$m->out(qq!<img src="/images/entity/$usericon.gif"
alt="$iconalt" class="entityicon" width="13" height="13" />!)
+ #/# for Vim
}
$m->out(qq!<a href="/show/user/?$arg" title="User:
$dispname">$shortname</a>!);
$m->out(qq!</strong>!) if ($strong);
</%perl>
-%# -- no empty line here, else an additional space will be
-%# inserted before the dot at the end of sentences.
-%# vi: set ts=4 sw=4 ft=mason :
\ No newline at end of file
+%return; # no final newline
+%# vi: set ts=4 sw=4 ft=mason :
Modified: mb_server/trunk/htdocs/comp/relationship/outputentity
===================================================================
--- mb_server/trunk/htdocs/comp/relationship/outputentity 2006-12-09
10:37:24 UTC (rev 8711)
+++ mb_server/trunk/htdocs/comp/relationship/outputentity 2006-12-09
10:45:04 UTC (rev 8712)
@@ -109,6 +109,5 @@
$m->out("</span>") if ($mp);
</%perl>
-%# -- no empty line here, else an additional space will be
-%# inserted before the dot at the end of sentences.
-%# vi: set ts=4 sw=4 ft=mason :
\ No newline at end of file
+%return; # no final newline
+%# vi: set ts=4 sw=4 ft=mason :
|