Ejemplo n.º 1
0
?>
<table cellspacing="0" cellpadding="1" border="0" width="100%">
<tr>
        <td align="left" class="title">
            <?php 
echo $LangUI->_('Saved Shopping Lists');
?>
        </td>
</tr>
</table>
<p>
<?php 
if ($mode == "delete") {
    // Drop the old values
    $listObj = new ShoppingList($_GET["list_id"]);
    $listObj->deleteShoppingList();
    echo $LangUI->_('List Deleted.') . "<p>";
} else {
    if ($mode == "edit") {
        ?>
<!-- Edit form -->
<form name="editFrom" action="index.php?m=lists&amp;a=saved" method="post">
<input type="hidden" name="mode" value="edit_confirm">
<input type="hidden" name="list_id" value="<?php 
        echo $_GET["list_id"];
        ?>
">
<?php 
        echo $LangUI->_('List Name');
        ?>
: <input type="text" name="list_name" value="<?php