| 1 |
<?php |
| 2 |
function basic_info(){ |
| 3 |
?> |
| 4 |
|
| 5 |
<h2><?php _e('Profile Builder', 'profilebuilder');?></h2> |
| 6 |
<h3><?php _e('Welcome to Profile Builder!', 'profilebuilder');?></h3> |
| 7 |
<p> |
| 8 |
<strong><?php _e('Profile Builder', 'profilebuilder');?></strong><?php _e(' lets you customize your website by adding a front-end menu for all your users, giving them a more flexible way to modify their user-information or to register new users.', 'profilebuilder');?><br/><br/> |
| 9 |
<?php _e('Also, grants users with administrator rights to customize basic fields or to add new ones.', 'profilebuilder');?><br/><br/> |
| 10 |
<?php _e('To achieve this, just create a new page, and give it an intuitive name(e.g. Edit Profile).', 'profilebuilder');?><br/> |
| 11 |
<?php _e('Now all you need to do is add the following shortcode(for the previous example): ', 'profilebuilder');?>[wppb-edit-profile].<br/> |
| 12 |
<?php _e('Publish your page and you are ready to go!', 'profilebuilder');?><br/><br/> |
| 13 |
<?php _e('You can use the following shortcodes:', 'profilebuilder');?><br/> |
| 14 |
→ <strong>[wppb-login]</strong> - <?php _e('for a log-in form.', 'profilebuilder');?><br/> |
| 15 |
→ <strong>[wppb-register]</strong> - <?php _e('to add a registration form.', 'profilebuilder');?><br/> |
| 16 |
→ <strong>[wppb-edit-profile]</strong> - <?php _e('to grant users a front-end acces to their personal information(requires user to be logged in).', 'profilebuilder');?><br/> |
| 17 |
→ <strong>[wppb-recover-password]</strong> - <?php _e('to add a password recovery form.', 'profilebuilder');?><br/><br/> |
| 18 |
|
| 19 |
<?php _e('Users with administrator rights have access to the following features:', 'profilebuilder');?><br/> |
| 20 |
→ <?php _e('add a custom stylesheet/inherit values from the current theme or use one of the following built into this plugin: default, white or black.', 'profilebuilder');?><br/> |
| 21 |
→ <?php _e('select whether to display or not the admin bar in the front end for a specific user-group registered to the site.', 'profilebuilder');?><br/> |
| 22 |
→ <?php _e('select which information-field can users see/modify. The hidden fields\' values remain unmodified.', 'profilebuilder');?><br/> |
| 23 |
→ <?php _e('add custom fields to the existing ones, with several types to choose from: heading, text, textarea, select, checkbox, radio, and/or upload.', 'profilebuilder');?><br/> |
| 24 |
→ <?php _e('add an avatar field.', 'profilebuilder');?><br/> |
| 25 |
<br/> |
| 26 |
|
| 27 |
<strong><?php _e('NOTE:', 'profilebuilder');?></strong> |
| 28 |
<?php _e('this plugin only adds/removes fields in the front-end.', 'profilebuilder');?><br/> |
| 29 |
<?php _e('The default information-fields will still be visible(and thus modifiable)', 'profilebuilder');?> |
| 30 |
<?php _e('from the back-end, while custom fields will only be visible in the front-end.', 'profilebuilder');?> |
| 31 |
</p> |
| 32 |
|
| 33 |
<?php |
| 34 |
} |
| 35 |
?> |
| 36 |
|
| 37 |
<?php |
| 38 |
function plugin_layout(){ |
| 39 |
?> |
| 40 |
<form method="post" action="options.php#plugin-layout"> |
| 41 |
<?php $wppb_showDefaultCss = get_option('wppb_default_style'); ?> |
| 42 |
<?php settings_fields('wppb_default_style'); ?> |
| 43 |
|
| 44 |
<h2><?php _e('Plugin Layout', 'profilebuilder');?></h2> |
| 45 |
<h3><?php _e('Plugin Layout', 'profilebuilder');?></h3> |
| 46 |
<font size="2"><?php _e('Stylesheet used:', 'profilebuilder');?></font> |
| 47 |
<select name="wppb_default_style" class="wppb_default_style"> |
| 48 |
<option value="yes" <?php if ($wppb_showDefaultCss == 'yes') echo 'selected';?>><?php _e('Default', 'profilebuilder');?></option> |
| 49 |
<?php |
| 50 |
$wppb_premiumStyle = wppb_plugin_dir . '/premium/'; |
| 51 |
if (file_exists ( $wppb_premiumStyle.'premium.php' )){ |
| 52 |
?> |
| 53 |
<option value="white" <?php if ($wppb_showDefaultCss == 'white') echo 'selected';?>><?php _e('White', 'profilebuilder');?></option> |
| 54 |
<option value="black" <?php if ($wppb_showDefaultCss == 'black') echo 'selected';?>><?php _e('Black', 'profilebuilder');?></option> |
| 55 |
<?php |
| 56 |
} |
| 57 |
?> |
| 58 |
<option value="no" <?php if ($wppb_showDefaultCss == 'no') echo 'selected';?>><?php _e('None', 'profilebuilder');?></option> |
| 59 |
</select> |
| 60 |
<div align="right"> |
| 61 |
<input type="hidden" name="action" value="update" /> |
| 62 |
<p class="submit"> |
| 63 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" /> |
| 64 |
</p> |
| 65 |
</div> |
| 66 |
</form> |
| 67 |
|
| 68 |
|
| 69 |
<?php |
| 70 |
} |
| 71 |
?> |
| 72 |
|
| 73 |
<?php |
| 74 |
function display_admin_settings(){ |
| 75 |
?> |
| 76 |
<form method="post" action="options.php#show-hide-admin-bar"> |
| 77 |
<?php $wppb_showAdminBar = get_option('wppb_display_admin_settings'); ?> |
| 78 |
<?php settings_fields('wppb_display_admin_settings'); ?> |
| 79 |
|
| 80 |
|
| 81 |
<h2><?php _e('Show/Hide the Admin Bar on Front End', 'profilebuilder');?></h2> |
| 82 |
<h3><?php _e('Show/Hide the Admin Bar on Front End', 'profilebuilder');?></h3> |
| 83 |
<table class="wp-list-table widefat fixed pages" cellspacing="0"> |
| 84 |
<thead> |
| 85 |
<tr> |
| 86 |
<th class="manage-column" scope="col"><b><?php _e('User-group', 'profilebuilder');?></b></th> |
| 87 |
<th class="manage-column" scope="col"><b><?php _e('Visibility', 'profilebuilder');?></b></th> |
| 88 |
</tr> |
| 89 |
</thead> |
| 90 |
<tbody> |
| 91 |
<?php |
| 92 |
foreach($wppb_showAdminBar as $key => $data){ |
| 93 |
echo'<tr> |
| 94 |
<td> |
| 95 |
<font size="2">'.$key.'</font> |
| 96 |
</td> |
| 97 |
<td> |
| 98 |
<input type="radio" name="wppb_display_admin_settings['.$key.']" value="show"';if ($wppb_showAdminBar[$key] == 'show') echo ' checked';echo'/><font size="1">'; _e('Show', 'profilebuilder'); echo'</font><span style="padding-left:20px"></span> |
| 99 |
<input type="radio" name="wppb_display_admin_settings['.$key.']" value="hide"';if ($wppb_showAdminBar[$key] == 'hide') echo ' checked';echo'/><font size="1">'; _e('Hide', 'profilebuilder'); echo'</font> |
| 100 |
</td> |
| 101 |
</tr>'; |
| 102 |
} |
| 103 |
?> |
| 104 |
|
| 105 |
</table> |
| 106 |
<div align="right"> |
| 107 |
<input type="hidden" name="action" value="update" /> |
| 108 |
<p class="submit"> |
| 109 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" /> |
| 110 |
</p> |
| 111 |
</div> |
| 112 |
</form> |
| 113 |
|
| 114 |
|
| 115 |
<?php |
| 116 |
} |
| 117 |
?> |
| 118 |
|
| 119 |
<?php |
| 120 |
function default_settings(){ |
| 121 |
?> |
| 122 |
<form method="post" action="options.php#default-fields"> |
| 123 |
<?php $wppb_defaultOptions = get_option('wppb_default_settings'); ?> |
| 124 |
<?php settings_fields('wppb_option_group'); ?> |
| 125 |
|
| 126 |
|
| 127 |
<h2><?php _e('Default Profile Fields', 'profilebuilder');?></h2> |
| 128 |
<h3><?php _e('Default Profile Fields', 'profilebuilder');?></h3> |
| 129 |
<table class="wp-list-table widefat fixed pages" cellspacing="0"> |
| 130 |
<thead> |
| 131 |
<tr> |
| 132 |
<th class="manage-column" scope="col" id="firstColumn"><b><?php _e('Input Field Name', 'profilebuilder');?></b></th> |
| 133 |
<th class="manage-column" scope="col" id="secondColumn"><b><?php _e('Visibility', 'profilebuilder');?></b></th> |
| 134 |
<th class="manage-column" scope="col" id="thirdColumn"><b><?php _e('Required', 'profilebuilder');?></b></th> |
| 135 |
</tr> |
| 136 |
</thead> |
| 137 |
<tbody class="plugins" > |
| 138 |
<tr> |
| 139 |
<td colspan="3"><font size="4"><?php _e('Name:', 'profilebuilder');?></font></td> |
| 140 |
</tr> |
| 141 |
</tbody> |
| 142 |
<tbody> |
| 143 |
<tr> |
| 144 |
<td> |
| 145 |
<span style="padding-left:50px"></span><font size="2"><?php _e('Username', 'profilebuilder');?></font> |
| 146 |
</td> |
| 147 |
<td> |
| 148 |
<input type="radio" name="wppb_default_settings[username]" value="show" checked /><font size="1"><?php _e('Show', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 149 |
<input type="radio" name="wppb_default_settings[username]" value="hide" disabled /><font size="1" color="grey"><?php _e('Hide', 'profilebuilder');?></font> |
| 150 |
</td> |
| 151 |
<td> |
| 152 |
<input type="radio" name="wppb_default_settings[usernameRequired]" value="yes" checked /><font size="1"><?php _e('Yes', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 153 |
<input type="radio" name="wppb_default_settings[usernameRequired]" value="no" disabled /><font size="1" color="grey"><?php _e('No', 'profilebuilder');?></font> |
| 154 |
</td> |
| 155 |
</tr> |
| 156 |
<tr> |
| 157 |
<td> |
| 158 |
<span style="padding-left:50px"></span><font size="2"><?php _e('First Name', 'profilebuilder');?></font> |
| 159 |
</td> |
| 160 |
<td> |
| 161 |
<input type="radio" name="wppb_default_settings[firstname]" value="show" <?php if ($wppb_defaultOptions['firstname'] == 'show') echo 'checked';?> /><font size="1"><?php _e('Show', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 162 |
<input type="radio" name="wppb_default_settings[firstname]" value="hide" <?php if ($wppb_defaultOptions['firstname'] == 'hide') echo 'checked';?> /><font size="1"><?php _e('Hide', 'profilebuilder');?></font> |
| 163 |
</td> |
| 164 |
<td> |
| 165 |
<input type="radio" name="wppb_default_settings[firstnameRequired]" value="yes" <?php if ($wppb_defaultOptions['firstnameRequired'] == 'yes') echo 'checked';?> /><font size="1"><?php _e('Yes', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 166 |
<input type="radio" name="wppb_default_settings[firstnameRequired]" value="no" <?php if ($wppb_defaultOptions['firstnameRequired'] == 'no') echo 'checked';?> /><font size="1"><?php _e('No', 'profilebuilder');?></font> |
| 167 |
</td> |
| 168 |
</tr> |
| 169 |
<tr> |
| 170 |
<td> |
| 171 |
<span style="padding-left:50px"></span><font size="2"><?php _e('Last Name', 'profilebuilder');?></font> |
| 172 |
</td> |
| 173 |
<td> |
| 174 |
<input type="radio" name="wppb_default_settings[lastname]" value="show" <?php if ($wppb_defaultOptions['lastname'] == 'show') echo 'checked';?> /><font size="1"><?php _e('Show', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 175 |
<input type="radio" name="wppb_default_settings[lastname]" value="hide" <?php if ($wppb_defaultOptions['lastname'] == 'hide') echo 'checked';?> /><font size="1"><?php _e('Hide', 'profilebuilder');?></font> |
| 176 |
</td> |
| 177 |
<td> |
| 178 |
<input type="radio" name="wppb_default_settings[lastnameRequired]" value="yes" <?php if ($wppb_defaultOptions['lastnameRequired'] == 'yes') echo 'checked';?> /><font size="1"><?php _e('Yes', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 179 |
<input type="radio" name="wppb_default_settings[lastnameRequired]" value="no" <?php if ($wppb_defaultOptions['lastnameRequired'] == 'no') echo 'checked';?> /><font size="1"><?php _e('No', 'profilebuilder');?></font> |
| 180 |
</td> |
| 181 |
</tr> |
| 182 |
<tr> |
| 183 |
<td> |
| 184 |
<span style="padding-left:50px"></span><font size="2"><?php _e('Nickname', 'profilebuilder');?></font> |
| 185 |
</td> |
| 186 |
<td> |
| 187 |
<input type="radio" name="wppb_default_settings[nickname]" value="show" <?php if ($wppb_defaultOptions['nickname'] == 'show') echo 'checked';?> /><font size="1"><?php _e('Show', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 188 |
<input type="radio" name="wppb_default_settings[nickname]" value="hide" <?php if ($wppb_defaultOptions['nickname'] == 'hide') echo 'checked';?> /><font size="1"><?php _e('Hide', 'profilebuilder');?></font> |
| 189 |
</td> |
| 190 |
<td> |
| 191 |
<input type="radio" name="wppb_default_settings[nicknameRequired]" value="yes" <?php if ($wppb_defaultOptions['nicknameRequired'] == 'yes') echo 'checked';?> /><font size="1"><?php _e('Yes', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 192 |
<input type="radio" name="wppb_default_settings[nicknameRequired]" value="no" <?php if ($wppb_defaultOptions['nicknameRequired'] == 'no') echo 'checked';?> /><font size="1"><?php _e('No', 'profilebuilder');?></font> |
| 193 |
</td> |
| 194 |
</tr> |
| 195 |
<tr> |
| 196 |
<td> |
| 197 |
<span style="padding-left:50px"></span><font size="2"><?php _e('Display name publicly as...', 'profilebuilder');?></font> |
| 198 |
</td> |
| 199 |
<td> |
| 200 |
<input type="radio" name="wppb_default_settings[dispname]" value="show" <?php if ($wppb_defaultOptions['dispname'] == 'show') echo 'checked';?> /><font size="1"><?php _e('Show', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 201 |
<input type="radio" name="wppb_default_settings[dispname]" value="hide" <?php if ($wppb_defaultOptions['dispname'] == 'hide') echo 'checked';?> /><font size="1"><?php _e('Hide', 'profilebuilder');?></font> |
| 202 |
</td> |
| 203 |
<td> |
| 204 |
<input type="radio" name="wppb_default_settings[dispnameRequired]" value="yes" <?php if ($wppb_defaultOptions['dispnameRequired'] == 'yes') echo 'checked';?> /><font size="1"><?php _e('Yes', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 205 |
<input type="radio" name="wppb_default_settings[dispnameRequired]" value="no" <?php if ($wppb_defaultOptions['dispnameRequired'] == 'no') echo 'checked';?> /><font size="1"><?php _e('No', 'profilebuilder');?></font> |
| 206 |
</td> |
| 207 |
</tr> |
| 208 |
<tbody class="plugins"> |
| 209 |
<tr> |
| 210 |
<td colspan="3"><font size="4"><?php _e('Contact Info:', 'profilebuilder');?></font></td> |
| 211 |
</tr> |
| 212 |
</tbody> |
| 213 |
<tbody> |
| 214 |
<tr> |
| 215 |
<td> |
| 216 |
<span style="padding-left:50px"></span><font size="2"><?php _e('E-mail', 'profilebuilder');?></font> |
| 217 |
</td> |
| 218 |
<td> |
| 219 |
<input type="radio" name="wppb_default_settings[email]" value="show" checked><font size="1"><?php _e('Show', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 220 |
<input type="radio" name="wppb_default_settings[email]" value="hide" disabled><font size="1" color="grey"><?php _e('Hide', 'profilebuilder');?></font> |
| 221 |
</td> |
| 222 |
<td> |
| 223 |
<input type="radio" name="wppb_default_settings[emailRequired]" value="yes" checked /><font size="1"><?php _e('Yes', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 224 |
<input type="radio" name="wppb_default_settings[emailRequired]" value="no" disabled /><font size="1" color="grey"><?php _e('No', 'profilebuilder');?></font> |
| 225 |
</td> |
| 226 |
</tr> |
| 227 |
<tr> |
| 228 |
<td> |
| 229 |
<span style="padding-left:50px"></span><font size="2"><?php _e('Website', 'profilebuilder');?></font> |
| 230 |
</td> |
| 231 |
<td> |
| 232 |
<input type="radio" name="wppb_default_settings[website]" value="show" <?php if ($wppb_defaultOptions['website'] == 'show') echo 'checked';?> /><font size="1"><?php _e('Show', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 233 |
<input type="radio" name="wppb_default_settings[website]" value="hide" <?php if ($wppb_defaultOptions['website'] == 'hide') echo 'checked';?> /><font size="1"><?php _e('Hide', 'profilebuilder');?></font> |
| 234 |
</td> |
| 235 |
<td> |
| 236 |
<input type="radio" name="wppb_default_settings[websiteRequired]" value="yes" <?php if ($wppb_defaultOptions['websiteRequired'] == 'yes') echo 'checked';?> /><font size="1"><?php _e('Yes', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 237 |
<input type="radio" name="wppb_default_settings[websiteRequired]" value="no" <?php if ($wppb_defaultOptions['websiteRequired'] == 'no') echo 'checked';?> /><font size="1"><?php _e('No', 'profilebuilder');?></font> |
| 238 |
</td> |
| 239 |
</tr> |
| 240 |
<tbody class="plugins"> |
| 241 |
</tbody> |
| 242 |
<tbody> |
| 243 |
<tr> |
| 244 |
<td> |
| 245 |
<span style="padding-left:50px"></span><font size="2"><?php _e('AIM', 'profilebuilder');?></font> |
| 246 |
</td> |
| 247 |
<td> |
| 248 |
<input type="radio" name="wppb_default_settings[aim]" value="show" <?php if ($wppb_defaultOptions['aim'] == 'show') echo 'checked';?> /><font size="1"><?php _e('Show', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 249 |
<input type="radio" name="wppb_default_settings[aim]" value="hide" <?php if ($wppb_defaultOptions['aim'] == 'hide') echo 'checked';?> /><font size="1"><?php _e('Hide', 'profilebuilder');?></font> |
| 250 |
</td> |
| 251 |
<td> |
| 252 |
<input type="radio" name="wppb_default_settings[aimRequired]" value="yes" <?php if ($wppb_defaultOptions['aimRequired'] == 'yes') echo 'checked';?> /><font size="1"><?php _e('Yes', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 253 |
<input type="radio" name="wppb_default_settings[aimRequired]" value="no" <?php if ($wppb_defaultOptions['aimRequired'] == 'no') echo 'checked';?> /><font size="1"><?php _e('No', 'profilebuilder');?></font> |
| 254 |
</td> |
| 255 |
</tr> |
| 256 |
<tr> |
| 257 |
<td> |
| 258 |
<span style="padding-left:50px"></span><font size="2"><?php _e('Yahoo IM', 'profilebuilder');?></font> |
| 259 |
</td> |
| 260 |
<td> |
| 261 |
<input type="radio" name="wppb_default_settings[yahoo]" value="show" <?php if ($wppb_defaultOptions['yahoo'] == 'show') echo 'checked';?> /><font size="1"><?php _e('Show', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 262 |
<input type="radio" name="wppb_default_settings[yahoo]" value="hide" <?php if ($wppb_defaultOptions['yahoo'] == 'hide') echo 'checked';?> /><font size="1"><?php _e('Hide', 'profilebuilder');?></font> |
| 263 |
</td> |
| 264 |
<td> |
| 265 |
<input type="radio" name="wppb_default_settings[yahooRequired]" value="yes" <?php if ($wppb_defaultOptions['yahooRequired'] == 'yes') echo 'checked';?> /><font size="1"><?php _e('Yes', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 266 |
<input type="radio" name="wppb_default_settings[yahooRequired]" value="no" <?php if ($wppb_defaultOptions['yahooRequired'] == 'no') echo 'checked';?> /><font size="1"><?php _e('No', 'profilebuilder');?></font> |
| 267 |
</td> |
| 268 |
</tr> |
| 269 |
<tr> |
| 270 |
<td> |
| 271 |
<span style="padding-left:50px"></span><font size="2"><?php _e('Jabber / Google Talk', 'profilebuilder');?></font> |
| 272 |
</td> |
| 273 |
<td> |
| 274 |
<input type="radio" name="wppb_default_settings[jabber]" value="show" <?php if ($wppb_defaultOptions['jabber'] == 'show') echo 'checked';?> /><font size="1"><?php _e('Show', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 275 |
<input type="radio" name="wppb_default_settings[jabber]" value="hide" <?php if ($wppb_defaultOptions['jabber'] == 'hide') echo 'checked';?> /><font size="1"><?php _e('Hide', 'profilebuilder');?></font> |
| 276 |
</td> |
| 277 |
<td> |
| 278 |
<input type="radio" name="wppb_default_settings[jabberRequired]" value="yes" <?php if ($wppb_defaultOptions['jabberRequired'] == 'yes') echo 'checked';?> /><font size="1"><?php _e('Yes', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 279 |
<input type="radio" name="wppb_default_settings[jabberRequired]" value="no" <?php if ($wppb_defaultOptions['jabberRequired'] == 'no') echo 'checked';?> /><font size="1"><?php _e('No', 'profilebuilder');?></font> |
| 280 |
</td> |
| 281 |
</tr> |
| 282 |
<tbody class="plugins"> |
| 283 |
<tr> |
| 284 |
<td colspan="3"><font size="4"><?php _e('About Yourself:', 'profilebuilder');?></font></td> |
| 285 |
</tr> |
| 286 |
</tbody> |
| 287 |
<tbody> |
| 288 |
<tr> |
| 289 |
<td> |
| 290 |
<span style="padding-left:50px"></span><font size="2"><?php _e('Biographical Info', 'profilebuilder');?></font> |
| 291 |
</td> |
| 292 |
<td> |
| 293 |
<input type="radio" name="wppb_default_settings[bio]" value="show" <?php if ($wppb_defaultOptions['bio'] == 'show') echo 'checked';?> /><font size="1"><?php _e('Show', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 294 |
<input type="radio" name="wppb_default_settings[bio]" value="hide" <?php if ($wppb_defaultOptions['bio'] == 'hide') echo 'checked';?> /><font size="1"><?php _e('Hide', 'profilebuilder');?></font> |
| 295 |
</td> |
| 296 |
<td> |
| 297 |
<input type="radio" name="wppb_default_settings[bioRequired]" value="yes" <?php if ($wppb_defaultOptions['bioRequired'] == 'yes') echo 'checked';?> /><font size="1"><?php _e('Yes', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 298 |
<input type="radio" name="wppb_default_settings[bioRequired]" value="no" <?php if ($wppb_defaultOptions['bioRequired'] == 'no') echo 'checked';?> /><font size="1"><?php _e('No', 'profilebuilder');?></font> |
| 299 |
</td> |
| 300 |
</tr> |
| 301 |
<tbody> |
| 302 |
<tr> |
| 303 |
<td> |
| 304 |
<span style="padding-left:50px"></span><font size="2"><?php _e('New Password', 'profilebuilder');?></font> |
| 305 |
</td> |
| 306 |
<td> |
| 307 |
<input type="radio" name="wppb_default_settings[password]" value="show" checked><font size="1"><?php _e('Show', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 308 |
<input type="radio" name="wppb_default_settings[password]" value="hide" disabled><font size="1" color="grey"><?php _e('Hide', 'profilebuilder');?></font> |
| 309 |
</td> |
| 310 |
<td> |
| 311 |
<input type="radio" name="wppb_default_settings[passwordRequired]" value="yes" checked /><font size="1"><?php _e('Yes', 'profilebuilder');?></font><span style="padding-left:20px"></span> |
| 312 |
<input type="radio" name="wppb_default_settings[passwordRequired]" value="no" disabled /><font size="1" color="grey"><?php _e('No', 'profilebuilder');?></font> |
| 313 |
</td> |
| 314 |
</tr> |
| 315 |
</tbody> |
| 316 |
</table> |
| 317 |
<div align="right"> |
| 318 |
<input type="hidden" name="action" value="update" /> |
| 319 |
<p class="submit"> |
| 320 |
<input type="submit" class="button-primary" value="<?php _e('Save Changes') ?>" /> |
| 321 |
</p> |
| 322 |
</form> |
| 323 |
</div> |
| 324 |
|
| 325 |
<?php |
| 326 |
} |
| 327 |
?> |