Upgrade to KH 3.3.0
This commit is contained in:
15
includes/kohana/modules/pagination/config/pagination.php
Normal file
15
includes/kohana/modules/pagination/config/pagination.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php defined('SYSPATH') or die('No direct script access.');
|
||||
|
||||
return array(
|
||||
|
||||
// Application defaults
|
||||
'default' => array(
|
||||
'current_page' => array('source' => 'query_string', 'key' => 'page'), // source: "query_string" or "route"
|
||||
'total_items' => 0,
|
||||
'items_per_page' => 10,
|
||||
'view' => 'pagination/basic',
|
||||
'auto_hide' => TRUE,
|
||||
'first_page_in_url' => FALSE,
|
||||
),
|
||||
|
||||
);
|
23
includes/kohana/modules/pagination/config/userguide.php
Normal file
23
includes/kohana/modules/pagination/config/userguide.php
Normal file
@@ -0,0 +1,23 @@
|
||||
<?php defined('SYSPATH') or die('No direct script access.');
|
||||
|
||||
return array(
|
||||
// Leave this alone
|
||||
'modules' => array(
|
||||
|
||||
// This should be the path to this modules userguide pages, without the 'guide/'. Ex: '/guide/modulename/' would be 'modulename'
|
||||
'pagination' => array(
|
||||
|
||||
// Whether this modules userguide pages should be shown
|
||||
'enabled' => TRUE,
|
||||
|
||||
// The name that should show up on the userguide index page
|
||||
'name' => 'Pagination',
|
||||
|
||||
// A short description of this module, shown on the index page
|
||||
'description' => 'Tool for creating paginated links and viewing pages of results.',
|
||||
|
||||
// Copyright message, shown in the footer for this module
|
||||
'copyright' => '© 2008–2010 Kohana Team',
|
||||
)
|
||||
)
|
||||
);
|
Reference in New Issue
Block a user