updated shorturls.py to write new shorturls to the db, also adding support for dir-shorturls
<%! use_javascript = True %>
<%inherit file="master.html" /> <!-- %> -->
<div id="taggr">
<div id="tags">
<table cellpadding="0" cellspacing="0" id="tag_table">
</table>
</div>
<div id="toolbar">
<ul>
<li><a href="#" onclick="selection_clear()">Clear selection</a></li>
<li><input type="text" name="new_tag" id="new_tag" /><a href="#" onclick="new_tag($F($('new_tag')))" class="draggable">Create Tag</a></li>
</ul>
</div>
<div id="images">
<%include file="taggr_dir.html" />
</div>
</div>