Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ce83fab9

Von Sven Schöling vor mehr als 12 Jahren hinzugefügt

  • ID ce83fab980b72a2b3d4066ce2b49cbf3feec56a5
  • Vorgänger d3ab281a
  • Nachfolger c6c0363c

kivitendo rebranding: title strings

Unterschiede anzeigen:

bin/mozilla/admin.pl
124 124
  my $form   = $main::form;
125 125
  my $locale = $main::locale;
126 126

  
127
  $form->{title} = qq|Lx-Office ERP $form->{version} | . $locale->text('Administration');
127
  $form->{title} = qq|kivitendo $form->{version} | . $locale->text('Administration');
128 128

  
129 129
  $form->header();
130 130
  print $form->parse_html_template('admin/adminlogin');
......
367 367
    $_->{login_url} =  $::locale->is_utf8 ? Encode::encode('utf-8-strict', $_->{login}) : $_->{login_url};
368 368
  }
369 369

  
370
  $form->{title}   = "Lx-Office ERP " . $locale->text('Administration');
370
  $form->{title}   = "kivitendo " . $locale->text('Administration');
371 371
  $form->{LOCKED}  = -e _nologin_file_name();
372 372
  $form->{MEMBERS} = [ @members{sort { lc $a cmp lc $b } keys %members} ];
373 373

  
......
376 376
}
377 377

  
378 378
sub add_user {
379
  $::form->{title}   = "Lx-Office ERP " . $::locale->text('Administration') . " / " . $::locale->text('Add User');
379
  $::form->{title}   = "kivitendo " . $::locale->text('Administration') . " / " . $::locale->text('Add User');
380 380

  
381 381
# Note: Menu Style 'v3' is not compatible to all browsers!
382 382
# "menustyle"    => "old" sets the HTML Menu to default.
......
397 397
}
398 398

  
399 399
sub edit_user {
400
  $::form->{title} = "Lx-Office ERP " . $::locale->text('Administration') . " / " . $::locale->text('Edit User');
400
  $::form->{title} = "kivitendo " . $::locale->text('Administration') . " / " . $::locale->text('Edit User');
401 401
  $::form->{edit}  = 1;
402 402

  
403 403
  # get user
......
653 653
  $form->{dbdefault} = 'template1';
654 654
  $form->{dbhost}    = $::auth->{DB_config}->{host} || 'localhost';
655 655

  
656
  $form->{title}     = "Lx-Office ERP / " . $locale->text('Database Administration');
656
  $form->{title}     = "kivitendo / " . $locale->text('Database Administration');
657 657

  
658 658
  # Intentionnaly disabled unless fixed to work with the authentication DB.
659 659
  $form->{ALLOW_DBBACKUP} = 0; # "$pg_dump_exe" ne "DISABLED";
......
689 689
  my $form              = $main::form;
690 690
  my $locale            = $main::locale;
691 691

  
692
  $form->{title}        = "Lx-Office ERP " . $locale->text('Database Administration') . " / " . $locale->text('Update Dataset');
692
  $form->{title}        = "kivitendo " . $locale->text('Database Administration') . " / " . $locale->text('Update Dataset');
693 693

  
694 694
  my @need_updates      = User->dbneedsupdate($form);
695 695
  $form->{NEED_UPDATES} = \@need_updates;
......
794 794
    }
795 795
  }
796 796

  
797
  $form->{title} = "Lx-Office ERP " . $locale->text('Database Administration') . " / " . $locale->text('Create Dataset');
797
  $form->{title} = "kivitendo " . $locale->text('Database Administration') . " / " . $locale->text('Create Dataset');
798 798

  
799 799
  $form->header();
800 800
  print $form->parse_html_template("admin/create_dataset");
......
808 808

  
809 809
  User->dbcreate(\%$form);
810 810

  
811
  $form->{title} = "Lx-Office ERP " . $locale->text('Database Administration') . " / " . $locale->text('Create Dataset');
811
  $form->{title} = "kivitendo " . $locale->text('Database Administration') . " / " . $locale->text('Create Dataset');
812 812

  
813 813
  $form->header();
814 814
  print $form->parse_html_template("admin/dbcreate");
......
821 821
  my @dbsources = User->dbsources_unused($form);
822 822
  $form->error($locale->text('Nothing to delete!')) unless @dbsources;
823 823

  
824
  $form->{title}     = "Lx-Office ERP " . $locale->text('Database Administration') . " / " . $locale->text('Delete Dataset');
824
  $form->{title}     = "kivitendo " . $locale->text('Database Administration') . " / " . $locale->text('Delete Dataset');
825 825
  $form->{DBSOURCES} = [ map { { "name", $_ } } sort @dbsources ];
826 826

  
827 827
  $form->header();
......
838 838

  
839 839
  User->dbdelete(\%$form);
840 840

  
841
  $form->{title} = "Lx-Office ERP " . $locale->text('Database Administration') . " / " . $locale->text('Delete Dataset');
841
  $form->{title} = "kivitendo " . $locale->text('Database Administration') . " / " . $locale->text('Delete Dataset');
842 842
  $form->header();
843 843
  print $form->parse_html_template("admin/dbdelete");
844 844
}
......
847 847
  my $form       = $main::form;
848 848
  my $locale     = $main::locale;
849 849

  
850
  $form->{title} = "Lx-Office ERP " . $locale->text('Database Administration') . " / " . $locale->text('Backup Dataset');
850
  $form->{title} = "kivitendo " . $locale->text('Database Administration') . " / " . $locale->text('Backup Dataset');
851 851

  
852 852
  if ($::lx_office_conf{applications}->{pg_dump} eq "DISABLED") {
853 853
    $form->error($locale->text('Database backups and restorations are disabled in the configuration.'));
......
859 859

  
860 860
  my $username  = getpwuid $UID || "unknown-user";
861 861
  my $hostname  = hostname() || "unknown-host";
862
  $form->{from} = "Lx-Office Admin <${username}\@${hostname}>";
862
  $form->{from} = "kivitendo Admin <${username}\@${hostname}>";
863 863

  
864 864
  $form->header();
865 865
  print $form->parse_html_template("admin/backup_dataset");
......
869 869
  my $form       = $main::form;
870 870
  my $locale     = $main::locale;
871 871

  
872
  $form->{title} = "Lx-Office ERP " . $locale->text('Database Administration') . " / " . $locale->text('Backup Dataset');
872
  $form->{title} = "kivitendo " . $locale->text('Database Administration') . " / " . $locale->text('Backup Dataset');
873 873

  
874 874
  my $pg_dump_exe = $::lx_office_conf{applications}->{pg_dump} || "pg_dump";
875 875

  
......
945 945
    unlink "${tmpdir}/.pgpass", $tmp;
946 946
    rmdir $tmpdir;
947 947

  
948
    $form->{title} = "Lx-Office ERP " . $locale->text('Database Administration') . " / " . $locale->text('Backup Dataset');
948
    $form->{title} = "kivitendo " . $locale->text('Database Administration') . " / " . $locale->text('Backup Dataset');
949 949

  
950 950
    $form->header();
951 951
    print $form->parse_html_template("admin/backup_dataset_email_done");
......
956 956
  my $form       = $main::form;
957 957
  my $locale     = $main::locale;
958 958

  
959
  $form->{title} = "Lx-Office ERP " . $locale->text('Database Administration') . " / " . $locale->text('Restore Dataset');
959
  $form->{title} = "kivitendo " . $locale->text('Database Administration') . " / " . $locale->text('Restore Dataset');
960 960

  
961 961
  if ($::lx_office_conf{applications}->{pg_restore} eq "DISABLED") {
962 962
    $form->error($locale->text('Database backups and restorations are disabled in the configuration.'));
......
981 981
  my $form       = $main::form;
982 982
  my $locale     = $main::locale;
983 983

  
984
  $form->{title} = "Lx-Office ERP " . $locale->text('Database Administration') . " / " . $locale->text('Restore Dataset');
984
  $form->{title} = "kivitendo " . $locale->text('Database Administration') . " / " . $locale->text('Restore Dataset');
985 985

  
986 986
  my $pg_restore_exe = $::lx_office_conf{applications}->{pg_restore} || "pg_restore";
987 987

  

Auch abrufbar als: Unified diff