mirror of
https://github.com/e107inc/e107.git
synced 2025-08-20 13:21:54 +02:00
Contact page visibility preference added. eg. Limit the contact form to members or a userclass if required.
This commit is contained in:
@@ -600,6 +600,13 @@ $text .= "<fieldset class='e-hideme' id='core-prefs-email'>
|
||||
<div class='smalltext field-help'>".PRFLAN_169."</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for='contact_visibility'>Contact Page Visibility</label></td>
|
||||
<td>
|
||||
".$e_userclass->uc_dropdown('contact_visibility', varset( $pref['contact_visibility'],e_UC_PUBLIC), 'public,nobody,main,admin,classes', "tabindex='".$frm->getNext()."'")."
|
||||
<div class='smalltext field-help'>Contact information and/or form will only be visible to this userclass group.</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><label for='contact-emailcopy'>".PRFLAN_164."</label></td>
|
||||
<td>";
|
||||
|
Reference in New Issue
Block a user