?> <input type="checkbox" name="viewers_refresh_enabled"/> <?php } cmtx_generate_hint(CMTX_HINT_VISITOR_REFRESH); ?> <p /> <label class='settings_viewers'><?php echo CMTX_FIELD_LABEL_INTERVAL; ?> </label> <input type="text" required name="viewers_refresh_time" size="1" maxlength="250" value="<?php echo cmtx_setting('viewers_refresh_time'); ?> "/> <span class='note'><?php echo CMTX_NOTE_SECONDS; ?> </span> <?php cmtx_generate_hint(CMTX_HINT_VISITOR_INTERVAL); ?> <p /> <?php cmtx_set_csrf_form_key(); ?> <input type="submit" class="button" name="submit" title="<?php echo CMTX_BUTTON_UPDATE; ?> " value="<?php echo CMTX_BUTTON_UPDATE; ?> "/> </form>
?> "/> <?php cmtx_generate_hint(CMTX_HINT_LIMIT_COMMENTS); ?> <p /> <label class='settings_system'><?php echo CMTX_FIELD_LABEL_ADMIN_COOKIE_DAYS; ?> </label> <input type="text" required name="admin_cookie_days" size="1" maxlength="3" value="<?php echo cmtx_setting('admin_cookie_days'); ?> "/> <span class='note'><?php echo CMTX_NOTE_DAYS; ?> </span> <?php cmtx_generate_hint(CMTX_HINT_ADMIN_COOKIE_DAYS); ?> <p /> <?php cmtx_set_csrf_form_key(); ?> <input type="submit" class="button" name="submit" title="<?php echo CMTX_BUTTON_UPDATE; ?> " value="<?php echo CMTX_BUTTON_UPDATE; ?> "/> </form>
} cmtx_generate_hint(CMTX_HINT_REPLY_ARROW); ?> <p /> <label class='layout_comments_replies'><?php echo CMTX_FIELD_LABEL_SCROLL_REPLY; ?> </label> <?php if (cmtx_setting('scroll_reply')) { ?> <input type="checkbox" checked="checked" name="scroll_reply"/> <?php } else { ?> <input type="checkbox" name="scroll_reply"/> <?php } cmtx_generate_hint(CMTX_HINT_SCROLL_REPLY); ?> <p /> <label class='layout_comments_replies'><?php echo CMTX_FIELD_LABEL_SCROLL_SPEED; ?> </label> <input type="text" required name="scroll_speed" size="3" maxlength="250" value="<?php echo cmtx_setting('scroll_speed'); ?> "/> <span class='note'><?php echo CMTX_NOTE_MILLISECONDS; ?> </span> <p /> <?php cmtx_set_csrf_form_key();
} cmtx_generate_hint(CMTX_HINT_ONE_NAME); ?> <p /> <label class='settings_processor_name'><?php echo CMTX_FIELD_LABEL_FIX_NAME; ?> </label> <?php if (cmtx_setting('fix_name_enabled')) { ?> <input type="checkbox" checked="checked" name="fix_name_enabled"/> <?php } else { ?> <input type="checkbox" name="fix_name_enabled"/> <?php } cmtx_generate_hint(CMTX_HINT_FIX_NAME); ?> <p /><hr class="separator"/><br /> <label class='settings_processor_name'><?php echo CMTX_FIELD_LABEL_DETECT_LINKS; ?> </label> <?php if (cmtx_setting('detect_link_in_name_enabled')) { ?> <input type="checkbox" checked="checked" name="detect_link_in_name_enabled"/> <?php } else { ?> <input type="checkbox" name="detect_link_in_name_enabled"/> <?php } ?> <p />
echo cmtx_setting('securimage_lines'); ?> "/> <?php cmtx_generate_hint(CMTX_HINT_SECURIMAGE_LINES); ?> <p /> <label class='layout_form_captchas_securimage_1'><?php echo CMTX_FIELD_LABEL_SECURIMAGE_NOISE; ?> </label> <input type="text" required name="securimage_noise" size="1" maxlength="250" value="<?php echo cmtx_setting('securimage_noise'); ?> "/> <?php cmtx_generate_hint(CMTX_HINT_SECURIMAGE_NOISE); ?> <div class='sub-heading'><?php echo "Styling"; ?> </div> <label class='layout_form_captchas_securimage_2'><?php echo CMTX_FIELD_LABEL_SECURIMAGE_TEXT_COLOR; ?> </label> <input type="text" required name="securimage_text_color" size="7" maxlength="250" value="<?php echo cmtx_setting('securimage_text_color'); ?> "/> <p /> <label class='layout_form_captchas_securimage_2'><?php echo CMTX_FIELD_LABEL_SECURIMAGE_LINE_COLOR;
?> "/> <?php cmtx_generate_hint(CMTX_HINT_FLAG_MIN_PER_COM); ?> <p /> <label class='settings_flagging'><?php echo CMTX_FIELD_LABEL_DISAPPROVE; ?> </label> <?php if (cmtx_setting('flag_disapprove')) { ?> <input type="checkbox" checked="checked" name="flag_disapprove"/> <?php } else { ?> <input type="checkbox" name="flag_disapprove"/> <?php } cmtx_generate_hint(CMTX_HINT_FLAG_DISAPPROVE); ?> <p /> <?php cmtx_set_csrf_form_key(); ?> <input type="submit" class="button" name="submit" title="<?php echo CMTX_BUTTON_UPDATE; ?> " value="<?php echo CMTX_BUTTON_UPDATE; ?> "/> </form>
?> </label> <input type="text" required name="comments_per_page" size="1" maxlength="250" value="<?php echo cmtx_setting('comments_per_page'); ?> "/> <?php cmtx_generate_hint(CMTX_HINT_PAGINATION_PER_PAGE); ?> <p /> <label class='layout_comments_pagination'><?php echo CMTX_FIELD_LABEL_RANGE; ?> </label> <input type="text" required name="range_of_pages" size="1" maxlength="250" value="<?php echo cmtx_setting('range_of_pages'); ?> "/> <?php cmtx_generate_hint(CMTX_HINT_PAGINATION_RANGE); ?> <p /> <?php cmtx_set_csrf_form_key(); ?> <input type="submit" class="button" name="submit" title="<?php echo CMTX_BUTTON_UPDATE; ?> " value="<?php echo CMTX_BUTTON_UPDATE; ?> "/> </form>
<?php } else { ?> <select name='is_locked'> <option value='0' selected='selected'><?php echo CMTX_FIELD_VALUE_NO; ?> </option> <option value='1'><?php echo CMTX_FIELD_VALUE_YES; ?> </option> </select> <?php } cmtx_generate_hint(CMTX_HINT_LOCKED); ?> <br /><hr class="separator"/><br /> <label class='edit_comment'><?php echo CMTX_FIELD_LABEL_IP_ADDRESS; ?> </label> <input readonly="readonly" type="text" class="readonly" name="ip_address" size="12" maxlength="39" value="<?php echo $ip_address; ?> "/> <p /> <label class='edit_comment'><?php echo CMTX_FIELD_LABEL_TIME; ?>
} ?> </select> <p /><hr class="separator"/><br /> <label class='settings_processor_comment'><?php echo CMTX_FIELD_LABEL_DETECT_REPEATS; ?> </label> <?php if (cmtx_setting('check_repeats_enabled')) { ?> <input type="checkbox" checked="checked" name="check_repeats_enabled"/> <?php } else { ?> <input type="checkbox" name="check_repeats_enabled"/> <?php } cmtx_generate_hint(CMTX_HINT_DETECT_REPEATS); ?> <p /> <label class='settings_processor_comment'><?php echo CMTX_FIELD_LABEL_ACTION; ?> </label> <select name='check_repeats_action'> <?php if (cmtx_setting('check_repeats_action') == "reject") { ?> <option value='reject' selected='selected'><?php echo CMTX_FIELD_VALUE_REJECT; ?> </option> <option value='approve'><?php
?> </select> <?php cmtx_generate_hint(CMTX_HINT_REPEAT_RATINGS); ?> <p /> <label class='layout_form_general'><?php echo CMTX_FIELD_LABEL_AGREE_TO_PREVIEW; ?> </label> <?php if (cmtx_setting('agree_to_preview')) { ?> <input type="checkbox" checked="checked" name="agree_to_preview"/> <?php } else { ?> <input type="checkbox" name="agree_to_preview"/> <?php } cmtx_generate_hint(CMTX_HINT_AGREE_TO_PREVIEW); ?> <p /> <?php cmtx_set_csrf_form_key(); ?> <input type="submit" class="button" name="submit" title="<?php echo CMTX_BUTTON_UPDATE; ?> " value="<?php echo CMTX_BUTTON_UPDATE; ?> "/> </form>
?> <input type="checkbox" name="approve_notifications"/> <?php } cmtx_generate_hint(CMTX_HINT_APPROVE_NOTIFICATIONS); ?> <p /> <label class='settings_approval'><?php echo CMTX_FIELD_LABEL_TRUST_USERS; ?> </label> <?php if (cmtx_setting('trust_users')) { ?> <input type="checkbox" checked="checked" name="trust_users"/> <?php } else { ?> <input type="checkbox" name="trust_users"/> <?php } cmtx_generate_hint(CMTX_HINT_TRUST_USERS); ?> <p /> <?php cmtx_set_csrf_form_key(); ?> <input type="submit" class="button" name="submit" title="<?php echo CMTX_BUTTON_UPDATE; ?> " value="<?php echo CMTX_BUTTON_UPDATE; ?> "/> </form>
?> "/> <span class='note'><?php echo CMTX_NOTE_HOURS; ?> </span> <p /> <label class='settings_flooding'><?php echo CMTX_FIELD_LABEL_ALL_PAGES; ?> </label> <?php if (cmtx_setting('flood_control_maximum_all_pages')) { ?> <input type="checkbox" checked="checked" name="flood_control_maximum_all_pages"/> <?php } else { ?> <input type="checkbox" name="flood_control_maximum_all_pages"/> <?php } cmtx_generate_hint(CMTX_HINT_FLOODING_ALL_PAGES); ?> <p /> <?php cmtx_set_csrf_form_key(); ?> <input type="submit" class="button" name="submit" title="<?php echo CMTX_BUTTON_UPDATE; ?> " value="<?php echo CMTX_BUTTON_UPDATE; ?> "/> </form>
?> <input type="checkbox" name="show_comment_count"/> <?php } cmtx_generate_hint(CMTX_HINT_DISPLAY_COMMENT_COUNT); ?> <p /> <label class='layout_comments_general'><?php echo CMTX_FIELD_LABEL_DISPLAY_SAYS; ?> </label> <?php if (cmtx_setting('show_says')) { ?> <input type="checkbox" checked="checked" name="show_says"/> <?php } else { ?> <input type="checkbox" name="show_says"/> <?php } cmtx_generate_hint(CMTX_HINT_DISPLAY_SAYS); ?> <p /> <?php cmtx_set_csrf_form_key(); ?> <input type="submit" class="button" name="submit" title="<?php echo CMTX_BUTTON_UPDATE; ?> " value="<?php echo CMTX_BUTTON_UPDATE; ?> "/> </form>
} cmtx_generate_hint(CMTX_HINT_SOCIAL_ENABLED); ?> <p /> <label class='layout_comments_social'><?php echo CMTX_FIELD_LABEL_NEW_WINDOW; ?> </label> <?php if (cmtx_setting('social_new_window')) { ?> <input type="checkbox" checked="checked" name="social_new_window"/> <?php } else { ?> <input type="checkbox" name="social_new_window"/> <?php } cmtx_generate_hint(CMTX_HINT_NEW_WIN); ?> <p /> <?php echo CMTX_DESC_LAYOUT_COMMENTS_SOCIAL_2; ?> <p /> <label class='layout_comments_social'><img src="../images/social/facebook.png" title="Facebook" alt="Facebook"/></label> <?php if (cmtx_setting('show_social_facebook')) { ?> <input type="checkbox" checked="checked" name="show_social_facebook"/> <?php } else {
</label> <input type="text" required name="gravatar_size" size="1" maxlength="250" value="<?php echo cmtx_setting('gravatar_size'); ?> "/> <span class='note'><?php echo CMTX_NOTE_PIXELS; ?> </span> <p /> <label class='layout_comments_gravatar'><?php echo CMTX_FIELD_LABEL_GRAVATAR_RATING; ?> </label> <?php $gravatar_ratings = "<select name='gravatar_ratings'>\r\n<option value='g'>G</option>\r\n<option value='pg'>PG</option>\r\n<option value='r'>R</option>\r\n<option value='x'>X</option>\r\n</select>"; $gravatar_ratings = str_ireplace("'" . cmtx_setting('gravatar_rating') . "'", "'" . cmtx_setting('gravatar_rating') . "' selected='selected'", $gravatar_ratings); echo $gravatar_ratings; cmtx_generate_hint(CMTX_HINT_GRAVATAR_RATING); ?> <p /> <?php cmtx_set_csrf_form_key(); ?> <input type="submit" class="button" name="submit" title="<?php echo CMTX_BUTTON_UPDATE; ?> " value="<?php echo CMTX_BUTTON_UPDATE; ?> "/> </form>
<p /> <form name="settings_processor_town" id="settings_processor_town" action="index.php?page=settings_processor_town" method="post"> <label class='settings_processor_town'><?php echo CMTX_FIELD_LABEL_FIX_TOWN; ?> </label> <?php if (cmtx_setting('fix_town_enabled')) { ?> <input type="checkbox" checked="checked" name="fix_town_enabled"/> <?php } else { ?> <input type="checkbox" name="fix_town_enabled"/> <?php } cmtx_generate_hint(CMTX_HINT_FIX_TOWN); ?> <p /><hr class="separator"/><br /> <label class='settings_processor_town'><?php echo CMTX_FIELD_LABEL_DETECT_LINKS; ?> </label> <?php if (cmtx_setting('detect_link_in_town_enabled')) { ?> <input type="checkbox" checked="checked" name="detect_link_in_town_enabled"/> <?php } else { ?> <input type="checkbox" name="detect_link_in_town_enabled"/> <?php } ?> <p />
?> <input type="checkbox" name="show_sort_by_5"/> <?php } cmtx_generate_hint(CMTX_HINT_SORT_BY_5); ?> <p /> <label class='layout_comments_sort_by'><?php echo CMTX_FIELD_LABEL_SORT_BY_6; ?> </label> <?php if (cmtx_setting('show_sort_by_6')) { ?> <input type="checkbox" checked="checked" name="show_sort_by_6"/> <?php } else { ?> <input type="checkbox" name="show_sort_by_6"/> <?php } cmtx_generate_hint(CMTX_HINT_SORT_BY_6); ?> <p /> <?php cmtx_set_csrf_form_key(); ?> <input type="submit" class="button" name="submit" title="<?php echo CMTX_BUTTON_UPDATE; ?> " value="<?php echo CMTX_BUTTON_UPDATE; ?> "/> </form>
?> <input type="checkbox" name="check_time"/> <?php } cmtx_generate_hint(CMTX_HINT_CHECK_TIME); ?> <p /> <label class='settings_security'><?php echo CMTX_FIELD_LABEL_BAN_COOKIE; ?> </label> <input type="text" required name="ban_cookie_days" size="1" maxlength="3" value="<?php echo cmtx_setting('ban_cookie_days'); ?> "/> <span class='note'><?php echo CMTX_NOTE_DAYS; ?> </span> <?php cmtx_generate_hint(CMTX_HINT_BAN_COOKIE); ?> <p /> <?php cmtx_set_csrf_form_key(); ?> <input type="submit" class="button" name="submit" title="<?php echo CMTX_BUTTON_UPDATE; ?> " value="<?php echo CMTX_BUTTON_UPDATE; ?> "/> </form>
} cmtx_generate_hint(CMTX_HINT_NEW_WIN); ?> <p /> <label class='settings_processor_website'><?php echo CMTX_FIELD_LABEL_NO_FOLLOW; ?> </label> <?php if (cmtx_setting('website_nofollow')) { ?> <input type="checkbox" checked="checked" name="website_nofollow"/> <?php } else { ?> <input type="checkbox" name="website_nofollow"/> <?php } cmtx_generate_hint(CMTX_HINT_NO_FOLLOW); ?> <br /><hr class="separator"/><br /> <label class='settings_processor_website'><?php echo CMTX_FIELD_LABEL_RESERVED_WEBSITE; ?> </label> <?php if (cmtx_setting('reserved_websites_enabled')) { ?> <input type="checkbox" checked="checked" name="reserved_websites_enabled"/> <?php } else { ?> <input type="checkbox" name="reserved_websites_enabled"/> <?php } ?> <p />