Diff of /mambo/branches/4.6/modules/mod_sections.php
Parent Directory
|
Revision Log
|
Patch
| revision 1431, Wed Nov 28 15:56:52 2007 UTC | revision 1432, Wed Nov 28 16:52:22 2007 UTC | |
|---|---|---|
| # | Line 10 | Line 10 |
| 10 | * as published by the Free Software Foundation; version 2 of the License. | * as published by the Free Software Foundation; version 2 of the License. |
| 11 | */ | */ |
| 12 | ||
| 13 | global $mosConfig_offset; | global $mosConfig_offset, $Itemid; |
| 14 | ||
| 15 | //** ensure this file is being included by a parent file */ | //** ensure this file is being included by a parent file */ |
| 16 | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); | defined( '_VALID_MOS' ) or die( 'Direct Access to this location is not allowed.' ); |
| # | Line 40 | Line 40 |
| 40 | echo "<ul>\n"; | echo "<ul>\n"; |
| 41 | if ($rows) { | if ($rows) { |
| 42 | foreach ($rows as $row) { | foreach ($rows as $row) { |
| 43 | echo " <li><a href=\"" . sefRelToAbs("index.php?option=com_content&task=blogsection&id=".$row->id) . "\">" . $row->title . "</a></li>\n"; | echo " <li><a href=\"" . sefRelToAbs("index.php?option=com_content&task=blogsection&id=".$row->id) . ($Itemid ? "&Itemid=$Itemid" : '') . "\">" . $row->title . "</a></li>\n"; |
| 44 | } | } |
| 45 | echo "</ul>\n"; | echo "</ul>\n"; |
| 46 | } | } |
|
||||||||
| ViewVC Help | |
| Powered by ViewVC 1.0.0 |
Web Hosting provided by Network Redux.

