This changes the behaviour of the script to immediately save the added
lease to file but still remain in edit mode to make changes.
If the user does not make any changes, the lease is immediately saved
and there is no second click required to write it to file.
This a more natural flow that is expected by almost all users of this
feature.
Fixes: #12050
Signed-off-by: Bernhard Bitsch <bbitsch@ipfire.org>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
They key was remembered but then the array was sorted which resulted
the key showing a wrong line.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Mark required input fields with a star as nowadays this is
the de-facto default. Before, it was the other way around and
optional fields were marked.
Signed-off-by: Lars Schumacher <larsen007@web.de>
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This caused a bug that when the user wanted to edit one
of the static leases and clicked on the edit icon that
an other entry opened up for editing.
Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
After a lease has been added from the list of leases it is often
desirable to edit it right away. It appeared that the system
was in edit mode after the lease has been added because the form
had the values of the recently added lease, but hitting the
"Add" button cause an error message that stated that this is
a duplicate entry.
This patch will switch to edit more where the user can change
the values and hit "Update". If he or she chooses to ignore
that the entry is still saved.
These changes allow a user to use RFC2136 in order to
update their (public) DNS zone with the dynamic or
static leases.
A TSIG key may optionally be used to authenticate
the updates.
* Kleiner Tux im Webinterface für den eXciter und den Benne :)
Geändert:
* time.cgi überarbeitet und Funktion verbessert.
* index.cgi - noch ein Paar Fehler behoben oder was hinzugefügt.
* FLASH-Eintrag aus der crontab gelöscht.
* Online-Hilfe-Rettungsringe (die hässlichen) aus den CGIs entfernt.
* Logger von ipcop nach ipfire umgestellt.
Gelöscht:
* Nicht benötigte Reste vom IPCop entfernt.
git-svn-id: http://svn.ipfire.org/svn/ipfire/trunk@160 ea5c0bd1-69bd-2848-81d8-4f18e57aeed8