Home » Projects » Mambo CMS » SVN » Browse repository
Diff of /mambo/branches/4.6/administrator/components/com_modules/admin.modules.php
Parent Directory
|
Revision Log
|
Patch
| 136 |
. "\n LIMIT $pageNav->limitstart,$pageNav->limit" |
. "\n LIMIT $pageNav->limitstart,$pageNav->limit" |
| 137 |
); |
); |
| 138 |
$rows = $database->loadObjectList(); |
$rows = $database->loadObjectList(); |
| 139 |
|
if ($rows) { |
| 140 |
|
foreach($rows as $row) { |
| 141 |
|
$row->title = htmlspecialchars( str_replace( '&', '&', $row->title ) ); |
| 142 |
|
} |
| 143 |
|
} |
| 144 |
if ($database->getErrorNum()) { |
if ($database->getErrorNum()) { |
| 145 |
echo $database->stderr(); |
echo $database->stderr(); |
| 146 |
return false; |
return false; |
| 242 |
} |
} |
| 243 |
|
|
| 244 |
// special access groups |
// special access groups |
| 245 |
if (is_array($row->groups)) |
if (is_array($row->groups)) { |
| 246 |
$row->groups = implode(',',$row->groups); |
$row->groups = implode(',',$row->groups); |
| 247 |
else |
} else { |
| 248 |
$row->groups = ''; |
$row->groups = ''; |
| 249 |
|
} |
| 250 |
|
|
| 251 |
if (!$row->check()) { |
if (!$row->check()) { |
| 252 |
echo "<script> alert('".$row->getError()."'); window.history.go(-1); </script>\n"; |
echo "<script> alert('".$row->getError()."'); window.history.go(-1); </script>\n"; |
| 312 |
exit(0); |
exit(0); |
| 313 |
} |
} |
| 314 |
|
|
| 315 |
|
$row->title = htmlspecialchars( str_replace( '&', '&', $row->title ) ); |
| 316 |
$row->content = htmlspecialchars( str_replace( '&', '&', $row->content ) ); |
$row->content = htmlspecialchars( str_replace( '&', '&', $row->content ) ); |
| 317 |
|
|
| 318 |
if ( $uid ) { |
if ( $uid ) { |
|
|
Legend:
| Removed from v.1484 |
|
| changed lines |
| |
Added in v.1485 |
|
|

Web Hosting provided by Network
Redux.