?> : <input type="text" name="list_name" value="<?php echo htmlentities($_GET["list_name"], ENT_QUOTES); ?> "> <input type="submit" value="<?php echo $LangUI->_('Update'); ?> "> </form> <!-- End of Edit form --> <?php } else { if ($mode == "edit_confirm") { $listObj = new ShoppingList(htmlentities($_POST["list_id"], ENT_QUOTES), htmlentities($_POST["list_name"], ENT_QUOTES)); $listObj->updateListName(); echo $LangUI->_('List Name Updated.') . "<br />"; } } } if ($mode != "edit") { // spit out a list of list names to choose from $counter = 0; $sql = "SELECT * FROM {$db_table_list_names} WHERE list_user='******'"; $rc = $DB_LINK->Execute($sql); if ($rc->RecordCount() > 0) { ?> <table cellspacing="1" cellpadding="2" border=0 width="95%" class="data"> <tr> <th><?php echo $LangUI->_('List Name');