Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Made the default template translatable, fixes #986
- Loading branch information
isaiah
committed
Oct 8, 2009
1 parent
25101ee
commit 9789d09
Showing
3 changed files
with
9 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Original file line | Diff line number | Diff line change |
---|---|---|---|
@@ -1,15 +1,15 @@ | |||
<?php defined('SYSPATH') OR die('No direct access allowed.'); ?> | <?php defined('SYSPATH') OR die('No direct access allowed.'); ?> | ||
<div class="box"> | <div class="box"> | ||
<p>This is the default Kohana index page. You may also access this page as <code><?php echo html::anchor('welcome/index', 'welcome/index') ?></code>.</p> | <p><?php echo __('This is the default Kohana index page. You may also access this page as')?> <code><?php echo html::anchor('welcome/index', 'welcome/index') ?></code>.</p> | ||
|
|
||
<p> | <p> | ||
To change what gets displayed for this page, edit <code>application/controllers/welcome.php</code>.<br /> | <?php echo __('To change what gets displayed for this page, edit')?> <code>application/controllers/welcome.php</code>.<br /> | ||
To change this text, edit <code>application/views/welcome_content.php</code>. | <?php echo __('To change this text, edit')?> <code>application/views/welcome_content.php</code>. | ||
</p> | </p> | ||
</div> | </div> | ||
|
|
||
<ul> | <ul> | ||
<?php foreach ($links as $title => $url): ?> | <?php foreach ($links as $title => $url): ?> | ||
<li><?php echo ($title === 'License') ? html::file_anchor($url, html::chars($title)) : html::anchor($url, html::chars($title)) ?></li> | <li><?php echo ($title === 'License') ? html::file_anchor($url, html::chars(__($title))) : html::anchor($url, html::chars(__($title))) ?></li> | ||
<?php endforeach ?> | <?php endforeach ?> | ||
</ul> | </ul> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters