diff options
| author | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-12 13:54:45 +0000 |
|---|---|---|
| committer | thomasb <thomasb@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2008-04-12 13:54:45 +0000 |
| commit | 83a4e859f8ae505f06c184eb60577529ff6c4be8 (patch) | |
| tree | eea0a263dd79a697205db95f0a3b5600e6aa70c9 /roundcubemail/program/steps/addressbook/edit.inc | |
| parent | 1d297be10effab84c7e084bfc70651f99b10e91b (diff) | |
Changed codebase to PHP5 with autoloader + added some new classes from the devel-vnext branch
git-svn-id: https://svn.roundcube.net/trunk@1291 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/steps/addressbook/edit.inc')
| -rw-r--r-- | roundcubemail/program/steps/addressbook/edit.inc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/roundcubemail/program/steps/addressbook/edit.inc b/roundcubemail/program/steps/addressbook/edit.inc index 47db7197d..e3218a35e 100644 --- a/roundcubemail/program/steps/addressbook/edit.inc +++ b/roundcubemail/program/steps/addressbook/edit.inc @@ -89,7 +89,7 @@ function get_form_tags($attrib) $form_start = ''; if (!strlen($EDIT_FORM)) { - $hiddenfields = new hiddenfield(array('name' => '_task', 'value' => $GLOBALS['_task'])); + $hiddenfields = new html_hiddenfield(array('name' => '_task', 'value' => $GLOBALS['_task'])); $hiddenfields->add(array('name' => '_action', 'value' => 'save', 'source' => get_input_value('_source', RCUBE_INPUT_GPC))); if (($result = $CONTACTS->get_result()) && ($record = $result->first())) @@ -114,8 +114,8 @@ function get_form_tags($attrib) if (!$CONTACTS->get_result() && template_exists('addcontact')) - parse_template('addcontact'); + $OUTPUT->send('addcontact'); // this will be executed if no template for addcontact exists -parse_template('editcontact'); +$OUTPUT->send('editcontact'); ?>
\ No newline at end of file |
