diff options
| author | Bharat Mediratta <bharat@menalto.com> | 2008-11-04 21:24:42 +0000 |
|---|---|---|
| committer | Bharat Mediratta <bharat@menalto.com> | 2008-11-04 21:24:42 +0000 |
| commit | 605d2de336eac8c8f80b916d30989b347d813e94 (patch) | |
| tree | 1e33c92d4b3eedd9f4b3c31e21e11a9f36bcd8b2 /themes/default/views/photo.html.php | |
| parent | ade1650846605d648da2565994e309414d908ac5 (diff) | |
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.
Diffstat (limited to 'themes/default/views/photo.html.php')
| -rw-r--r-- | themes/default/views/photo.html.php | 64 |
1 files changed, 64 insertions, 0 deletions
diff --git a/themes/default/views/photo.html.php b/themes/default/views/photo.html.php new file mode 100644 index 00000000..e4d47d61 --- /dev/null +++ b/themes/default/views/photo.html.php @@ -0,0 +1,64 @@ +<? defined("SYSPATH") or die("No direct script access."); ?> +<?= $theme->display('header.html') ?> +<div id="bd"> + <div id="yui-main"> + <div id="gContent" class="yui-b"> + + <div id="gItem"> + <a href="" class="buttonlink">Full size (1024x768)</a> + <a href="" class="buttonlink">Slideshow</a> + + <img id="photo-id-1" alt="photo" src="images/thumbnail.jpg" /> + <h1>Photo title</h1> + <p>Photo description: Lorem ipsum dolor sit amet.</p> + </div> + + <div id="gComments"> + <h2>Comments</h2> + + <ul id="gCommentThread"> + <li id="gComment-1" class="gComment odd"> + <p><a href="#" class="gAuthor">Andy</a> said 2 hours ago <span class="understate">(October 23, 2008 11:30am)</span></p> + <div> + Lorem ipsum dolor sit amet. + </div> + </li> + <li id="gComment-2" class="gComment even"> + <p> + <a href="#" class="gAuthor">Other user</a> said 30 minutes ago <span class="understate">(October 23, 2008 1:00pm)</span> + </p> + <div> + Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industry's standard + dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. + It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It + was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with + desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum. + </div> + </li> + </ul> + + <form id="gCommentAdd" class="gExpandedForm"> + <fieldset> + <legend>Add comment</legend> + <div class="row"> + <label for="gCommentAuthor">Your Name</label> + <input type="text" id="gCommentAuthor" class="text" /> + </div> + <div> + <label for="gCommentEmail">Your Email (not displayed)</label> + <input type="text" id="gCommentEmail" class="text" /> + </div> + <div class="row"> + <label for="gCommentText">Comment</label> + <textarea id="gCommentText"></textarea> + </div> + <input type="submit" class="button" value="Add" /> + </fieldset> + </form> + </div><!-- END #gComments --> + + </div><!-- END #gContent --> + </div><!-- END yui-main --> + <?= $theme->display('sidebar.html') ?> +</div><!-- END YUI #bd --> +<?= $theme->display('footer.html'); ?> |
