summaryrefslogtreecommitdiff
path: root/themes/default/views/header.html.php
AgeCommit message (Collapse)Author
2009-07-26Missed committing the gBanner addition to the view template.Chad Kieffer
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-03Split the clean method into two clean and purify. clean is a light weightTim Almdal
approach using html::specialchars and purify uses HTMLPurifier to intelligently cleanse the output fields. Use purifier for text and title fields where it is likely that a user would enter html to format their data.
2009-06-30UI enhancement: made the 'back to the Gallery' links a little bit easier to ↵jhilden
discover
2009-06-28Rename $theme->url() to $theme->theme_url() for consistency wihtBharat Mediratta
$theme->theme_script().
2009-06-21Add width/height to the logo <img>Bharat Mediratta
2009-05-31Run all variables containing user-entered text through p::clean()Bharat Mediratta
2009-05-27Update all references to the core application to now point to theBharat Mediratta
gallery module. This type of mass update is prone to some small bugs.
2009-03-12Minor after install message edits, added updated Gallery logo alt descriptionChad Kieffer
2009-02-26Support adding custom header/footer text to themes via admin/theme_detailsBharat Mediratta
2009-02-20Change #Breadcrumbs to a css class. This allows the formatting to beTim Almdal
used multiple times on the same page. (For example in a dialog box such as in jhilden's upload mockup)
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-01-16Don't show breadcrumb if there are no parents, not just on pages that aren't ↵Bharat Mediratta
tags
2009-01-12Make the logos link back to the main album page for easy navigation.Bharat Mediratta
2009-01-10Site message placement and style adjustments.Chad Kieffer
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-03Stay on the right page when we navigate up in the breadcrumb.Bharat Mediratta
Introduce a "show" parameter which contains the id of the item that we want to show when we go to the parent's page.
2009-01-03Added default user avatar. Comment thread updates, including display of ↵Chad Kieffer
avatar. Sidebar block display white space updates. Combined gLoginMenu and gCredits css.
2009-01-02Add dimensions to logo.Bharat Mediratta
2009-01-01Change the preamble for views in two ways:Bharat Mediratta
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)
2008-12-30Add site_status to the default theme. Only admins will see messages for ↵Bharat Mediratta
now, but it's nice for them to see messages when browsing instead of just in the site admin
2008-12-30Missed these in r19485.Chad Kieffer
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-15Argh, fix a bad rename.Bharat Mediratta
2008-12-15Rename default_admin to admin_default.Bharat Mediratta
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-07Merge gallery3/branches/menus back into gallery3/trunkTim Almdal
2008-12-01In place editing in breadcrumbs is a bit much, plus, it breaks the layout. ↵Chad Kieffer
Removing, at least for now.
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-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-23Move search out into its own module and have it display its link atBharat Mediratta
the header_bottom() insertion point.
2008-11-22Move all block callbacks from View::block_type() toBharat Mediratta
$theme->block_type() so that the themer has a consistent interface. Also added a bunch more callbacks and normalized the names so that the module author has plenty of options for where stuff gets put on the page. Especially renamed album/photo/sidebar to be album_blocks() photo_blocks() and sidebar_blocks() to make it clear that those are going to be larger content sections and not just basic insertion points. Used __call() to collapse all functions in the theme, which incidentally makes it trivially easy to add a new insertion point.
2008-11-22Added a label for the search form. Even if we place labels in text input ↵Chad Kieffer
fields as we currently do w/ the search form, a label should be included to maintain accessibility. Set label display to none if it shouldn't be displayed.
2008-11-21Use the new block mechanism to insert user related content into the html pagesTim Almdal
2008-11-21Restored most heading styles, still need to restore table and list styles. ↵Chad Kieffer
Removed unused CSS. CSS format updates. Applied jQuery tab styles to gSiteMenu. Removed gBlockHeader, all we need is a good old h3 element for a heading.
2008-11-19* Renamed the album, item and photo controllers to albums, items and photos ↵Jozef Selesi
in order to follow the convention that controllers that refer to a collection of resources have plural names. * Added a bug workaround to routes.php
2008-11-15Don't show gLoginMenu if there's no user moduleBharat Mediratta
2008-11-15Add support for modifying user data. It still needs work.Bharat Mediratta
Make the continue= param a GET only parameter so that it's not part of the form.
2008-11-15Revise the user login code.Bharat Mediratta
* Remove user registration link and popup from the theme; this shouldn't be done in a popup. Use ajaxform to simplify the way that we load the login popup. * Create form.html.php, this is a template for Forge based forms. * Move user validation rules into User_Model and let forms populate the rules into their forms as useful. * Undo r18688's changes regarding the REST code. We should never accept a null resource, this breaks the REST abstraction. * Change login and user controllers to use Forge which lets us delete login.html.php and user.html.php since those now are generated by the theme-owned form template
2008-11-14The state of of the user registration functionalityTim Almdal
2008-11-14Move logout to its own controllerBharat Mediratta
2008-11-13Progress is being made... you can now logoutTim Almdal
2008-11-13Major updates to form CSS. Now using unordered lists for layouts. Added ↵Chad Kieffer
.gInline for forms like login, search, tags. Updated comment, login, search, and tagging forms. All form styles live in screen.css now. Still a lot to do, but this is a good foundation.
2008-11-12The login processing is starting to take shape. Login_Form is gone. The ↵Tim Almdal
html for the login form is retrieve via an ajax call when the user clicks on login. Can't login with a valid id yet, but you certainly get error messages when things are wrong :-)
2008-11-12Clean up alignment in the login menu when the login form is displayedTim Almdal
2008-11-12Remove user_password class and move the functionality into the user helper classTim Almdal
2008-11-12More updates for user management. The controllers don't work yet. But the ↵Tim Almdal
login link in the header wil open up a login box like the mockup
2008-11-11Added some functionality to the user helper class (to check if the user is ↵Tim Almdal
logged in) and changed the header to use the helper class
2008-11-11Fix header URLs (no longer hardcoded, avoiding nesting of ↵Andy Staudacher
index.php/index.php/ for some environments)