Projekt

Obecné

Profil

« Předchozí | Další » 

Revize b80053a3

Přidáno uživatelem David Raška před asi 9 roky(ů)

refs #957: "I'm older than x years" checkbox is only shown when adding/editing main user

Zobrazit rozdíly:

application/views/users/show.php
</tr>
<tr>
<th><?php echo __('Birthday') ?></th>
<td><?php echo (Settings::get('users_birthday_empty_enabled') == 1 && Settings::get('members_age_min_limit') !== '' ? "> ".Settings::get('members_age_min_limit').' '.__('years') : $user_data->birthday) ?></td>
<td><?php echo (Settings::get('users_birthday_empty_enabled') == 1 && Settings::get('members_age_min_limit') !== '' ? ($user_data->type==1 ? "> ".Settings::get('members_age_min_limit').' '.__('years') : $user_data->birthday) : $user_data->birthday) ?></td>
</tr>
<?php if ($this->acl_check_view('Users_Controller', 'application_password', $user_data->member->id)) { ?>
<tr>

Také k dispozici: Unified diff