Home » Projects » Mambo CMS » SVN » Browse repository
Diff of /mambo/branches/4.6/mambots/content/mospaging.php
Parent Directory
|
Revision Log
|
Patch
| 1 |
<?php |
<?php |
| 2 |
/** |
/** |
| 3 |
* @version $Id: mospaging.php,v 1.1 2005/07/22 01:57:49 eddieajau Exp $ |
* @package Mambo Open Source |
| 4 |
* @package Mambo |
* @copyright (C) 2005 - 2006 Mambo Foundation Inc. |
|
* @copyright (C) 2000 - 2005 Miro International Pty Ltd |
|
| 5 |
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL |
* @license http://www.gnu.org/copyleft/gpl.html GNU/GPL |
| 6 |
|
* |
| 7 |
|
* Mambo was originally developed by Miro (www.miro.com.au) in 2000. Miro assigned the copyright in Mambo to The Mambo Foundation in 2005 to ensure |
| 8 |
|
* that Mambo remained free Open Source software owned and managed by the community. |
| 9 |
* Mambo is Free Software |
* Mambo is Free Software |
| 10 |
*/ |
*/ |
| 11 |
|
|
| 31 |
function botMosPaging( $published, &$row, &$cparams, $page=0, $params ) { |
function botMosPaging( $published, &$row, &$cparams, $page=0, $params ) { |
| 32 |
global $mainframe, $Itemid, $database; |
global $mainframe, $Itemid, $database; |
| 33 |
|
|
| 34 |
|
if (get_class($row) != 'mosExtendedContent') return; |
| 35 |
|
|
| 36 |
// expression to search for |
// expression to search for |
| 37 |
$regex = '/{(mospagebreak)\s*(.*?)}/i'; |
$regex = '/{(mospagebreak)\s*(.*?)}/i'; |
| 38 |
|
|
|
|
Legend:
| Removed from v.183 |
|
| changed lines |
| |
Added in v.297 |
|
|

Web Hosting provided by Network
Redux.