git.shiar.nl
/
sheet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
22155a6
)
add version number
v1.0
author
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 25 Feb 2007 03:09:58 +0000
(
04:09
+0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 25 Feb 2007 03:09:58 +0000
(
04:09
+0100)
index.plp
patch
|
blob
|
history
diff --git
a/index.plp
b/index.plp
index 096a35fa18a82e6321c31a801c840888babfc9d8..0038d67334f3181ff295a5516f3b6d1884574c57 100644
(file)
--- a/
index.plp
+++ b/
index.plp
@@
-9,6
+9,7
@@
no warnings "uninitialized"; # save some useless checks for more legible code
# 2006-03-30 11:58 html version
# 2006-05-20 03:44 perl version
# 2007-02-07 07:34 cleaned up
# 2006-03-30 11:58 html version
# 2006-05-20 03:44 perl version
# 2007-02-07 07:34 cleaned up
+# 2007-02-25 04:00 v1.0: git repository
# TODO:
# - use js to detect optimal key size
# TODO:
# - use js to detect optimal key size
@@
-24,6
+25,8
@@
no warnings "uninitialized"; # save some useless checks for more legible code
# - option to follow aliases (default on?)
# - custom row combinations (eg for comparing different modes)
# - option to follow aliases (default on?)
# - custom row combinations (eg for comparing different modes)
+our $VERSION = "1.0";
+
our $ascii = 0;
if (exists $get{ascii}) {
$ascii = $get{ascii} ne "0"; # manual override
our $ascii = 0;
if (exists $get{ascii}) {
$ascii = $get{ascii} ne "0"; # manual override
@@
-251,7
+254,8
@@
for (my $row = 0; $row <= $#$keyrows; $row++) {
</div>
<p class="footer">
</div>
<p class="footer">
- <a href="vim-cheat.tar.gz">http://<:= $ENV{SERVER_NAME} :>/vim-cheat</a>
+ <a href="http://<:= $ENV{SERVER_NAME} :>/vim-cheat">shiar.demon.nl/<b>vim-cheat</b></a>
+ <a href="vim-cheat.tar.gz"><:= "v$VERSION" :></a>
created by Shiar <:= $sign{sep} :> last update <:
use Time::Format qw(time_format);
print time_format("yyyy-mm-dd", (stat "vim-cmds.inc.pl")[9]);
created by Shiar <:= $sign{sep} :> last update <:
use Time::Format qw(time_format);
print time_format("yyyy-mm-dd", (stat "vim-cmds.inc.pl")[9]);