Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
This paste will be private.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> <title>Blackjack Admin Panel</title> <link rel="stylesheet" href="blackjack.css" type="text/css" media="screen" /> <script language="javascript" type="text/javascript" src="../jscripts/mootools.js"></script> <script language="javascript" type="text/javascript" src="../jscripts/tiny_mce/tiny_mce.js"></script> <script language="javascript" type="text/javascript" src="../jscripts/blackjack.js"></script> </head> <body> <div id="top"> <div class="alignleft sitename"> <h1><a href="http://localhost/blackjack/">BlackJack Test Site</a></h1> </div> <p class="alignright userinfo"> <a href="profile.php" class="profile">Mark</a> <a href="login.php?req=logout" class="logout">Logout</a> </p> <div class="clear"></div> </div> <ul id="menu"> <li><a href="index.php">Front Page</a></li> <li><a href="sections.php">Sections</a></li> <li class="active"><a href="tags.php">Tags</a></li> <li><a href="entries.php">Entries</a></li> <li><a href="skins.php">Look & Feel</a></li> <li><a href="options.php">Options</a></li> </ul> <p class="blank">Submenu:</p> <ul id="submenu"> </ul> <hr /> <div id="wrapper"> <h2>Tags</h2> <div id="ajaxmessage"></div> <div class="column width25"> <div class="c-ontent"> <div class="tblock"> <h3>Add a Tag</h3> <form name="edit-0" action="" method="post" id="tagform"> <p><label for="name">Tag Name</label><br /> <input type="text" name="name" id="name" value="" class="largeinput text100" /></p> <p><label for="shortname"><var title="This is the friendly URL name. Leave this blank and it'll be taken directly from the title.">Shortname</var></label><br /> <input type="text" name="shortname" id="shortname" value="" class="text100" /></p> <input type="hidden" name="new-tag-send" value="yes" /> <div class="submit"> <input type="submit" name="save" value="Save" /> </div> </form> <script type="text/javascript"> $('tagform').onsubmit = function(){ ajaxAdd('tags.php?req=ajaxadd','tags',this); return false; } </script> </div> </div> </div> <div class="column width75"> <div class="c-ontent"> <table class="edit" id="tags" cellspacing="2"> <tr id="headings"> <th class="width5">ID</th> <th class="width50">Name</th> <th class="width15">Posts</th> <th class="width15"> </th> <th class="width15"> </th> </tr> <div><tr class="alt"> <td class="aligncenter">id</td> <td>fwf</td> <td></td> <td></td> <td></td> </tr></div> <tr id="tag-2"> <td class="aligncenter">2</td> <td>Nother Test</td> <td class="aligncenter"><a href="posts.php?req=filtertag&tag=2">13</a></td> <td class="editbutton"><a href="tags.php?req=edit&id=2" class="blockit">Edit</a></td> <td class="editbutton"><a href="tags.php?req=delete&id=2" class="blockit" onclick="ajaxDelete('tags.php?req=ajaxdelete&id=2','tag-2','Are you sure you wish to delete this tag?');return false;">Delete</a></td> </tr> <tr class="alt" id="tag-1"> <td class="aligncenter">1</td> <td>Test Tag</td> <td class="aligncenter"><a href="posts.php?req=filtertag&tag=1">11</a></td> <td class="editbutton"><a href="tags.php?req=edit&id=1" class="blockit">Edit</a></td> <td class="editbutton"><a href="tags.php?req=delete&id=1" class="blockit" onclick="ajaxDelete('tags.php?req=ajaxdelete&id=1','tag-1','Are you sure you wish to delete this tag?');return false;">Delete</a></td> </tr> </table> </div> </div> </div> <hr /> <div id="footer"> <p>Blackjack 0.1 - 9 Queries</p> </div> </body> </html>
From the Design Piracy series on my blog: