X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-memedit.php;h=a778d5be46b03bc83dbbe15173f81b09fdea6fd9;hb=7fb9bf8320c56b536a5cb7658f45823f013848f4;hp=d3c27d7c0fc949cca03d7c055df3f8542eab5242;hpb=6914ebaaae909093df86d010e4c754a43d1a1aed;p=mailer.git diff --git a/inc/modules/admin/what-memedit.php b/inc/modules/admin/what-memedit.php index d3c27d7c0f..a778d5be46 100644 --- a/inc/modules/admin/what-memedit.php +++ b/inc/modules/admin/what-memedit.php @@ -14,8 +14,6 @@ * $Date:: $ * * $Tag:: 0.2.1-FINAL $ * * $Author:: $ * - * Needs to be in all Files and every File needs "svn propset * - * svn:keywords Date Revision" (autoprobset!) at least!!!!!! * * -------------------------------------------------------------------- * * Copyright (c) 2003 - 2009 by Roland Haeder * * Copyright (c) 2009, 2010 by Mailer Developer Team * @@ -76,7 +74,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive() ); // Load template - $OUT .= loadTemplate('form_submit_member_menu_row', true, $data); + $OUT .= loadTemplate('admin_edit_member_menu_row', true, $data); } else { // Entry not found? $data = array( @@ -95,8 +93,8 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive() $content['cnt'] = $cnt; // Load template - loadTemplate('form_submit_member_menu', false, $content); -} elseif ((isFormSent('del')) && (ifPostContainsSelections()) && (!isDemoModeActive())) { + loadTemplate('admin_edit_member_menu', false, $content); +} elseif ((isFormSent('delete')) && (ifPostContainsSelections()) && (!isDemoModeActive())) { // Del menu entries with or without confirmation $content['sub'] = $SUB; $content['chk'] = countPostSelection(); @@ -116,7 +114,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive() ); // Load template - $OUT .= loadTemplate('admin_del_member_menu_row', true, $content); + $OUT .= loadTemplate('admin_delete_member_menu_row', true, $content); } else { // Entry not found? $content = array( @@ -133,7 +131,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive() $content['cnt'] = $cnt; // Load template - loadTemplate('admin_del_member_menu', false, $content); + loadTemplate('admin_delete_member_menu', false, $content); } elseif ((isPostRequestParameterSet('status')) && (ifPostContainsSelections()) && (!isDemoModeActive())) { // Change status (visible / locked) $content['sub'] = $SUB; @@ -189,7 +187,7 @@ if ((isFormSent('edit')) && (ifPostContainsSelections()) && (!isDemoModeActive() array($menu, postRequestParameter('sel_act', $sel), postRequestParameter('sel_what', $sel), $sel), __FILE__, __LINE__); break; - case 'del': // Delete menu + case 'delete': // Delete menu SQL_QUERY_ESC("DELETE LOW_PRIORITY FROM `{?_MYSQL_PREFIX?}_member_menu` WHERE ".$AND." AND `id`=%s LIMIT 1", array($sel), __FILE__, __LINE__); break;