From c23b50400979c4d780d3e6af9616f5216471a7da Mon Sep 17 00:00:00 2001 From: Roland Gruber Date: Wed, 24 Oct 2007 17:31:14 +0000 Subject: [PATCH] fixed PHP notices --- lam/templates/pdfedit/pdfpage.php | 34 +++++++++++++++---------------- 1 file changed, 17 insertions(+), 17 deletions(-) diff --git a/lam/templates/pdfedit/pdfpage.php b/lam/templates/pdfedit/pdfpage.php index 659217c2..1a7e1da8 100644 --- a/lam/templates/pdfedit/pdfpage.php +++ b/lam/templates/pdfedit/pdfpage.php @@ -3,7 +3,7 @@ $Id$ This code is part of LDAP Account Manager (http://www.sourceforge.net/projects/lam) - Copyright (C) 2003 - 2006 Michael Dürgner + Copyright (C) 2003 - 2006 Michael D�rgner This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -26,7 +26,7 @@ $Id$ /** * Displays the main page of the PDF editor where the user can select the displayed entries. * -* @author Michael Dürgner +* @author Michael Duergner * @author Roland Gruber * @package PDF */ @@ -353,7 +353,7 @@ elseif(isset($_GET['down'])) { // Load PDF structure from file if it is not defined in session if(!isset($_SESSION['currentPDFStructure'])) { // Load structure file to be edit - if($_GET['edit']) { + if(isset($_GET['edit'])) { $load = loadPDFStructureDefinitions($_GET['type'],$_GET['edit']); $_SESSION['currentPDFStructure'] = $load['structure']; $_SESSION['currentPageDefinitions'] = $load['page_definitions']; @@ -457,21 +457,21 @@ $sections = '\n"; foreach($_SESSION['currentPDFStructure'] as $key => $entry) { // Create the up/down/remove links $links = "\n" . + (isset($_GET['pdfname']) ? '&pdfname=' . $_GET['pdfname'] : '') . + (isset($_GET['headline']) ? '&headline=' . $_GET['headline'] : '') . + (isset($_GET['logoFile']) ? '&logoFile=' . $_GET['logoFile'] : '') . "\">" . "\""\n\n" . "\n\n" . "\n" . + (isset($_GET['pdfname']) ? '&pdfname=' . $_GET['pdfname'] : '') . + (isset($_GET['headline']) ? '&headline=' . $_GET['headline'] : '') . + (isset($_GET['logoFile']) ? '&logoFile=' . $_GET['logoFile'] : '') . "\">" . "\""\n\n" . "\n\n" . "\n" . + (isset($_GET['pdfname']) ? '&pdfname=' . $_GET['pdfname'] : '') . + (isset($_GET['headline']) ? '&headline=' . $_GET['headline'] : '') . + (isset($_GET['logoFile']) ? '&logoFile=' . $_GET['logoFile'] : '') . "\">" . "\""\n\n"; // We have a new section to start if($entry['tag'] == "SECTION" && $entry['type'] == "open") { @@ -737,14 +737,14 @@ foreach($_SESSION['availablePDFFields'] as $module => $fields) { $fields) { - + @@ -773,7 +773,7 @@ foreach($_SESSION['availablePDFFields'] as $module => $fields) { ">
: - + @@ -752,7 +752,7 @@ foreach($_SESSION['availablePDFFields'] as $module => $fields) {
-   +  
-   +