summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Tänzer <neo@nhng.de>2011-07-13 01:48:13 +0200
committerMichael Tänzer <neo@nhng.de>2011-07-13 01:48:13 +0200
commitd8b7eb968edb7da3a10985ebcbc0e50866da5c47 (patch)
tree8a269660d3bab4a246d0253f4e71f67161bf7cd3
parent00675c949494888ac5f3cd802de41bf6f2caf45b (diff)
downloadcacert-devel-d8b7eb968edb7da3a10985ebcbc0e50866da5c47.tar.gz
cacert-devel-d8b7eb968edb7da3a10985ebcbc0e50866da5c47.tar.xz
cacert-devel-d8b7eb968edb7da3a10985ebcbc0e50866da5c47.zip
bug-958 added sponsor-infos at top of page (initially for next
board-meeting) #3
-rw-r--r--includes/general_stuff.php22
-rw-r--r--includes/sponsorinfo_top.php8
-rw-r--r--www/styles/default.css12
3 files changed, 25 insertions, 17 deletions
diff --git a/includes/general_stuff.php b/includes/general_stuff.php
index 6747c84..b76a240 100644
--- a/includes/general_stuff.php
+++ b/includes/general_stuff.php
@@ -23,21 +23,9 @@ if(!function_exists("showheader"))
?> <div id="pagecell1">
<div id="pageName"><br>
<div id="pageLogo"><a href="http://<?=$_SESSION['_config']['normalhostname']?>"><img src="/images/cacert4.png" border="0" alt="CAcert.org logo"></a></div>
-<div id="googlead"><? if(!array_key_exists('HTTPS',$_SERVER) || $_SERVER['HTTPS'] != "on") { ?><script type="text/javascript">
-<!--
-google_ad_client = "pub-0959373285729680";
-google_alternate_ad_url = "http://www.cacert.org/";
-google_ad_width = 468;
-google_ad_height = 60;
-google_ad_format = "468x60_as";
-google_color_link = "000000";
-google_color_url = "000000";
-google_color_text = "000000";
-google_color_border = "FFFFFF";
-//-->
-</script>
-<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js"></script><? } else {
-?><h2><?=_("Free digital certificates!")?></h2><? } ?></div>
+<? // if(!array_key_exists('HTTPS',$_SERVER) || $_SERVER['HTTPS'] != "on") { ?>
+<? include("sponsorinfo_top.php") ?>
+<? // } ?>
</div>
<div id="pageNav">
<div class="relatedLinks">
@@ -131,8 +119,8 @@ if(!function_exists("showfooter"))
</div>
<? include("sponsorinfo.php") ?>
<div id="siteInfo">
- <a href="/index.php?id=12"><?=_("About Us")?></a> | <a href="/index.php?id=13"><?=_("Donations")?></a> | <a href="http://wiki.cacert.org/wiki/CAcertIncorporated"><?=_("Association Membership")?></a> |
- <a href="/index.php?id=10"><?=_("Privacy Policy")?></a> |
+ <a href="/index.php?id=12"><?=_("About Us")?></a> | <a href="/index.php?id=13"><?=_("Donations")?></a> | <a href="http://wiki.cacert.org/CAcertIncorporated"><?=_("Association Membership")?></a> |
+ <a href="/policy/PrivacyPolicy.html"><?=_("Privacy Policy")?></a> |
<a href="/index.php?id=51"><?=_("Mission Statement")?></a> | <a href="/index.php?id=11"><?=_("Contact Us")?></a> |
&copy;2002-<?=date("Y")?> <?=_("by CAcert")?></div>
</div>
diff --git a/includes/sponsorinfo_top.php b/includes/sponsorinfo_top.php
new file mode 100644
index 0000000..0e7fbef
--- /dev/null
+++ b/includes/sponsorinfo_top.php
@@ -0,0 +1,8 @@
+ <div class="sponsorinfo_top">
+ <?=_("CAcert operations are sponsored by")?>
+ <a href="http://www.bit.nl/" target="_blank"><img class="sponsorlogo" src="/images/bit.png" alt="[BIT logo]" border="0"></a>
+ <a href="http://www.tunix.nl/" target="_blank"><img class="sponsorlogo" src="/images/tunix.png" alt="[TUNIX logo]" border="0"></a>
+ <a href="http://www.nlnet.nl/" target="_blank"><img class="sponsorlogo" src="/images/nlnet.png" alt="[NLnet logo]" border="0"></a>
+ <a href="http://www.openarchitecturenetwork.org/" target="_blank"><img class="sponsorlogo" src="/images/oan.png" alt="[OAN logo]" border="0"></a>
+ </div>
+
diff --git a/www/styles/default.css b/www/styles/default.css
index 9fdd85c..2d4d74a 100644
--- a/www/styles/default.css
+++ b/www/styles/default.css
@@ -621,6 +621,18 @@ div.sponsorinfo {
padding: 10px 10px 10px 10px;
}
+div.sponsorinfo_top {
+ clear: both;
+ font-size: small;
+ color: #000000;
+ padding: 10px 10px 10px 10px;
+ position: absolute;
+ top: 35px;
+ right: 0px;
+ z-index: 10;
+ vertical-align: middle;
+}
+
img.sponsorlogo {
margin-left: 10px;
margin-right: 10px;