Changeset 497

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

Message interfase

Location:
trunk/app/views
Files:
2 modified

Legend:

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

    r460 r497  
    3737<?php   
    3838  echo $html->link($cU['User']['username'] . '\'s blog',  '/blog/'. $cU['User']['username']) . ' | ';  
    39   echo $html->link($_SERVER['SERVER_NAME'], '/').' | '; 
     39  echo $html->link($_SERVER['HTTP_HOST'], '/').' | '; 
    4040  echo $html->link('My Account', '/admin/users/edit') .' | '. $html->link('Logout', '/users/logout'); ?> 
    4141</div> 
  • trunk/app/views/news/view.ctp

    r409 r497  
    2020    <span style="font-size:7pt;">Permalink:</span> <br /> 
    2121    <?php echo $html->link( 
    22                'http://'.$_SERVER['SERVER_NAME'].'/news/view/'.$data['News']['id'],  
    23                            'http://'.$_SERVER['SERVER_NAME'].'/news/view/'.$data['News']['id'] 
     22               'http://'.$_SERVER['HTTP_HOST'].'/news/view/'.$data['News']['id'],  
     23                           'http://'.$_SERVER['HTTP_HOST'].'/news/view/'.$data['News']['id'] 
    2424               );  
    2525?>