Permalink
Browse files

added banner announcement (for mySoc recruitment)

  • Loading branch information...
1 parent b0610ab commit c6631a0bf887698073a1d912c8ff87dc7605011e @davewhiteland davewhiteland committed Jan 24, 2012
Showing with 24 additions and 1 deletion.
  1. +10 −1 templates/website/header.php
  2. +14 −0 web/pb.2.css
@@ -7,6 +7,9 @@
/* XXX @import url('...') uses single-quotes to hide the style-sheet
* from Mac IE. Ugly, but it works. */
+
+ $announcement = "Would you like to work with the team that built this site?
+ <strong><a href='http://mysocietyltd.theresumator.com/apply/'>We're recruiting.</a></strong>";
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="<?=$lang ?>">
@@ -59,7 +62,7 @@
// Start flyers-printing again
if ($params['noprint']) print '</div> <!-- noprint -->';
-
+
// Display who is logged in
if ($P) {
print '<p id="signedon" class="noprint">';
@@ -78,6 +81,12 @@
<?=_('Search for pledges:')?> <input type="text" id="q" name="q" size="25" value="<?=htmlspecialchars(get_http_var('q', true))?>"><input type="submit" value="<?=_('Search')?>">
</form>
+<? if ($announcement && ! $params['noprint']) { ?>
+ <div id="banner-announcement">
+ <?= $announcement ?>
+ </div>
+<? }?>
+
<?=$params['banner']?>
<div id="pbcontent">
View
@@ -169,6 +169,20 @@ h2 {
text-decoration: none;
}
+#banner-announcement {
+ clear:both;
+ color:#fff;
+ background-color: #9C7BBD;
+ border-bottom: solid 1px #522994;
+ border-top: solid 1px #522994;
+ font-size:83%;
+ padding:0.5em;
+ margin-bottom: 1em;
+}
+#banner-announcement a:visited{
+ color: #522994;
+}
+
#language {
width: 10em;
}

0 comments on commit c6631a0

Please sign in to comment.