Revision e2f3e23d
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
templates/webpages/admin/edit_client.html | ||
---|---|---|
function test_database_connectivity() {
|
||
open_jqm_window({
|
||
url: 'controller.pl?action=Admin/test_database_connectivity',
|
||
data: $(".contains_dbsettings]").serialize(),
|
||
data: $(".contains_dbsettings").serialize(),
|
||
type: 'POST',
|
||
id: 'test_db_connection_window'
|
||
});
|
templates/webpages/admin/edit_group.html | ||
---|---|---|
[% SET section_number = loop.count %]
|
||
[% SET num_checked = 0 %]
|
||
[% FOREACH right = section.rights %][% SET name = right.name %][% IF granted_rights.$name %][% SET num_checked = num_checked + 1 %][% END %][% END %]
|
||
<h3>[% L.checkbox_tag('dummy' _ section_number, label=LxERP.t8('Section "#1"', section.description), checkall='[.checkallgroup' _ section_number _ ']', checked=(num_checked == section.rights.size)) %]</h3>
|
||
<h3>[% L.checkbox_tag('dummy' _ section_number, label=LxERP.t8('Section "#1"', section.description), checkall='.checkallgroup' _ section_number, checked=(num_checked == section.rights.size)) %]</h3>
|
||
|
||
<div class="clearfix">
|
||
[% FOREACH right = section.rights %]
|
Auch abrufbar als: Unified diff
jQuery-Selektoren für checkall & DB-Verbindungstest gefixt