@@ 216-218 (lines=3) @@ | ||
213 | break; |
|
214 | case $_lang['configcheck_templateswitcher_present'] : |
|
215 | $msg = $_lang["configcheck_templateswitcher_present_msg"]; |
|
216 | if(isset($_SESSION['mgrPermissions']['save_plugin']) && $_SESSION['mgrPermissions']['save_plugin'] == '1') { |
|
217 | $msg .= '<br />' . $_lang["configcheck_templateswitcher_present_disable"]; |
|
218 | } |
|
219 | if(isset($_SESSION['mgrPermissions']['delete_plugin']) && $_SESSION['mgrPermissions']['delete_plugin'] == '1') { |
|
220 | $msg .= '<br />' . $_lang["configcheck_templateswitcher_present_delete"]; |
|
221 | } |
|
@@ 219-221 (lines=3) @@ | ||
216 | if(isset($_SESSION['mgrPermissions']['save_plugin']) && $_SESSION['mgrPermissions']['save_plugin'] == '1') { |
|
217 | $msg .= '<br />' . $_lang["configcheck_templateswitcher_present_disable"]; |
|
218 | } |
|
219 | if(isset($_SESSION['mgrPermissions']['delete_plugin']) && $_SESSION['mgrPermissions']['delete_plugin'] == '1') { |
|
220 | $msg .= '<br />' . $_lang["configcheck_templateswitcher_present_delete"]; |
|
221 | } |
|
222 | $msg .= '<br />' . sprintf($_lang["configcheck_hide_warning"], 'templateswitcher_present'); |
|
223 | $warnings[$i][1] = "<span id=\"templateswitcher_present_warning_wrapper\">{$msg}</span>\n"; |
|
224 | break; |