Chad Kieffer
bb6eeb63bb
Added a label for the search form. Even if we place labels in text input fields as we currently do w/ the search form, a label should be included to maintain accessibility. Set label display to none if it shouldn't be displayed.
2008-11-22 18:39:47 +00:00
Tim Almdal
4f5e3ad6d5
Use the new block mechanism to insert user related content into the html pages
2008-11-21 20:46:25 +00:00
Chad Kieffer
1b834319f4
Restored most heading styles, still need to restore table and list styles. Removed unused CSS. CSS format updates. Applied jQuery tab styles to gSiteMenu. Removed gBlockHeader, all we need is a good old h3 element for a heading.
2008-11-21 08:35:53 +00:00
Jozef Selesi
b2772f5a05
* Renamed the album, item and photo controllers to albums, items and photos in order to follow the convention that controllers that refer to a collection of resources have plural names.
...
* Added a bug workaround to routes.php
2008-11-19 00:12:25 +00:00
Bharat Mediratta
89c6f8f914
Don't show gLoginMenu if there's no user module
2008-11-15 09:09:29 +00:00
Bharat Mediratta
9d1a598ec0
Add support for modifying user data. It still needs work.
...
Make the continue= param a GET only parameter so that it's not part of
the form.
2008-11-15 08:15:00 +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
bd1ec2df1f
The state of of the user registration functionality
2008-11-14 18:16:13 +00:00
Bharat Mediratta
f0695f2030
Move logout to its own controller
2008-11-14 05:21:47 +00:00
Tim Almdal
6d7130bffc
Progress is being made... you can now logout
2008-11-13 05:17:58 +00:00
Chad Kieffer
c63ddc3432
Major updates to form CSS. Now using unordered lists for layouts. Added .gInline for forms like login, search, tags. Updated comment, login, search, and tagging forms. All form styles live in screen.css now. Still a lot to do, but this is a good foundation.
2008-11-13 03:39:18 +00:00
Tim Almdal
74216a3c63
The login processing is starting to take shape. Login_Form is gone. The html for the login form is retrieve via an ajax call when the user clicks on login. Can't login with a valid id yet, but you certainly get error messages when things are wrong :-)
2008-11-12 21:42:40 +00:00
Tim Almdal
75527db81f
Clean up alignment in the login menu when the login form is displayed
2008-11-12 17:08:53 +00:00
Tim Almdal
2019e9a931
Remove user_password class and move the functionality into the user helper class
2008-11-12 15:53:39 +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
Tim Almdal
dd9058ada4
Added some functionality to the user helper class (to check if the user is logged in) and changed the header to use the helper class
2008-11-11 20:16:58 +00:00
Andy Staudacher
900f60d274
Fix header URLs (no longer hardcoded, avoiding nesting of index.php/index.php/ for some environments)
2008-11-11 10:14:01 +00:00
Tim Almdal
bba5289035
Change Album and Photo controllers to set the user object as a global variable; change the header so it links to the user controllers; and add the user controllers which don't do anything.
2008-11-11 07:39:20 +00:00
Tim Almdal
d4415d0d3e
Reset the links in the header and update the readme
2008-11-10 16:36:56 +00:00
Bharat Mediratta
8cb0acbbb0
Indent fixes
2008-11-10 09:39:31 +00:00
Chad Kieffer
4f80dddbd1
Indent fixes
2008-11-10 07:57:43 +00:00
Tim Almdal
8858b957b0
The start of the login functionality. It shows the login popup but doesn't do anything else. Just got tire of my changes being clobbered :-)
2008-11-10 03:17:56 +00:00
Chad Kieffer
5e385398f0
IE fixes. Default theme now looks roughly the same in IE and Firefox. We need to avoid using absolute and relative positioning for our primary layout containers (i.e. gHeader, gFooter, etc.).
2008-11-10 02:16:09 +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
950c58e6d3
Add support for in-place editing of data fields.
2008-11-08 09:28:11 +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
d21f3437e6
Add the photo controller, and tie it to the photo page in our theme.
...
Implement a real breadcrumb.
2008-11-05 07:42:52 +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
630b0f26fc
Restructure the theme code to be more like WordPress / Habari. Now,
...
the controller initiates a request to a top level page (eg:
album.html.php) which is then free to include whatever other page
chunks it wants with calls like <?= $theme->display('header.html') ?>
Variables like $item and $children are in the global space for all
views.
theme.php helper is now Theme.php library which lets us store the name
of the theme inside the variable itself. This means that the theme
does not have to know its own name because you can use $theme->url()
for all urls to stuff inside the theme itself, which makes it possible
to cline a theme without changing a single line.
Still using the mock album UI.
2008-11-04 05:02:37 +00:00