diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-12-21 19:59:44 -0800 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-12-21 19:59:44 -0800 |
commit | 9c5df1d31bd214fab051b71d092c751a1da20ecc (patch) | |
tree | a2df0fcddad1559cef0e9de53eacbbb4a8ff1da8 /modules/kohana23_compat | |
parent | e0dc5206486dc6370b102fb80b050b7c81bf2420 (diff) |
Fix preambles, and fix the File_Structure_Test to be more lenient
because of preamble variation in K24.
Diffstat (limited to 'modules/kohana23_compat')
-rw-r--r-- | modules/kohana23_compat/config/pagination.php | 42 | ||||
-rw-r--r-- | modules/kohana23_compat/libraries/Pagination.php | 20 |
2 files changed, 41 insertions, 21 deletions
diff --git a/modules/kohana23_compat/config/pagination.php b/modules/kohana23_compat/config/pagination.php index 808fc315..d2fcd2b1 100644 --- a/modules/kohana23_compat/config/pagination.php +++ b/modules/kohana23_compat/config/pagination.php @@ -1,25 +1,27 @@ -<?php defined('SYSPATH') OR die('No direct access allowed.'); +<?php defined("SYSPATH") or die("No direct script access."); /** - * @package Pagination + * Gallery - a web based photo album viewer and editor + * Copyright (C) 2000-2009 Bharat Mediratta * - * Pagination configuration is defined in groups which allows you to easily switch - * between different pagination settings for different website sections. - * Note: all groups inherit and overwrite the default group. + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. * - * Group Options: - * directory - Views folder in which your pagination style templates reside - * style - Pagination style template (matches view filename) - * uri_segment - URI segment (int or 'label') in which the current page number can be found - * query_string - Alternative to uri_segment: query string key that contains the page number - * items_per_page - Number of items to display per page - * auto_hide - Automatically hides pagination for single pages + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. */ -$config['default'] = array -( - 'directory' => 'pagination', - 'style' => 'classic', - 'uri_segment' => 3, - 'query_string' => '', - 'items_per_page' => 20, - 'auto_hide' => FALSE, +$config["default"] = array( + "directory" => "pagination", + "style" => "classic", + "uri_segment" => 3, + "query_string" => "", + "items_per_page" => 20, + "auto_hide" => FALSE ); diff --git a/modules/kohana23_compat/libraries/Pagination.php b/modules/kohana23_compat/libraries/Pagination.php index 8ff8bf94..012bc484 100644 --- a/modules/kohana23_compat/libraries/Pagination.php +++ b/modules/kohana23_compat/libraries/Pagination.php @@ -1,4 +1,22 @@ -<?php defined('SYSPATH') OR die('No direct access allowed.'); +<?php defined("SYSPATH") or die("No direct script access."); +/** + * Gallery - a web based photo album viewer and editor + * Copyright (C) 2000-2009 Bharat Mediratta + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or (at + * your option) any later version. + * + * This program is distributed in the hope that it will be useful, but + * WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston, MA 02110-1301, USA. + */ /** * Pagination library. * |