Fix lighttpd recognition. Add support button.

This commit is contained in:
Lars Jung 2014-07-02 15:06:28 +02:00
parent 36150bdbef
commit 06d9a8af85
4 changed files with 21 additions and 1 deletions

View file

@ -142,4 +142,15 @@ body#h5ai-info {
#bottombar {
font-size: 13px;
}
#donation {
margin: 12px auto;
width: 360px;
color: @col;
font-size: 12px;
.paypal {
margin: 6px;
}
}
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

View file

@ -21,6 +21,15 @@ html.no-js.browser( lang="en" )
h1
a( href="{{pkg.url}}" ) {{pkg.name}}
div#donation
| show your love and support for h5ai with a small donation
div.paypal
form( action="https://www.paypal.com/cgi-bin/webscr", method="post", target="_top" )
input( type="hidden", name="cmd", value="_s-xclick" )
input( type="hidden", name="hosted_button_id", value="8WSPKWT7YBTSQ" )
input( type="image", src="client/images/paypal.png", border="0", name="submit", alt="PayPal - The safer, easier way to pay online!" )
img( alt="", border="0", src="https://www.paypalobjects.com/de_DE/i/scr/pixel.gif", width="1", height="1" )
div#bottombar.clearfix
span.left
span.noJsMsg

View file

@ -46,7 +46,7 @@ function setup() {
}
define("SERVER_NAME", $server_name);
define("SERVER_VERSION", $server_version);
define("HAS_SERVER", in_array($server_name, array("apache", "lighttd", "nginx", "cherokee")));
define("HAS_SERVER", in_array($server_name, array("apache", "lighttpd", "nginx", "cherokee")));
define("HAS_WIN_OS", strtolower(substr(PHP_OS, 0, 3)) === "win");