Tim Almdal
b6c3451231
Fix the bug introduced by r79582ee, where we try to set the title of the tag album to tag->title. which doesn't exist.
2009-06-15 20:47:36 -07:00
Bharat Mediratta
79582ee5bf
Fix up the titles in the default theme. They've been broken for a
...
while. This fixes ticket #342 .
The bug is that we were using $item instead of $theme->item(). But we
were also not special casing tags properly, and they are effectively
first class citizens (at least for now) so treat them properly. Also,
set page_title by default in the theme so that we don't have to do an
empty() check on it (makes the theme easier to read) and move the
title out of Tags_Controller so that the theme has more control over
it.
2009-06-15 18:15:41 -07:00
Bharat Mediratta
ff74d2d809
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-14 22:28:40 -07:00
Bharat Mediratta
1b656be713
Create a sidebar for tag pages
...
Move the <link> for the container feed (either gallery/album/<id> or
tag/tag/<id>) back into gallery_theme
2009-06-14 22:27:26 -07:00
Chad Kieffer
3d4cbfa274
Move jquery local scroll module from default theme to lib, only load it if viewing photo view. White space cleanup, removed debug print from template.
2009-06-14 22:39:12 -06:00
Bharat Mediratta
798444f40b
Replace login_page.html.php with the form, wrapped in our default page
...
type.
2009-06-09 19:45:15 -07:00
Bharat Mediratta
e5d273e929
Merge branch 'master' of git@github.com:gallery/gallery3
2009-06-09 19:00:22 -07:00
Tim Almdal
b276eaa68b
Add some window dressing to login_page.html in order to make it more in line
...
with the overall look of the Gallery3 theme
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca >
2009-06-10 08:39:47 +08:00
Tim Almdal
98422857eb
Forgot this on the last commit
...
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca >
2009-06-10 08:39:46 +08:00
Tim Almdal
a4a38ba760
Created not_authorized.html.php which is a prettier login screen if the root
...
album is not publicly browsable.
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca >
2009-06-10 08:39:45 +08:00
Tim Almdal
3c3a65b5a7
Rather than just displaying the "unformatted" login screen when the root album
...
is not viewable by a guest, display the root album as if it was empty. When
the page finishes loading force the login dialog to be displayed.
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca >
2009-06-09 22:22:57 +08:00
Bharat Mediratta
f7a720d2e8
Rename main_element_attributes() callback to body_attributes() to be
...
more intuitive for themers.
2009-06-08 23:17:28 -07:00
Andy Staudacher
0e415dae9b
Preliminary BiDi support (needs *a lot* of tweaking)
2009-06-06 15:24:14 -07:00
Bharat Mediratta
b30645e36c
Localize the 'Add a comment' message
2009-06-05 00:48:18 -07:00
Bharat Mediratta
85d3a962cc
Change XXX to @todo
2009-06-04 21:44:15 -07:00
Bharat Mediratta
65df897fcd
Properly internationalize the "Add some" photos link.
2009-06-04 11:57:36 -07:00
Chad Kieffer
0746e7e10d
Show an "add photos" message on empty albums for those who can.
2009-06-03 19:04:44 -06:00
Tim Almdal
0f987880e6
Fix for ticket #320
2009-06-02 12:08:47 -07:00
Bharat Mediratta
b9af090cbd
Switch the default login page to non-ajax mode. It looks awful, but better than before.
2009-06-01 21:44:04 -07:00
Bharat Mediratta
e30b45be07
Merge branch 'master' of git://github.com/gallery/gallery3
2009-05-31 01:15:11 -07:00
Bharat Mediratta
2e16c9557c
Run all variables containing user-entered text through p::clean()
2009-05-31 01:06:51 -07:00
Chad Kieffer
f95b51e219
Fix IE issues with gPager, switch gPager from id to class, it's possible that we might want it to appear more than once in views.
2009-05-30 23:04:55 -06:00
Chad Kieffer
b4b6a0b8d4
Focus IE fixes on versions less than 8
2009-05-30 21:49:55 -06:00
Bharat Mediratta
88a3d43ba9
Update all references to the core application to now point to the
...
gallery module. This type of mass update is prone to some small bugs.
2009-05-27 16:17:29 -07:00
Chad Kieffer
88e1f02c1a
Split out re-used JavaScript for common functions (messages, valign), panel toggle, and forms to external files.
2009-05-26 03:59:35 +00:00
Chad Kieffer
11c8a84f49
Added album icon before album titles. Thx again Ben.
2009-05-22 00:12:37 +00:00
Bharat Mediratta
d4189d947d
Fix the admin credits, too
2009-05-21 02:03:21 +00:00
Bharat Mediratta
9d761b4a66
Move the credits string into core_theme::credits()
2009-05-21 02:00:17 +00:00
Bharat Mediratta
31f0839f9b
Don't provide full-size link if the user can't see the full size
...
image. There's no security hole here, it's just a bad user
experience.
2009-05-10 20:02:40 +00:00
Bharat Mediratta
2890eb7589
Auto-hide the control toolbar so that it doesn't obscure the movie any longer than it has to. This resolves ticket #199 .
2009-04-23 06:48:41 +00:00
Chad Kieffer
b4bca043ac
Added method to determine proportion of current thumb_size to the default, 150. Use this in the the default theme, or any other, to reduce the size of CSS widths and heights in albums, including .gItem.
2009-04-22 05:31:29 +00:00
Bharat Mediratta
7e23ec89d9
Mark resized images with the 'gResize' class to match the 'gThumbnail' class we use in albums
2009-04-06 08:03:31 +00:00
Chad Kieffer
a57d0d93a8
Add quick edit pane to resize images, ticket #189
2009-03-31 05:14:40 +00:00
Tim Almdal
863e353911
rollback of r20469... see trac #161
2009-03-20 17:20:17 +00:00
Tim Almdal
48c022e8cb
Rather than moving the themeroller and all of its associated files
...
into each theme. I chose to create methods Theme_View::file($path)
and Admin_View::file($path). These methods check for a theme override
file in the theme and return a link to it if it exists. So to
override the themeroller files. just create a lib/themeroller in the
theme and the files will be picked up.
2009-03-20 14:59:55 +00:00
Chad Kieffer
3dbf9e1c82
Remove YUI grids hd and ft ids, we don't need and they're cluttering our HTML.
2009-03-19 16:01:41 +00:00
Bharat Mediratta
736d74d05f
Clean up the login, maintenance login and required-top-level-login code.
...
We now have two clear and separate login approaches:
login/ajax
login/html
Choose the one that's appropriate. Totally simplified the maintenance
page to be separate from the theme and dead simple, and use login/html
approach there. Totally simplified the top level login
(login_page.html.php) to just be a login page, not the rest of the
chrome on the page and use the login/ajax approach there.
Don't use access::required in albums and then catch the exception,
instead use access::can and check the return code.
Improve the text for maintenance mode.
2009-03-16 04:33:45 +00:00
Tim Almdal
85f2c6b666
Move the setting of the page title into the controller that is
...
creating the page. Provide for a default page title if none is
set. This allows less changes to page.html.php as different modules
want to change the page title.
2009-03-12 16:06:13 +00:00
Tim Almdal
b82b60c91a
Rename tag.html.php to dynamic.html.php as part of ticket #115
...
creating Dynamic Albums. This name change reflects the usage better
and allows multiple dynamic albums (including tags) to use the same
page template.
2009-03-12 15:40:08 +00:00
Chad Kieffer
5b5893b628
Minor after install message edits, added updated Gallery logo alt description
2009-03-12 04:23:53 +00:00
Tim Almdal
7dae7dc510
Strip down the loin page (not sure if this is what bharat had in mind)
2009-03-12 03:54:17 +00:00
Tim Almdal
e58b955d4a
Bag the header("Location:", ...);exit() and replace with
...
url:site(url::abs_file(...))
Create a login_page.html to be used when there is no guest access to
the root album. It doesn't have a sidebar nor breadcrumb.
2009-03-11 21:07:21 +00:00
Tim Almdal
a521d9177f
Force a login if everybody does not have access to the root
...
item. ticket #118 .
2009-03-11 13:58:38 +00:00
Tim Almdal
7786bb09d3
Implement a Maintenance mode as per ticket: #15
2009-03-05 00:32:33 +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
Chad Kieffer
2e06250f9a
Restore sidebar_top()
2009-02-25 06:54:41 +00:00
Bharat Mediratta
515c081f79
Add support MP4 movies also. Flowplayer supports them and can stream
...
them using the h264streaming plugin. Everything else is a fairly
minor change.
2009-02-25 05:27:29 +00:00
Chad Kieffer
2ab18bbd45
Restored txtright class that I'd deleted and forgotten to restore during debugging
2009-02-23 04:37:16 +00:00
Chad Kieffer
1af62de44c
Partial next/last pager fix for IE 6 and 7. Button's width is still foced to 100%. Think this is a jQuery UI CSS issue and I haven't figured out an override for it yet.
2009-02-23 03:39:44 +00:00
Chad Kieffer
1aa21cb2ab
Need to have next/previous in place in a disabled state to maintain pager layout.
2009-02-22 08:20:08 +00:00