Correct handling of image path; CSS info for button
This commit is contained in:
parent
0d4e425cba
commit
60fc4cf2f5
|
@ -62,6 +62,10 @@ input {
|
|||
font-weight:bold;
|
||||
background-color:#CCCCFF;
|
||||
}
|
||||
button {
|
||||
font-weight:bold;
|
||||
background-color:#CCCCFF;
|
||||
}
|
||||
|
||||
fieldset {
|
||||
background-color:#EEEEEE;
|
||||
|
|
|
@ -578,7 +578,7 @@ $sections = '<option value="0">' . _('Beginning') . "</option>\n";
|
|||
// Print every entry in the current structure
|
||||
foreach($_SESSION['currentPDFStructure'] as $key => $entry) {
|
||||
// Create the up/down/remove links
|
||||
$links = "\t\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t\t<a href=\"pdfpage.php?type=" . $_GET['type'] . "&up=" . $key . (($_GET['edit']) ? 'edit=' . $_GET['edit'] : '') . "\"><img src=\"/graphics/up.gif\" alt=\"" . _("UP") . "\" border=\"0\"></a>\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t<td width=\"10\">\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t\t<a href=\"pdfpage.php?type=" . $_GET['type'] . "&down=" . $key . (($_GET['edit']) ? 'edit=' . $_GET['edit'] : '') . "\"><img src=\"/graphics/down.gif\" alt=\"" . _("Down") . "\" border=\"0\"></a>\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t<td width=\"10\">\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t\t<a href=\"pdfpage.php?type=" . $_GET['type'] . "&remove=" . $key . (($_GET['edit']) ? 'edit=' . $_GET['edit'] : '') . "\"><img src=\"/graphics/delete.gif\" alt=\"" . _("Remove") . "\" border=\"0\"></a>\n\t\t\t\t\t\t\t\t\t</td>\n";
|
||||
$links = "\t\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t\t<a href=\"pdfpage.php?type=" . $_GET['type'] . "&up=" . $key . (($_GET['edit']) ? 'edit=' . $_GET['edit'] : '') . "\"><img src=\"../../graphics/up.gif\" alt=\"" . _("UP") . "\" border=\"0\"></a>\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t<td width=\"10\">\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t\t<a href=\"pdfpage.php?type=" . $_GET['type'] . "&down=" . $key . (($_GET['edit']) ? 'edit=' . $_GET['edit'] : '') . "\"><img src=\"../../graphics/down.gif\" alt=\"" . _("Down") . "\" border=\"0\"></a>\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t<td width=\"10\">\n\t\t\t\t\t\t\t\t\t</td>\n\t\t\t\t\t\t\t\t\t<td>\n\t\t\t\t\t\t\t\t\t\t<a href=\"pdfpage.php?type=" . $_GET['type'] . "&remove=" . $key . (($_GET['edit']) ? 'edit=' . $_GET['edit'] : '') . "\"><img src=\"../../graphics/delete.gif\" alt=\"" . _("Remove") . "\" border=\"0\"></a>\n\t\t\t\t\t\t\t\t\t</td>\n";
|
||||
// We have a new section to start
|
||||
if($entry['tag'] == "SECTION" && $entry['type'] == "open") {
|
||||
$name = $entry['attributes']['NAME'];
|
||||
|
|
Loading…
Reference in New Issue