Chad Kieffer
5b5893b628
Minor after install message edits, added updated Gallery logo alt description
2009-03-12 04:23:53 +00:00
Bharat Mediratta
4f77e7bdce
Support adding custom header/footer text to themes via admin/theme_details
2009-02-26 02:47:38 +00:00
Tim Almdal
2b047aaca9
Change #Breadcrumbs to a css class. This allows the formatting to be
...
used multiple times on the same page. (For example in a dialog box
such as in jhilden's upload mockup)
2009-02-20 14:11:33 +00:00
Bharat Mediratta
bcea2a6228
Hide the menu until we can superfish it so that we don't see the
...
unstyled list appear which causes the page layout to flicker.
2009-02-15 22:52:01 +00:00
Bharat Mediratta
ec272821bb
Don't show breadcrumb if there are no parents, not just on pages that aren't tags
2009-01-16 01:07:32 +00:00
Bharat Mediratta
59202b943e
Make the logos link back to the main album page for easy navigation.
2009-01-12 00:42:14 +00:00
Chad Kieffer
e82afcebfa
Site message placement and style adjustments.
2009-01-10 19:33:01 +00:00
Andy Staudacher
a631fe29f3
i18n refactoring: Rename all _() (reserved by gettext) calls to t().
...
- And refactor printf to our string interpolation / pluralization syntax
- Also, a slight change to the translations_incomings table, using binary(16) instead of char(32) as message key.
2009-01-08 17:13:06 +00:00
Bharat Mediratta
3d9e5e439e
Stay on the right page when we navigate up in the breadcrumb.
...
Introduce a "show" parameter which contains the id of the item that we
want to show when we go to the parent's page.
2009-01-03 20:14:06 +00:00
Chad Kieffer
a57ede2f96
Added default user avatar. Comment thread updates, including display of avatar. Sidebar block display white space updates. Combined gLoginMenu and gCredits css.
2009-01-03 01:11:20 +00:00
Bharat Mediratta
06749e2bbf
Add dimensions to logo.
2009-01-02 04:04:53 +00:00
Bharat Mediratta
cd1d023754
Change the preamble for views in two ways:
...
1) drop unnecessary semicolon
2) start with <?php for extra security in the case that the server itself doesn't
have short_tags enabled (the app won't work, but we need to make sure that we're
still secure)
2009-01-01 00:23:29 +00:00
Bharat Mediratta
8aebdf4e19
Add site_status to the default theme. Only admins will see messages for now, but it's nice for them to see messages when browsing instead of just in the site admin
2008-12-30 04:12:43 +00:00
Chad Kieffer
37f9cc2872
Missed these in r19485.
2008-12-30 00:52:03 +00:00
Bharat Mediratta
c67234974d
Refactor site admin menu into a theme function and build the menus in
...
the various modules. In the process, rename xxx_menu::site_navigation() to just
xxx_menu::site(). And add xxx_menu::admin().
The menus are the same as before, but I changed the HTML to be
consistent with the way that we do it in the regular site, and this
broke the superfish styles. I don't know how to fix this.. help me
Chad!
2008-12-18 07:32:34 +00:00
Bharat Mediratta
2842a1a8be
Argh, fix a bad rename.
2008-12-15 01:52:04 +00:00
Bharat Mediratta
1127257f63
Rename default_admin to admin_default.
2008-12-15 01:50:52 +00:00
Tim Almdal
faeb52e7f4
remove the <span class="ui-tabs-nav"> from arround the site menu. It was clashing with the superfish styling.
2008-12-11 19:22:38 +00:00
Tim Almdal
954fcf0342
Merge gallery3/branches/menus back into gallery3/trunk
2008-12-07 19:45:46 +00:00
Chad Kieffer
ab0fcb7453
In place editing in breadcrumbs is a bit much, plus, it breaks the layout. Removing, at least for now.
2008-12-01 06:57:37 +00:00
Bharat Mediratta
723eb2f611
Move the ADMIN global nav option into the core module and only show it if we're logged in as an admin user
2008-11-27 11:43:48 +00:00
Bharat Mediratta
34a286ae90
Add navigation_top() and navigation_bottom() insertion points
...
Move "My Gallery" navigation tab into the user module and only show it
if you're logged in
2008-11-27 11:33:45 +00:00
Bharat Mediratta
974f9f7788
Add a new "tag" page type.
...
Create the concept of "page types" which let us specify the kind of
page that we're rendering in high level terms. Currently there are
three page types: album, photo and tag.
The tag page type uses slightly different variables. It has a $tag
but no $item. Adjust all sidebar_block() functions to avoid printing
stuff that's dependent on the item if there is no item.
Simplify the tag code to stop trying to fake an item.
Update the theme slightly to use $item and $tag where appropriate
(notably, for making the <title> element).
2008-11-26 21:50:45 +00:00
Bharat Mediratta
51ada4c2e2
Move search out into its own module and have it display its link at
...
the header_bottom() insertion point.
2008-11-23 08:08:12 +00:00
Bharat Mediratta
c6f0cc036d
Move all block callbacks from View::block_type() to
...
$theme->block_type() so that the themer has a consistent interface.
Also added a bunch more callbacks and normalized the names so that the
module author has plenty of options for where stuff gets put on the
page. Especially renamed album/photo/sidebar to be album_blocks()
photo_blocks() and sidebar_blocks() to make it clear that those are
going to be larger content sections and not just basic insertion
points.
Used __call() to collapse all functions in the theme, which
incidentally makes it trivially easy to add a new insertion point.
2008-11-22 21:46:34 +00:00
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