Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision ac912929

Von Moritz Bunkus vor etwa 8 Jahren hinzugefügt

  • ID ac9129294850cbe9f04119b3cbcf2a475ad8f4ba
  • Vorgänger a4a09b2a
  • Nachfolger 46b5ee69

vclimit entfernen

Unterschiede anzeigen:

SL/Controller/Admin.pm
my $defaults = SL::DefaultManager->new($::lx_office_conf{system}->{default_manager});
$self->user(SL::DB::AuthUser->new(
config_values => {
vclimit => 200,
countrycode => $defaults->language('de'),
numberformat => $defaults->numberformat('1.000,00'),
dateformat => $defaults->dateformat('dd.mm.yy'),
SL/DB/AuthUser.pm
use constant CONFIG_VARS => qw(copies countrycode dateformat timeformat default_media default_printer_id
email favorites fax hide_cvar_search_options mandatory_departments menustyle name
numberformat show_form_details signature stylesheet taxincluded_checked tel
template_format vclimit focus_position form_cvars_nr_cols item_multiselect);
template_format focus_position form_cvars_nr_cols item_multiselect);
__PACKAGE__->meta->add_relationship(
groups => {
doc/dokumentation.xml
</listitem>
<listitem>
<para>Enthält unter anderem Listenbegrenzung vclimit,
Datumsformat dateformat und Nummernformat numberformat</para>
<para>Enthält unter anderem Datumsformat dateformat und Nummernformat numberformat</para>
</listitem>
<listitem>
doc/html/ch04.html
}</pre></div><div class="sect3" title="4.1.3.2. %::myconfig"><div class="titlepage"><div><div><h4 class="title"><a name="d0e6540"></a>4.1.3.2. %::myconfig</h4></div></div></div><div class="itemizedlist"><ul class="itemizedlist" type="disc"><li class="listitem"><p>Das einzige Hash unter den globalen Variablen</p></li><li class="listitem"><p>Wird spätestens benötigt wenn auf die Datenbank
zugegriffen wird</p></li><li class="listitem"><p>Wird bei jedem Request neu erstellt.</p></li><li class="listitem"><p>Enthält die Userdaten des aktuellen Logins</p></li><li class="listitem"><p>Sollte nicht ohne Filterung irgendwo gedumpt werden oder
extern serialisiert werden, weil da auch der Datenbankzugriff
für diesen user drinsteht.</p></li><li class="listitem"><p>Enthält unter anderem Listenbegrenzung vclimit,
Datumsformat dateformat und Nummernformat numberformat</p></li><li class="listitem"><p>Enthält Datenbankzugriffinformationen</p></li></ul></div><p>
für diesen user drinsteht.</p></li><li class="listitem"><p>Enthält unter anderem Datumsformat dateformat und Nummernformat numberformat</p></li><li class="listitem"><p>Enthält Datenbankzugriffinformationen</p></li></ul></div><p>
<code class="varname">%::myconfig</code> ist im Moment der Ersatz für
ein Userobjekt. Die meisten Funktionen, die etwas anhand des
aktuellen Users entscheiden müssen, befragen
locale/de/all
'Draft suggestions' => 'Entwurfsvorschläge',
'Drafts' => 'Entwürfe',
'Drawing' => 'Zeichnung',
'Dropdown Limit' => 'Auswahllistenbegrenzung',
'Due' => 'Fällig',
'Due Date' => 'Fälligkeitsdatum',
'Due Date missing!' => 'Fälligkeitsdatum fehlt!',
scripts/rose_auto_create_model.pl
signature => '',
hide_cvar_search_options => '',
numberformat => '1.000,00',
vclimit => 0,
favorites => '',
copies => '',
menustyle => 'v3',
t/000setup_database.t
signature => '',
hide_cvar_search_options => '',
numberformat => '1.000,00',
vclimit => 0,
favorites => '',
copies => '',
menustyle => 'v3',
templates/webpages/admin/edit_user.html
<td>[% L.select_tag("user.config_values.numberformat", SELF.all_numberformats, default=props.numberformat) %]</td>
</tr>
<tr>
<th align="right">[% LxERP.t8("Dropdown Limit") %]</th>
<td>[% L.input_tag("user.config_values.vclimit", props.vclimit) %]</td>
</tr>
<tr>
<th align="right">[% LxERP.t8("Language") %]</th>
<td>[% L.select_tag("user.config_values.countrycode", SELF.all_countrycodes, title_key="title", default=props.countrycode) %]</td>
templates/webpages/am/config.html
</td>
</tr>
<tr>
<th align="right">[% 'Dropdown Limit' | $T8 %]</th>
<td><input name="vclimit" size="10" value="[% HTML.escape(MYCONFIG.vclimit) %]"></td>
</tr>
<tr>
<th align="right">[% 'Language' | $T8 %]</th>
<td>

Auch abrufbar als: Unified diff