Files
gallery3/themes/default/views/sidebar.html.php
Bharat Mediratta 605d2de336 Lots of new stuff!
Replace theme HTML with *almost* the latest stuff from the
mockups.  (it doesn't include r18467 yet).

Our theme format is now modelled after WordPress / Habari's style
where you have one entry point per type (eg: album.php) which can
load up whatever parts it needs (eg: $theme->display("header"))

Created album and photo helpers which have create() functions
that form the base of our new API, along with tests for them.

Created our own version of the ORM_MPTT since the existing
versions were too buggy and unsupported to depend upon.  Only has
a minimal implementation so far, and the tests are not yet
committed.

Added path(), thumbnail_path() and resize_path() to Item_Model

Extended the scaffolding to allow you to add lots of
photos/albums into your hierarchy.

Deleted modules/mptt -- we're not going to use this anymore.
2008-11-04 21:24:42 +00:00

109 lines
4.4 KiB
PHP

<? defined("SYSPATH") or die("No direct script access."); ?>
<div id="gSidebar" class="yui-b">
<div id="gCarousel" class="gBlock">
<div class="gBlockHeader">
<h2>Album: <a href="browse.html">Christmas 2007</a></h2>
<a href="#" class="minimize">[-]</a>
</div>
<img src="<?= $theme->url("images/carousel.png") ?>" width="214" class="gBlockContent" />
</div>
<div class="gTagCloud gBlock">
<div class="gBlockHeader">
<h2>Tags</h2> &nbsp;
<a href="#">?</a>
<a href="#" class="minimize">[-]</a>
</div>
<ul class="gBlockContent">
<li><a href="#" class="m size0">animation</a></li>
<li><a href="#" class="m size0">art</a></li>
<li><a href="#" class="m size1">blind</a></li>
<li><a href="#" class="m size3">blog</a></li>
<li><a href="#" class="m size1">bug-tracker</a></li>
<li><a href="#" class="m size2">bugs20</a></li>
<li><a href="#" class="m size0">canvas</a></li>
<li><a href="#" class="m size0">classification</a></li>
<li><a href="#" class="m size4">cocktail</a></li>
<li><a href="#" class="m size0">exhibtion</a></li>
<li><a href="#" class="m size0">forum</a></li>
<li><a href="#" class="m size1">geo-tagging</a></li>
<li><a href="#" class="m size0">german</a></li>
<li><a href="#" class="m size0">germany</a></li>
<li><a href="#" class="m size0">gläser</a></li>
<li><a href="#" class="m size0">graffiti</a></li>
<li><a href="#" class="m size0">illustration</a></li>
<li><a href="#" class="m size0">ITP</a></li>
<li><a href="#" class="m size0">javascript</a></li>
<li><a href="#" class="m size0">miami</a></li>
<li><a href="#" class="m size0">miknow</a></li>
<li><a href="#" class="m size0">nyc</a></li>
<li><a href="#" class="m size0">NYU</a></li>
<li><a href="#" class="m size0">ontology</a></li>
<li><a href="#" class="m size0">open-source</a></li>
<li><a href="#" class="m size0">project</a></li>
<li><a href="#" class="m size0">school-of-information</a></li>
<li><a href="#" class="m size0">screenshot</a></li>
<li><a href="#" class="m size0">shiftspace</a></li>
<li><a href="#" class="m size0">shop</a></li>
<li><a href="#" class="m size0">tagging</a></li>
<li><a href="#" class="m size2">talkingpoints</a></li>
<li><a href="#" class="m size0">university-of-michigan</a></li>
<li><a href="#" class="m size1">usability</a></li>
<li><a href="#" class="m size0">writing</a></li>
</ul>
<form id="gAddTag" class="gBlockContent">
<input type="text" class="text" value="add new tags ..." id="newtags" />
<input type="submit" class="submit" value="add" />
<label for="newtags" class="understate">(separated by commas)</label>
</form>
</div>
<div class="gBlock">
<div class="gBlockHeader">
<h2>Item Info</h2>
<a href="#" class="minimize">[-]</a>
</div>
<table class="gMetadata gBlockContent">
<tbody>
<tr>
<th>Title:</th>
<td>Christmas 2007</td>
</tr>
<tr>
<th>Taken:</th>
<td>January 21, 2008</td>
</tr>
<tr>
<th>Uploaded:</th>
<td>January 27, 2008</td>
</tr>
<tr>
<th>Owner:</th>
<td><a href="#">username</a></td>
</tr>
<tr>
<td colspan="2" class="toggle">
<a href="#">more \/</a>
</td>
</tr>
</tbody>
</table>
</div>
<div class="gBlock">
<div class="gBlockHeader">
<h2>Location</h2>
<a href="#" class="minimize">[-]</a>
</div>
<iframe class="gBlockContent" width="214" height="214" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=mountain+view&amp;sll=37.0625,-95.677068&amp;sspn=50.823846,89.648437&amp;ie=UTF8&amp;z=12&amp;g=mountain+view&amp;ll=37.433704,-122.056046&amp;output=embed&amp;s=AARTsJoyjpSOFMFEv5XZbREeW_hGGS28pQ"></iframe>
<br />
<small class="gBlockContent"><a href="http://maps.google.com/maps?f=q&amp;hl=en&amp;geocode=&amp;q=mountain+view&amp;sll=37.0625,-95.677068&amp;sspn=50.823846,89.648437&amp;ie=UTF8&amp;z=12&amp;g=mountain+view&amp;ll=37.433704,-122.056046&amp;source=embed" style="color:#0000FF;text-align:left">View Larger Map</a></small>
</div>
</div><!-- END #gSideBar -->