summaryrefslogtreecommitdiff
path: root/themes/default/views
AgeCommit message (Collapse)Author
2008-12-25Restore inline gLoginMenu items, remove extra ; from footer.Chad Kieffer
2008-12-25Move jquery.listen.js out to libBharat Mediratta
2008-12-25jquery-ui.packed.js --> jquery-ui.jsBharat Mediratta
2008-12-24Lots of deltas rolled up into a bigger change. Sorry for the mess.Bharat Mediratta
1) Deleted in-place-editing. We'll be replacing this with a real edit system that groups settings together and is more coherent. 2) Tweaked the way that dialog boxes work to get the ajax stuff working again. It's imperfect and does not work properly for uploading images. This is going to get redone also, but this is a good resting point. 3) Created edit forms for albums and photos. Moved _update and _create out of Items_Controller and into the individual subclasses. 4) Created access::required which is a shorthand for: if (!access::can(...)) { access::forbidden(); } 5) Added validation rules to Items_Model 6) Converted login to use the regular modal dialog approach in the theme.
2008-12-22Add messaging system for reporting actions back to the user. MakeBharat Mediratta
module install/uninstall work and tie it into the messaging system.
2008-12-22Add some admin theme callbacks and make them explicitly admin_xxx for ↵Bharat Mediratta
consistency with the callbacks in the xxx_block helpers. So in the theme we have: admin.html.php: $theme->admin_page_bottom() then in the helpers: core_block.php: function admin_page_bottom() { }
2008-12-18Refactor site admin menu into a theme function and build the menus inBharat Mediratta
the various modules. In the process, rename xxx_menu::site_navigation() to just xxx_menu::site(). And add xxx_menu::admin(). The menus are the same as before, but I changed the HTML to be consistent with the way that we do it in the regular site, and this broke the superfish styles. I don't know how to fix this.. help me Chad!
2008-12-17Separate thumbnails out into var/thumbs. This clears up some ambiguity in ↵Bharat Mediratta
Item_Model and simplifies file_proxy. It also means we can stop munging file names in the var/resizes hierarchy. In the process, rename "thumbnail" to "thumb" everywhere in honor of Chad (well, ok because it's shorter)..
2008-12-15Convert tabs to spacesBharat Mediratta
2008-12-15Fix that rascal IE. Added conditional HTML comment to use fix-ie.css for IE7 ↵Chad Kieffer
and earlier. Fixed bg images in album/item view buttons, IE 6/7 don't appear to handle background-position: center center :(
2008-12-15Fix the reference to jquery-ui.packed.jsTim Almdal
2008-12-15revert the creation of a global gallery3 javascript variableTim Almdal
2008-12-15Forgot the quotesTim Almdal
2008-12-15Set up a global gallery3 javascript variable where we can put things that ↵Tim Almdal
need to be passed into the javascript
2008-12-15Switched login display from display in the header to a dialog. Validation ↵Chad Kieffer
errors don't display on first failed attempt, will fix later. Moved jquery js, images, css out to respective folders.
2008-12-15Argh, fix a bad rename.Bharat Mediratta
2008-12-15Rename default_admin to admin_default.Bharat Mediratta
2008-12-14Removed call to jquery.dimensionChad Kieffer
2008-12-13Layout cleanup and simplification. Move view-mode buttons into sidebar, ↵Chad Kieffer
search to header_top. Reduced borders. Started album grid improvements. Minor white space improvements. Still need to handle text/photo alignment in album grid, improve placement of search.
2008-12-11Remove the options menus from the albums and photo pages and move to the ↵Tim Almdal
site menu
2008-12-11remove the <span class="ui-tabs-nav"> from arround the site menu. It was ↵Tim Almdal
clashing with the superfish styling.
2008-12-09Combine all the ui.jquery files into a single packed file at version ↵Tim Almdal
(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-09Remove tabs, fix indentation.Bharat Mediratta
2008-12-09Checked in jQuery superfish menu plugin, applied to item options menu. ↵Chad Kieffer
Updated album/item view icons.
2008-12-07Move form.html.php from themes/default/views to core/viewsTim Almdal
2008-12-07Changed how drawForms handles hidden fields. I make the assumption that ↵Tim Almdal
hidden fields will never have an error or label so rather then recursing to draw the hidden fields, we just render them. Also moved the hidden fields outside the <ul>.
2008-12-071) Revert the changes to Form_Upload and Form_Textarea, so we don't have to ↵Tim Almdal
change third party code. 2) Change drawForm to check for a non empty $input->class in order to determime if the element should be wrapped in <li>...</li>. If $input->class is empty then treat as a hidden field.
2008-12-07Merge gallery3/branches/menus back into gallery3/trunkTim Almdal
2008-12-07Style cleanups to make File_Structure_Test pass.Bharat Mediratta
2008-12-07Yay! Working item upload dialog from the album page! Chad Kieffer
2008-12-07First go around at reusable modal dialogs. Moved jQuery UI CSS into ↵Chad Kieffer
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-06Switch the slideshow link from text to icon. Chad Kieffer
2008-12-05Added album and item view icons (album, hybrid, slideshow, full size). Added ↵Chad Kieffer
"Options" menu placeholder to display item options (add, edit, subscribe, permissions, etc.). Renamed gAlbumHeaderMenu to gItemMenu which can be used on both album and item views.
2008-12-01In place editing in breadcrumbs is a bit much, plus, it breaks the layout. ↵Chad Kieffer
Removing, at least for now.
2008-12-01Grouped inline form styles. No longer using gInline class in favor of ↵Chad Kieffer
specific form IDs that can be styled differently depending on which container they appear. Added gDescription class, dropped gUnderState for semantics. CSS cleanup.
2008-11-28Dynamically reset the dimensions of resized photos to fit if they're too wide.Chad Kieffer
2008-11-28Add credits theme callback, point the powered-by link at GMCBharat Mediratta
2008-11-28Move the form drawing code back into form.html.php -- I'm going toBharat Mediratta
take a shot at fixing it up in the view file so that it's mostly HTML, not mostly PHP. If that fails, I'll move it back into a helper.
2008-11-27Make header buttons, line them up nicely and float them to the rightBharat Mediratta
so that they don't push the album grid down.
2008-11-27Create a form_helper class containing the function Draw_Form so we don't ↵Tim Almdal
have to always check to see if the DrawForm method is already defined in pages that could have multiple forms.
2008-11-271) Create a Theme_View class that combines the functionality of the Theme ↵Tim Almdal
class with the View class. 2) Only define the form.html.php::DrawForm method once if there are multiple forms on the page (i.e. comments and add tags)
2008-11-27Move the ADMIN global nav option into the core module and only show it if ↵Bharat Mediratta
we're logged in as an admin user
2008-11-27Add navigation_top() and navigation_bottom() insertion pointsBharat Mediratta
Move "My Gallery" navigation tab into the user module and only show it if you're logged in
2008-11-27Use the dimensions of the real imageBharat Mediratta
2008-11-27Don't wrap hidden elements in list itemsBharat Mediratta
2008-11-27Move javascript from default theme to appropriate modulesTim Almdal
2008-11-26Add a new "tag" page type.Bharat Mediratta
Create the concept of "page types" which let us specify the kind of page that we're rendering in high level terms. Currently there are three page types: album, photo and tag. The tag page type uses slightly different variables. It has a $tag but no $item. Adjust all sidebar_block() functions to avoid printing stuff that's dependent on the item if there is no item. Simplify the tag code to stop trying to fake an item. Update the theme slightly to use $item and $tag where appropriate (notably, for making the <title> element).
2008-11-26Indentation fix.Bharat Mediratta
2008-11-25Move album_top back inside gAlbumHeader so that the slideshow link appears ↵Bharat Mediratta
on the same line as the title/description.
2008-11-25Move the in-place-edit JS into the page_footer callback and out ofBharat Mediratta
Theme.php.