Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 44c56028

Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt

  • ID 44c56028e89de13928738f898c9d12d62be4e4ed
  • Vorgänger 009d4b89
  • Nachfolger 91b948e4

Versionsbildschirm: Firmennamenanzeige gefixt; Mandantennamen anzeigen; Datenbank nicht anzeigen

Unterschiede anzeigen:

bin/mozilla/login.pl
27 27
# Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
28 28
#######################################################################
29 29

  
30
use DBI;
31
use SL::Auth;
32
use SL::User;
30
use SL::DB::Default;
33 31
use SL::Form;
34 32
use SL::Git;
35 33

  
......
51 49
  $form->{stylesheet} =  $myconfig{stylesheet};
52 50
  $form->{title}      =  $::locale->text('kivitendo');
53 51
  $form->{interface}  = $::dispatcher->interface_type;
52
  $form->{client}     = $::auth->client;
53
  $form->{defaults}   = SL::DB::Default->get;
54 54

  
55 55
  my $git             = SL::Git->new;
56 56
  ($form->{git_head}) = $git->get_log(since => 'HEAD~1', until => 'HEAD') if $git->is_git_installation;
locale/de/all
607 607
  'Database template'           => 'Datenbankvorlage',
608 608
  'Database update error:'      => 'Fehler beim Datenbankupgrade:',
609 609
  'Database user and password'  => 'Datebankbenutzer und -passwort',
610
  'Dataset'                     => 'Datenbank',
611 610
  'Dataset missing!'            => 'Datenbank fehlt!',
612 611
  'Dataset name'                => 'Datenbankname',
613 612
  'Dataset upgrade'             => 'Datenbankaktualisierung',
templates/webpages/login/company_logo.html
1 1
[%- USE T8 %]
2 2
[%- USE HTML %][%- USE LxERP %]
3
 [%- DEFAULT myconfig_dbhost = 'localhost' %]
4 3
   <noscript>
5 4
   [% INCLUDE 'generic/information.html'
6 5
     title_information = LxERP.t8('Your browser does not currently support Javascript.'),
......
19 18
  <p>[% 'companylogo_subtitle' | $T8 %]</p>
20 19
  <p>
21 20
   <b>
22
    [% HTML.escape(myconfig_company) %]
21
    [% HTML.escape(defaults.company) %]
23 22
    <br>
24
    [% HTML.escape(myconfig_address).replace('\\\\n', '<br>').replace('\n', '<br>') %]
23
    [% HTML.escape(defaults.address).replace('\\\\n', '<br>').replace('\n', '<br>') %]
25 24
   </b>
26 25

  
27 26
   <br>
......
33 32
     <td>[% HTML.escape(myconfig_name) %]</td>
34 33
    </tr>
35 34
    <tr>
36
     <th align="left"><a href="am.pl?action=config" title="[% 'Preferences' | $T8 %]">[% 'Language' | $T8 %]</a></th>
37
     <td>[% HTML.escape(myconfig_countrycode) %]</td>
38
    </tr>
39
    <tr>
40
     <th align="left"><a href="admin.pl" title="[% 'Administration' | $T8 %]">[% 'Templates' | $T8 %]</a></th>
41
     <td>[% HTML.escape(myconfig_templates) %]</td>
35
     <th align="left">[% IF AUTH_RIGHTS_ADMIN %]<a href="controller.pl?action=ClientConfig/edit" title="[% 'Client Configuration' | $T8 %]">[% END %][% 'Client' | $T8 %][% IF AUTH_RIGHTS_ADMIN %]</a>[% END %]</th>
36
     <td>[% HTML.escape(client.name) %]</td>
42 37
    </tr>
43 38
    <tr>
44
     <th align="left"><a href="admin.pl" title="[% 'Administration' | $T8 %]">[% 'Dataset' | $T8 %]</a></th>
45
     <td>[% HTML.escape(myconfig_dbname) %]</td>
46
    </tr>
47
    <tr>
48
     <th align="left">[% 'Database Host' | $T8 %]</th>
49
     <td>[% HTML.escape(myconfig_dbhost) %]</td>
39
     <th align="left"><a href="am.pl?action=config" title="[% 'Preferences' | $T8 %]">[% 'Language' | $T8 %]</a></th>
40
     <td>[% HTML.escape(myconfig_countrycode) %]</td>
50 41
    </tr>
51 42
    <tr>
52 43
     <th align="left">[% 'Webserver interface' | $T8 %]</th>

Auch abrufbar als: Unified diff