mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
remove no longer needed method _printMessage()
This commit is contained in:
parent
0abcfb4d12
commit
c56d18299c
|
@ -28,16 +28,6 @@ include("../inc/inc.ClassSession.php");
|
|||
include("../inc/inc.DBInit.php");
|
||||
include("../inc/inc.ClassUI.php");
|
||||
|
||||
function _printMessage($heading, $message) {
|
||||
|
||||
UI::htmlStartPage($heading, "password");
|
||||
UI::globalBanner();
|
||||
UI::pageNavigation($heading);
|
||||
UI::contentContainer($message."<p><a href=\"../out/out.Login.php\">" . getMLText("login") . "</a></p>\n");
|
||||
UI::htmlEndPage();
|
||||
return;
|
||||
}
|
||||
|
||||
/* Check if the form data comes from a trusted request */
|
||||
if(!checkFormKey('changepassword')) {
|
||||
UI::exitError(getMLText("folder_title", array("foldername" => getMLText("invalid_request_token"))),getMLText("invalid_request_token"));
|
||||
|
|
Loading…
Reference in New Issue
Block a user