Changeset 1100 for trunk/wp-admin/link-manager.php
- Timestamp:
- 04/19/2004 08:09:27 AM (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/link-manager.php
r1076 r1100 324 324 <div class="wrap"> 325 325 <form action="" method="post" name="editlink" id="editlink"> 326 <h3>Edit a link:</h3> 327 <table width="100%" border="0" cellspacing="5" cellpadding="3"> 328 <tr> 329 <th scope="row">URI:</th> 330 <td><input type="text" name="linkurl" size="80" value="<?php echo $link_url; ?>" /></td> 331 </tr> 332 <tr> 333 <th scope="row">Link Name: </th> 334 <td><input type="text" name="name" size="80" value="<?php echo $link_name; ?>" /></td> 335 </tr> 336 <tr> 337 <th scope="row">RSS URI: </th> 338 <td><input name="rss_uri" type="text" id="rss_uri" value="<?php echo $link_rss_uri; ?>" size="80"></td> 339 </tr> 340 <tr> 341 <th scope="row">Image:</th> 342 <td><input type="text" name="image" size="80" value="<?php echo $link_image; ?>" /></td> 343 </tr> 344 <tr> 345 <th scope="row">Description:</th> 346 <td><input type="text" name="description" size="80" value="<?php echo $link_description; ?>" /></td> 347 </tr> 348 <tr> 349 <th scope="row">rel:</th> 350 <td><input type="text" name="rel" id="rel" size="80" value="<?php echo $link_rel; ?>" /></td> 351 </tr> 352 <tr> 353 <th scope="row"><a href="http://gmpg.org/xfn/">XFN</a>:</th> 354 <td><table cellpadding="3" cellspacing="5"> 326 <h2>Edit a link:</h2> 327 <fieldset class="options"> 328 <legend>Basics</legend> 329 <table class="editform" width="100%" cellspacing="2" cellpadding="5"> 330 <tr> 331 <th width="33%" scope="row">URI:</th> 332 <td width="67%"><input type="text" name="linkurl" value="<?php echo $link_url; ?>" style="width: 95%; /"></td> 333 </tr> 334 <tr> 335 <th scope="row">Link Name:</th> 336 <td><input type="text" name="name" value="<?php echo $link_name; ?>" style="width: 95%" /></td> 337 </tr> 338 <tr> 339 <th scope="row">Short description:</th> 340 <td><input type="text" name="description" value="<?php echo $link_description; ?>" style="width: 95%" /></td> 341 </tr> 342 <tr> 343 <th scope="row">Category:</th> 344 <td><?php category_dropdown('category'); ?></td> 345 </tr> 346 </table> 347 </fieldset> 348 <p class="submit"> 349 <input type="submit" name="submit" value="Save Changes »" /> 350 </p> 351 <fieldset class="options"> 352 <legend>Link Relationship (XFN)</legend> 353 <table class="editform" width="100%" cellspacing="2" cellpadding="5"> 354 <tr> 355 <th width="33%" scope="row">rel:</th> 356 <td width="67%"><input type="text" name="rel" id="rel" size="50" value="<?php echo $link_rel; ?>"></td> 357 </tr> 358 <tr> 359 <th scope="row"><a href="http://gmpg.org/xfn/">XFN</a> Creator:</th> 360 <td><table cellpadding="3" cellspacing="5"> 355 361 <tr> 356 362 <th scope="row"> friendship </th> … … 436 442 </tr> 437 443 </table></td> 438 </tr> 439 <tr> 440 <th scope="row">Notes:</th> 441 <td><textarea name="notes" cols="80" rows="10"><?php echo $link_notes; ?></textarea></td> 442 </tr> 443 <tr> 444 <th scope="row">Rating:</th> 445 <td><select name="rating" size="1"> 446 <?php 444 </tr> 445 </table> 446 </fieldset> 447 <p class="submit"> 448 <input type="submit" name="submit" value="Save Changes »" /> 449 </p> 450 <fieldset class="options"> 451 <legend>Advanced</legend> 452 <table class="editform" width="100%" cellspacing="2" cellpadding="5"> 453 <tr> 454 <th width="33%" scope="row">Image URI:</th> 455 <td width="67%"><input type="text" name="image" size="50" value="<?php echo $link_image; ?>" style="width: 95%" /></td> 456 </tr> 457 <tr> 458 <th scope="row">RSS URI: </th> 459 <td><input name="rss_uri" type="text" id="rss_uri" value="<?php echo $link_rss_uri; ?>" size="50" style="width: 95%" /></td> 460 </tr> 461 <tr> 462 <th scope="row">Notes:</th> 463 <td><textarea name="notes" cols="50" rows="10" style="width: 95%"><?php echo $link_notes; ?></textarea></td> 464 </tr> 465 <tr> 466 <th scope="row">Rating:</th> 467 <td><select name="rating" size="1"> 468 <?php 447 469 for ($r = 0; $r < 10; $r++) { 448 470 echo(' <option value="'.$r.'" '); … … 452 474 } 453 475 ?> 454 </select> (Leave at 0 for no rating.) </td> 455 </tr> 456 <tr> 457 <th scope="row">Target:</th> 458 <td><label> 476 </select> 477 (Leave at 0 for no rating.) </td> 478 </tr> 479 <tr> 480 <th scope="row">Target</th> 481 <td><label> 459 482 <input type="radio" name="target" value="_blank" <?php echo(($link_target == '_blank') ? 'checked="checked"' : ''); ?> /> 460 <code>_blank</code></label> 461 <label>483 <code>_blank</code></label><br /> 484 <label> 462 485 <input type="radio" name="target" value="_top" <?php echo(($link_target == '_top') ? 'checked="checked"' : ''); ?> /> 463 <code>_top</code></label> 464 486 <code>_top</code></label><br /> 465 487 <label> 466 488 <input type="radio" name="target" value="" <?php echo(($link_target == '') ? 'checked="checked"' : ''); ?> /> 467 none (Note that the <code>target</code> attribute is illegal in XHTML 1.1 and 1.0 Strict.)</label></td> 468 </tr> 469 <tr> 470 <th scope="row">Visible:</th> 471 <td><label> 472 <input type="radio" name="visible" <?php if ($link_visible == 'Y') echo "checked"; ?> value="Y" /> 473 Yes</label> 474 475 <label> 476 <input type="radio" name="visible" <?php if ($link_visible == 'N') echo "checked"; ?> value="N" /> 489 none</label><br /> 490 (Note that the <code>target</code> attribute is illegal in XHTML 1.1 and 1.0 Strict.)</td> 491 </tr> 492 <tr> 493 <th scope="row">Visible:</th> 494 <td><label> 495 <input type="radio" name="visible" <?php if ($link_visible == 'Y') echo "checked='checked'"; ?> value="Y" /> 496 Yes</label><br /><label> 497 <input type="radio" name="visible" <?php if ($link_visible == 'N') echo "checked='checked'"; ?> value="N" /> 477 498 No</label></td> 478 </tr> 479 <tr> 480 <th scope="row">Category:</th> 481 <td><?php category_dropdown('category', $link_category); ?></td> 482 </tr> 483 <tr> 484 <td colspan="2" align="center"><input type="submit" name="submit" value="Save Changes" class="search" /> 485 486 <input type="submit" name="submit" value="Cancel" class="search" /> 499 </tr> 500 </table> 501 </fieldset> 502 <p class="submit"><input type="submit" name="submit" value="Save Changes »" /> 487 503 <input type="hidden" name="action" value="editlink" /> 488 504 <input type="hidden" name="link_id" value="<?php echo $link_id; ?>" /> 489 505 <input type="hidden" name="order_by" value="<?php echo $order_by ?>" /> 490 <input type="hidden" name="cat_id" value="<?php echo $cat_id ?>" /></td> 491 </tr> 492 </table> 506 <input type="hidden" name="cat_id" value="<?php echo $cat_id ?>" /></p> 493 507 </form> 494 508 </div>
Note: See TracChangeset
for help on using the changeset viewer.