Changeset 757

Show
Ignore:
Timestamp:
09/04/08 21:28:48 (3 months ago)
Author:
aarkerio
Message:

Easter eggs

Location:
trunk/app
Files:
5 added
5 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/controllers/colleges_controller.php

    r584 r757  
    2121 { 
    2222   parent::beforeFilter(); 
    23    $this->Auth->allow(array('view', 'terms')); 
     23   $this->Auth->allow(array('view', 'terms', 'goya')); 
    2424 } 
    2525  
     
    4040           $this->layout = 'popup'; 
    4141 } 
     42 
     43 public function goya() 
     44 {    
     45   $this->title     = 'Eastern::egg Pumas'; 
     46 
     47   return true; 
     48 } 
     49 
    4250 /*** ======ADMIN METHODS === *****/ 
    4351 public function admin_listing()  
  • trunk/app/controllers/faqs_controller.php

    r643 r757  
    2222 { 
    2323   parent::beforeFilter(); 
     24   $this->Auth->allow(array('tetris')); 
    2425 } 
    2526 
     
    3435        $this->set('data', $data);  
    3536 } 
    36   
     37 
     38 public function tetris() 
     39 { 
     40   return true; 
     41 } 
    3742 /** 
    3843  ==== ADMIN METHODS  
  • trunk/app/controllers/podcasts_controller.php

    r696 r757  
    1919 { 
    2020   parent::beforeFilter(); 
    21    $this->Auth->allow(array('display', 'rss', 'show', 'recent')); 
    22     
     21   $this->Auth->allow(array('display', 'rss', 'show', 'recent', 'funny'));    
    2322 } 
    2423 
     
    107106    $this->set('data', $this->Podcast->find($conditions, $fields)); 
    108107 } 
     108 public function  funny() 
     109 { //eastern egg 
     110   return true; 
     111 } 
    109112     
    110113/****** ====ADMIN METHODS==== ***/     
  • trunk/app/controllers/subjects_controller.php

    r695 r757  
    1717 { 
    1818    parent::beforeFilter(); 
    19     $this->Auth->allow(array('display', 'view','show')); 
     19    $this->Auth->allow(array('display', 'view','show', 'panda')); 
    2020 } 
    2121 
     
    4848   $this->set('data', $this->Subject->getSubject($code)); 
    4949 } 
     50 
     51 public function panda() 
     52 {   
     53   $this->title     = 'Eastern::egg Panda'; 
     54 
     55   return true; 
     56 } 
     57 
    5058    
    5159  /** ==== ADMIN METHODS ==== */ 
  • trunk/app/views/layouts/default.ctp

    r239 r757  
    2121</head> 
    2222<body> 
    23 <div style="margin:60px auto 60px auto;padding:17px;border:1px dotted gray;text-align:center;width:400px;background-color: #fff"> 
    24 <a href="http://trac.mononeurona.org"><img src="http://trac.mononeurona.org/chilpotle-logo.png" alt="Chipotle Software" title="Chipotle Software" /></a> 
     23<div style="margin:15px auto 40px auto;padding:17px;border:1px dotted gray;text-align:center;width:450px;background-color: #fff"> 
     24<a href="http://trac.mononeurona.org"><img src="/img/static/chilpotle-logo.png" alt="Chipotle Software" title="Chipotle Software" /></a> 
    2525<br /> 
    2626   <?php echo $content_for_layout; ?>