Changeset 1172 for trunk/wp-admin/link-add.php
- Timestamp:
- 04/25/2004 08:20:23 PM (22 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/link-add.php (modified) (9 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-add.php
r1108 r1172 1 1 <?php 2 require_once('../wp-includes/wp-l10n.php'); 2 3 3 4 $title = 'Add Link'; … … 62 63 ?> 63 64 <ul id="adminmenu2"> 64 <li><a href="link-manager.php"> Manage Links</a></li>65 <li><a href="link-add.php" class="current">Add Link</a></li>66 <li><a href="link-categories.php"> Link Categories</a></li>67 <li class="last"><a href="link-import.php"> Import Blogroll</a></li>65 <li><a href="link-manager.php"><?php _e('Manage Links') ?></a></li> 66 <li><a href="link-add.php" class="current"><?php _e('Add Link') ?></a></li> 67 <li><a href="link-categories.php"><?php _e('Link Categories') ?></a></li> 68 <li class="last"><a href="link-import.php"><?php _e('Import Blogroll') ?></a></li> 68 69 </ul> 69 70 <style type="text/css" media="screen"> … … 71 72 </style> 72 73 <div class="wrap"> 73 <h2>< strong>Add</strong> a link:<?php echo gethelp_link($this_file,'add_a_link');?></h2>74 <h2><?php _e('<strong>Add</strong> a link:') ?> <?php echo gethelp_link($this_file,'add_a_link');?></h2> 74 75 <form name="addlink" method="post" action="link-manager.php"> 75 76 <fieldset class="options"> 76 <legend> Basics</legend>77 <legend><?php _e('Basics') ?></legend> 77 78 <table class="editform" width="100%" cellspacing="2" cellpadding="5"> 78 79 <tr> 79 <th width="33%" scope="row"> URI:</th>80 <th width="33%" scope="row"><?php _e('URI:') ?></th> 80 81 <td width="67%"><input type="text" name="linkurl" value="<?php echo $_GET['linkurl']; ?>" style="width: 95%; /"></td> 81 82 </tr> 82 83 <tr> 83 <th scope="row"> Link Name:</th>84 <th scope="row"><?php _e('Link Name:') ?></th> 84 85 <td><input type="text" name="name" value="<?php echo urldecode($_GET['name']); ?>" style="width: 95%" /></td> 85 86 </tr> 86 87 <tr> 87 <th scope="row"> Short description:</th>88 <th scope="row"><?php _e('Short description:') ?></th> 88 89 <td><input type="text" name="description" value="" style="width: 95%" /></td> 89 90 </tr> 90 91 <tr> 91 <th scope="row"> Category:</th>92 <th scope="row"><?php _e('Category:') ?></th> 92 93 <td><?php category_dropdown('category'); ?></td> 93 94 </tr> … … 95 96 </fieldset> 96 97 <p class="submit"> 97 <input type="submit" name="submit" value=" Add Link »" />98 <input type="submit" name="submit" value="<?php _e('Add Link »') ?>" /> 98 99 </p> 99 100 <fieldset class="options"> 100 <legend> Link Relationship (XFN)</legend>101 <legend><?php _e('Link Relationship (XFN)') ?></legend> 101 102 <table class="editform" width="100%" cellspacing="2" cellpadding="5"> 102 103 <tr> 103 <th width="33%" scope="row"> rel:</th>104 <th width="33%" scope="row"><?php _e('rel:') ?></th> 104 105 <td width="67%"><input type="text" name="rel" id="rel" size="50" value=""></td> 105 106 </tr> 106 107 <tr> 107 <th scope="row">< a href="http://gmpg.org/xfn/">XFN</a> Creator:</th>108 <th scope="row"><?php _e('<a href="http://gmpg.org/xfn/">XFN</a> Creator:') ?></th> 108 109 <td><table cellpadding="3" cellspacing="5"> 109 110 <tr> 110 <th scope="row"> friendship</th>111 <th scope="row"> <?php _e('friendship') ?> </th> 111 112 <td><label for="label"> 112 113 <input class="valinp" type="radio" name="friendship" value="acquaintance" id="label" /> 113 acquaintance</label>114 <?php _e('acquaintance') ?></label> 114 115 <label for="label2"> 115 116 <input class="valinp" type="radio" name="friendship" value="friend" id="label2" /> 116 friend</label>117 <?php _e('friend') ?></label> 117 118 <label for="label3"> 118 119 <input class="valinp" type="radio" name="friendship" value="" id="label3" /> 119 none</label>120 </td> 121 </tr> 122 <tr> 123 <th scope="row"> physical</th>120 <?php _e('none') ?></label> 121 </td> 122 </tr> 123 <tr> 124 <th scope="row"> <?php _e('physical') ?> </th> 124 125 <td><label for="label4"> 125 126 <input class="valinp" type="checkbox" name="physical" value="met" id="label4" /> 126 met</label>127 </td> 128 </tr> 129 <tr> 130 <th scope="row"> professional</th>127 <?php _e('met') ?></label> 128 </td> 129 </tr> 130 <tr> 131 <th scope="row"> <?php _e('professional') ?> </th> 131 132 <td><label for="label5"> 132 133 <input class="valinp" type="checkbox" name="professional" value="co-worker" id="label5" /> 133 co-worker</label>134 <?php _e('co-worker') ?></label> 134 135 <label for="label6"> 135 136 <input class="valinp" type="checkbox" name="professional" value="colleague" id="label6" /> 136 colleague</label>137 </td> 138 </tr> 139 <tr> 140 <th scope="row"> geographical</th>137 <?php _e('colleague') ?></label> 138 </td> 139 </tr> 140 <tr> 141 <th scope="row"> <?php _e('geographical') ?> </th> 141 142 <td><label for="label7"> 142 143 <input class="valinp" type="radio" name="geographical" value="co-resident" id="label7" /> 143 co-resident</label>144 <?php _e('co-resident') ?></label> 144 145 <label for="label8"> 145 146 <input class="valinp" type="radio" name="geographical" value="neighbor" id="label8" /> 146 neighbor</label>147 <?php _e('neighbor') ?></label> 147 148 <label for="label9"> 148 149 <input class="valinp" type="radio" name="geographical" value="" id="label9" /> 149 none</label>150 </td> 151 </tr> 152 <tr> 153 <th scope="row"> family</th>150 <?php _e('none') ?></label> 151 </td> 152 </tr> 153 <tr> 154 <th scope="row"> <?php _e('family') ?> </th> 154 155 <td><label for="label10"> 155 156 <input class="valinp" type="radio" name="family" value="child" id="label10" /> 156 child</label>157 <?php _e('child') ?></label> 157 158 <label for="label11"> 158 159 <input class="valinp" type="radio" name="family" value="parent" id="label11" /> 159 parent</label>160 <?php _e('parent') ?></label> 160 161 <label for="label12"> 161 162 <input class="valinp" type="radio" name="family" value="sibling" id="label12" /> 162 sibling</label>163 <?php _e('sibling') ?></label> 163 164 <label for="label13"> 164 165 <input class="valinp" type="radio" name="family" value="spouse" id="label13" /> 165 spouse</label>166 <?php _e('spouse') ?></label> 166 167 <label for="label14"> 167 168 <input class="valinp" type="radio" name="family" value="" id="label14" /> 168 none</label>169 </td> 170 </tr> 171 <tr> 172 <th scope="row"> romantic</th>169 <?php _e('none') ?></label> 170 </td> 171 </tr> 172 <tr> 173 <th scope="row"> <?php _e('romantic') ?> </th> 173 174 <td><label for="label15"> 174 175 <input class="valinp" type="checkbox" name="romantic" value="muse" id="label15" /> 175 muse</label>176 <?php _e('muse') ?></label> 176 177 <label for="label16"> 177 178 <input class="valinp" type="checkbox" name="romantic" value="crush" id="label16" /> 178 crush</label>179 <?php _e('crush') ?></label> 179 180 <label for="label17"> 180 181 <input class="valinp" type="checkbox" name="romantic" value="date" id="label17" /> 181 date</label>182 <?php _e('date') ?></label> 182 183 <label for="label18"> 183 184 <input class="valinp" type="checkbox" name="romantic" value="sweetheart" id="label18" /> 184 sweetheart</label>185 <?php _e('sweetheart') ?></label> 185 186 </td> 186 187 </tr> … … 190 191 </fieldset> 191 192 <p class="submit"> 192 <input type="submit" name="submit" value=" Add Link »" />193 <input type="submit" name="submit" value="<?php _e('Add Link »') ?>" /> 193 194 </p> 194 195 <fieldset class="options"> 195 <legend> Advanced</legend>196 <legend><?php _e('Advanced') ?></legend> 196 197 <table class="editform" width="100%" cellspacing="2" cellpadding="5"> 197 198 <tr> 198 <th width="33%" scope="row"> Image URI:</th>199 <th width="33%" scope="row"><?php _e('Image URI:') ?></th> 199 200 <td width="67%"><input type="text" name="image" size="50" value="" style="width: 95%" /></td> 200 201 </tr> 201 202 <tr> 202 <th scope="row"> RSS URI:</th>203 <th scope="row"><?php _e('RSS URI:') ?> </th> 203 204 <td><input name="rss_uri" type="text" id="rss_uri" value="" size="50" style="width: 95%" /></td> 204 205 </tr> 205 206 <tr> 206 <th scope="row"> Notes:</th>207 <th scope="row"><?php _e('Notes:') ?></th> 207 208 <td><textarea name="notes" cols="50" rows="10" style="width: 95%"></textarea></td> 208 209 </tr> 209 210 <tr> 210 <th scope="row"> Rating:</th>211 <th scope="row"><?php _e('Rating:') ?></th> 211 212 <td><select name="rating" size="1"> 212 213 <?php … … 216 217 ?> 217 218 </select> 218 (Leave at 0 for no rating.)</td>219 </tr> 220 <tr> 221 <th scope="row"> Target</th>219 <?php _e('(Leave at 0 for no rating.)') ?> </td> 220 </tr> 221 <tr> 222 <th scope="row"><?php _e('Target') ?></th> 222 223 <td><label> 223 224 <input type="radio" name="target" value="_blank" /> … … 228 229 <br /> 229 230 <label><input type="radio" name="target" value="" checked="checked" /> 230 none</label>231 (Note that the <code>target</code> attribute is illegal in XHTML 1.1 and 1.0 Strict.)</td>232 </tr> 233 <tr> 234 <th scope="row"> Visible:</th>231 <?php _e('none') ?></label> 232 <?php _e('(Note that the <code>target</code> attribute is illegal in XHTML 1.1 and 1.0 Strict.)') ?></td> 233 </tr> 234 <tr> 235 <th scope="row"><?php _e('Visible:') ?></th> 235 236 <td><label> 236 237 <input type="radio" name="visible" checked="checked" value="Y" /> 237 Yes</label><br />238 <?php _e('Yes') ?></label><br /> 238 239 <label><input type="radio" name="visible" value="N"> <input type="hidden" name="action" value="Add" /> 239 No</label></td>240 <?php _e('No') ?></label></td> 240 241 </tr> 241 242 </table> … … 243 244 244 245 <p class="submit"> 245 <input type="submit" name="submit" value=" Add Link »" />246 <input type="submit" name="submit" value="<?php _e('Add Link »') ?>" /> 246 247 </p> 247 248 </form> … … 249 250 250 251 <div class="wrap"> 251 < p>You can drag <a href="javascript:void(linkmanpopup=window.open('<?php echo get_settings('siteurl'); ?>/wp-admin/link-add.php?action=popup&linkurl='+escape(location.href)+'&name='+escape(document.title),'LinkManager','scrollbars=yes,width=750,height=550,left=15,top=15,status=yes,resizable=yes'));linkmanpopup.focus();window.focus();linkmanpopup.focus();" title="Link add bookmarklet">Link This</a> to your toolbar and when you click it a window will pop up that will allow you to add whatever site you're on to your links! Right now this only works on Mozilla or Netscape, but we're working on it.</p>252 <?php printf(__('<p>You can drag <a href="%s" title="Link add bookmarklet">Link This</a> to your toolbar and when you click it a window will pop up that will allow you to add whatever site you’re on to your links! Right now this only works on Mozilla or Netscape, but we’re working on it.</p>'), "javascript:void(linkmanpopup=window.open('" . get_settings('siteurl') . "/wp-admin/link-add.php?action=popup&linkurl='+escape(location.href)+'&name='+escape(document.title),'LinkManager','scrollbars=yes,width=750,height=550,left=15,top=15,status=yes,resizable=yes'));linkmanpopup.focus();window.focus();linkmanpopup.focus();") ?> 252 253 </div> 253 254
Note: See TracChangeset
for help on using the changeset viewer.