Commit Graph
14 Commits
Author SHA1 Message Date
Bharat Mediratta dc1090d005 Now, only logged in users can edit stuff in-place. 2008-11-15 08:16:58 +00:00
Bharat Mediratta ae7839ffaa Revise the user login code.
* Remove user registration link and popup from the theme; this
  shouldn't be done in a popup. Use ajaxform to simplify the way
  that we load the login popup.

* Create form.html.php, this is a template for Forge based forms.

* Move user validation rules into User_Model and let forms
  populate the rules into their forms as useful.

* Undo r18688's changes regarding the REST code.  We should never
  accept a null resource, this breaks the REST abstraction.

* Change login and user controllers to use Forge which lets us delete
  login.html.php and user.html.php since those now are generated by
  the theme-owned form template
2008-11-15 06:23:09 +00:00
Tim Almdal 61d957e372 Rename login.js to user.js 2008-11-14 16:58:59 +00:00
Tim Almdal 1da2428183 More updates for user management. The controllers don't work yet. But the login link in the header wil open up a login box like the mockup 2008-11-12 03:40:49 +00:00
Chad Kieffer 46a67a4b6d IE fixes, sidebar is now fixed in IE (we were missing a yui-g class). Removed .first class, it's not needed, at least not now. Moved all top-level layout containers to page.html.php so that if themers want to replace YUI grids with something else, like Blueprint, they only really need to edit page.html.php. 2008-11-09 23:03:50 +00:00
Bharat Mediratta 4cc70a1851 change url::base() to url::file() 2008-11-09 18:54:17 +00:00
Bharat Mediratta 950c58e6d3 Add support for in-place editing of data fields. 2008-11-08 09:28:11 +00:00
Bharat Mediratta 6a1ef44c88 convert tabs -> spaces 2008-11-07 06:44:36 +00:00
Chad Kieffer 7329cb0dde Added YUI 2.6.0 CSS collection to lib (reset-gonts-grids and base) and call these rather than CDN versions, for now. Renamed default theme's style sheet to screen.css, recommend that CSS files be named for the primary media they support. Removed unused YUI JS component calls from the default theme. 2008-11-07 05:03:00 +00:00
Bharat Mediratta 93fd448e7e Break header/sidebar/footer out into separate templates. 2008-11-06 07:24:58 +00:00
Bharat Mediratta 278191dd6d Change the theming module again, per a discussion with Chad and Jakob.
Now we have an overall page layout (page.html.php) which has a $content
variable, and that $content will be one of several possible secondary
views.  Currently, it is either photo.html.php or album.html.php.

header, footer, breadcrumb, sidebar, anything common to all pages is
in page.html.php.
2008-11-06 07:20:06 +00:00
Bharat Mediratta ade1650846 Add a test to detect tabs in our code, and convert all tabs to spaces
so that the test passes.
2008-11-04 05:22:06 +00:00
Bharat Mediratta 57dd27fe57 Oops, left out the footer by accident. 2008-11-03 06:50:23 +00:00
Bharat Mediratta a089399e73 Default theme, built with YUI. A mock right now, not functional at
all (except in some very minor ways).  It's unclear if this is the
best final structure.  Right now the album controller knows a
considerable amount about the layout of the page, which may not be the
best way to do things.
2008-11-03 05:53:20 +00:00