Changeset 459 for trunk/app/views/layouts
- Timestamp:
- 05/07/08 18:55:47 (7 months ago)
- Location:
- trunk/app/views/layouts
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/layouts/admin.ctp
r396 r459 29 29 30 30 <div id="header"> 31 32 <h1><?php echo $html->link('Karamelo: Control Panel', '/admin/entries/start'); ?></h1> 31 <h1><?php echo $html->link('Karamelo: Control Panel', '/admin/entries/start'); ?></h1> e-Learning platform 33 32 <?php 34 echo $html->para(null, 'e-Learning platform');35 33 echo $html->link($cU['User']['username'] . '\'s blog', '/blog/'. $cU['User']['username'], array("style"=>"color:white;text-decoration:none;font-weight:bold;")); 36 34 ?> 35 Logged in as <strong><?php echo $cU['User']['username']; ?></strong> | 36 <?php echo $html->link($_SERVER['SERVER_NAME'], '/').' '. $html->link('My Account', '/admin/users/edit') .' | '. $html->link('Logout', '/users/logout'); ?> 37 37 </div><!-- header ends--> 38 <p>39 Logged in as <strong><?php echo $cU['User']['username']; ?></strong> |40 <strong><a href="/"><?php echo $_SERVER['SERVER_NAME']; ?></a></strong>41 <?php echo $html->link('My Account', '/admin/users/edit'); ?> |42 <?php echo $html->link('Logout', '/users/logout'); ?>43 </p>44 38 <div style="clear:both;"></div> 45 39 <?php echo $this->renderElement('admin_menu'); ?> 46 40 47 <div style="float:left;border:1px solid white;width: 600px;margin:10px 300px;text-align:left;">41 <div style="float:left;border:1px solid white;width:900px;margin:15px 10px 10px 100px;text-align:left;"> 48 42 <?php echo $content_for_layout ?> 49 43 </div> 50 44 <div style="clear:both;"></div> 51 45 52 <div id="footer"> 53 <p>Powered by the <a href="http://www.chipotle-software.com/" rel="external">Karamelo Project © 2002-2008 GPLv3</a> </p> 54 </div> 46 <?php echo $html->div('footer', 'Powered by the '. $html->link('Karamelo Project © 2002-2008 GPLv3', 'http://www.chipotle-software.com/', null, false, false)); ?> 55 47 56 48 <div style="position:absolute;top:15px;left:800px"><!-- help button--> -
trunk/app/views/layouts/rubyx.ctp
r431 r459 53 53 echo $form->create("Entry", array("action"=>"search", "onsubmit"=>"return chkSearch()")); 54 54 echo $form->hidden('Entry.user_id', array("value"=>$blog['User']['id'])); 55 echo '<fieldset><legend>Search</legend>';55 echo '<fieldset><legend>Search</legend>'; 56 56 echo $form->label('Entry.terms', 'Find:', array("class"=>"noscreen")); 57 echo '<span id="search-input-out">';57 echo '<span id="search-input-out">'; 58 58 echo $form->input('Entry.terms', array("size"=>"30", "id"=>"search-input-out")); 59 59 echo '</span>'; … … 80 80 81 81 <?php echo ($url == 'users/abou') ? '<li id="active">' : '<li>'; ?> 82 <a href="/ users/about/<?php echo $blog['User']['username'] ?>">About Me<span class="tab-l"></span><span class="tab-r"></span></a></li>82 <a href="/vclassrooms/aboutme/<?php echo $blog['User']['username'] ?>">About Me<span class="tab-l"></span><span class="tab-r"></span></a></li> 83 83 84 84 <?php echo ($url == 'messages/c') ? '<li id="active">' : '<li>'; ?>
