| 1 |
<?php |
<?php |
| 2 |
/** |
/** |
|
* @version $Id: mospaging.php,v 1.1 2005/07/22 01:57:49 eddieajau Exp $ |
|
| 3 |
* @package Mambo |
* @package Mambo |
| 4 |
* @copyright (C) 2000 - 2005 Miro International Pty Ltd |
* @author Mambo Foundation Inc see README.php |
| 5 |
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL |
* @copyright Mambo Foundation Inc. |
| 6 |
* Mambo is Free Software |
* See COPYRIGHT.php for copyright notices and details. |
| 7 |
|
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL, see |
| 8 |
|
* LICENSE.php |
| 9 |
|
* Mambo is free software; you can redistribute it and/or |
| 10 |
|
* modify it under the terms of the GNU General Public License |
| 11 |
|
* as published by the Free Software Foundation; version 2 of the |
| 12 |
|
* License. |
| 13 |
*/ |
*/ |
| 14 |
|
|
| 15 |
/** ensure this file is being included by a parent file */ |
/** ensure this file is being included by a parent file */ |
| 34 |
function botMosPaging( $published, &$row, &$cparams, $page=0, $params ) { |
function botMosPaging( $published, &$row, &$cparams, $page=0, $params ) { |
| 35 |
global $mainframe, $Itemid, $database; |
global $mainframe, $Itemid, $database; |
| 36 |
|
|
| 37 |
|
if (strtolower(get_class($row)) != 'mosextendedcontent') return; |
| 38 |
|
|
| 39 |
// expression to search for |
// expression to search for |
| 40 |
$regex = '/{(mospagebreak)\s*(.*?)}/i'; |
$regex = '/{(mospagebreak)\s*(.*?)}/i'; |
| 41 |
|
|