1. 10 Dec, 2002 1 commit
    • Dries's avatar
      · eceead18
      Dries authored
      - Removed the "comment anchors" in the themes; the anchor is emitted
        by the comment module.  Patch by Ax.
      eceead18
  2. 17 Nov, 2002 1 commit
  3. 16 Nov, 2002 1 commit
  4. 09 Nov, 2002 1 commit
    • Dries's avatar
      · a6a47a32
      Dries authored
      - Applied Moshe's "theme head" patch:
      
        "This patch to theme.inc adds the ability for modules to insert HTML
         into the <HEAD> section of all web pages. The additional modules in
         this directory [ed: blog.module] demonstate possible uses for the
         new _head() hook."
      a6a47a32
  5. 01 Jun, 2002 2 commits
  6. 31 May, 2002 1 commit
    • Dries's avatar
      · 38aaf5f3
      Dries authored
      - Added missing translations and the like.
      38aaf5f3
  7. 20 May, 2002 2 commits
  8. 09 May, 2002 1 commit
  9. 20 Apr, 2002 1 commit
    • Dries's avatar
      · 8043cb99
      Dries authored
      - Applied Marco's big patch, including contributions from Moshe:
      
          + Changed the db_query() API.
      
          + Wrapped all links in l(), lm(), la(), ..., drupal_url() functions.
      
          + XHTML-ified some HTML.
      
          + Wrapped a lot of text in the administrative pages in a t()
            function.
      
          + Replaced all $REQUEST_URI/$PATH_INFOs by request_uri().
      
          + Small bugfixes (eg. bug in book_export_html() and clean-ups (eg.
            RSS code).
      
          + Fixed some bugs in the taxonomy module (eg. tree making bug), added
            new functionality (eg. new APIs for use by other modules), included
            Moshe's taxonomy extensions, and some documentation udpates.
      
          + ...
      8043cb99
  10. 14 Apr, 2002 2 commits
    • Dries's avatar
      · d8cd5496
      Dries authored
      - Added Marco's long-awaited taxonmy module and patches - a replacement
        for the meta system.  The patches add some extra functionality to the
        comment system (for example, comments can be set read-only) and fix a
        couple of small problems.
      
        + I integrated the required SQL updates from the varius *.mysql files
          into the "update.php" script.  Upgrading should be easy ...
      
        + I did not apply/commit the "user.diff" as requested by Marco ...
      
        + I didn't know what to do with "forum.module" and "forum2.module":
          what do you want me to do with it Marco?  Which one should go in?
      
        + Can we remove "node_index()" now; both from "node.module" and the
          themes?
      
        + Thanks Marco!
      d8cd5496
    • Kjartan's avatar
      This is a major change to the system, needs more testing! · 55927616
      Kjartan authored
      Committing Changes by Moshe Weitzman:
      - admin_user_account(), user_edit(), and user_view() no longer have any
        hard code for authentication modules. instead authentication modules
        implement the _user hook.
      - fixed a couple 'help' typos.
      - linked the 'REGISTER' text in the login block to the register page.
        this page now advertises DA better if site employs DA.
      - admins may now edit everything about a user account (was a feature
        request).
      - user #1 may now login immediately, in addition to receiving his
        password via email.
      
      Other changes:
      - modules and themes are now enabled/disabled in the administrative /
        settings / modules | themes pages. Requires SQL update and things must
        be enabled before your site returns to normal. TODO: enable all
        functionality. (For now just do UPDATE system SET status = 1;)
      - removed $themes from conf.php.
      - added a $theme->system() function where theme can specify settings.
        All themes in the Drupal CVS have been updated to use this.
      - added _system hook to modules. TODO: update modules to use this.
      - changed strange use of sprintf to the usual strtr. The disadvantage of
        sprintf is that it requires translations to keep the string order,
        which may not be possible in all languages.
      - an invalid/nonexisting theme in a user profile will now fallback to the
        BaseTheme instead of crashing.
      55927616
  11. 17 Feb, 2002 1 commit
  12. 15 Dec, 2001 1 commit
    • Steven Wittens's avatar
      - Updated BaseTheme and the Drupal themes to have header($title = "") as the... · e28981f0
      Steven Wittens authored
      - Updated BaseTheme and the Drupal themes to have header($title = "") as the header declaration and use title when provided. This is just a step towards having unique titles.
      In all themes, except Marvin which already had $title, I put the $title first, because it's usually the thing the page is about:
      
      "The future of weblogs? - Drop.org"
      "Your account settings - Drop.org"
      
      rather than the other way around, right?
      e28981f0
  13. 23 Nov, 2001 1 commit
  14. 01 Nov, 2001 1 commit
    • Dries's avatar
      · 336b713a
      Dries authored
      - A large batch of updates, amongst them a rewritten node system.  More
        information available on the mailing list.
      336b713a
  15. 20 Oct, 2001 1 commit
  16. 07 Oct, 2001 1 commit
    • Dries's avatar
      · 47c6fce5
      Dries authored
      - added a comment() function to the base theme: you don't have to overload
        it in your custom themes
      
      - moved 'theme_account()' to the base theme as '$theme->user()' so that it
        can be themed.
      47c6fce5
  17. 23 Sep, 2001 1 commit
    • Dries's avatar
      · ef3de8e1
      Dries authored
      - fixed bug in theme unconed
      ef3de8e1
  18. 21 Sep, 2001 1 commit
    • Dries's avatar
      · 5a6a4206
      Dries authored
      - fixed HTML/XHTML typos
      5a6a4206
  19. 16 Sep, 2001 1 commit
    • Dries's avatar
      · 2d1e9126
      Dries authored
      - Added the new user module!
      2d1e9126
  20. 13 Sep, 2001 1 commit
    • Dries's avatar
      · 676475d9
      Dries authored
      - Fixed a bug in theme UnConeD
      676475d9
  21. 11 Aug, 2001 1 commit
    • Dries's avatar
      · 808b6b6c
      Dries authored
      - Changed the authentication and login scheme as discussed on the mailing
        list.
      - Fixed the export function in book.module (patch my Julian).
      - Fixed the comment alignment (comments got truncated).
      808b6b6c
  22. 25 Jul, 2001 1 commit
    • Kjartan's avatar
      common.inc · 49155053
      Kjartan authored
      - format_username() now takes a second optional parameter which gives the
        real name of the user.
      
      Rest
      - updated the calls to format_username() where appropriate to show the name
        of the user instead of the account id. Clicking on a name will still give you
        the account info etc. If you find a place where the real name is not shown
        let me know.
      49155053
  23. 14 Jul, 2001 1 commit
    • Steven Wittens's avatar
      Update of the box function in themes to allow a difference in... · e62e3417
      Steven Wittens authored
      Update of the box function in themes to allow a difference in style/output/look of a box() depending on the position on the page.
      Basically this is a 'nice version' of a hack that you could do as a theme author.
      I've updated all the standard themes, but 3rd party themes will of course have to be updated by their authors, in the following manner:
      
      - Replace the box() declaration:
      < function box($subject, $content) {
      > function box($subject, $content, $region = "main") {
      
      - Replace the theme_account call:
      < theme_account($this);
      > theme_account("region", $this);
      
      Note that you'll have to replace "region" with the correct region that the box is placed in. However if you have a one-column theme, you should use "all", and not for example "left" (if all boxes are on the left).
      Usually the "region" here should be the same as the nearest theme_blocks() call.
      
      Those theme authors who want to can make boxes that appear in the center look different from those that appear in the sides for example.
      e62e3417
  24. 13 Jul, 2001 2 commits
  25. 03 Jul, 2001 1 commit
  26. 29 Jun, 2001 1 commit
    • Dries's avatar
      · 9c43e8fc
      Dries authored
      Extremely large commit:
      
      - Fixed tiny quote problem in account.php.
      
      - Fixed tiny bug in comment.inc.
      
      - Fixed tiny bug in comment.module.
      
      - Fixed tiny bug in meta.module.
      
      - Simplified user_access() API.
      
      - Rewrote link system: still needs fine-tuning and testing so don't
        upgrade if you are running a production site. ;)
      
        Updated all modules and themes to reflect this change.  All other
        themes and modules need updating too!
      9c43e8fc
  27. 24 Jun, 2001 1 commit
  28. 11 Jun, 2001 2 commits
    • Dries's avatar
      - Changed field_set(), field_get() and field_merge() to use ',' and · c56ee67e
      Dries authored
        '=' instead of ';' and ':'.  It is considered to be more readable.
        --> A _first_ step towards and improved index.module.  Stay tuned
            for more.
      
        + Important:
           If you update from CVS - apply the queries in 2.00-to-x.xx.sql!
      
      - Changed all 'attribute' to 'attributes'.
      
        + Important:
           If you update from CVS - apply the queries in 2.00-to-x.xx.sql!
      
        + Important:
           This might require to ieni-wieni small update to your custom
           themes and/or node-related modules:
            - themes: node_index($node->attribute) -> node_index($node)
            - node modules: attribute -> attributes
      c56ee67e
    • Kjartan's avatar
      Changes · 8f7eddbe
      Kjartan authored
      - fixed the trailing | in some cases.
      - removed theme_morelinks().
      - added node_links().
      - simplified BaseTheme->links().
      - updated themes.
      
      Notes
      - the new links system is taking form, but concider it beta. There might still
        be some major changes ahead so I suggest waiting a little longer before
        modifying your theme to take advantage of it.
      8f7eddbe
  29. 10 Jun, 2001 2 commits
    • Dries's avatar
      · d397bbe9
      Dries authored
      This a rather large commit that needs a lot of fine-tuning.  If you
      update, you'll break your site as you need switching from structure
      to index.module: so this can be considered an intermediate commit.
      
      If you upgrade, and you are welcome to, just create a collection
      called "section" (for now) and assign your nodes some attributes
      in the described format.
      
      Feedback and bugreports are welcomed.  Questions will be answered.
      
      CHANGES:
      
      - comment system:
         + when replying to a node (rather then to a comment), that
           node is displayed above the reply form.
         + when replying to a comment (rather then to a node), that
           comment is displayd above the reply form.
      
      - removed structure.inc, removed structure.module.
      
      - node.inc:
         + added 2 new node functions called 'node_attribute_edit()' and
           'node_attribute_save()' used to 'hook in' any indexing system
          including your home-brewed stuff if you'd want to.  Currently,
          index.module is the facto default index system.
      
          See story.module for usage.
      
      - book.module, story.module, poll.module, page.module, forum.module:
         + added preview functionality to administration section (via node
           module).
         + removed all references to structure.inc (category, topic).
      
      - moderate.module:
         + removed all references to structure.inc (category, topic).
      
      - book.module, story.module, page.module, forum.module:
         + increased the sizes of some textareas.
      
      - submit.php:
         + removed all references to structure.inc (category, topic).
      
      - marvin.theme:
         + removed dead code: function story() was depricated.
      
      - unconed.theme:
         + removed hardcoded references to drop.org.
      
      - marvin.theme, unconed.theme, jeroen.theme, yaroon.theme, example.theme:
         + removed all references to structure.inc (category, topic).
      
      TODO:
      
      - file.module, trip_link.module:
         + update preview functionality:
             see story.module for example.
         + remove references to 'cid' and 'tid', use 'attribute' instead:
             see story.module for example.
      
      - extend and build upon index.module as well as making it configurable
      d397bbe9
    • Kjartan's avatar
      Changes · 9e498458
      Kjartan authored
      - created a BaseTheme class in theme.inc.
      - added links($links = array(), $status = 0, $node = 0) to BaseTheme.
      - modified all themes to extend from BaseTheme.
      - modiefied theme_link() to take advantage of $theme->links().
      - theme_morelink() does not require a $theme argument.
      
      Todo
      - add the other standard variables and functions to BaseTheme.
      - some themes could use some more modifications.
      
      Weird
      - marvin.theme still has a story() function.
      9e498458
  30. 09 Jun, 2001 1 commit
  31. 24 May, 2001 1 commit
    • Dries's avatar
      · 540fdfc0
      Dries authored
      - Replaced $theme->story() by a more generic $theme->node().  All themes
        required an update (and so will your custom themes).
      540fdfc0
  32. 21 May, 2001 1 commit
  33. 03 May, 2001 1 commit
  34. 19 Apr, 2001 1 commit
    • Dries's avatar
      · 45ed041b
      Dries authored
      - structure.inc: added category_name($cid) and topic_name($tid).
        They both return a linked string with the respective category,
        or topic name.  Updated all themes to use these new functions.
      
      - (stripped tabs from emsa files, nevermind)
      45ed041b