'vcnumber' => 'vcnumber, cp_name, cp_givenname',
);
- my %sortcols = map { $_ => 1 } qw(cp_name cp_givenname cp_phone1 cp_phone2 cp_mobile1 cp_email vcname vcnumber);
+ my %sortcols = map { $_ => 1 } qw(cp_name cp_givenname cp_phone1 cp_phone2 cp_mobile1 cp_email cp_street cp_zipcode cp_city vcname vcnumber);
my $order_by = $sortcols{$::form->{sort}} ? $::form->{sort} : 'cp_name';
$::form->{sort} = $order_by;
my $cvar_configs = CVar->get_configs('module' => 'Contacts');
my @columns = qw(
- cp_id vcname vcnumber cp_name cp_givenname cp_street cp_phone1 cp_phone2
+ cp_id vcname vcnumber cp_name cp_givenname cp_street cp_zipcode cp_city cp_phone1 cp_phone2
cp_mobile1 cp_mobile2 cp_email cp_abteilung cp_birthday cp_gender
);
'cp_name' => { 'text' => $::locale->text('Name'), },
'cp_givenname' => { 'text' => $::locale->text('Given Name'), },
'cp_street' => { 'text' => $::locale->text('Street'), },
+ 'cp_zipcode' => { 'text' => $::locale->text('Zipcode'), },
+ 'cp_city' => { 'text' => $::locale->text('City'), },
'cp_phone1' => { 'text' => $::locale->text('Phone1'), },
'cp_phone2' => { 'text' => $::locale->text('Phone2'), },
'cp_mobile1' => { 'text' => $::locale->text('Mobile1'), },
<input name="l.cp_givenname" id="l_cp_givenname" type="checkbox" class="checkbox" value="Y" checked>
<label for="l_cp_givenname">[% 'Given Name' | $T8 %]</label>
</td>
+ </tr>
+ <tr>
<td>
<input name="l.cp_street" id="l_cp_street" type="checkbox" class="checkbox" value="Y">
<label for="l_cp_street">[% 'Street' | $T8 %]</label>
</td>
+ <td>
+ <input name="l.cp_zipcode" id="l_cp_zipcode" type="checkbox" class="checkbox" value="Y">
+ <label for="l_cp_zipcode">[% 'Zipcode' | $T8 %]</label>
+ </td>
+ <td>
+ <input name="l.cp_city" id="l_cp_city" type="checkbox" class="checkbox" value="Y">
+ <label for="l_cp_city">[% 'City' | $T8 %]</label>
+ </td>
</tr>
<tr>
<td>