Home » Projects » Mambo CMS » SVN » Browse repository
Diff of /mambo/branches/4.6/mambots/content/mospaging.php
Parent Directory
|
Revision Log
|
Patch
| 26 |
* <code>{mospagebreak heading=The first page&title=The page title}</code> |
* <code>{mospagebreak heading=The first page&title=The page title}</code> |
| 27 |
* |
* |
| 28 |
*/ |
*/ |
| 29 |
function botMosPaging( $published, &$row, &$cparams, $page=0, $botparams ) { |
function botMosPaging( $published, &$row, &$cparams, $page=0, $params ) { |
| 30 |
global $mainframe, $Itemid, $database; |
global $mainframe, $Itemid, $database; |
| 31 |
|
|
| 32 |
// expression to search for |
// expression to search for |
| 50 |
// we have found at least one mambot, therefore at least 2 pages |
// we have found at least one mambot, therefore at least 2 pages |
| 51 |
if ($n > 1) { |
if ($n > 1) { |
| 52 |
// load mambot params info |
// load mambot params info |
|
$params =& new mosParameters( $botparams ); |
|
|
|
|
| 53 |
$title = $params->def( 'title', 1 ); |
$title = $params->def( 'title', 1 ); |
| 54 |
|
|
| 55 |
// adds heading or title to <site> Title |
// adds heading or title to <site> Title |
|
|
Legend:
| Removed from v.128 |
|
| changed lines |
| |
Added in v.129 |
|
|

Web Hosting provided by Network
Redux.