Make WordPress Core

Changeset 970


Ignore:
Timestamp:
03/11/2004 08:53:05 AM (21 years ago)
Author:
saxmatt
Message:

Forgot label, formatting.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-discussion.php

    r969 r970  
    4545?>
    4646 <ul id="adminmenu2">
    47   <li><a href="options-general.php">General</a></li>
    48   <li><a href="options-writing.php">Writing</a></li>
    49   <li><a href="options-reading.php">Reading</a></li>
    50   <li><a class="current">Discussion</a></li>
    51   <?php
     47    <li><a href="options-general.php">General</a></li>
     48    <li><a href="options-writing.php">Writing</a></li>
     49    <li><a href="options-reading.php">Reading</a></li>
     50    <li><a class="current">Discussion</a></li>
     51    <?php
    5252    //we need to iterate through the available option groups.
    5353    $option_groups = $wpdb->get_results("SELECT group_id, group_name, group_desc, group_longdesc FROM $tableoptiongroups ORDER BY group_id");
     
    6262    } // end for each group
    6363?>
    64   <li class="last"><a href="options-permalink.php">Permalinks</a></li>
     64    <li class="last"><a href="options-permalink.php">Permalinks</a></li>
    6565</ul>
    6666<br clear="all" />
    6767<div class="wrap">
    68   <h2>Discussion Options</h2>
    69   <form name="form1" method="post" action="options.php">
    70     <input type="hidden" name="action" value="update" />
    71     <input type="hidden" name="page_options" value="'default_pingback_flag','default_ping_status','default_comment_status','comments_notify','moderation_notify','comment_moderation','moderation_keys'" />
    72     <p>Usual settings for an article: <em>(These settings may be overidden for individual articles.)</em></p>
    73     <ul>
    74       <li>
    75         <label for="default_pingback_flag">
    76         <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_settings('default_pingback_flag')); ?> />
    77         Attempt to notify any Weblogs linked to from the article. (Slows down posting.)</label>
    78       </li>
    79       <li>
    80         <label for="default_ping_status">
    81         <input name="default_ping_status" type="checkbox" id="default_ping_status" value="open" <?php checked('open', get_settings('default_ping_status')); ?> />
    82         Allow link notifications from other Weblogs. (Pingbacks and trackbacks.)</label>
    83       </li>
    84       <li>
    85         <label for="default_comment_status">
    86         <input name="default_comment_status" type="checkbox" id="default_comment_status" value="open" <?php checked('open', get_settings('default_comment_status')); ?> />
    87         Allow people to post comments on the article</label>
    88       </li>
    89     </ul>
    90     <p>Email me whenever:</p>
    91     <ul>
    92       <li>
    93         <label for="comments_notify">
    94         <input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_settings('comments_notify')); ?> />
    95         Anyone posts a comment </label>
    96       </li>
    97       <li>
    98         <label for="moderation_notify">
    99         <input name="moderation_notify" type="checkbox" id="moderation_notify" value="1" <?php checked('1', get_settings('moderation_notify')); ?> />
    100         A comment is approved or declined </label>
    101       </li>
    102     </ul>
    103     <p>Before a comment appears:</p>
    104     <ul>
    105       <li>
    106         <label for="comment_moderation">
    107         <input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_settings('comment_moderation')); ?> />
    108         An administrator must approve the comment (regardless of any matches below) </label>
    109       </li>
    110       <li>
    111         <input type="checkbox" name="require_name_email" value="1" <?php checked('1', get_settings('require_name_email')); ?> />
    112         User must fill out name and email
    113 </li>
    114     </ul>
    115     <p>When a comment contains any of these words in its content, name, URI, or email, hold it in the moderation queue: (Seperate multiple words with new lines.)</p>
    116     <p>
    117       <textarea name="moderation_keys" cols="60" rows="4" id="moderation_keys" style="width: 98%;"><?php echo get_settings('moderation_keys'); ?></textarea>
    118     </p>
    119     <p style="text-align: right;">
    120       <input type="submit" name="Submit" value="Update Options" />
    121     </p>
    122   </form>
     68    <h2>Discussion Options</h2>
     69    <form name="form1" method="post" action="options.php">
     70        <input type="hidden" name="action" value="update" />
     71        <input type="hidden" name="page_options" value="'default_pingback_flag','default_ping_status','default_comment_status','comments_notify','moderation_notify','comment_moderation','moderation_keys'" />
     72        <p>Usual settings for an article: <em>(These settings may be overidden for individual articles.)</em></p>
     73        <ul>
     74            <li>
     75                <label for="default_pingback_flag">
     76                <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_settings('default_pingback_flag')); ?> />
     77                Attempt to notify any Weblogs linked to from the article. (Slows down posting.)</label>
     78            </li>
     79            <li>
     80                <label for="default_ping_status">
     81                <input name="default_ping_status" type="checkbox" id="default_ping_status" value="open" <?php checked('open', get_settings('default_ping_status')); ?> />
     82                Allow link notifications from other Weblogs. (Pingbacks and trackbacks.)</label>
     83            </li>
     84            <li>
     85                <label for="default_comment_status">
     86                <input name="default_comment_status" type="checkbox" id="default_comment_status" value="open" <?php checked('open', get_settings('default_comment_status')); ?> />
     87                Allow people to post comments on the article</label>
     88            </li>
     89        </ul>
     90        <p>Email me whenever:</p>
     91        <ul>
     92            <li>
     93                <label for="comments_notify">
     94                <input name="comments_notify" type="checkbox" id="comments_notify" value="1" <?php checked('1', get_settings('comments_notify')); ?> />
     95                Anyone posts a comment </label>
     96            </li>
     97            <li>
     98                <label for="moderation_notify">
     99                <input name="moderation_notify" type="checkbox" id="moderation_notify" value="1" <?php checked('1', get_settings('moderation_notify')); ?> />
     100                A comment is approved or declined </label>
     101            </li>
     102        </ul>
     103        <p>Before a comment appears:</p>
     104        <ul>
     105            <li>
     106                <label for="comment_moderation">
     107                <input name="comment_moderation" type="checkbox" id="comment_moderation" value="1" <?php checked('1', get_settings('comment_moderation')); ?> />
     108                An administrator must approve the comment (regardless of any matches below) </label>
     109            </li>
     110            <li>
     111                <label>
     112                <input type="checkbox" name="require_name_email" value="1" <?php checked('1', get_settings('require_name_email')); ?> />
     113                User must fill out name and email </label>
     114            </li>
     115        </ul>
     116        <p>When a comment contains any of these words in its content, name, URI, or email, hold it in the moderation queue: (Seperate multiple words with new lines.)</p>
     117        <p>
     118            <textarea name="moderation_keys" cols="60" rows="4" id="moderation_keys" style="width: 98%;"><?php echo get_settings('moderation_keys'); ?></textarea>
     119        </p>
     120        <p style="text-align: right;">
     121            <input type="submit" name="Submit" value="Update Options" />
     122        </p>
     123    </form>
    123124</div>
    124125<?php include("admin-footer.php") ?>
Note: See TracChangeset for help on using the changeset viewer.