Datenbankadministration: Es fehlte ein Button, um von der Datenbanksicherung per...
authorMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 12 Jun 2007 14:24:14 +0000 (14:24 +0000)
committerMoritz Bunkus <m.bunkus@linet-services.de>
Tue, 12 Jun 2007 14:24:14 +0000 (14:24 +0000)
bin/mozilla/admin.pl
bin/mozilla/ir.pl
locale/de/admin
locale/de/all
locale/de/oe
templates/webpages/admin/backup_dataset_de.html
templates/webpages/admin/backup_dataset_master.html
templates/webpages/dbupgrade/units_error_de.html

index edbb35c..b8ec2f7 100644 (file)
@@ -579,6 +579,10 @@ sub continue {
   call_sub($form->{"nextsub"});
 }
 
+sub back {
+  call_sub($form->{"back_nextsub"});
+}
+
 sub update_dataset {
   $form->{title} =
       "Lx-Office ERP "
index 24e75ea..77f911d 100644 (file)
@@ -46,6 +46,7 @@ require "bin/mozilla/drafts.pl";
 
 sub add {
   $lxdebug->enter_sub();
+  $form->{"Watchdog::invdate,duedate,vendor,vendor_id"} = 1;
 
   return $lxdebug->leave_sub() if (load_draft_maybe());
 
index fe2c915..bb24d7c 100644 (file)
@@ -118,6 +118,7 @@ $self->{subs} = {
   'Q'                           => 'Q',
   'add_user'                    => 'add_user',
   'adminlogin'                  => 'adminlogin',
+  'back'                        => 'back',
   'backup_dataset'              => 'backup_dataset',
   'backup_dataset_start'        => 'backup_dataset_start',
   'build_std_url'               => 'build_std_url',
@@ -163,6 +164,7 @@ $self->{subs} = {
   'update_dataset'              => 'update_dataset',
   'vendor_selection'            => 'vendor_selection',
   'benutzer_erfassen'           => 'add_user',
+  'zurück'                      => 'back',
   'datenbank_sichern'           => 'backup_dataset',
   'administratorpasswort_ändern' => 'change_admin_password',
   'passwort_ändern'             => 'change_password',
index ecbc1fa..3c57907 100644 (file)
@@ -170,7 +170,7 @@ aktualisieren wollen?',
   'Automatically created invoice for fee and interest for dunning %s' => 'Automatisch erzeugte Rechnung für Gebühren und Zinsen zu Mahnung %s',
   'BOM'                         => 'Stückliste',
   'BWA'                         => 'BWA',
-  'Back'                        => 'Zur&uuml;ck',
+  'Back'                        => 'Zurück',
   'Backup Dataset'              => 'Datenbank sichern',
   'Backup file'                 => 'Sicherungsdatei',
   'Backup of dataset'           => 'Sicherung der Datenbank',
index 639a795..61128e3 100644 (file)
@@ -288,6 +288,7 @@ $self->{subs} = {
   'build_std_url'               => 'build_std_url',
   'calculate_qty'               => 'calculate_qty',
   'call_sub'                    => 'call_sub',
+  'check_delivered_flag'        => 'check_delivered_flag',
   'check_for_direct_delivery'   => 'check_for_direct_delivery',
   'check_for_direct_delivery_no' => 'check_for_direct_delivery_no',
   'check_for_direct_delivery_yes' => 'check_for_direct_delivery_yes',
index cb402b5..6ee0fc7 100644 (file)
    <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=<TMPL_VAR rpw ESCAPE=URL>">
    <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
    <input type="hidden" name="nextsub" value="backup_dataset_start">
+   <input type="hidden" name="back_nextsub" value="list_users">
 
    <hr size="3" noshade>
 
    <br>
 
    <input type="submit" class="submit" name="action" value="Weiter">
+   <input type="submit" class="submit" name="action" value="Zurück">
 
   </form>
 
index 3368b9d..41dc331 100644 (file)
    <input name="callback" type="hidden" value="admin.pl?action=list_users&rpw=<TMPL_VAR rpw ESCAPE=URL>">
    <input type="hidden" name="rpw" value="<TMPL_VAR rpw ESCAPE=HTML>">
    <input type="hidden" name="nextsub" value="backup_dataset_start">
+   <input type="hidden" name="back_nextsub" value="list_users">
 
    <hr size="3" noshade>
 
    <br>
 
    <input type="submit" class="submit" name="action" value="<translate>Continue</translate>">
+   <input type="submit" class="submit" name="action" value="<translate>Back</translate>">
 
   </form>
 
index 4c785a8..67a0932 100644 (file)
@@ -1,5 +1,5 @@
 <p><b>Fehler:</b> <TMPL_VAR message></p>
 
 <form>
-<input type="button" onclick="history.back()" value="Zur&uuml;ck">
+<input type="button" onclick="history.back()" value="Zurück">
 </form>