Minor code block comment clean ups

This commit is contained in:
Clemens Schwaighofer
2022-07-15 17:42:38 +09:00
parent f5daaca598
commit b5ead3e266
3 changed files with 8 additions and 5 deletions

View File

@@ -2,9 +2,9 @@
/******************************************************************** /********************************************************************
* AUTHOR: Clemens Schwaighofer * AUTHOR: Clemens Schwaighofer
* CREATED: 2008/08/14 * CREATED:
* SHORT DESCRIPTION: * SHORT DESCRIPTION:
* URL redirect header *
* HISTORY: * HISTORY:
*********************************************************************/ *********************************************************************/

View File

@@ -2,8 +2,9 @@
/******************************************************************** /********************************************************************
* AUTHOR: Clemens Schwaighofer * AUTHOR: Clemens Schwaighofer
* CREATED: 2008/08/01 * CREATED:
* SHORT DESCRIPTION: * SHORT DESCRIPTION:
*
* HISTORY: * HISTORY:
*********************************************************************/ *********************************************************************/

View File

@@ -1287,6 +1287,7 @@ class Login
. $strings['PASSWORD_CHANGE_BUTTON_VALUE'] . $strings['PASSWORD_CHANGE_BUTTON_VALUE']
. '" OnClick="ShowHideDiv(\'pw_change_div\');">' . '" OnClick="ShowHideDiv(\'pw_change_div\');">'
]); ]);
// TODO: submit or JS to set target page as ajax call
// NOTE: for the HTML block I ignore line lengths // NOTE: for the HTML block I ignore line lengths
// phpcs:disable // phpcs:disable
$this->login_template['password_change'] = <<<EOM $this->login_template['password_change'] = <<<EOM
@@ -1329,9 +1330,11 @@ EOM;
} }
// now check templates // now check templates
// TODO: submit or JS to set target page as ajax call
if (!$this->login_template['template']) { if (!$this->login_template['template']) {
$this->login_template['template'] = <<<EOM $this->login_template['template'] = <<<EOM
<html> <!DOCTYPE html>
<html lang="en">
<head> <head>
<title>{HTML_TITLE}</title> <title>{HTML_TITLE}</title>
<style type="text/css"> <style type="text/css">
@@ -1485,7 +1488,6 @@ EOM;
} }
// initial the session if there is no session running already // initial the session if there is no session running already
// check if session exists and could be created // check if session exists and could be created
// TODO: move session creation and check to outside?
if ($this->session->checkActiveSession() === false) { if ($this->session->checkActiveSession() === false) {
$this->login_error = 2; $this->login_error = 2;
echo '<b>No active session found</b>'; echo '<b>No active session found</b>';