Changeset 2440 for trunk/application

Show
Ignore:
Timestamp:
04/06/2008 11:08:43 AM (8 months ago)
Author:
Shadowhand
Message:

Updated welcome pages, to fix a bug when using a URL suffix. Nice catch PugFish?!

Location:
trunk/application
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/application/controllers/welcome.php

    r2314 r2440  
    3030                $welcome->links = array 
    3131                ( 
    32                         'Home Page' => 'http://kohanaphp.com/', 
     32                        'Home Page'     => 'http://kohanaphp.com/', 
    3333                        'Documentation' => 'http://doc.kohanaphp.com/', 
    34                         'Forum' => 'http://forum.kohanaphp.com/', 
    35                         'License' => url::base(FALSE).'Kohana License.html', 
    36                         'Donate' => 'http://kohanaphp.com/donate.html', 
     34                        'Forum'         => 'http://forum.kohanaphp.com/', 
     35                        'License'       => 'Kohana License.html', 
     36                        'Donate'        => 'http://kohanaphp.com/donate.html', 
    3737                ); 
    3838 
  • trunk/application/views/welcome.php

    r2077 r2440  
    2828<ul> 
    2929<?php foreach ($links as $title => $url): ?> 
    30 <li><?php echo html::anchor($url, $title) ?></li> 
     30<li><?php echo ($title === 'License') ? html::file_anchor($url, $title) : html::anchor($url, $title) ?></li> 
    3131<?php endforeach ?> 
    3232</ul>