1. 04 Jun, 2002 1 commit
    • Steven Wittens's avatar
      Poll.module improvements: · 8be5a254
      Steven Wittens authored
      - Added links to see poll results when you haven't voted yet (and to go back).
      - Cleaned up code and moved large sections into separate functions for cleaner code
      - Cleaned up the way of distinguishing between multiple polls on one page (now it just uses the nid)
  2. 02 Jun, 2002 1 commit
  3. 01 Jun, 2002 6 commits
  4. 31 May, 2002 4 commits
  5. 30 May, 2002 1 commit
    • Dries's avatar
      · af075abb
      Dries authored
      - Fixed but #197: "Shouldn't going to index.php?or=xxx show all content
        for the term rather than only promoted content?".  Reported by Barry,
        fixed by Revar's patch.
  6. 29 May, 2002 5 commits
  7. 26 May, 2002 4 commits
    • Dries's avatar
      · 2156045a
      Dries authored
      - Change to use the proper db_query syntax.  Patch by Marco.
    • Dries's avatar
      · 0908a06c
      Dries authored
      - Replaced a "mysql_query()" by a "db_query" as identified by Moshe (see
        his sandbox) and fixed some typos in the module's comments.
        * Moshe: what are the $wordlist changes you made?  Mind to elaborate a
                 bit on those?
        * TODO: validate the SQL queries used in the search module using a SQL
                validator tool - I wonder whether they are ANSI compliant.
      -    // If the word is preceeded by a "+", then this word is required, and
      +    // If the word is proceeded by a "+", then this word is required, and
      -        $inputword = ("INSERT INTO search_index VALUES('$key', ". $node["lno"] .", '$node_type', $value)");
      -        mysql_query($inputword);
      +        db_query("INSERT INTO search_index VALUES('$key', ". $node["lno"] .", '$node_type', $value)");
      -      // Zap the weighted words array, so we dont add multiples.
      +      // Zap the weighted words array, so we don't add multiples.
    • Dries's avatar
      · 41914814
      Dries authored
      - Bugfix: just before submitting a node, one could change the content of
        that node to something that would not have passed the preview pages.
        Patch by Revar:
          "If you uploaded a valid file, and filled out the form right, you will
          get a Submit button.  The problem comes in when you choose a different
          file to upload, and then click Submit.  The filestore_save() function
          cannot do proper validation and handling of the form data, as it only
          returns a list of what node fields to save.  On error, a node entry is
          still created, but with only the nid field set.  The user can't be
          forced to fix their bad entry."
          "Add a _form_validate() node hook to process and validate any form
          results.  That way even on Submit, the node code would check the
          validity of the data, and if bad, it could drop you back to the preview
          screen with the current bad data warnings.  Have it return an array of
          errors that can be passed in as $error to the _form() hook.  If it
          returns a null array, then there's no errors, and the submit can go
    • Dries's avatar
      · ad83b449
      Dries authored
      - Bugfix: found a bug with the 'create poll' title attribute.  It was
        getting added to the <a> tag as '0="title" 1="Add a new poll."'.
        Patch by Revar.
  8. 25 May, 2002 1 commit
    • Dries's avatar
      · e426775f
      Dries authored
      - Bugfix.  When a theme does no longer exist on disk, it should not be
        returned by theme_list() as it breaks the site ...  The attached patch
        prevents this from happening but does not remove the theme from the system
        table in the SQL database - if the theme is removed from the database upon
        viewing the themes administration page (or another trigger), I guess that
        is fine.
      Kjartan: my fix is the right thing to apply because theme_list() is used
               elsewhere where it requires to return a list of existing themes.
               Maybe it's a little sad but the current theme loading code might
               be slower and more complex than the old Drupal 3 theme loading
               code ... ?
  9. 24 May, 2002 3 commits
    • Dries's avatar
      · 04e491f8
      Dries authored
      - Now all themes use the new taxonomy stuff, we can remove the depricated
        function node_index() - it was an empty function.
    • Dries's avatar
      · 73f9ffc8
      Dries authored
      - Removed a "nowrap" attribute to make theme Marvin look better on IE6.
        (Suggested by UnConed.)
      - Made theme Marvin support the taxonomy module.
    • Kjartan's avatar
      - the user_admin_edit() would loose the theme settings. · f711bace
      Kjartan authored
      - added some more help text to page.module.
  10. 23 May, 2002 2 commits
    • Kjartan's avatar
      - Coding style changes. · 793db831
      Kjartan authored
      - Included modules will now cause parse errors instead of them being supressed.
        Was making debugging really hard.
    • Kjartan's avatar
      - pending user accounts will not be notified to the site_email. · 66e1bbfb
      Kjartan authored
      - fixed access checks on the register form, do this before you enter the
        _save function. If registrations are disabled the register link will
        no longer show (again).
      - changed &#187 to &raquo, using the names of entities are better than
        the numbers.
      - fixed user information being set when account is registered (properly this
        time, really!)
      - reversed the if(!...) commit.
      - node_add specifies more defaults.
      - added link to blog entries from user page.
  11. 22 May, 2002 2 commits
  12. 21 May, 2002 4 commits
  13. 20 May, 2002 6 commits