summaryrefslogtreecommitdiff
path: root/core/helpers/core_block.php
AgeCommit message (Collapse)Author
2009-05-27Restructure things so that the application is now just another module.Bharat Mediratta
Kohana makes this type of transition fairly straightforward in that all controllers/helpers/etc are still located in the cascading filesystem without any extra effort, except that I've temporarily added a hack to force modules/gallery into the module path. Rename what's left of "core" to be "application" so that it conforms more closely to the Kohana standard (basically, just application/config/config.php which is the minimal thing that you need in the application directory) There's still considerable work left to be done here.
2009-05-13Gee it's May already. Update copyright to 2009.Bharat Mediratta
2009-05-13Display the server load average in the platform block. Fixes ticket #198.Bharat Mediratta
2009-02-22Standardize to uppercase DESC in the order by method callsTim Almdal
2009-01-25Undo the adding underscores to the id on forge generated formsTim Almdal
2009-01-24Supply a form id on all forms. This id can be used by modules otherTim Almdal
than the originating module to provide additional functionality to the form.
2009-01-19Make get_add_block_form() static.Bharat Mediratta
2009-01-18Drag and drop in the admin dashboard now saves the location.Bharat Mediratta
* Make block_adder a real block * Suppress the "close" link on block_adder * Move the drag/drop JS into the core code out of the admin theme
2009-01-18Refactor dashboard -> block_manager since it'll manage blocks siteBharat Mediratta
wide, not just in the dashboard.
2009-01-18Rename theme callback helpers from xxx_block to xxx_theme to make roomBharat Mediratta
for us to rename the dashboard helper to be a block helper since sidebar blocks are not just in the dashboard.
2009-01-15Added gQuick to album_top, started implementation, but incomplete so far. ↵Chad Kieffer
Need edit album methods added to the quick controller.
2009-01-14Make sure that helper functions are all static. Add newBharat Mediratta
File_Structure_Test to make sure we don't regress. According to the PHP docs, the "public" keyword is implied on static functions, so remove it. Also, require private static functions to start with an _. http://php.net/manual/en/language.oop5.visibility.php
2009-01-12Dashboard blocks are now data driven, and you can add new blocks toBharat Mediratta
both the sidebar and the center content area from a dropdown at the top of the dashboard sidebar.
2009-01-08i18n refactoring: Rename all _() (reserved by gettext) calls to t().Andy Staudacher
- 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-05Add "quick edit" which lets you edit a photo's details from the albumsBharat Mediratta
page.
2009-01-04Rename:Bharat Mediratta
gQuickEdit to gQuick quick_edit -> quick
2009-01-03No quickedit for album-- for real this time.Bharat Mediratta
2009-01-03No quickedit for album thumbs (for now, anyway)Bharat Mediratta
2009-01-03Add a new quick-edit mode for editing photos when viewing albums.Bharat Mediratta
Implement image rotation this way.
2009-01-01Move debug CSS into core/css/debug.css, and enable it for admin themes alsoBharat Mediratta
2008-12-26Added the concept of "permanent" messages that we show to admins. UseBharat Mediratta
this to show a "your thumbs/resizes are out of date" message whenever we change the graphics rules. Tweak watermark module to add graphics rules whenever we make a change, which triggers the graphics module to add the permanent message.
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 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-21Report actual log entries in the "log entries" admin block.Bharat Mediratta
2008-12-21Implement the 'Project News' block with actual news from GMC.. woot!Bharat Mediratta
2008-12-20Implement the photo stream with the most recently uploaded photos.Bharat Mediratta
2008-12-20use some real statsBharat Mediratta
2008-12-20Move log entries into its own blockBharat Mediratta
2008-12-20Move the "Photo Stream" section into its own blockBharat Mediratta
2008-12-20Move the "status messages" section into its own block.Bharat Mediratta
2008-12-20Move Platform and Project News admin sidebar blocks into the newBharat Mediratta
modular structure.
2008-12-20Add admin sidebar blocks, and move the stats block into that pattern.Bharat Mediratta
2008-12-20Create a pattern for admin dashboard blocks and make the "welcome"Bharat Mediratta
block.
2008-12-15Protect menus and blocks against the fact that we don't have an itemBharat Mediratta
on tag pages.
2008-12-12Remove head() for now.Bharat Mediratta
2008-12-11Changes to the Menu.php:Tim Almdal
1) separate the classes that are generated by the Menu class from what is used for the rendering. The classes that are generated are gMenu, gMenuElement, and gMenuDialog for the Menu, Menu_Element and MenuDialog classes respectively. 2) Changed the ui.init.js to add the appropriate rendering classes to the above classes. All gMenu elements have the sf-menu class added. All elements of class gMenuDialog have the gDialogLink class added. 3) Use Superfish for the menus so they now float properly.
2008-12-11A a script block to the <head> of the page that creates a javascript ↵Tim Almdal
variable (base_url) such that javascript on the page can find the base url of the site in order to generate ajax callbacks.
2008-12-10Change all access API methods to take ORMs instead of ids. This willBharat Mediratta
minimize reloading objects from the database.
2008-12-10Remove navigation_top() and navigation_bottom() as they're subsumed by the ↵Bharat Mediratta
new menu code
2008-12-10Put profiler into page_bottom()Bharat Mediratta
2008-12-08Tighten up head()Bharat Mediratta
2008-12-07Merge gallery3/branches/menus back into gallery3/trunkTim Almdal
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-25Move the in-place-edit JS into the page_footer callback and out ofBharat Mediratta
Theme.php.
2008-11-24Revert the site_title changeTim Almdal
2008-11-23Add a site-config parameter to the config.php file. Created a ↵Tim Almdal
core_block:head method to insert the title into the head section. If the config value is false, the default Browse Photos::$item->title is used. A string value with a trailing '-' will append the config value to $item-title. Otherwise, the page title is set with the supplied value.