From 605d2de336eac8c8f80b916d30989b347d813e94 Mon Sep 17 00:00:00 2001
From: Bharat Mediratta
Date: Tue, 4 Nov 2008 21:24:42 +0000
Subject: 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.
---
core/views/welcome.html.php | 39 ++++++++++++++++++++++++++-------------
1 file changed, 26 insertions(+), 13 deletions(-)
(limited to 'core/views')
diff --git a/core/views/welcome.html.php b/core/views/welcome.html.php
index b7a290a0..3bc85dc4 100644
--- a/core/views/welcome.html.php
+++ b/core/views/welcome.html.php
@@ -26,7 +26,7 @@
}
p {
- margin: 0 0 1em 0;
+ margin: 0 0 0 0;
padding-left: 1em;
}
@@ -59,6 +59,18 @@
ul {
margin-top: -.25em;
}
+
+ ul.choices {
+ padding-top: 0;
+ padding-left: 1em;
+ margin: 0px;
+ }
+
+ ul.choices li {
+ display: inline;
+ list-stype-type: none;
+ padding: 0px;
+ }
@@ -72,24 +84,25 @@
This is
a scaffold:
a temporary structure built to support the developers as
- they create the real product.
-
-
-
- As we flesh out Gallery 3, we'll make it possible for you to
- peer inside and see the application taking shape.
- Eventually, this page will go away and you'll start in the
- application itself. In the meantime, here are some useful
- links to get you started.
+ they create the real product. As we flesh out Gallery 3,
+ we'll make it possible for you to peer inside and see the
+ application taking shape. Eventually, this page will go
+ away and you'll start in the application itself. In the
+ meantime, here are some useful links to get you started.
System Configuration
= $syscheck ?>
Activities
-
- = html::anchor("album/1", "Browse Gallery") ?>
-
+ = html::anchor("album/1", "Browse Gallery") ?>
+
+ - add: [
+ foreach (array(1, 10, 50, 100, 500, 1000) as $count): ?>
+ - = html::anchor("welcome/add/$count", "$count") ?>
+ endforeach ?>
+ - ] photos and albums
+
Documentation