1. 22 Jul, 2004 1 commit
  2. 21 Jul, 2004 1 commit
  3. 13 Jul, 2004 1 commit
    • Dries's avatar
      · 50d78e98
      Dries authored
      - Patch #9238 by JonBob: added code and Doxygen comments to common.inc and
        bootstrap.inc.
      50d78e98
  4. 12 Jul, 2004 2 commits
  5. 11 Jul, 2004 1 commit
    • Dries's avatar
      · 323d9fe0
      Dries authored
      - Call 'exit' hook when drupal_goto() is called.  Also necessary for the
        devel.module.
      323d9fe0
  6. 08 Jul, 2004 1 commit
    • Dries's avatar
      · 02ae1ce6
      Dries authored
      - Many form_ functions called theme('form_element') with the wrong parameters!
      
      - Fixed order of parameters in form_checkboxes() (plural).
      02ae1ce6
  7. 04 Jul, 2004 2 commits
    • Dries's avatar
      · fe2b3e7c
      Dries authored
      - Patch by Steven and me: refactored the form handling of nodes. The node system is now using form_set_error() and friends like the rest of Drupal does. This makes for both a consistent user experience and consistent code. It simplifies the forms and validation code, however, it does change the node API slightly:
      
          * The _validate hook and the _nodeapi('validate') hook of the node API (1) no longer take an 'error' parameter and (2) should no longer return an error array. To set an error, call form_set_error().
      
          * The _form hook of the node module no longer takes a form hook and should not worry about displaying errors. Ditto for _nodeapi('form_post') and _nodeapi('form_pre').
      fe2b3e7c
    • Dries's avatar
      f3aa8712
  8. 02 Jul, 2004 1 commit
    • Dries's avatar
      · 9986cb36
      Dries authored
      - Patch #8973 by JonBob: Drupal contains many undefined variables and array indices, which makes PHP throw a lot of warnings when the reporting level is set to E_ALL. Things run fine with these warnings, but as a matter of code style if nothing else we should probably strive to avoid them. The attached fixes most of the more egregious offenders (about 95% of the warnings when I load /node on my test site).
      9986cb36
  9. 28 Jun, 2004 1 commit
  10. 21 Jun, 2004 2 commits
  11. 18 Jun, 2004 1 commit
    • Dries's avatar
      · 54b77d64
      Dries authored
      Tabs patch!
      
      CHANGES
      -------
      
       + Introduced tabs. First, we extended the menu system to support tabs. Next, a tab was added for every link that was (1) an administrative action other than the implicit 'view' (2) relevant to that particular page only. This is illustrated by the fact that all tabs are verbs and that clicking a page's tab leads you to a subpage of that page.
      
       + Flattened the administration menu. The tabs helped simplify the navigation menu as I could separate 'actions' from 'navigation'. In addition, I removed the 'administer > configuration'-menu, renamed 'blocks' to 'sidebars' which I hope is a bit more descriptive, and made a couple more changes. Earlier, we already renamed 'taxonomy' to 'categorization' and we move 'statistics' under 'logs'.
      
       + Grouped settings. All settings have been grouped under 'administer > settings'.
      
      TODO
      ----
      
       + Update core themes: only Xtemplate default supports tabs and even those look ugly.  Need help.
      
       + Update contributed modules.  The menu() hook changed drastically.  Updating your code adhere the new menu() function should be 90% of the work.  Moreover, ensure that your modue's admin links are still valid and that URLs to node get updated to the new scheme ('node/view/x' -> 'node/x').
      54b77d64
  12. 04 Jun, 2004 1 commit
  13. 02 Jun, 2004 2 commits
  14. 01 Jun, 2004 1 commit
  15. 31 May, 2004 1 commit
    • Dries's avatar
      · 7f08110a
      Dries authored
      - Improved form handling.
      
        + Introduced two new functions:
            1. form_set_error($name, $message): files an error against the form
               element with the specified  $name.
            2. form_has_errors(): returns true if errors has been filed against
               form elements.
      
        + Updated the form handling:
             1. The form_ functions will add 'class="error"' when a form field
                has been found to be erroneous.
             2. The error message is passed to theme_form_element() when the
                particular form field has been found to be erroneous.
      
        + I updated the user and profile module to take advantage of these new
          functions.
      
        + IMPORTANT: the _user() hook changed.  The 'validate' case should no
          longer retun an error message when something goes wrong but should
          set it with form_set_error().
      7f08110a
  16. 28 May, 2004 1 commit
  17. 24 May, 2004 1 commit
  18. 22 May, 2004 1 commit
  19. 18 May, 2004 1 commit
    • Dries's avatar
      · 10c5e95a
      Dries authored
      - Made it possible for anonymous users to leave their name, e-mail address
        and the URL of their homepage.  Patch by Pablo.
      10c5e95a
  20. 15 May, 2004 1 commit
    • Dries's avatar
      · fed7e664
      Dries authored
      - Patch #6682 by jhriggs: added form_checkboxes(), much like form_radios()
        and updated some modules to take advantage of it.
      fed7e664
  21. 05 May, 2004 1 commit
  22. 03 May, 2004 1 commit
  23. 27 Apr, 2004 1 commit
  24. 26 Apr, 2004 1 commit
  25. 24 Apr, 2004 2 commits
  26. 21 Apr, 2004 2 commits
    • Dries's avatar
    • Dries's avatar
      · 7231c88a
      Dries authored
      - Added support for 403 handling.  Patch by JonBob.  As a side benefit,
        administrators will be able to define a custom 403 page, just as they
        can define 404 pages now.
      
        This needs to be documented in the "Changes since / migrating to ..."
        pages.
      7231c88a
  27. 15 Apr, 2004 1 commit
  28. 12 Apr, 2004 1 commit
    • Dries's avatar
      · be230467
      Dries authored
      - Patch #6947 by Ax: fixed a Doxygen warning, fixed some uninitialized varables.
      
        (I'm back from vacation.)
      be230467
  29. 31 Mar, 2004 1 commit
  30. 27 Mar, 2004 1 commit
  31. 24 Mar, 2004 2 commits
  32. 21 Mar, 2004 1 commit
  33. 11 Mar, 2004 1 commit