summaryrefslogtreecommitdiff
path: root/includes/theme.inc
Commit message (Collapse)AuthorAge
* Patch 5114 by Kjartan:Dries Buytaert2004-01-14
| | | | | | | - Adds drupal_set_header() and drupal_get_headers(). - Cache now stores custom headers. - Replace theme_head() with drupal_get_html_head(), added drupal_set_html_head(). - Added RSS autodiscover links to node, blog and taxonomy pages.
* Round 3 of aggregator improvements:Dries Buytaert2004-01-11
| | | | | | | | | | | | | | | - Added support for new tags: + Optinal feed image: <image> tag. + Dublin core dates: <dc:date> <dcterms:created>, <dcterms:issued>, <dcterms:modified>. - Usability improvements: + On the administration page, made the feed/bundle titles link to the feeds/bundles' pages. On the feed/bundle's page, made the 'Last updated' field link to the administration page. + Moved the 'syndication' menu one level down. - Updated some content sensitive help. - Further improved themeability. - Fixed some invalid HTML.
* - Fixed bug #5004: missing <title>-tag in the example theme.Dries Buytaert2004-01-07
|
* - Fixed bug 4916: users can have disabled themes. Modified patch by Mathias.Dries Buytaert2004-01-02
| | | | | | | | | | | | 1. Remove the theme object. There is no need to keep it around since meta information for a theme can be retrieved via list_themes(). All we really need is the theme name. 2. Check if the user selected theme is enabled during theme initialization. This is the easiest place to put the check and doesn't mess with the user's settings. Their database profile will still contain the disabled theme selection, but they will be rendering the default admin-selected theme until their chosen theme is once again activated.
* - Fixed bug #4771: variable_get(site_name, ...) -> variable_get('site_name', ↵Dries Buytaert2003-12-22
| | | | ...);
* - Updated documentation, small bug fix and small improvements to the <label>Dries Buytaert2003-12-22
| | | | | | | | tags. To be discussed and investigated: when a form element has no title an empty <label> tag will be emitted (eg. "remember me" checkbox). This doesn't make sense but is our best option for now.
* - Accessibility improvements: made the <label>-tags use the 'for'-attribute.Dries Buytaert2003-12-22
|
* - Fixed typo: $outpout -> $output. Fixed bug 4690.Dries Buytaert2003-12-18
|
* - Type in comment block.Kjartan Mannes2003-12-16
|
* - Reworked 404 (page not found) handling. Patch by walkah. You can specify aDries Buytaert2003-12-16
| | | | | custom 404 page in the administration page. As a result, error.php could be removed.
* - Bugfix: removed incorrect print statements from theme.inc.Dries Buytaert2003-12-13
|
* - Small change to the default theme.Dries Buytaert2003-12-13
|
* - Tidied up the DoxyGen comments. Patch by Kjartan.Dries Buytaert2003-12-08
|
* - Patch 185 by Ax: fixed undefined variables, synchronized xtemplate with ↵Dries Buytaert2003-12-04
| | | | sf, etc.
* Fixed typo. Patch by Manuel.Dries Buytaert2003-11-27
|
* - Doxygen improvements. Patch by Ax.Dries Buytaert2003-11-26
|
* - Committed phase 4 of JonBob's menu system changes.Dries Buytaert2003-11-25
|
* - Rollbacked Ax's theme.inc changes as they failed to apply correctly.Dries Buytaert2003-11-24
|
* Patch by Ax to fixe and improve to the core doxygen PHPdoc:Dries Buytaert2003-11-24
| | | | | | | | | | | | * fixes all doxygen warnings [#]_ in the current code base + changes @param style from phpDocumentor (@param type $var desc) to doxygen (@param $var desc) + documents all undocumented parameters + escapes / fixes html warnings + fixes @defgroup in theme.inc * adds more groupings [#]_ + drupal_{set|get}_title, drupal_{set|get}_breadcrumb + pager.inc: pager_api (pager_query(), pager_display()), pager pieces * adds a new group "themeable" which contains all themeable functions.
* - Made the Xtemplate theme degrade gracefully when CSS is disabled.Dries Buytaert2003-11-24
|
* - Committed phase 3 of JonBob's menu changes. Adds an API for modules toDries Buytaert2003-11-23
| | | | | define titles and breadcrumbs for their pages, and updates the theme system to display them.
* - Block and theme improvements. Patch by Ax.Dries Buytaert2003-11-19
| | | | | | | | | | | | | | | + block_list() (in block.module): returns an array of block objects for $region. + theme_blocks() (in theme.inc): uses block_list() and theme("block") to actually render them. Advantages: + Decouples blocks content and layout, allows block_list() to be used for non-output purposes (think "pull"). + Unifies naming in theme.inc: render_blocks()) didn't really fit there. + Puts block_list() in blocks.module where it logically belongs. - Removed some cruft from the Xtemplate theme. Patch by Ax.
* - Small improvement to the default style emitted by theme_form_element().Dries Buytaert2003-11-17
|
* - Improved form items: added <label> tags to improve accessibility and addedDries Buytaert2003-11-17
| | | | | theme_form_element() function to improve themeability. I left form_item() and the calls to form_item() intact for now.
* - table(...) -> theme("table", ...)Dries Buytaert2003-11-13
|
* - Spell checked the comments.Kjartan Mannes2003-11-10
|
* - Improvement: made sure that the example theme uses the misc/drupal.css ↵Dries Buytaert2003-11-10
| | | | stylesheet.
* - Committed stage 2 of the theme system improvements! Patch by CodeMonkeyX.Dries Buytaert2003-11-09
|
* - Bugfix: made theme_footer() call theme_closure() instead of itself. Patch ↵Dries Buytaert2003-11-09
| | | | by Bart.
* - Committed stage 1 of the theme system improvements.Dries Buytaert2003-11-08
| | | | | | | | Some TODO's: * The sidebars of theme Marvin and theme UnConeD look unstyled. * CSS-ify theme UnConeD so we can remove the class around the functions. * Rewrite theme_init() not to use a class and simplify theme() accordingly.
* - Improvement: better HTML/CSS for the example theme. Patch by Adrian Simons.Dries Buytaert2003-11-04
|
* - Improvement: made it possible to disable the comment controls and reworded ↵Dries Buytaert2003-10-31
| | | | | | | | | | | | | | | | some of the configuration settings. - Improvement: removed a left-over from Drupal 4.2.0 (dead code). - Improvement: replaced hard-coded XHTML around the XML icons with class="xml-icon". - Improvement: removed the custom navigation menus shown at the top of the "user information page" and integrated them in the new navigation block. The "my account" link in the navigation menu will unfold. Also removed the "delete account" link/functionality (for now). - Improvement: fix for "magic quotes" settings. Patch by Steven. I also removed check_php_settings(). - Improvement: block themability improvements. Modified patch from Ax and Steve/CodeMonkeyX. - Fixed bug #2617: editing user information does not work. Patch by Kjartan.
* - Bugfix: added missing . which stopped the Example theme's DOCTYPE from beingDries Buytaert2003-10-19
| | | | emitted. Reported by Robert Castelo.
* - Committed Nick's _content improvements.Dries Buytaert2003-09-20
|
* - XHTML fixes in the base theme. Patch by Chris Johnson.Dries Buytaert2003-09-18
|
* - Book module improvements. This commit changes the behavior of the "view"Dries Buytaert2003-09-15
| | | | | hook. See mailing list for details; search for a mail with the subject: '[IMPORTANT] behavior of "view" hook changed'. Modified patch from Nick.
* - Committed Nick's path improvements; you can now control the look and feelDries Buytaert2003-09-11
| | | | of the breadcrumb navigation.
* - Committed a slightly modified version of Slavica's table prefix patch.Dries Buytaert2003-07-10
|
* - Bugfix: do not escpae slashes in block path. Patch #50 by Gerhard.Dries Buytaert2003-06-26
| | | | (This accompanies the recent block module documentation update, right?)
* - Improvements: XHTML-ifications. Patch by GmbH. See feature #1813.Dries Buytaert2003-06-16
|
* - Improvements: XHTML-ifications. Patch by GmbH.Dries Buytaert2003-06-15
|
* - Bugfix: small Xtemplate fixes. Patch by Ax. (Slightly modified.)Dries Buytaert2003-06-13
| | | | | | | | | | | | | - Bugfix: block patch fix. Patch by Gerhard. - Bugfix: fixed broken URL in ping. Patch by Gerhard. (This should fix the problems shown on http://www.blo.gs/info.php?id=1515.) - Improvement: added better password generator. Patch #1 by Al. Fixes bug #1935. - Improvement: performance improvement to the blog module. Patch by Marco.
* - Bugfix: fixed the CREATE FUNCTION in database.mssql as it needs to be ↵Dries Buytaert2003-06-11
| | | | | | | | | | | | | | | | | | | | | | | | prefixed with GO for some obscure reason. Patch by Kjartan. - Bugfix: fixed the defaults for blocks in database.mssql so the NOT NULL fields get values. Patch by Kjartan. - Bugfix: changed check_form() to use htmlspecialchars() instead of drupal_specialchars() as this caused Drupal to emit incorrect form items in presence of quotes. Example: <input type="submit" class="form-submit" name="op" value="Submit "top nodes" block changes" /> IMO, drupal_specialchars() is better called xmlspecialchars() to avoid confusion. - Bugfix: when an anonymous user visits a site, they shouldn't see any content (except the login block, if it is enabled) unless they have the "access content" permissions. Patch by Matt Westgate. - Improvement: improved the error checking and the error messages in the profile module. Updated the code to match the Drupal coding conventions. Modified patch from Matt Westgate. - Improvement: don't generate the <base href=""> tag in the base theme; it is already emitted by theme_head(). Patch by Kristjan. - Improvement: don't execute any SQL queries when checking the permissions of user #1. Patch by Kjartan. - Improvement: made a scalable layout form that works in IE and that behaves better with narrow themes. Part of patch #51 by Al. - Improvement: removed some redundant print statements from the comment module. Modified patch from Craig Courtney.
* - Charset simpliciations. Patch #46 by Al.Dries Buytaert2003-06-08
|
* - Bugfix: renamed the SQL field 'types' to 'nodes' because 'types' is a ↵Dries Buytaert2003-06-04
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | reserved keyword in MySQL 4. This fixes critical bug #1618. Patch by Marco. ==> This fix requires to run update.php! - Bugfix: made sessions work without warnings when register_globals is turned off. The solution is to use $_SESSION instead of session_register(). This fixes critical bug #1797. Patch by Marco. - Bugfix: sometimes error messages where being discarded when previewing a node. Patch by Craig Courtney. - Bugfix: fixed charset problems. This fixes critical bug #1549. Patch '0023.charset.patch' by Al. - Code improvements: removed some dead code from the comment module. Patch by Marco. - Documentation improvements: polished the node module help texts and form descriptions. Patch '0019.node.module.help.patch' by Al. - CSS improvements all over the map! Patch '0021.more.css.patch' by Al. - GUI improvements: improved the position of Druplicon in the admin menu. Patch '0020.admin.logo.patch' by Al. - GUI improvements: new logos for theme Marvin and theme UnConeD. Logos by Kristjan Jansen. - GUI improvements: small changes to the output emitted by the profile module. Suggestions by Steven Wittens. - GUI improvements: small fixes to Xtemplate. Patch '0022.xtemplate.css.patch' by Al. TODO: - Some modules such as the buddy list module and the annotation module in the contributions repository are also using session_register(). They should be updated. We should setup a task on Drupal. - There is code emitting '<div align="right">' which doesn't validate. - Does our XML feeds validate with the charset changes? - The forum module's SQL doesn't work properly on PostgreSQL.
* - Fixed the order in which the CSS gets loaded. Patch by Al.Dries Buytaert2003-05-30
|
* - Al's CSS patches. This commit improves the themability of some coreDries Buytaert2003-05-29
| | | | | | components such as lists, form items, removes an ugly hack from the archive module and should fix the poll problem (although it doesn't Opera/Konqueror).
* - Removed check_output() from the theme system layer.Dries Buytaert2003-05-26
|
* - Fixed a typo in the PostgreSQL database scheme. Patch by Michael Frankowski.Dries Buytaert2003-05-13
| | | | | | | | | | | | | - Fixed a typo in the MSSQL database scheme. Patch by Michael Frankowski. - Removed dependency on "register_globals = on"! Patches by Michael Frankowski. Notes: + Updated the patches to use $foo["bar"] instead of $foo['bar']. + Updated the INSTALL and CHANGELOG files as well. - Tiny improvement to the "./scripts/code-clean.sh" script.
* - Applied Michael Caerwyn's "%s -> %d" patch.Dries Buytaert2003-05-07
| | | | - Changed all occurences of '%d' to %d as suggested on the mailing list.