Revision 601f4f28
Von Moritz Bunkus vor etwa 3 Jahren hinzugefügt
bin/mozilla/am.pl | ||
---|---|---|
$myconfig{show_form_details} = 1 unless (defined($myconfig{show_form_details}));
|
||
$form->{CAN_CHANGE_PASSWORD} = $main::auth->can_change_password();
|
||
$form->{todo_cfg} = { TODO->get_user_config('login' => $::myconfig{login}) };
|
||
|
||
$::request->{layout}->use_javascript("jquery.multiselect2side.js");
|
||
$form->{title} = $locale->text('Edit Preferences for #1', $::myconfig{login});
|
||
|
||
$::request->{layout}->use_javascript("${_}.js") for qw(jquery.multiselect2side ckeditor/ckeditor ckeditor/adapters/jquery);
|
||
|
||
setup_am_config_action_bar();
|
||
$form->header();
|
||
|
||
$form->{full_signature} = $form->create_email_signature();
|
||
$form->{company_signature} = SL::DB::Default->get->signature;
|
||
|
||
print $form->parse_html_template('am/config');
|
||
|
locale/de/all | ||
---|---|---|
'Check Details' => 'Bitte Angaben überprüfen',
|
||
'Check connectivity' => 'Verbindungstest',
|
||
'Check for duplicates' => 'Dublettencheck',
|
||
'Check full signature' => 'Volle Signatur prüfen',
|
||
'Check on ap transaction' => 'Prüfen bei Kreditorenbuchung',
|
||
'Check on ar transaction' => 'Prüfen bei Debitorenbuchung',
|
||
'Check on gl transaction' => 'Prüfen bei Dialogbuchung',
|
||
... | ... | |
'Company name' => 'Firmenname',
|
||
'Company name and address' => 'Firmenname und -adresse',
|
||
'Company settings' => 'Firmeneinstellungen',
|
||
'Company\'s email signature' => 'Firmen-E-Mail-Signatur',
|
||
'Compare to' => 'Gegenüberstellen zu',
|
||
'Complexities' => 'Komplexitätsgrade',
|
||
'Complexity' => 'Komplexität',
|
||
... | ... | |
'Edit time recordings of all staff members' => 'Zeiterfassungseinträge aller Mitarbeiter bearbeiten',
|
||
'Edit title' => 'Titiel bearbeiten',
|
||
'Edit units' => 'Einheiten bearbeiten',
|
||
'Edit user signature' => 'Benutzersignatur bearbeiten',
|
||
'Editable' => 'Bearbeitbar',
|
||
'Either there are no open invoices, or you have already initiated bank transfers with the open amounts for those that are still open.' => 'Entweder gibt es keine offenen Rechnungen, oder es wurden bereits Überweisungen über die offenen Beträge aller offenen Rechnungen erstellt.',
|
||
'Element disabled' => 'Element deaktiviert',
|
||
'Email' => 'E-Mail',
|
||
'Email address' => 'E-Mail-Adresse',
|
||
'Email journal' => 'E-Mail-Journal',
|
||
'Email of the delivery order recipient' => 'E-Mail des Lieferscheinempfängers',
|
||
'Email of the invoice recipient' => 'E-Mail des Rechnungsempfängers',
|
||
'Email signature' => 'E-Mail-Signatur',
|
||
'Employee' => 'Bearbeiter',
|
||
'Employee #1 saved!' => 'Benutzer #1 gespeichert!',
|
||
'Employee (database ID)' => 'Bearbeiter (Datenbank-ID)',
|
templates/webpages/am/config.html | ||
---|---|---|
[%- USE T8 %]
|
||
[%- USE LxERP %]
|
||
[%- USE HTML %]
|
||
[%- USE L %]
|
||
[%- USE L %][%- USE P -%]
|
||
|
||
<h1>[% title %]</h1>
|
||
|
||
... | ... | |
</tr>
|
||
|
||
<tr>
|
||
<th align="right">[% 'E-mail' | $T8 %]</th>
|
||
<th align="right">[% 'Email address' | $T8 %]</th>
|
||
<td><input name="email" size="30" value="[% HTML.escape(MYCONFIG.email) %]"></td>
|
||
</tr>
|
||
|
||
<tr valign="top">
|
||
<th align="right">[% 'Signature' | $T8 %]</th>
|
||
<td><textarea id="signature" name="signature" class="toggletextarea" rows="5" cols="50">[% HTML.escape(MYCONFIG.signature) %] </textarea>
|
||
<span id="full_signature" class="toggletextarea"> <textarea readonly name="full_signature" rows="10" cols="50" >[% HTML.escape(full_signature) %]</textarea> </span>
|
||
<a href="#" class="togglelink">[% 'Check full signature' | $T8 %]</a>
|
||
<a href="#" id="edit_signature" class="togglelink">[% 'Edit user signature' | $T8 %]</a>
|
||
</td> </tr>
|
||
<th align="right">[% 'Email signature' | $T8 %]</th>
|
||
<td>
|
||
[% P.textarea_tag("signature", MYCONFIG.signature, class="toggletextarea texteditor", rows="5", cols="50") %]
|
||
</td>
|
||
</tr>
|
||
|
||
<tr valign="top">
|
||
<th align="right">[% "Company's email signature" | $T8 %]</th>
|
||
<td>[% P.restricted_html(company_signature) %]</td>
|
||
</tr>
|
||
|
||
<tr>
|
||
<th align="right">[% 'Phone' | $T8 %]</th>
|
||
<td><input name="tel" size="14" value="[% HTML.escape(MYCONFIG.tel) %]"></td>
|
||
... | ... | |
</div>
|
||
</div>
|
||
</form>
|
||
|
||
<script type="text/javascript">
|
||
<!--
|
||
$(function() {
|
||
$("#full_signature").toggle();
|
||
$("#edit_signature").toggle();
|
||
$('.togglelink').click(function() {
|
||
$('.toggletextarea').toggle();
|
||
$('.togglelink').toggle();
|
||
return false;
|
||
});
|
||
});
|
||
-->
|
||
</script>
|
Auch abrufbar als: Unified diff
E-Mails als HTML verschicken: Bearbeiten Benutzer-Signatur