Changeset 483 for trunk/modules/user_guide
- Timestamp:
- 09/03/2007 01:36:13 PM (15 months ago)
- Location:
- trunk/modules/user_guide
- Files:
-
- 1 removed
- 3 modified
-
controllers/user_guide.php (modified) (2 diffs)
-
en (deleted)
-
views/user_guide/en/content/general/configuration.php (modified) (1 diff)
-
views/user_guide/en/content/kohana/requirements.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/user_guide/controllers/user_guide.php
r475 r483 37 37 Event::add('system.pre_output', array($this, '_tags')); 38 38 39 // For i18n 40 $locale = Config::item('core.locale', TRUE); 41 39 42 // Set the view that will be loaded 40 43 $category = ($category == FALSE) ? 'kohana' : $category; 41 $content = rtrim('user_guide/ content/'.$category.'/'.$section, '/');44 $content = rtrim('user_guide/'.$locale.'content/'.$category.'/'.$section, '/'); 42 45 43 46 // Load session for AJAX page storage … … 62 65 url::redirect($ajax_return); 63 66 64 $template = $this->load->view('user_guide/template');65 $template->menu = $this->load->view('user_guide/menu', array('active_category' => $category, 'active_section' => $section));67 $template = $this->load->view('user_guide/'.$locale.'template'); 68 $template->menu = $this->load->view('user_guide/'.$locale.'menu', array('active_category' => $category, 'active_section' => $section)); 66 69 $template->content = $this->load->view($content)->render(FALSE, 'Markdown'); 67 70 -
trunk/modules/user_guide/views/user_guide/en/content/general/configuration.php
r476 r483 70 70 : <?php echo html::anchor('user_guide/libraries/session', 'Session Library') ?> 71 71 72 <?php echo $this->load->view('user_guide/ content/abbr') ?>72 <?php echo $this->load->view('user_guide/en/content/abbr') ?> 73 73 <?php /* $Id$ */ ?> -
trunk/modules/user_guide/views/user_guide/en/content/kohana/requirements.php
r475 r483 5 5 Kohana will run in almost any environment with minimal configuration. There are a few minimum server requirements: 6 6 7 1. [Unicode](http://unicode.org/) support 8 2. PHP version >= 5.1 9 3. An HTTP server. Kohana is known to work with: 10 * Apache 1.x 11 * Apache 2.x 12 * lighttpd 13 * IIS version >= 5 7 1. Server with [Unicode](http://unicode.org/) support 8 2. PHP version >= 5.1 with PDO support 9 3. An HTTP server. Kohana is known to work with: Apache 1.3+, Apache 2.0+, lighttpd, and MS IIS 14 10 15 11 Optionally, if you wish to use a database with Kohana, you will need a database server. Kohana use <?php echo html::anchor('http://php.net/pdo', 'PDO') ?> to connect to your database. All of the PDO <?php echo html::anchor('http://php.net/manual/en/ref.pdo.php#pdo.drivers', 'supported databases') ?> are supported by Kohana, provided that your server has the driver available. … … 20 16 2. [mcrypt](http://php.net/mcrypt) will dramatically speed up Kohana's encryption and hashing routines 21 17 22 <?php echo $this->load->view('user_guide/content/abbr') ?> 23 18 <?php echo $this->load->view('user_guide/en/content/abbr') ?> 24 19 <?php /* $Id$ */ ?>
