Chad Kieffer
121fcab5c8
Replaced most clear fix hacks with generic class.
2009-10-07 00:46:02 -06:00
Chad Kieffer
617076e897
Merge branch 'master' of github.com:gallery/gallery3
2009-10-07 00:21:47 -06:00
Chad Kieffer
859f8dc558
Consolidated the rest of the base message styles into lib/gallery.common.css and applied updates to views. Moved over draggable/droppable styles. Use g-target consistently for drag/drop interactions. Minor re-ordering of selectors in gallery.common.css. Updates to css comments.
2009-10-07 00:21:23 -06:00
Bharat Mediratta
fcbce09fc4
Update gallery::find_file to look for subdirectories in lib, then fall
...
back to looking in just lib itself. This is not consistent behavior
with the rest of our module structure, though so we should probably
make it more consistent.
Fix up the permission images to use gallery::find_file again.
2009-10-06 21:50:41 -07:00
Chad Kieffer
0c7e4581c9
Rename permissions icons to correspond to view states, move to lib/images. Fixed references to them in the edit permissions view.
2009-10-06 22:18:31 -06:00
Chad Kieffer
d581bbbd1e
Renamed more CSS selectors from gName to g-name.
2009-10-04 15:53:00 -06:00
Chad Kieffer
3e6ba7acc3
Renamed most, if not all css selectors from gName to g-name. Moved a few shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-10-04 00:27:22 -06:00
Chad Kieffer
9145331fd4
Renamed and moved gOdd/gEven CSS classes.
2009-10-03 12:33:53 -06:00
Bharat Mediratta
7236208655
Log the stack trace when non-admins get the error.
2009-10-02 13:20:44 -07:00
Chad Kieffer
e1e8904e4a
Convert gDialog and gCancel over to g-dialog and g-cancel. Refactor CSS id's and classes in the login/reset password dialog.
2009-09-30 22:49:36 -06:00
Tim Almdal
4de412e722
Enable the administration screen for the sidebar. Fix for ticket #110 .
2009-09-30 14:26:32 -07:00
Tim Almdal
a210878725
Merge branch 'master' into talmdal_dev
2009-09-30 07:37:14 -07:00
Tim Almdal
60d35b8992
Use the block_manager to manage site sidebar panels. Fixes ticket #110 .
...
* Extend block_manager to handle sidebar blocks. get_available has become get_available_admin_blocks, get_list becomes get_admin_list.
* Create new functions get_available_site_blocks which will look for gallery_block get_available_site_blocks.
* Refactor sidebar_blocks into a separate function and then call block_manager::get_html(site.sidebar). Convert image_block to use block management instead of theme::sidebar_blocks
* Change the block_manager api so that the theme is passed into the get method. convert info to the new sidebar block approach
* Convert the user module to use the new sidebar block structure. remove the installers for info and image_block modules.
* Convert tag and rss modules to the new sidebar framework. reset the version number to 1 for info and image_block modules.
* Change the get_html method to ignore empty blocks and change the individual handlers to return an empty string if no block is generated
* Add a warning message if no sidebar blocks are active and provide a link to the admin page that configures the sidebar.
2009-09-30 07:31:12 -07:00
Chad Kieffer
72672bda39
Replaced gButtonLink with g-button.
2009-09-30 08:04:49 -06:00
Chad Kieffer
1c68190de0
Floated elements in table headings should appear before anything else. Fixes odd white space between column heading and and button on admin maintenance page when browser window is narrow.
2009-09-30 00:42:38 -06:00
Chad Kieffer
daa3a2b43c
First round of CSS refactor updates. Added calls to gallery.common.css from wind and admin_wind. Replaced basic text align and block float classes. Removed section #2 from both themes screen styles.
2009-09-30 00:32:52 -06:00
Chad Kieffer
fbb6a86f94
Set available graphics block heights with gallery.equal_heights().
2009-09-29 23:21:08 -06:00
Bharat Mediratta
0ab73cd1ad
Fix some whitespace issues.
2009-09-27 11:35:03 -07:00
jhilden
f5094ede3c
minor improvements to simple uploader
...
* removed CSS from the view to wind/css/screen.css
* started changing CSS classes/IDs to new prefix "g-"
* and more
2009-09-26 13:28:10 -04:00
jhilden
21341d552f
Merge branch 'master' of git@github.com:gallery/gallery3
2009-09-26 11:27:45 -04:00
jhilden
4345e96d1d
first try at improving the upload user experience with the file selection button
2009-09-26 11:27:07 -04:00
Tim Almdal
d727716af7
Change the simple uploader dialog to use the new gallery::find_file api method.
2009-09-23 19:51:46 -07:00
Tim Almdal
8bab030883
Add a new api method gallery::find_file. This wraps the Kohana::find_file function, but allows the extension to supplied as part of the filename. Changed the Edit permission dialog to use the new api method to locate the icons from the active theme.
2009-09-23 19:45:23 -07:00
Tim Almdal
bdb6b17bf5
Correct whitespace
2009-09-23 09:09:45 -07:00
Andy Staudacher
88c374dee8
Arg, fixing the "Sharing your Translations" text, thanks engineer@gmc
2009-09-17 10:01:15 -07:00
Andy Staudacher
30b5c389e6
Fix: Make "Sharing your translations" a localizable string
2009-09-17 01:21:06 -07:00
Kevin Nehls and Bharat Mediratta
1499778b4a
Remove raw HTML that's wrapped around the name of the file
...
to create if not logged in as admin
2009-09-13 14:09:50 -07:00
Bharat Mediratta
b8053c9ddf
Rename "after_installer" to "welcome_message" in the code to make it
...
clearer what its purpose is. Add some spacing in the theme for it
so that it's less cramped.
2009-09-10 21:10:20 -07:00
Bharat Mediratta
752c857116
Rename ORM_MPTT::is_descendant() to ORM_MPTT::contains() to make the
...
API a little clearer. Write a test for it, too.
2009-09-10 10:28:43 -07:00
Bharat Mediratta
2aad580f53
Move specialized (pretty) url generation back into Item_Model so that
...
we're not relying on overriding url::site() to do tricks around item
urls. This means that you won't get item urls by doing
url::site("albums/37"), for example, but it also means that we won't
get pretty urls where we don't expect them (like in the action of a
<form> element).
Incidentally, this will help us move over to using the slug format
because if you've got a bad character in a url, the edit forms will
now work on it since they'll be id based.
2009-09-08 13:44:52 -07:00
Bharat Mediratta
6c60310522
Don't show clickable link for breadcrumb items where the user doesn't
...
have edit permissions.
2009-09-06 11:34:51 -07:00
Chad Kieffer
02409d3b99
Fix bg images in tables bug in webkit and ie. #718
2009-09-02 22:35:54 -06:00
Bharat Mediratta
ecc0d89cd4
Fix up incorrectly applied html::mark_clean(). Resolves #698 , thanks fperwth!
2009-09-01 20:34:19 -07:00
Andy Staudacher
95ea310aff
Remove unused l10n message
2009-09-01 14:39:08 -07:00
Andy Staudacher
295fc0c14c
Merge commit 'upstream/master'
2009-09-01 01:30:45 -07:00
Andy Staudacher
53711225ac
XSS / style fixes for newly detected issues (after fixing XSS scanner)
2009-09-01 01:28:52 -07:00
Chad Kieffer
39ca803af7
Set CSS cursor to hand for jQuery UI ui-state-hover elements. Fixes all but progress bar cursor. #669
2009-08-31 23:51:27 -06:00
Andy Staudacher
2bc73e2e36
Fix XSS vectors in HTML attributes (mostly t() calls)
2009-08-31 21:51:57 -07:00
Andy Staudacher
ddb84c84e1
Rename mark_safe() to mark_clean()
2009-08-31 00:42:18 -07:00
Chad Kieffer
80ae2fe4bf
Finish this pass at the Admin Maintenance view. Re-introduce status icons, put Cancel All, Delete All buttons in the action heading cell.
2009-08-30 23:51:31 -06:00
Chad Kieffer
ce733e0f48
Merge branch 'master' of git@github.com:gallery/gallery3
2009-08-30 22:33:12 -06:00
Chad Kieffer
93b542ccd8
Apply hover effect to buttons in progress indicator dialog.
2009-08-30 22:32:23 -06:00
Andy Staudacher
e7f5e0a9a3
Merge commit 'upstream/master'
...
Conflicts:
modules/gallery/views/l10n_client.html.php
modules/organize/views/organize_tree.html.php
modules/server_add/helpers/server_add_event.php
2009-08-30 18:27:40 -07:00
Andy Staudacher
00c73ec852
Updating uses of html::js_string and SafeString::for_js (value now contains string delimiters)
2009-08-30 15:34:46 -07:00
Andy Staudacher
effccfd41d
Change all instances of SafeString::of_safe_html() to html::mark_safe() in views.
2009-08-30 07:00:56 -07:00
Andy Staudacher
52b542b253
Fixing typo
2009-08-30 06:55:24 -07:00
Andy Staudacher
d3b0302690
Minor cleanup
2009-08-29 23:15:28 -07:00
Andy Staudacher
b9bd1681a3
Update all code to use helper method html::clean(), html::purify(), ... instead of SafeString directly.
2009-08-29 22:54:20 -07:00
Andy Staudacher
b4b638be44
Undo url helper changes - url methods no longer return a SafeString.
...
Adding SafeString::of_safe_html() calls where urls are passed as parameters to t() and t2().
2009-08-29 16:28:30 -07:00
jhilden
a1ce2d3f0a
you can close the l10n client directly from its interface now, without going back to the languages admin page
2009-08-29 19:19:04 -04:00