Changeset 757
- Timestamp:
- 09/04/08 21:28:48 (3 months ago)
- Location:
- trunk/app
- Files:
-
- 5 added
- 5 modified
-
controllers/colleges_controller.php (modified) (2 diffs)
-
controllers/faqs_controller.php (modified) (2 diffs)
-
controllers/podcasts_controller.php (modified) (2 diffs)
-
controllers/subjects_controller.php (modified) (2 diffs)
-
views/colleges/goya.ctp (added)
-
views/faqs/tetris.ctp (added)
-
views/layouts/default.ctp (modified) (1 diff)
-
views/podcasts/funny.ctp (added)
-
views/subjects/panda.ctp (added)
-
webroot/img/static/chilpotle-logo.png (added)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/controllers/colleges_controller.php
r584 r757 21 21 { 22 22 parent::beforeFilter(); 23 $this->Auth->allow(array('view', 'terms' ));23 $this->Auth->allow(array('view', 'terms', 'goya')); 24 24 } 25 25 … … 40 40 $this->layout = 'popup'; 41 41 } 42 43 public function goya() 44 { 45 $this->title = 'Eastern::egg Pumas'; 46 47 return true; 48 } 49 42 50 /*** ======ADMIN METHODS === *****/ 43 51 public function admin_listing() -
trunk/app/controllers/faqs_controller.php
r643 r757 22 22 { 23 23 parent::beforeFilter(); 24 $this->Auth->allow(array('tetris')); 24 25 } 25 26 … … 34 35 $this->set('data', $data); 35 36 } 36 37 38 public function tetris() 39 { 40 return true; 41 } 37 42 /** 38 43 ==== ADMIN METHODS -
trunk/app/controllers/podcasts_controller.php
r696 r757 19 19 { 20 20 parent::beforeFilter(); 21 $this->Auth->allow(array('display', 'rss', 'show', 'recent')); 22 21 $this->Auth->allow(array('display', 'rss', 'show', 'recent', 'funny')); 23 22 } 24 23 … … 107 106 $this->set('data', $this->Podcast->find($conditions, $fields)); 108 107 } 108 public function funny() 109 { //eastern egg 110 return true; 111 } 109 112 110 113 /****** ====ADMIN METHODS==== ***/ -
trunk/app/controllers/subjects_controller.php
r695 r757 17 17 { 18 18 parent::beforeFilter(); 19 $this->Auth->allow(array('display', 'view','show' ));19 $this->Auth->allow(array('display', 'view','show', 'panda')); 20 20 } 21 21 … … 48 48 $this->set('data', $this->Subject->getSubject($code)); 49 49 } 50 51 public function panda() 52 { 53 $this->title = 'Eastern::egg Panda'; 54 55 return true; 56 } 57 50 58 51 59 /** ==== ADMIN METHODS ==== */ -
trunk/app/views/layouts/default.ctp
r239 r757 21 21 </head> 22 22 <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> 25 25 <br /> 26 26 <?php echo $content_for_layout; ?>
