mirror of
https://github.com/lrsjng/h5ai.git
synced 2025-03-19 12:00:01 +01:00
Fix lighttpd recognition. Add support button.
This commit is contained in:
parent
36150bdbef
commit
06d9a8af85
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
BIN
src/_h5ai/client/images/paypal.png
Normal file
BIN
src/_h5ai/client/images/paypal.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 3.6 KiB |
@ -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
|
||||
|
@ -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");
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user