Skip to content

Commit

Permalink
Fix: W3C.
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Nov 24, 2014
1 parent 3ab8cff commit 29bfe70
Showing 1 changed file with 11 additions and 9 deletions.
20 changes: 11 additions & 9 deletions htdocs/bookmarks/card.php
Expand Up @@ -154,16 +154,16 @@
print '<input class="flat" name="position" size="5" value="'.(isset($_POST["position"])?$_POST["position"]:$bookmark->position).'">';
print '</td><td class="hideonsmartphone">&nbsp;</td></tr>';

print '</table><br>';
print '</table>';

dol_fiche_end();

print '<div align="center">';
print '<input type="submit" class="button" value="'.$langs->trans("CreateBookmark").'" name="create"> &nbsp; ';
print '<input type="submit" class="button" value="'.$langs->trans("Cancel").'" name="cancel">';
print '</div>';

print '</form>';

dol_fiche_end();
}


Expand All @@ -176,8 +176,6 @@
$bookmark->fetch($id);


dol_fiche_head($head, $hselected, $langs->trans("Bookmark"),0,'bookmark');

if ($action == 'edit')
{
print '<form name="edit" method="POST" action="'.$_SERVER["PHP_SELF"].'" enctype="multipart/form-data">';
Expand All @@ -188,6 +186,8 @@
print '<input type="hidden" name="backtopage" value="'.$backtopage.'">';
}

dol_fiche_head($head, $hselected, $langs->trans("Bookmark"),0,'bookmark');

print '<table class="border" width="100%">';

print '<tr><td width="25%">'.$langs->trans("Ref").'</td><td>'.$bookmark->ref.'</td></tr>';
Expand Down Expand Up @@ -265,12 +265,14 @@

print '</table>';

if ($action == 'edit') print '<br><div align="center"><input class="button" type="submit" name="save" value="'.$langs->trans("Save").'"> &nbsp; &nbsp; <input class="button" type="submit" name="cancel" value="'.$langs->trans("Cancel").'"></div>';

if ($action == 'edit') print '</form>';

dol_fiche_end();

if ($action == 'edit')
{
print '<div align="center"><input class="button" type="submit" name="save" value="'.$langs->trans("Save").'"> &nbsp; &nbsp; <input class="button" type="submit" name="cancel" value="'.$langs->trans("Cancel").'"></div>';
print '</form>';
}


print "<div class=\"tabsAction\">\n";

Expand Down

0 comments on commit 29bfe70

Please sign in to comment.