Changeset 1076
- Timestamp:
- 04/15/2004 09:15:56 AM (22 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 7 edited
-
categories.php (modified) (1 diff)
-
install.php (modified) (1 diff)
-
link-add.php (modified) (3 diffs)
-
link-manager.php (modified) (2 diffs)
-
options-discussion.php (modified) (5 diffs)
-
options-misc.php (modified) (3 diffs)
-
profile.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/categories.php
r968 r1076 141 141 142 142 <div class="wrap"> 143 <h2>Current Categories </h2>143 <h2>Current Categories (<a href="#addcat">add new</a>) </h2> 144 144 <table width="100%" cellpadding="3" cellspacing="3"> 145 145 <tr> -
trunk/wp-admin/install.php
r1073 r1076 443 443 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(34,'fileupload_allowedtypes', 3, 'jpg gif png', 'accepted file types, separated by spaces. example: \'jpg gif png\'', 8, 20)", 444 444 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(35,'fileupload_maxk', 1, '96', 'by default, most servers limit the size of uploads to 2048 KB, if you want to set it to a lower value, here it is (you cannot set a higher value than your server limit)', 8, 20)", 445 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(36,'fileupload_minlevel', 1, ' 1', 'you may not want all users to upload pictures/files, so you can set a minimum level for this', 8, 20)",445 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(36,'fileupload_minlevel', 1, '4', 'you may not want all users to upload pictures/files, so you can set a minimum level for this', 8, 20)", 446 446 "INSERT INTO $tableoptions (option_id, option_name, option_type, option_value, option_description, option_admin_level, option_width) VALUES(37,'fileupload_allowedusers', 3, '', '...or you may authorize only some users. enter their logins here, separated by spaces. if you leave this variable blank, all users who have the minimum level are authorized to upload. example: \'barbara anne george\'', 8, 30)", 447 447 // email settings -
trunk/wp-admin/link-add.php
r945 r1076 70 70 </style> 71 71 <div class="wrap"> 72 <h 3><strong>Add</strong> a link:<?php echo gethelp_link($this_file,'add_a_link');?></h3>72 <h2><strong>Add</strong> a link: <?php echo gethelp_link($this_file,'add_a_link');?></h2> 73 73 <form name="addlink" method="post" action="link-manager.php"> 74 <table width="100%" border="0" cellspacing="0" cellpadding="4"> 75 <tr> 76 <th scope="row">URI:</th> 77 <td><input type="text" name="linkurl" size="80" value="<?php echo $link_url; ?>"></td> 74 <fieldset class="options"> 75 <legend>Basics</legend> 76 <table class="editform" width="100%" cellspacing="2" cellpadding="5"> 77 <tr> 78 <th width="33%" scope="row">URI:</th> 79 <td width="67%"><input type="text" name="linkurl" value="<?php echo $_GET['linkurl']; ?>" style="width: 95%; /"></td> 78 80 </tr> 79 81 <tr> 80 82 <th scope="row">Link Name:</th> 81 <td><input type="text" name="name" size="80" value="<?php echo $link_name; ?>"></td> 82 </tr> 83 <tr> 84 <th scope="row">Image</th> 85 <td><input type="text" name="image" size="80" value=""></td> 86 </tr> 87 <tr> 83 <td><input type="text" name="name" value="<?php echo urldecode($_GET['name']); ?>" style="width: 95%" /></td> 84 </tr> 85 <tr> 86 <th scope="row">Description:</th> 87 <td><input type="text" name="description" value="" style="width: 95%" /></td> 88 </tr> 89 <tr> 90 <th scope="row">Category:</th> 91 <td><?php category_dropdown('category'); ?></td> 92 </tr> 93 </table> 94 </fieldset> 95 <p class="submit"> 96 <input type="submit" name="submit" value="Add Link »" > 97 </p> 98 <fieldset class="options"> 99 <legend>Link Relationship (XFN)</legend> 100 <table class="editform" width="100%" cellspacing="2" cellpadding="5"> 101 <tr> 102 <th width="33%" scope="row">rel:</th> 103 <td width="67%"><input type="text" name="rel" id="rel" size="50" value=""></td> 104 </tr> 105 <tr> 106 <th scope="row"><a href="http://gmpg.org/xfn/">XFN</a> Creator:</th> 107 <td><table cellpadding="3" cellspacing="5"> 108 <tr> 109 <th scope="row"> friendship </th> 110 <td><label for="label"> 111 <input class="valinp" type="radio" name="friendship" value="acquaintance" id="label" /> 112 acquaintance</label> 113 <label for="label2"> 114 <input class="valinp" type="radio" name="friendship" value="friend" id="label2" /> 115 friend</label> 116 <label for="label3"> 117 <input class="valinp" type="radio" name="friendship" value="" id="label3" /> 118 none</label> 119 </td> 120 </tr> 121 <tr> 122 <th scope="row"> physical </th> 123 <td><label for="label4"> 124 <input class="valinp" type="checkbox" name="physical" value="met" id="label4" /> 125 met</label> 126 </td> 127 </tr> 128 <tr> 129 <th scope="row"> professional </th> 130 <td><label for="label5"> 131 <input class="valinp" type="checkbox" name="professional" value="co-worker" id="label5" /> 132 co-worker</label> 133 <label for="label6"> 134 <input class="valinp" type="checkbox" name="professional" value="colleague" id="label6" /> 135 colleague</label> 136 </td> 137 </tr> 138 <tr> 139 <th scope="row"> geographical </th> 140 <td><label for="label7"> 141 <input class="valinp" type="radio" name="geographical" value="co-resident" id="label7" /> 142 co-resident</label> 143 <label for="label8"> 144 <input class="valinp" type="radio" name="geographical" value="neighbor" id="label8" /> 145 neighbor</label> 146 <label for="label9"> 147 <input class="valinp" type="radio" name="geographical" value="" id="label9" /> 148 none</label> 149 </td> 150 </tr> 151 <tr> 152 <th scope="row"> family </th> 153 <td><label for="label10"> 154 <input class="valinp" type="radio" name="family" value="child" id="label10" /> 155 child</label> 156 <label for="label11"> 157 <input class="valinp" type="radio" name="family" value="parent" id="label11" /> 158 parent</label> 159 <label for="label12"> 160 <input class="valinp" type="radio" name="family" value="sibling" id="label12" /> 161 sibling</label> 162 <label for="label13"> 163 <input class="valinp" type="radio" name="family" value="spouse" id="label13" /> 164 spouse</label> 165 <label for="label14"> 166 <input class="valinp" type="radio" name="family" value="" id="label14" /> 167 none</label> 168 </td> 169 </tr> 170 <tr> 171 <th scope="row"> romantic </th> 172 <td><label for="label15"> 173 <input class="valinp" type="checkbox" name="romantic" value="muse" id="label15" /> 174 muse</label> 175 <label for="label16"> 176 <input class="valinp" type="checkbox" name="romantic" value="crush" id="label16" /> 177 crush</label> 178 <label for="label17"> 179 <input class="valinp" type="checkbox" name="romantic" value="date" id="label17" /> 180 date</label> 181 <label for="label18"> 182 <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="label18" /> 183 sweetheart</label> 184 </td> 185 </tr> 186 </table></td> 187 </tr> 188 </table> 189 </fieldset> 190 <p class="submit"> 191 <input type="submit" name="submit" value="Add Link »" > 192 </p> 193 <fieldset class="options"> 194 <legend>Advanced</legend> 195 <table class="editform" width="100%" cellspacing="2" cellpadding="5"> 196 <tr> 197 <th width="33%" scope="row">Image:</th> 198 <td width="67%"><input type="text" name="image" size="50" value=""></td> 199 </tr> 200 <tr> 88 201 <th scope="row">RSS URI: </th> 89 <td><input name="rss_uri" type="text" id="rss_uri" value="" size=" 80"></td>202 <td><input name="rss_uri" type="text" id="rss_uri" value="" size="50"></td> 90 203 </tr> 91 204 <tr> 92 205 <th scope="row">Description</th> 93 <td><input type="text" name="description" size="80" value=""></td> 94 </tr> 95 <tr> 96 <th scope="row">rel:</th> 97 <td><input type="text" name="rel" id="rel" size="80" value=""></td> 98 </tr> 99 <tr> 100 <th scope="row"><a href="http://gmpg.org/xfn/">XFN</a>:</th> 101 <td><table cellpadding="3" cellspacing="5"> 102 <tr> 103 <th scope="row"> friendship </th> 104 <td> 105 <label for="label"> 106 <input class="valinp" type="radio" name="friendship" value="acquaintance" id="label" /> 107 acquaintance</label> 108 <label for="label2"> 109 <input class="valinp" type="radio" name="friendship" value="friend" id="label2" /> 110 friend</label> 111 <label for="label3"> 112 <input class="valinp" type="radio" name="friendship" value="" id="label3" /> 113 none</label> 114 </td> 115 </tr> 116 <tr> 117 <th scope="row"> physical </th> 118 <td> 119 <label for="label4"> 120 <input class="valinp" type="checkbox" name="physical" value="met" id="label4" /> 121 met</label> 122 </td> 123 </tr> 124 <tr> 125 <th scope="row"> professional </th> 126 <td> 127 <label for="label5"> 128 <input class="valinp" type="checkbox" name="professional" value="co-worker" id="label5" /> 129 co-worker</label> 130 <label for="label6"> 131 <input class="valinp" type="checkbox" name="professional" value="colleague" id="label6" /> 132 colleague</label> 133 </td> 134 </tr> 135 <tr> 136 <th scope="row"> geographical </th> 137 <td> 138 <label for="label7"> 139 <input class="valinp" type="radio" name="geographical" value="co-resident" id="label7" /> 140 co-resident</label> 141 <label for="label8"> 142 <input class="valinp" type="radio" name="geographical" value="neighbor" id="label8" /> 143 neighbor</label> 144 <label for="label9"> 145 <input class="valinp" type="radio" name="geographical" value="" id="label9" /> 146 none</label> 147 </td> 148 </tr> 149 <tr> 150 <th scope="row"> family </th> 151 <td> 152 <label for="label10"> 153 <input class="valinp" type="radio" name="family" value="child" id="label10" /> 154 child</label> 155 <label for="label11"> 156 <input class="valinp" type="radio" name="family" value="parent" id="label11" /> 157 parent</label> 158 <label for="label12"> 159 <input class="valinp" type="radio" name="family" value="sibling" id="label12" /> 160 sibling</label> 161 <label for="label13"> 162 <input class="valinp" type="radio" name="family" value="spouse" id="label13" /> 163 spouse</label> 164 <label for="label14"> 165 <input class="valinp" type="radio" name="family" value="" id="label14" /> 166 none</label> 167 </td> 168 </tr> 169 <tr> 170 <th scope="row"> romantic </th> 171 <td> 172 <label for="label15"> 173 <input class="valinp" type="checkbox" name="romantic" value="muse" id="label15" /> 174 muse</label> 175 <label for="label16"> 176 <input class="valinp" type="checkbox" name="romantic" value="crush" id="label16" /> 177 crush</label> 178 <label for="label17"> 179 <input class="valinp" type="checkbox" name="romantic" value="date" id="label17" /> 180 date</label> 181 <label for="label18"> 182 <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="label18" /> 183 sweetheart</label> 184 </td> 185 </tr> 186 </table></td> 206 <td> </td> 187 207 </tr> 188 208 <tr> 189 209 <th scope="row">Notes:</th> 190 <td><textarea name="notes" cols=" 80" rows="10"></textarea></td>210 <td><textarea name="notes" cols="50" rows="10"></textarea></td> 191 211 </tr> 192 212 <tr> … … 208 228 209 229 <label> 230 <br> 210 231 <input type="radio" name="target" value="_top"> 211 232 <code>_top</code></label> 212 233 213 234 <label> 235 <br> 214 236 <input type="radio" name="target" value="" checked="checked"> 215 237 none</label> … … 220 242 <td><label> 221 243 <input type="radio" name="visible" checked="checked" value="Y"> 222 Yes</label> 223 224 <label> 225 <input type="radio" name="visible" value="N"> 244 Yes</label><label><br> 245 <input type="radio" name="visible" value="N"> <input type="hidden" name="action" value="Add" /> 226 246 No</label></td> 227 247 </tr> 228 <tr> 229 <th scope="row">Category:</th> 230 <td><?php category_dropdown('category'); ?></td> 231 </tr> 232 </table> 233 <p style="text-align: center;"> 234 <input type="submit" name="submit" value="Add Link" class="search"> <input type="hidden" name="action" value="Add" /> 248 </table> 249 </fieldset> 250 251 <p class="submit"> 252 <input type="submit" name="submit" value="Add Link »" > 235 253 </p> 236 254 </form> -
trunk/wp-admin/link-manager.php
r957 r1076 619 619 </td> 620 620 <td> 621 <input type="submit" name="action" value="Show" class="search" /><?php echo gethelp_link($this_file,'show');?> 621 <input type="submit" name="action" value="Show" /> 622 <?php echo gethelp_link($this_file,'show');?> 622 623 </td> 623 624 </tr> … … 738 739 </td> 739 740 <td align="right"> 740 <a href="#" on click="checkAll(document.getElementById('links')); return false; ">Toggle Checkboxes</a><?php echo gethelp_link($this_file,'toggle_checkboxes');?>741 <a href="#" onClick="checkAll(document.getElementById('links')); return false; ">Toggle Checkboxes</a><?php echo gethelp_link($this_file,'toggle_checkboxes');?> 741 742 </td> 742 743 </tr> -
trunk/wp-admin/options-discussion.php
r1072 r1076 45 45 <input type="hidden" name="action" value="update" /> 46 46 <input type="hidden" name="page_options" value="'default_pingback_flag','default_ping_status','default_comment_status','comments_notify','moderation_notify','comment_moderation','require_name_email','comment_max_links','moderation_keys'" /> 47 <h3>Usual settings for an article: <em>(These settings may be overidden for individual articles.)</em></h3> 47 <fieldset class="options"> 48 <legend>Usual settings for an article: <em>(These settings may be overidden for individual articles.)</em></legend> 48 49 <ul> 49 50 <li> 50 51 <label for="default_pingback_flag"> 51 52 <input name="default_pingback_flag" type="checkbox" id="default_pingback_flag" value="1" <?php checked('1', get_settings('default_pingback_flag')); ?> /> 52 Attempt to notify any Weblogs linked to from the article . (Slows down posting.)</label>53 Attempt to notify any Weblogs linked to from the article (slows down posting.)</label> 53 54 </li> 54 55 <li> 55 56 <label for="default_ping_status"> 56 57 <input name="default_ping_status" type="checkbox" id="default_ping_status" value="open" <?php checked('open', get_settings('default_ping_status')); ?> /> 57 Allow link notifications from other Weblogs . (Pingbacks and trackbacks.)</label>58 Allow link notifications from other Weblogs (pingbacks and trackbacks.)</label> 58 59 </li> 59 60 <li> … … 63 64 </li> 64 65 </ul> 65 <h3>Email me whenever:</h3> 66 </fieldset> 67 <fieldset class="options"> 68 <legend>Email me whenever:</legend> 66 69 <ul> 67 70 <li> … … 76 79 </li> 77 80 </ul> 78 <h3>Before a comment appears:</h3> 81 </fieldset> 82 <fieldset class="options"> 83 <legend>Before a comment appears:</legend> 79 84 <ul> 80 85 <li> … … 89 94 </li> 90 95 </ul> 96 </fieldset> 91 97 <fieldset class="options"> 92 98 <legend>Comment Moderation</legend> … … 96 102 <p>When a comment contains any of these words in its content, name, URI, email, or IP, hold it in the moderation queue: (Seperate multiple words with new lines.) <a href="http://wiki.wordpress.org/index.php/SpamWords">Common spam words</a>.</p> 97 103 <p> 98 <textarea name="moderation_keys" cols="60" rows="4" id="moderation_keys" style="width: 98%; "><?php echo get_settings('moderation_keys'); ?></textarea>104 <textarea name="moderation_keys" cols="60" rows="4" id="moderation_keys" style="width: 98%; font-size: 12px;" class="code"><?php echo get_settings('moderation_keys'); ?></textarea> 99 105 </p> 100 106 </fieldset> -
trunk/wp-admin/options-misc.php
r1074 r1076 47 47 <input type="hidden" name="action" value="update" /> <input type="hidden" name="page_options" value="'hack_file','use_fileupload','fileupload_realpath','fileupload_url','fileupload_allowedtypes','fileupload_maxk','fileupload_maxk'" /> 48 48 <fieldset class="options"> 49 <legend>File Uploads</legend> 49 <legend> 50 <input name="use_fileupload" type="checkbox" id="use_fileupload" value="1" <?php checked('1', get_settings('use_fileupload')); ?> /> 51 <label for="use_fileupload">Allow File Uploads</label></legend> 50 52 <table width="100%" cellspacing="2" cellpadding="5" class="editform"> 51 <tr valign="top"> 52 <th scope="row"><label for="use_fileupload">Allow file uploads:</label></th> 53 <td> 54 <input name="use_fileupload" type="checkbox" id="use_fileupload" value="1" <?php checked('1', get_settings('use_fileupload')); ?> /> 55 </td> 56 </tr> 57 <tr valign="top"> 58 <th width="33%" scope="row"> Destination directory: </th> 53 <tr> 54 <th width="33%" valign="top" scope="row"> Destination directory: </th> 59 55 <td> 60 56 <input name="fileupload_realpath" type="text" id="fileupload_realpath" value="<?php echo get_settings('fileupload_realpath'); ?>" size="50" /><br /> … … 63 59 </td> 64 60 </tr> 65 <tr valign="top">66 <th scope="row">URI of this directory: </th>61 <tr> 62 <th valign="top" scope="row">URI of this directory: </th> 67 63 <td> 68 64 <input name="fileupload_url" type="text" id="fileupload_url" value="<?php echo get_settings('fileupload_url'); ?>" size="50" /><br /> … … 70 66 </td> 71 67 </tr> 72 <tr valign="top">68 <tr> 73 69 <th scope="row">Maximum size: </th> 74 70 <td><input name="fileupload_maxk" type="text" id="fileupload_maxk" value="<?php echo get_settings('fileupload_maxk'); ?>" size="4"> 75 71 Kilobytes (KB)</td> 76 72 </tr> 77 <tr valign="top">78 <th scope="row">Allowed file extensions:</th>73 <tr> 74 <th valign="top" scope="row">Allowed file extensions:</th> 79 75 <td><input name="fileupload_allowedtypes" type="text" id="fileupload_allowedtypes" value="<?php echo get_settings('fileupload_allowedtypes'); ?>" size="40"> 80 76 <br> 81 77 Recommended: <code>jpg jpeg png gif </code></td> 82 78 </tr> 83 <tr valign="top">79 <tr> 84 80 <th scope="row">Minimum level to upload:</th> 85 81 <td><select name="fileupload_minlevel" id="fileupload_minlevel"> -
trunk/wp-admin/profile.php
r957 r1076 245 245 <table width="99%" border="0" cellspacing="2" cellpadding="3"> 246 246 <tr> 247 <th width=" 15%" scope="row">First name:</th>248 <td ><input type="text" name="newuser_firstname" id="newuser_firstname" value="<?php echo $profiledata->user_firstname ?>" /></td>247 <th width="33%" scope="row">First name:</th> 248 <td width="73%"><input type="text" name="newuser_firstname" id="newuser_firstname" value="<?php echo $profiledata->user_firstname ?>" /></td> 249 249 </tr> 250 250 <tr> … … 313 313 </tr> 314 314 </table> 315 <p style=" text-align: center;"> 316 <input class="search" type="submit" value="Update" name="submit" /></p> 315 <p class="submit"> 316 <input type="submit" value="Update »" name="submit" /> 317 </p> 317 318 </div> 318 319 </form> … … 330 331 </script> 331 332 <strong>SideBar</strong><br /> 332 Add the <a href="#" on click="addPanel()">WordPress Sidebar</a>!333 Add the <a href="#" onClick="addPanel()">WordPress Sidebar</a>! 333 334 <?php } elseif (($is_winIE) || ($is_macIE)) { ?> 334 335 <strong>SideBar</strong><br />
Note: See TracChangeset
for help on using the changeset viewer.