Commit Graph
195 Commits
Author SHA1 Message Date
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
Bharat Mediratta baff63b70b Very basic movie support. You can upload a FLV file, we use ffmpeg to
extract a thumbnail out of it and if you click through we show it
using flowplayer.
2009-02-22 05:21:44 +00:00
Chad Kieffer e6836d8a5e Apply button styles to pager buttons and position in consistent locations. 2009-02-22 02:09:48 +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
Chad Kieffer 5dad40b1ae Ticket #2. Tighten up search results UI. 2009-02-13 03:21:19 +00:00
Chad Kieffer 9bbe8053c7 Added a show comment form button. Add comment form is revealed when the button is clicked. Used jQuery UI Effect to .highlight() to bring attention to newly added comments. Also added a named anchor to our block library to allow direct linking/scrolling to those blocks on the page. 2009-02-12 07:07:11 +00:00
Chad Kieffer d487558369 Fixed gViewMenu button issues. Fixed major admin_default theme issues, content now clears the menu. Added IE-specific stylesheet to admin theme. 2009-02-12 04:25:43 +00:00
Bharat Mediratta c7d004d319 Simplify some logic. 2009-02-10 04:29:39 +00:00
Bharat Mediratta 053fa63fa1 Superfish is now in gallery3/trunk/lib/superfish 2009-02-08 23:51:59 +00:00
Chad Kieffer f7d226bd31 Move jQuery UI ThemeRoller css and images to lib. Should simplify future updates, keep default theme directories clean. 2009-02-08 19:17:19 +00:00
Chad Kieffer c166042313 Apply default link styles to links in dialogs, including the Forgot Password link. 2009-02-06 01:47:42 +00:00
Bharat Mediratta b1effc1d35 Drop request for jquery.listen.js, we don't use it 2009-02-04 23:37:20 +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
Andy Staudacher e4a9b19bf9 Changing t() placeholder syntax from {{replace_me}} to %replace_me. 2009-01-15 10:02:41 +00:00
Bharat Mediratta 2d7ab6f4da Create Item_Model::thumb_tag() and Item_Model::resize_tag() to provide
an abstraction for when we add movie support.
2009-01-14 07:21:35 +00:00
Bharat Mediratta bc421a615a Implement deleting dashboard blocks.
* Refactor blocks so that they have a separate id vs css_id.  This way
  we can have a unique identifier for each visual block.

* Store blocks with a random id as their unique identifier

* Add Admin_Dashboard::remove_block() and modify
  themes/admin_default/views/block.html.php to call it when you click the
  remove box.
2009-01-12 08:26:38 +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 88246de0ff Add all the files jquery ui needs, including css for each widget. ui.all.css includes calls to the widget css we're currently using. Add new widget css here. 2009-01-12 00:22:55 +00:00
Chad Kieffer 15c25d85ec Switch the pager to use themeroller's icon sprites. I applied jquery ui css classes to newly added span classes in the pager templates directly, will likely move these out and apply through ui.init.js later. 2009-01-10 21:50:35 +00:00
Chad Kieffer e82afcebfa Site message placement and style adjustments. 2009-01-10 19:33:01 +00:00
Chad Kieffer 7569b39802 Updated to jquery ui 1.6rc4. Lots of changes, improved widget theme css and icons. No need to fix position dialogs anymore. Included the following in the combined file + i18n files. Requires push back up to vendor branch.
UI Core
Effects Core
Draggable - Req'd by Sortable
Resizeable - Image/watermark/avatar scaling
Sortable - Rearrange
Dialog - All over :)
Datepicker - Edit albums/items
Progressbar
Highlight - Message display, comment addition
Transfer - Adding tags from available list to field


Not fully integrated into the default theme yet.
2009-01-10 06:25:44 +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
Chad Kieffer f7f2fa10cd Started to wire up album and photo view menus. Need photo's parent album link added. Also need add the slideshow link to the menu. 2009-01-04 03:43:12 +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 bdff96bd54 Added a jump to comments button with a scroll to effect. 2009-01-03 19:09:32 +00:00
Bharat Mediratta e8f1ff580c Add a new quick-edit mode for editing photos when viewing albums.
Implement image rotation this way.
2009-01-03 05:36:16 +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
Chad Kieffer 7db1758e93 More admin menu cleanup to reduce it's height. Removed redundant admin theme images, these are included in the default theme. Added a favicon. 2009-01-02 22:06:12 +00:00
Bharat Mediratta 06749e2bbf Add dimensions to logo. 2009-01-02 04:04:53 +00:00
Chad Kieffer e8d10cab9d Applied #gPager to next/last nav, moved up above photo and moved photo title back to below the photo. 2009-01-01 22:56:57 +00:00
Chad Kieffer 7452a18938 Update the CSS item ID and class application for items and albums in albums. Miscellaneous CSS updates. 2009-01-01 22:54:35 +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