Browse Source

Add the UI entry

Signed-off-by: Suki <[email protected]>
Suki 11 years ago
parent
commit
b3df93b0b5

+ 6 - 0
Themes/default/Admin.template.php

@@ -1082,6 +1082,12 @@ function template_edit_profile_field()
 											<dd>
 												<input type="checkbox" name="display" id="display"', $context['field']['display'] ? ' checked' : '', ' class="input_check">
 											</dd>
+											<dt>
+												<strong><label for="mlist">', $txt['custom_edit_mlist'], ':</label></strong>
+											</dt>
+											<dd>
+												<input type="checkbox" name="mlist" id="mlist"', $context['field']['mlist'] ? ' checked' : '', ' class="input_check">
+											</dd>
 											<dt>
 												<strong><label for="placement">', $txt['custom_edit_placement'], ':</label></strong>
 											</dt>

+ 1 - 0
Themes/default/languages/ManageSettings.english.php

@@ -238,6 +238,7 @@ $txt['custom_edit_registration_disable'] = 'No';
 $txt['custom_edit_registration_allow'] = 'Yes';
 $txt['custom_edit_registration_require'] = 'Yes, and require entry';
 $txt['custom_edit_display'] = 'Show on Topic View';
+$txt['custom_edit_mlist'] = 'Show on memberlist';
 $txt['custom_edit_picktype'] = 'Field Type';
 
 $txt['custom_edit_max_length'] = 'Maximum Length';