holiday ext should work properly now
This commit is contained in:
parent
9a35401666
commit
38e2f961fb
2 changed files with 1 additions and 6 deletions
|
@ -1,8 +1,4 @@
|
|||
BODY {
|
||||
background: #F0F7FF;
|
||||
font-family: sans-serif;
|
||||
font-size: 14px;
|
||||
margin: 0px;
|
||||
/* It's a bit crazy but, april fools is supposed to be crazy.
|
||||
This flips the entire page upside down.
|
||||
TODO: Add a way for the user to disable this */
|
||||
|
|
|
@ -3,14 +3,13 @@ class HolidayTheme extends Themelet {
|
|||
public function display_holiday($date) {
|
||||
global $page;
|
||||
if($date){
|
||||
$csssheet = "<link rel='stylesheet' href='".get_base_href()"/contrib/holiday/stylesheets/";
|
||||
$csssheet = "<link rel='stylesheet' href='".get_base_href()."/contrib/holiday/stylesheets/";
|
||||
|
||||
// April Fools
|
||||
// Flips the entire page upside down!
|
||||
// TODO: Make it possible for the user to turn this off!
|
||||
if(date('d/m') == '01/04'){
|
||||
$csssheet .= "aprilfools.css";
|
||||
//$holtag = "april_fools";
|
||||
}
|
||||
|
||||
$csssheet .= "' type='text/css'>";
|
||||
|
|
Reference in a new issue