update links, license, and version
[sheet.git] / index.plp
index adc573df58b1a5461c52b574b8500655fa37984c..592d5d52f6421ca78cf86f794a706d0f0c895a14 100644 (file)
--- a/index.plp
+++ b/index.plp
@@ -5,13 +5,7 @@ use warnings;
 no  warnings "qw";  # you know what you doing
 no  warnings "uninitialized";  # save some useless checks for more legible code
 
-# 2006-03-29 ~20:00 started work
-# 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
-
-our $VERSION = "1.0";
+our $VERSION = "1.1";
 
 our $ascii = 0;
 if (exists $get{ascii}) {
@@ -37,7 +31,7 @@ $header{content_type} = $ctype;
 <link rel="stylesheet" type="text/css" media="all" href="base.css">
 <!--[if lte IE 6]><style> .help dl.legend dt {margin:0 0 1px} </style><![endif]-->
 <!--[if lte IE 7]><style> .help dl.legend dd {float:none} </style><![endif]--><:
-       my %styles = map {$_ => $_} qw(dark circus mono);
+       my %styles = map {$_ => $_} qw(dark circus mono terse);
        our $style = exists $get{style} && $styles{$get{style}} || "light";
        printf(qq{\n<link rel="%s" type="text/css" media="all" href="%s" title="%s">},
                $_ eq $style ? "stylesheet" : "alternate stylesheet", "$_.css", $_
@@ -240,9 +234,12 @@ for (my $row = 0; $row <= $#$keyrows; $row++) {
 </div>
 
 <p class="footer">
-       <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 <:
+       <a href="http://vi.shiar.net/">vi.<strong>shiar.net</strong></a>
+       <a href="git://dev.shiar.net/vi-cheat"><:= "v$VERSION" :></a>
+       created by Shiar <:= $sign{sep} :>
+       <a title="Licensed under the GNU Affero General Public License, version 3"
+          href="http://www.fsf.org/licensing/licenses/agpl-3.0.html">AGPLv3</a> <:= $sign{sep} :>
+       last update <:
                use Time::Format qw(time_format);
                print time_format("yyyy-mm-dd", (stat "vim-cmds.inc.pl")[9]);
        :>