projects
/
mailer.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More rewrites to make use of (cached) wrapper functions
[mailer.git]
/
inc
/
modules
/
admin
/
what-memedit.php
diff --git
a/inc/modules/admin/what-memedit.php
b/inc/modules/admin/what-memedit.php
index 0349a74b3563586efb42342571885c8e262c75b0..82f666c408fd16d0bb587aa0a101b173c11b6826 100644
(file)
--- a/
inc/modules/admin/what-memedit.php
+++ b/
inc/modules/admin/what-memedit.php
@@
-54,7
+54,7
@@
if (isGetRequestParameterSet('sub')) {
} // END - if
// List all menu points and make them editable
} // END - if
// List all menu points and make them editable
-if ((isFormSent('edit')) && (
countPostSelection() > 0
) && (!isDemoModeActive())) {
+if ((isFormSent('edit')) && (
ifPostContainsSelections()
) && (!isDemoModeActive())) {
// Edit menu entries
$content['sub'] = $SUB;
$content['chk'] = countPostSelection();
// Edit menu entries
$content['sub'] = $SUB;
$content['chk'] = countPostSelection();
@@
-96,7
+96,7
@@
if ((isFormSent('edit')) && (countPostSelection() > 0) && (!isDemoModeActive()))
// Load template
loadTemplate('admin_mmenu_edit', false, $content);
// Load template
loadTemplate('admin_mmenu_edit', false, $content);
-} elseif ((isFormSent('del')) && (
countPostSelection() > 0
) && (!isDemoModeActive())) {
+} elseif ((isFormSent('del')) && (
ifPostContainsSelections()
) && (!isDemoModeActive())) {
// Del menu entries with or without confirmation
$content['sub'] = $SUB;
$content['chk'] = countPostSelection();
// Del menu entries with or without confirmation
$content['sub'] = $SUB;
$content['chk'] = countPostSelection();
@@
-134,7
+134,7
@@
if ((isFormSent('edit')) && (countPostSelection() > 0) && (!isDemoModeActive()))
// Load template
loadTemplate('admin_mmenu_delete', false, $content);
// Load template
loadTemplate('admin_mmenu_delete', false, $content);
-} elseif ((isPostRequestParameterSet('status')) && (
countPostSelection() > 0
) && (!isDemoModeActive())) {
+} elseif ((isPostRequestParameterSet('status')) && (
ifPostContainsSelections()
) && (!isDemoModeActive())) {
// Change status (visible / locked)
$content['sub'] = $SUB;
$content['chk'] = countPostSelection();
// Change status (visible / locked)
$content['sub'] = $SUB;
$content['chk'] = countPostSelection();