summaryrefslogtreecommitdiff
path: root/themes/admin_default/views/admin.html.php
AgeCommit message (Collapse)Author
2009-09-23Rename the default themes to wind and admin_wind. Change xss_data.txt file ↵Tim Almdal
to reflect this move. Not completely moved yet, but the git st is rather large so lets commit this now as a base for the cleanup.
2009-09-13Use the absolute url format for the root item. html::anchor() willBharat Mediratta
not prepend the base url to that.
2009-09-13Fix "Back to the gallery" link in upper-right cornerKevin Nehls
in Admin Dashboard.
2009-09-08Minor tweaks to the url refactor.Bharat Mediratta
2009-09-08Move specialized (pretty) url generation back into Item_Model so thatBharat Mediratta
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-01Merged admin_screen and screen style sheets in the admin theme. Removed some ↵Chad Kieffer
unsused admin styles in the process. Fixed problem in admin header that broke the theme's layout in IE7. Moved the Gallery logo and shortcut icon to lib/images for easier reuse.
2009-08-31Fix XSS vectors in HTML attributes (mostly t() calls)Andy Staudacher
2009-08-30Updating uses of html::js_string and SafeString::for_js (value now contains ↵Andy Staudacher
string delimiters)
2009-08-29Merge commit 'upstream/master'Andy Staudacher
Conflicts: modules/akismet/views/admin_akismet.html.php modules/comment/helpers/comment_rss.php modules/gallery/helpers/gallery_rss.php modules/gallery/libraries/I18n.php modules/gallery/views/permissions_browse.html.php modules/gallery/views/simple_uploader.html.php modules/info/views/info_block.html.php modules/organize/controllers/organize.php modules/organize/views/organize.html.php modules/organize/views/organize_album.html.php themes/default/views/album.html.php themes/default/views/movie.html.php themes/default/views/photo.html.php
2009-08-29Fixing all detected XSS vectors in PHP->JS code.Andy Staudacher
Xss: Rename UNKNOWN back to DIRTY, JS_XSS to DIRTY_JS. (using a different flag value to highlight potential XSS vectors in JS)
2009-08-10Create the concept of an "ajax link" and use it for thumbnail rotationBharat Mediratta
and album covers in the context menu. Notes: - This requires context_menu() to have a CSS selector that refers to the <img> that we're operating on, otherwise we don't know how to find the thumbnail, etc. - Create Menu_Element_Ajax_Link which has an ajax_handler attribute that contains a snippet of JS that we're going to run when the ajax call returns. - Add $.gallery_replace_image in gallery.common.js - Add lib/gallery.ajax.js which can be used to ajaxify any link, and have ui.init.js in the themes call that on all .gAjaxLink elements.
2009-07-22Use the Kohana cascading filesystem to locate resources loaded by theBharat Mediratta
theme. Because the theme comes first, this means that themes can override any module resources, at the cost that we no longer have namespacing for JS and CSS files. The only file getting used outside of this model is themes/default/screen.css which is used in the admin theme. I fixed that by copying screen.css into admin_default and renaming its screen.css to admin_screen.css. I also copied over all the images that it was referencing. Fixes tickets #48 and #539. Theme API changes: - theme_script(), theme_url() and theme_css() are no longer needed - script(), url() and css() now refer to the first matching asset in the module load path, where gallery3/lib is at the end of the path
2009-07-21Escape bare & symbols so that we use valid entities. Fixes ticket #577.Bharat Mediratta
2009-07-01Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-07-01Fix a typo in the Doctype. Fixes ticket #497.Bharat Mediratta
2009-07-01made the 'back to gallery' link in the admin a lighter greyjhilden
(and removed the commented out <img>)
2009-07-01change to the 'back to the Gallery' link from the admin.jhilden
2009-06-30UI enhancement: made the 'back to the Gallery' links a little bit easier to ↵jhilden
discover
2009-06-29Ticket 86 (addendum) - Guard against themes that don't define MSG_CANCEL and ↵Andy Staudacher
add the message to admin_default as well.
2009-06-29Remove fix-ie.css scripts from the combined bundle, since we only wantBharat Mediratta
to load them conditionally.
2009-06-29Merge branch 'master' of git@github.com:gallery/gallery3Tim Almdal
Conflicts: modules/gallery/libraries/Theme_View.php themes/admin_default/views/admin.html.php
2009-06-29Temporary checkin to allow merge with trunk... don't integrateTim Almdal
2009-06-28Rename $theme->url() to $theme->theme_url() for consistency wihtBharat Mediratta
$theme->theme_script().
2009-06-28Clean up the combined javascript change and refactor out theBharat Mediratta
Gallery_View base class from Theme_View and Admin_View. 1) Move all the theme specific jquery stuff from gallery_theme::head() and admin_head() into the theme files. Use $theme->script() as appropriate. 2) Get rid of the extra boolean on $theme->url() that we were using so that we could call $theme->script($theme->url(...)) -- add $theme->theme_script() instead (poorly named, but still clearer than what we had before) 3) Fix the bug that combined scripts didn't work at all in the admin theme. 4) Get rid of $theme->display() in favor of new View(...)
2009-06-261) Move the generation of script tags to gallery_theme::head and ↵Tim Almdal
gallery_theme::admin_head. This allows us to potentially manage the scripts like we do in g2 (single file and compressed) 2) Change Theme_View::_call to always call the gallery_theme::$function first.
2009-06-08Rename main_element_attributes() callback to body_attributes() to beBharat Mediratta
more intuitive for themers.
2009-06-06Merge branch 'master' of git@github.com:gallery/gallery3Andy Staudacher
2009-06-06Preliminary BiDi support (needs *a lot* of tweaking)Andy Staudacher
2009-06-06Merge branch 'master' of git@github.com:gallery/gallery3Bharat Mediratta
2009-06-07Adding strings to localizerunostar
Signed-off-by: Bharat Mediratta <bharat@menalto.com>
2009-06-05Make theme page headers match the menu dropdowns.Bharat Mediratta
Internationalize the admin dashboard common title.
2009-06-04Add a csrf to the logout link.Bharat Mediratta
2009-05-26Split out re-used JavaScript for common functions (messages, valign), panel ↵Chad Kieffer
toggle, and forms to external files.
2009-03-25untabifyBharat Mediratta
2009-03-20rollback of r20469... see trac #161Tim Almdal
2009-03-20Rather than moving the themeroller and all of its associated filesTim Almdal
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-19Remove YUI grids hd and ft ids, we don't need and they're cluttering our HTML.Chad Kieffer
2009-02-24File structure style fixesAndy Staudacher
2009-02-15Hide the menu until we can superfish it so that we don't see theBharat Mediratta
unstyled list appear which causes the page layout to flicker.
2009-02-12Fixed gViewMenu button issues. Fixed major admin_default theme issues, ↵Chad Kieffer
content now clears the menu. Added IE-specific stylesheet to admin theme.
2009-02-08Superfish is now in gallery3/trunk/lib/superfishBharat Mediratta
2009-02-08Move jQuery UI ThemeRoller css and images to lib. Should simplify future ↵Chad Kieffer
updates, keep default theme directories clean.
2009-01-25Admin theme style cleanup. Merged separate selected, available, unavailable ↵Chad Kieffer
into a single set of reusable classes. Applied alternating row bg colors. Removed inline CSS from admin views. Moved user admin css into admin_default theme style sheet.
2009-01-12If there's sidebar content, use yui-t5. If none, yui-t7.Chad Kieffer
2009-01-12Only the admin dashboard has a sidebar now.Bharat Mediratta
admin.html.php looks for $sidebar and renders the page appropriately if one exists. But only admin_dashboard has one currently.
2009-01-12Make the logos link back to the main album page for easy navigation.Bharat Mediratta
2009-01-12Add all the files jquery ui needs, including css for each widget. ui.all.css ↵Chad Kieffer
includes calls to the widget css we're currently using. Add new widget css here.
2009-01-10Site message placement and style adjustments.Chad Kieffer
2009-01-10Make the admin theme header fully visible at 1024px wide. Revert to larger ↵Chad Kieffer
Gallery logo.
2009-01-10Split themes into two tabs for regular and admin themesFelix Rabinovich