Changeset 140
- Timestamp:
- 07/27/07 16:56:57 (1 year ago)
- Files:
-
- branch/app_controller.php (modified) (1 diff)
- branch/controllers/menus_controller.php (modified) (1 diff)
- branch/views/elements/js_include.ctp (modified) (1 diff)
- branch/views/elements/testnav.ctp (modified) (1 diff)
- branch/views/layouts/extlayout.ctp (added)
- branch/views/menus/json.ctp (added)
- branch/webroot/css/ext-all.css (added)
- branch/webroot/css/ext-layout.css (added)
- branch/webroot/js/ext-layout.js (added)
- branch/webroot/test.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branch/app_controller.php
r138 r140 74 74 75 75 76 $sitetheme = " 950px";76 $sitetheme = "extlayout"; 77 77 78 78 $this->layout = $sitetheme; branch/controllers/menus_controller.php
r115 r140 137 137 } 138 138 } 139 140 function json() 141 { 142 $output = $this->Menu->findAll(); 143 $this->set('output', $output); 144 } 139 145 } 140 146 ?> branch/views/elements/js_include.ctp
r135 r140 4 4 <!-- jQuery + Plugins --> 5 5 <?php e($javascript->link('jquery'));?> 6 <?php e($javascript->link('jquery-plugins'));?> 7 <?php e($javascript->link('ext-jquery-adapter'));?> 8 <?php e($javascript->link('ext-all'));?> 9 <?php e($javascript->link('ext-layout'));?> 10 6 11 <?php e($javascript->link('jquery.autocomplete'));?> 7 12 <?php e($javascript->link('jquery.bgiframe.min'));?> branch/views/elements/testnav.ctp
r89 r140 1 <ul class="navigation"> 2 <li><a href="/" class="head">Home</a></li> 3 <li><a href="/posts/index/post_index_limit:10" class="head">News</a> 4 <ul> 5 <li>Archived News</li> 6 <li>Search News</li> 7 </ul> 8 </li> 9 <li><a href="/events/index" class="head">Tour Dates</a></li> 10 <li><a href="/galleries/" class="head">Galleries</a></li> 11 <li><a href="/videos" class="head">Videos</a></li> 12 <li><a href="/users/login" class="head">Login</a> 13 </li> 14 </ul> 1 <?php $output = $this->requestAction('/menus/json');?> 2 3 <?php pr('menu' + $output);?> branch/webroot/test.php
r55 r140 40 40 } 41 41 if (!defined('CAKE_CORE_INCLUDE_PATH')) { 42 define('CAKE_CORE_INCLUDE_PATH', ROOT);42 define('CAKE_CORE_INCLUDE_PATH', '/home/digitalspaghetti/libs/cakephp/trunk/cake/1.2.x.x'); 43 43 } 44 44 if (!defined('WEBROOT_DIR')) {