diff options
author | Michael Tänzer <neo@nhng.de> | 2014-04-11 18:38:15 +0200 |
---|---|---|
committer | Michael Tänzer <neo@nhng.de> | 2014-04-11 18:38:15 +0200 |
commit | 878e87615113f3b33ff517f30e2a3c4e0ecd0489 (patch) | |
tree | fcc832aaa2eddba68c93cd409cef4d421549bf39 | |
parent | 255dd8fa9169bef6284110b0d546cd336ce54687 (diff) | |
download | cacert-devel-878e87615113f3b33ff517f30e2a3c4e0ecd0489.tar.gz cacert-devel-878e87615113f3b33ff517f30e2a3c4e0ecd0489.tar.xz cacert-devel-878e87615113f3b33ff517f30e2a3c4e0ecd0489.zip |
bug 1138: Source code layout
Signed-off-by: Michael Tänzer <neo@nhng.de>
-rw-r--r-- | pages/account/43.php | 4 | ||||
-rw-r--r-- | pages/account/44.php | 16 |
2 files changed, 15 insertions, 5 deletions
diff --git a/pages/account/43.php b/pages/account/43.php index c69ecb6..9a9d75f 100644 --- a/pages/account/43.php +++ b/pages/account/43.php @@ -14,8 +14,8 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ ?> -<? +*/ + include_once($_SESSION['_config']['filepath']."/includes/notary.inc.php"); $ticketno=''; diff --git a/pages/account/44.php b/pages/account/44.php index a26ab0f..8546c07 100644 --- a/pages/account/44.php +++ b/pages/account/44.php @@ -14,10 +14,20 @@ You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA -*/ ?> -<? if(array_key_exists('error',$_SESSION['_config']) && $_SESSION['_config']['error'] != "") { ?><div color="orange">ERROR: <?=$_SESSION['_config']['error']?></div><? unset($_SESSION['_config']['error']); } +*/ + +if(array_key_exists('error',$_SESSION['_config']) && $_SESSION['_config']['error'] != "") { + ?> + <div color="orange">ERROR: <?=$_SESSION['_config']['error']?></div> + <? + unset($_SESSION['_config']['error']); +} + +$ticketno = ""; +if (array_key_exists('ticketno', $_SESSION)) { + $ticketno = $_SESSION['ticketno']; +} -$ticketno = ""; if(array_key_exists('ticketno', $_SESSION)) $ticketno = $_SESSION['ticketno']; if (!valid_ticket_number($ticketno)) { printf(_("I'm sorry, you did not enter a ticket number!%sYou cannot reset the password."), '<br/>'); echo '<br/><a href="account.php?id=43&userid='.intval($_REQUEST['userid']).'">'._('Back to previous page.').'</a>'; |