| 186 | | <p class="submit"> |
| 187 | | <input type="submit" name="Submit" class="button" value="<?php _e('Update Options »', 'wp-useronline'); ?>" /> |
| 188 | | </p> |
| 189 | | <fieldset class="options"> |
| 190 | | <legend><?php _e('Useronline Options', 'wp-useronline'); ?></legend> |
| 191 | | <table width="100%" border="0" cellspacing="3" cellpadding="3"> |
| 192 | | <tr valign="top"> |
| 193 | | <th align="left" width="30%"><?php _e('Time Out', 'wp-useronline'); ?></th> |
| 194 | | <td align="left"> |
| 195 | | <input type="text" name="useronline_timeout" value="<?php echo get_option('useronline_timeout'); ?>" size="4" /><br /><?php _e('How long till it will remove the user from the database (In seconds).', 'wp-useronline'); ?> |
| 196 | | </td> |
| 197 | | </tr> |
| 198 | | <tr valign="top"> |
| 199 | | <th align="left" width="30%"><?php _e('UserOnline URL', 'wp-useronline'); ?></th> |
| 200 | | <td align="left"> |
| 201 | | <input type="text" name="useronline_url" value="<?php echo get_option('useronline_url'); ?>" size="50" /><br /><?php _e('URL To UserOnline Page (leave blank if you do not want to link it to the UserOnline Page)<br />Example: http://www.yoursite.com/blogs/useronline/<br />Example: http://www.yoursite.com/blogs/?page_id=2', 'wp-useronline'); ?> |
| 202 | | </td> |
| 203 | | </tr> |
| 204 | | <tr valign="top"> |
| 205 | | <th align="left" width="30%"><?php _e('Bots Name/User Agent', 'wp-useronline'); ?></th> |
| 206 | | <td align="left"> |
| 207 | | <?php _e('Here are a list of bots and their partial browser agents.<br />On the left column will be the <strong>Bot\'s Name</strong> and on the right column will be their <strong>Partial Browser Agent</strong>.<br />Start each entry on a new line.', 'wp-useronline'); ?> |
| 208 | | <br /><br /> |
| 209 | | <textarea cols="20" rows="30" name="useronline_bots_name"><?php echo $useronline_options_bots_name; ?></textarea> |
| 210 | | <textarea cols="20" rows="30" name="useronline_bots_agent"><?php echo $useronline_options_bots_agent; ?></textarea> |
| 211 | | </td> |
| 212 | | </tr> |
| 213 | | <tr valign="top"> |
| 214 | | <td width="30%" align="left"> |
| 215 | | <strong><?php _e('Naming Conventions:', 'wp-useronline'); ?></strong><br /><br /><br /> |
| 216 | | <?php _e('Allowed Variables:', 'wp-useronline'); ?><br /> |
| 217 | | - %USERONLINE_COUNT%<br /><br /> |
| 218 | | <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-useronline'); ?>" onclick="useronline_default_naming();" class="button" /> |
| 219 | | </td> |
| 220 | | <td align="left"> |
| 221 | | <table width="100%" border="0" cellspacing="3" cellpadding="3"> |
| | 186 | <h3><?php _e('Useronline Options', 'wp-useronline'); ?></h3> |
| | 187 | <table class="form-table"> |
| | 188 | <tr> |
| | 189 | <th scope="row" valign="top"><?php _e('Time Out', 'wp-useronline'); ?></th> |
| | 190 | <td> |
| | 191 | <input type="text" name="useronline_timeout" value="<?php echo get_option('useronline_timeout'); ?>" size="4" /><br /><?php _e('How long till it will remove the user from the database (In seconds).', 'wp-useronline'); ?> |
| | 192 | </td> |
| | 193 | </tr> |
| | 194 | <tr> |
| | 195 | <th scope="row" valign="top"><?php _e('UserOnline URL', 'wp-useronline'); ?></th> |
| | 196 | <td> |
| | 197 | <input type="text" name="useronline_url" value="<?php echo get_option('useronline_url'); ?>" size="50" /><br /><?php _e('URL To UserOnline Page (leave blank if you do not want to link it to the UserOnline Page)<br />Example: http://www.yoursite.com/blogs/useronline/<br />Example: http://www.yoursite.com/blogs/?page_id=2', 'wp-useronline'); ?> |
| | 198 | </td> |
| | 199 | </tr> |
| | 200 | <tr> |
| | 201 | <th scope="row" valign="top"><?php _e('Bots Name/User Agent', 'wp-useronline'); ?></th> |
| | 202 | <td> |
| | 203 | <?php _e('Here are a list of bots and their partial browser agents.<br />On the left column will be the <strong>Bot\'s Name</strong> and on the right column will be their <strong>Partial Browser Agent</strong>.<br />Start each entry on a new line.', 'wp-useronline'); ?> |
| | 204 | <br /><br /> |
| | 205 | <textarea cols="20" rows="30" name="useronline_bots_name"><?php echo $useronline_options_bots_name; ?></textarea> |
| | 206 | <textarea cols="20" rows="30" name="useronline_bots_agent"><?php echo $useronline_options_bots_agent; ?></textarea> |
| | 207 | </td> |
| | 208 | </tr> |
| | 209 | <tr> |
| | 210 | <td width="30%"> |
| | 211 | <strong><?php _e('Naming Conventions:', 'wp-useronline'); ?></strong><br /><br /><br /> |
| | 212 | <?php _e('Allowed Variables:', 'wp-useronline'); ?><br /> |
| | 213 | - %USERONLINE_COUNT%<br /><br /> |
| | 214 | <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-useronline'); ?>" onclick="useronline_default_naming();" class="button" /> |
| | 215 | </td> |
| | 216 | <td> |
| | 217 | <table class="form-table"> |
| | 218 | <thead> |
| 242 | | </table> |
| 243 | | </td> |
| 244 | | </tr> |
| 245 | | </table> |
| 246 | | </fieldset> |
| 247 | | <fieldset class="options"> |
| 248 | | <legend><?php _e('Useronline Templates', 'wp-useronline'); ?></legend> |
| 249 | | <table width="100%" border="0" cellspacing="3" cellpadding="3"> |
| 250 | | <tr valign="top"> |
| 251 | | <td width="30%" align="left"> |
| 252 | | <strong><?php _e('User(s) Online:', 'wp-useronline'); ?></strong><br /><br /><br /> |
| 253 | | <?php _e('Allowed Variables:', 'wp-useronline'); ?><br /> |
| 254 | | - %USERONLINE_USERS%<br /> |
| 255 | | - %USERONLINE_PAGE_URL%<br /> |
| 256 | | - %USERONLINE_MOSTONLINE_COUNT%<br /> |
| 257 | | - %USERONLINE_MOSTONLINE_DATE%<br /><br /> |
| 258 | | <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-useronline'); ?>" onclick="useronline_default_templates('useronline');" class="button" /> |
| 259 | | </td> |
| 260 | | <td align="left"><textarea cols="80" rows="12" id="useronline_template_useronline" name="useronline_template_useronline"><?php echo htmlspecialchars(stripslashes(get_option('useronline_template_useronline'))); ?></textarea></td> |
| 261 | | </tr> |
| 262 | | <tr valign="top"> |
| 263 | | <td width="30%" align="left"> |
| 264 | | <strong><?php _e('User(s) Browsing Site:', 'wp-useronline'); ?></strong><br /><br /><br /> |
| 265 | | <?php _e('Allowed Variables:', 'wp-useronline'); ?><br /> |
| 266 | | - %USERONLINE_USERS%<br /> |
| 267 | | - %USERONLINE_MEMBERS%<br /> |
| 268 | | - %USERONLINE_MEMBER_NAMES%<br /> |
| 269 | | - %USERONLINE_GUESTS_SEPERATOR%<br /> |
| 270 | | - %USERONLINE_GUESTS%<br /> |
| 271 | | - %USERONLINE_BOTS_SEPERATOR%<br /> |
| 272 | | - %USERONLINE_BOTS%<br /><br /> |
| 273 | | <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-useronline'); ?>" onclick="useronline_default_browsing_site();" class="button" /> |
| 274 | | </td> |
| 275 | | <td align="left"> |
| 276 | | <table width="90%" border="0" cellspacing="3" cellpadding="3"> |
| | 241 | </tbody> |
| | 242 | </table> |
| | 243 | <br /> |
| | 244 | </td> |
| | 245 | </tr> |
| | 246 | </table> |
| | 247 | |
| | 248 | <h3><?php _e('Useronline Templates', 'wp-useronline'); ?></h3> |
| | 249 | <table class="form-table"> |
| | 250 | <tr> |
| | 251 | <td width="30%"> |
| | 252 | <strong><?php _e('User(s) Online:', 'wp-useronline'); ?></strong><br /><br /><br /> |
| | 253 | <?php _e('Allowed Variables:', 'wp-useronline'); ?><br /> |
| | 254 | - %USERONLINE_USERS%<br /> |
| | 255 | - %USERONLINE_PAGE_URL%<br /> |
| | 256 | - %USERONLINE_MOSTONLINE_COUNT%<br /> |
| | 257 | - %USERONLINE_MOSTONLINE_DATE%<br /><br /> |
| | 258 | <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-useronline'); ?>" onclick="useronline_default_templates('useronline');" class="button" /> |
| | 259 | </td> |
| | 260 | <td><textarea cols="80" rows="12" id="useronline_template_useronline" name="useronline_template_useronline"><?php echo htmlspecialchars(stripslashes(get_option('useronline_template_useronline'))); ?></textarea></td> |
| | 261 | </tr> |
| | 262 | <tr> |
| | 263 | <td width="30%"> |
| | 264 | <strong><?php _e('User(s) Browsing Site:', 'wp-useronline'); ?></strong><br /><br /><br /> |
| | 265 | <?php _e('Allowed Variables:', 'wp-useronline'); ?><br /> |
| | 266 | - %USERONLINE_USERS%<br /> |
| | 267 | - %USERONLINE_MEMBERS%<br /> |
| | 268 | - %USERONLINE_MEMBER_NAMES%<br /> |
| | 269 | - %USERONLINE_GUESTS_SEPERATOR%<br /> |
| | 270 | - %USERONLINE_GUESTS%<br /> |
| | 271 | - %USERONLINE_BOTS_SEPERATOR%<br /> |
| | 272 | - %USERONLINE_BOTS%<br /><br /> |
| | 273 | <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-useronline'); ?>" onclick="useronline_default_browsing_site();" class="button" /> |
| | 274 | </td> |
| | 275 | <td> |
| | 276 | <table class="form-table"> |
| | 277 | <thead> |
| 282 | | <tr> |
| 283 | | <td><input type="text" id="useronline_separator_browsingsite_members" name="useronline_separator_browsingsite_members" value="<?php echo stripslashes($useronline_template_browsingsite[0]); ?>" size="15" /></td> |
| 284 | | <td><input type="text" id="useronline_separator_browsingsite_guests" name="useronline_separator_browsingsite_guests" value="<?php echo stripslashes($useronline_template_browsingsite[1]); ?>" size="15" /></td> |
| 285 | | <td><input type="text" id="useronline_separator_browsingsite_bots" name="useronline_separator_browsingsite_bots" value="<?php echo stripslashes($useronline_template_browsingsite[2]); ?>" size="15" /></td> |
| 286 | | </tr> |
| 287 | | </table> |
| 288 | | <textarea cols="80" rows="12" id="useronline_template_browsingsite" name="useronline_template_browsingsite"><?php echo htmlspecialchars(stripslashes($useronline_template_browsingsite[3])); ?></textarea> |
| 289 | | </td> |
| 290 | | </tr> |
| 291 | | <tr valign="top"> |
| 292 | | <td width="30%" align="left"> |
| 293 | | <strong><?php _e('User(s) Browsing Page:', 'wp-useronline'); ?></strong><br /><br /><br /> |
| 294 | | <?php _e('Allowed Variables:', 'wp-useronline'); ?><br /> |
| 295 | | - %USERONLINE_USERS%<br /> |
| 296 | | - %USERONLINE_MEMBERS%<br /> |
| 297 | | - %USERONLINE_MEMBER_NAMES%<br /> |
| 298 | | - %USERONLINE_GUESTS_SEPERATOR%<br /> |
| 299 | | - %USERONLINE_GUESTS%<br /> |
| 300 | | - %USERONLINE_BOTS_SEPERATOR%<br /> |
| 301 | | - %USERONLINE_BOTS%<br /><br /> |
| 302 | | <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-useronline'); ?>" onclick="useronline_default_browsing_page();" class="button" /> |
| 303 | | </td> |
| 304 | | <td align="left"> |
| 305 | | <table width="90%" border="0" cellspacing="3" cellpadding="3"> |
| | 283 | </thead> |
| | 284 | <tr> |
| | 285 | <td><input type="text" id="useronline_separator_browsingsite_members" name="useronline_separator_browsingsite_members" value="<?php echo stripslashes($useronline_template_browsingsite[0]); ?>" size="15" /></td> |
| | 286 | <td><input type="text" id="useronline_separator_browsingsite_guests" name="useronline_separator_browsingsite_guests" value="<?php echo stripslashes($useronline_template_browsingsite[1]); ?>" size="15" /></td> |
| | 287 | <td><input type="text" id="useronline_separator_browsingsite_bots" name="useronline_separator_browsingsite_bots" value="<?php echo stripslashes($useronline_template_browsingsite[2]); ?>" size="15" /></td> |
| | 288 | </tr> |
| | 289 | </table> |
| | 290 | <br /> |
| | 291 | <textarea cols="80" rows="12" id="useronline_template_browsingsite" name="useronline_template_browsingsite"><?php echo htmlspecialchars(stripslashes($useronline_template_browsingsite[3])); ?></textarea> |
| | 292 | </td> |
| | 293 | </tr> |
| | 294 | <tr> |
| | 295 | <td width="30%"> |
| | 296 | <strong><?php _e('User(s) Browsing Page:', 'wp-useronline'); ?></strong><br /><br /><br /> |
| | 297 | <?php _e('Allowed Variables:', 'wp-useronline'); ?><br /> |
| | 298 | - %USERONLINE_USERS%<br /> |
| | 299 | - %USERONLINE_MEMBERS%<br /> |
| | 300 | - %USERONLINE_MEMBER_NAMES%<br /> |
| | 301 | - %USERONLINE_GUESTS_SEPERATOR%<br /> |
| | 302 | - %USERONLINE_GUESTS%<br /> |
| | 303 | - %USERONLINE_BOTS_SEPERATOR%<br /> |
| | 304 | - %USERONLINE_BOTS%<br /><br /> |
| | 305 | <input type="button" name="RestoreDefault" value="<?php _e('Restore Default Template', 'wp-useronline'); ?>" onclick="useronline_default_browsing_page();" class="button" /> |
| | 306 | </td> |
| | 307 | <td> |
| | 308 | <table class="form-table"> |
| | 309 | <thead> |
| 311 | | <tr> |
| 312 | | <td><input type="text" id="useronline_separator_browsingpage_members" name="useronline_separator_browsingpage_members" value="<?php echo stripslashes($useronline_template_browsingpage[0]); ?>" size="15" /></td> |
| 313 | | <td><input type="text" id="useronline_separator_browsingpage_guests" name="useronline_separator_browsingpage_guests" value="<?php echo stripslashes($useronline_template_browsingpage[1]); ?>" size="15" /></td> |
| 314 | | <td><input type="text" id="useronline_separator_browsingpage_bots" name="useronline_separator_browsingpage_bots" value="<?php echo stripslashes($useronline_template_browsingpage[2]); ?>" size="15" /></td> |
| 315 | | </tr> |
| 316 | | </table> |
| 317 | | <textarea cols="80" rows="12" id="useronline_template_browsingpage" name="useronline_template_browsingpage"><?php echo htmlspecialchars(stripslashes($useronline_template_browsingpage[3])); ?></textarea> |
| 318 | | </td> |
| 319 | | </tr> |
| 320 | | </table> |
| 321 | | </fieldset> |
| | 315 | </thead> |
| | 316 | <tr> |
| | 317 | <td><input type="text" id="useronline_separator_browsingpage_members" name="useronline_separator_browsingpage_members" value="<?php echo stripslashes($useronline_template_browsingpage[0]); ?>" size="15" /></td> |
| | 318 | <td><input type="text" id="useronline_separator_browsingpage_guests" name="useronline_separator_browsingpage_guests" value="<?php echo stripslashes($useronline_template_browsingpage[1]); ?>" size="15" /></td> |
| | 319 | <td><input type="text" id="useronline_separator_browsingpage_bots" name="useronline_separator_browsingpage_bots" value="<?php echo stripslashes($useronline_template_browsingpage[2]); ?>" size="15" /></td> |
| | 320 | </tr> |
| | 321 | </table> |
| | 322 | <br /> |
| | 323 | <textarea cols="80" rows="12" id="useronline_template_browsingpage" name="useronline_template_browsingpage"><?php echo htmlspecialchars(stripslashes($useronline_template_browsingpage[3])); ?></textarea> |
| | 324 | </td> |
| | 325 | </tr> |
| | 326 | </table> |