Revision 979
Added by Matthias over 15 years ago
class.admin.php | ||
---|---|---|
349 | 349 |
return str_replace("{MODULE_DIRECTORY}", $tool['directory'], $base_link); |
350 | 350 |
} |
351 | 351 |
} |
352 |
} elseif(isset($_GET['page_id'])) { |
|
352 |
} elseif(isset($_GET['page_id']) or isset($_POST['page_id'])) {
|
|
353 | 353 |
// check if displayed page in the backend contains a page module |
354 |
$page_id = (int) addslashes($_GET['page_id']); |
|
354 |
if (isset($_GET['page_id'])) { |
|
355 |
$page_id = (int) addslashes($_GET['page_id']); |
|
356 |
} else { |
|
357 |
$page_id = (int) addslashes($_POST['page_id']); |
|
358 |
} |
|
355 | 359 |
|
356 | 360 |
// gather information for all models embedded on actual page |
357 | 361 |
$query_modules = $database->query("SELECT module FROM " .TABLE_PREFIX ."sections |
Also available in: Unified diff
Fixed bug with not always included stylesheets in backend (ticket #717)