Commit Graph

729 Commits (75685d8c3d21eb8ac93e03b9f202aefdedaabe58)

Author SHA1 Message Date
Kjartan Mannes 75685d8c3d - Fixing bug #5091: Inconsistent download method defaults. 2004-01-13 10:33:02 +00:00
Dries Buytaert 5fa33b2962 - Made l() add 'class="active"' to the active/current URL. 2004-01-12 22:53:43 +00:00
Dries Buytaert a8b8c247db - Patch #5021: clean up URLs in _help texts. Patch by UnConeD. 2004-01-11 20:31:26 +00:00
Dries Buytaert 6f80df7762 - Fixed bug 4745: undefined warning in sess_read(). 2004-01-11 20:03:36 +00:00
Dries Buytaert ee305ae144 Round 3 of aggregator improvements:
- 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.
2004-01-11 15:05:21 +00:00
Steven Wittens f78cb9932b - Fixed ability to override default HTTP headers in drupal_http_request().
- Fixed issue with drupal_get_path_alias(): should return false for non-aliased URLs.
2004-01-07 20:43:26 +00:00
Dries Buytaert 94f6e94ffd - Many excellent news aggregator improvements by Kjartan:
+ Added drupal_http_request().
    + Replaced rssfeeds with OPML feed subscription list.
    + Added support for pubDate.
    + Added support for conditional gets using ETag and Last-Modified.
2004-01-07 19:52:10 +00:00
Dries Buytaert 56a637fefa - Fixed bug #5004: missing <title>-tag in the example theme. 2004-01-07 18:42:02 +00:00
Kjartan Mannes 0d7e205062 - New and updated doxygen comments. 2004-01-06 19:52:14 +00:00
Steven Wittens b817bdb302 - Improved XML encoding fix. There is now a function drupal_xml_parser_create():
/**
 * Wrapper around xml_parser_create() which extracts the encoding from the XML
 * data first and sets the output encoding to UTF-8. This function should be
 * used instead of xml_parser_create(), because PHP's XML parser doesn't check
 * the input encoding itself.
 *
 * This is also where unsupported encodings should be converted.
 * Callers should take this into account: $data might have been changed after
 * the call.
 *
 * @param $data The XML data which will be parsed later.
 */
2004-01-06 12:09:42 +00:00
Steven Wittens c2151b5248 Committed filter separation patch: all filter-related things are now in filter.module (which is a required module).
To do this cleanly, I reorganised some bits of system.module: there is now a generic handler available for simple variable-get/set based configuration pages. Look at filter_admin() or system_view() for example usage.

(based on the patch by Goba)
2004-01-05 19:19:05 +00:00
Dries Buytaert daaeef0e8c - Partial patch #4927: mass URL aliasing by Goba. 2004-01-05 18:23:21 +00:00
Kjartan Mannes 6387508d23 - Fixing doxygen comment. 2004-01-02 23:12:44 +00:00
Dries Buytaert f6082cda98 - Fixed bug 4916: users can have disabled themes. Modified patch by Mathias.
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.
2004-01-02 16:24:28 +00:00
Dries Buytaert 604064b523 - Patch #4858: search module did not remember the search filter. Patch by
Kjartan.
2004-01-02 12:15:37 +00:00
Dries Buytaert e8c7d2e092 - Made it possible to set and display multiple status messages. Modified patch by
Kjartan.
2003-12-30 12:10:51 +00:00
Dries Buytaert 21a0e8b904 - Updated code to use new semantics of url() and l(). 2003-12-29 19:49:11 +00:00
Dries Buytaert be2f405818 - Added $fragment identifier to url() and l(). Patch by Goba. 2003-12-29 19:10:26 +00:00
Dries Buytaert 059e5cca08 - Fixed a weird typo introduced by the <b> -> <strong> patches and indented
the code a bit better.
2003-12-29 17:47:12 +00:00
Dries Buytaert 0fc11d5719 - Fixed typo introduced by the <b> -> <strong> patches. This might need a better
fix.
2003-12-29 17:42:43 +00:00
Dries Buytaert 80f34e5ab0 - XHTML improvements: <b> -> <strong>. Patch by Stefan. 2003-12-29 17:14:27 +00:00
Dries Buytaert 41d28852f3 - Fixed glitch with form_radio(). Reported by Kjartan. 2003-12-29 12:44:30 +00:00
Dries Buytaert 81b21bc068 - Removed the ID from radio buttons: we'll need to rethink this a bit. 2003-12-29 11:16:45 +00:00
Dries Buytaert 9eba2ac77f - Removed the id= from checkboxes: it is acting weird in some cases. :oI 2003-12-28 00:13:22 +00:00
Kjartan Mannes 2639c1d42f - Improved Doxygen documentation. 2003-12-27 21:29:20 +00:00
Kjartan Mannes 41d2b2a349 - Fixed fileuploads for nodes failing without preview. 2003-12-27 19:21:48 +00:00
Kjartan Mannes 46f8f14322 - Fixed switch in file_create_url().
- Fixed profile module not extracting mime type.
- Improved file matching in profile module.
2003-12-27 14:28:23 +00:00
Dries Buytaert 15f289a8f0 - Added file handling. Work by Kjartan. 2003-12-26 23:03:21 +00:00
Dries Buytaert fb45b6b7df - Removed the ID from radio buttons for now: duplicate IDs confuse the browser. 2003-12-26 14:52:29 +00:00
Dries Buytaert 01f252ab7d - Refactored form_radios() such that less HTML code is emitted and such that
the options are not rendered in bold.
2003-12-24 12:40:28 +00:00
Dries Buytaert 2dcb890477 - Fixed bug #4771: variable_get(site_name, ...) -> variable_get('site_name', ...); 2003-12-22 22:54:59 +00:00
Dries Buytaert 7883ea6e1e - Accessibility improvement: changed a <b>-tag to a <strong>-tag, used to
indicated the current page.
2003-12-22 17:30:43 +00:00
Dries Buytaert 770174b299 - Updated documentation, small bug fix and small improvements to the <label>
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.
2003-12-22 15:38:07 +00:00
Dries Buytaert 0439e3495c - Fixed password field. 2003-12-22 15:06:46 +00:00
Dries Buytaert 54a74abaa3 - Accessibility improvements: made the <label>-tags use the 'for'-attribute. 2003-12-22 14:45:00 +00:00
Kjartan Mannes c96a130e36 - Getting the fix rght. 2003-12-19 13:44:08 +00:00
Kjartan Mannes 81565fda5d - Fixing magic_gpc fix. 2003-12-19 10:52:37 +00:00
Dries Buytaert 23c7a4aa5d - Fixed bug 4703: don't display the help text when the user has no access
rights for a page.  That is, only return the help text if an active
  handler exists.
2003-12-18 21:13:17 +00:00
Kjartan Mannes 3d9e2f2c76 - Fixing wrong superglobal usage. 2003-12-18 13:58:59 +00:00
Dries Buytaert 09b660a608 - Small update 2003-12-18 08:18:06 +00:00
Dries Buytaert aa2f6162b2 - Fixed typo: $outpout -> $output. Fixed bug 4690. 2003-12-18 05:54:59 +00:00
Dries Buytaert 928c113b82 Patch by Kjartan:
- Adds possibility to hide menu item when it has no children. (Fixes the
    node/add problem when user doesn't have access to create any node
    types.)
  - More doxygen comments.
2003-12-17 22:15:35 +00:00
Kjartan Mannes 3e3f397202 - Type in comment block. 2003-12-16 21:18:51 +00:00
Dries Buytaert 670a292277 - Reworked 404 (page not found) handling. Patch by walkah. You can specify a
custom 404 page in the administration page.  As a result, error.php could be
  removed.
2003-12-16 21:06:34 +00:00
Dries Buytaert f229a8c04c - Patch 161 by Gordon: adds new form_button() function with a more generic version
of form_submit() which allows the creation of HTML buttons.
2003-12-15 19:58:53 +00:00
Dries Buytaert 67fe17164a - Bugfix: removed incorrect print statements from theme.inc. 2003-12-13 17:52:50 +00:00
Dries Buytaert 4d54978a4b - Small change to the default theme. 2003-12-13 17:46:44 +00:00
Dries Buytaert 009b1afe5c Patch by Kjartan:
+ Simplified cache logic in drupal_get_path_map().
 + Added check to see if errors should be reported to error_handler().
 + Use proper db_query() syntax in throttle(), and use $_ENV instead of
   getenv().
 + Changed fix_gpc_magic() to use array_walk (C functions will always be
   faster), and renamed _fix_gpc_magic_array() to _fix_gpc_magic().
 + Renamed $node in array2object() to $array.
 + Renamed $node in object2array() to $object.
 + Minor other coding method tweaks.
2003-12-13 14:59:55 +00:00
Dries Buytaert af69e63653 - Patch by Kjartan:
+ Changed drupal_page_header(): converts the If-Modified-Since header into a
    timestamp and compares against the cache data.  Ignore If-Modified-Since
    and ETag headers if they are present but empty.

  + Few minor other code cleanups.
2003-12-13 14:10:23 +00:00
Dries Buytaert 1c0155bc9d - Fixed race condition in session handler. Patch by Kjartan. 2003-12-13 13:00:47 +00:00