Tim Almdal
1dccc0286f
Change the page.html file so that if the type of page is login, the sidebar contents are are not shown
2009-06-16 22:09:02 -07:00
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
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
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
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
b4b6a0b8d4
Focus IE fixes on versions less than 8
2009-05-30 21:49:55 -06: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
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
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
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
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
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
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
Bharat Mediratta
b1effc1d35
Drop request for jquery.listen.js, we don't use it
2009-02-04 23:37:20 +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
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
bdff96bd54
Added a jump to comments button with a scroll to effect.
2009-01-03 19:09:32 +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
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
11d2788af8
Refactor common dialog JS code out into lib/gallery.dialog.js
2009-01-01 00:06:52 +00:00
Chad Kieffer
37f9cc2872
Missed these in r19485.
2008-12-30 00:52:03 +00:00
Chad Kieffer
62cd05fb16
Apply button bg image to Superfish menu items.
2008-12-29 06:12:00 +00:00
Bharat Mediratta
74bfa24b8f
Move jquery.listen.js out to lib
2008-12-25 08:27:57 +00:00
Bharat Mediratta
5ca952fe61
jquery-ui.packed.js --> jquery-ui.js
2008-12-25 08:11:46 +00:00
Bharat Mediratta
bdc0876fa8
Add messaging system for reporting actions back to the user. Make
...
module install/uninstall work and tie it into the messaging system.
2008-12-22 06:50:20 +00:00
Bharat Mediratta
e73bd90285
Convert tabs to spaces
2008-12-15 08:35:46 +00:00
Chad Kieffer
cf47b3d45c
Fix that rascal IE. Added conditional HTML comment to use fix-ie.css for IE7 and earlier. Fixed bg images in album/item view buttons, IE 6/7 don't appear to handle background-position: center center :(
2008-12-15 07:08:13 +00:00
Tim Almdal
20d5f45218
Fix the reference to jquery-ui.packed.js
2008-12-15 06:37:56 +00:00
Tim Almdal
bc40b48729
revert the creation of a global gallery3 javascript variable
2008-12-15 05:08:22 +00:00
Tim Almdal
30c6ba48ea
Forgot the quotes
2008-12-15 04:55:09 +00:00
Tim Almdal
e665a21038
Set up a global gallery3 javascript variable where we can put things that need to be passed into the javascript
2008-12-15 04:53:16 +00:00
Chad Kieffer
119344d9db
Switched login display from display in the header to a dialog. Validation errors don't display on first failed attempt, will fix later. Moved jquery js, images, css out to respective folders.
2008-12-15 02:45:50 +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
Chad Kieffer
c322f1fe4c
Removed call to jquery.dimension
2008-12-14 00:15:23 +00:00
Tim Almdal
5ebd0854be
Combine all the ui.jquery files into a single packed file at version (1.6rc2) copied from the the corresponding vendor branch.
...
Move into the application/lib directory and remove from the theme.
Remove the ui.jquery javascript from the rearrange module and use the common library.
2008-12-09 17:02:06 +00:00
Bharat Mediratta
930fb1f697
Remove tabs, fix indentation.
2008-12-09 08:29:12 +00:00
Chad Kieffer
2fbd4c09e6
Checked in jQuery superfish menu plugin, applied to item options menu. Updated album/item view icons.
2008-12-09 06:40:20 +00:00
Chad Kieffer
36cda412f4
First go around at reusable modal dialogs. Moved jQuery UI CSS into screen.css, moved default theme JS to js folder. Named jQuery UI files to match the file names as they distribute them. Removed accordion, it's not used yet.
2008-12-07 04:49:26 +00:00
Chad Kieffer
bb8fa3c417
Dynamically reset the dimensions of resized photos to fit if they're too wide.
2008-11-28 22:02:46 +00:00
Tim Almdal
27e64f1dc6
Move javascript from default theme to appropriate modules
2008-11-27 06:14:32 +00:00