Show
Ignore:
Timestamp:
06/16/08 23:05:09 (5 months ago)
Author:
aarkerio
Message:

RSS

Location:
trunk/app/views/layouts
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/layouts/admin.ctp

    r582 r610  
    55<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> 
    66 <head> 
    7   <title>Karamelo: Control Panel</title> 
     7  <title>Karamelo</title> 
    88<link rel="shortcut icon" href="favicon.ico" type="image/x-icon" /> 
    99<!--[if gte IE 5.5]> 
     
    3030<div id="header"> 
    3131<div style="width:300px;float:left;margin-right:15px;"> 
    32 <h1><?php echo $html->link('Karamelo: Control Panel', '/admin/entries/start'); ?></h1>  
    33 <?php echo $html->para(null, 'e-Learning platform'); ?> 
     32<h1><?php echo $html->link('Karamelo', '/admin/entries/start'); ?></h1>  
     33<?php echo $html->para(null, 'Web 2.0 eLearning platform'); ?> 
    3434</div> 
    3535<div style="width:700px;float:left;">  
    36 Logged in as <strong><?php echo $session->read('Auth.User.username'); ?></strong> | 
     36<?php __('Logged in'); ?> <strong><?php echo $session->read('Auth.User.username'); ?></strong> | 
    3737<?php   
    3838  echo $html->link($session->read('Auth.User.username') . '\'s blog',  '/blog/'. $session->read('Auth.User.username')) . ' | ';  
    3939  echo $html->link($_SERVER['HTTP_HOST'], '/').' | '; 
    40   echo $html->link('My Account', '/admin/users/edit') .' | '. $html->link('Logout', '/users/logout'); ?> 
     40  echo $html->link(__('My profile', true), '/admin/users/edit') .' | '. $html->link(__('Logout', true), '/users/logout');  
     41?> 
    4142</div> 
    4243</div><!-- header ends--> 
  • trunk/app/views/layouts/rss.ctp

    r492 r610  
    11<?php echo '<?xml version="1.0" encoding="UTF-8" ?>'."\n"; ?> 
    2 <rss version="2.0"> 
     2<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"> 
    33  <?php echo $content_for_layout; ?> 
    44</rss> 
  • trunk/app/views/layouts/rubyx.ctp

    r574 r610  
    7575          
    7676<div id="strip" class="box noprint">  
     77<?php  
     78 if ( isset($blog['Quote'][0]['quote']) ): 
     79    e($html->div(null, '<i>'.$blog['Quote'][0]['quote'] . '</i><br /><b>'. $blog['Quote'][0]['author'].'</b>',aa('id', 'breadcrumbs'))); 
     80 endif; 
     81?>  
    7782      
    7883<!-- RSS feeds -->  
    79 <p id="rss"><strong>RSS:</strong>  
     84<div id="rss"><strong>RSS:</strong>  
    8085<?php 
    8186 e($html->link('Blog', '/entries/rss/'.$blog['User']['username']) . '/');  
    8287 e($html->link('Podcast', '/podcasts/rss/'.$blog['User']['username'])); 
    8388?> 
    84 </p>  
    85  
    86 <hr class="noscreen" /> 
     89</div>  
    8790</div> <!-- /strip --> 
    8891 <!-- Content -->  
    89         <?php echo $html->div(null, $content_for_layout, aa('id', 'content')); ?>  
     92  <?php    echo $html->div(null, $content_for_layout, aa('id', 'content'));?>  
    9093<!-- /content -->  
    9194<!-- Right column -->  
     
    9396<div id="col-in">  
    9497<?php  
    95  if ( $blog["Vclassroom"] != null)  
    96  {  
     98 if ( $blog["Vclassroom"] != null):  
    9799     echo $this->element('vclassrooms', $blog["Vclassroom"]);   
    98  } 
     100 endif; 
    99101 
    100102 echo $html->div('temas', $blog['User']['username'] . ' profile');