Commit Graph

15 Commits (2.0)

Author SHA1 Message Date
Dries Buytaert accd5f0c31 - applied David Norman's patch to turn all <?'s into fully qualified
<?php's.
2001-03-10 11:07:52 +00:00
Dries Buytaert a1b158334a - more small improvements 2001-03-08 19:30:41 +00:00
Dries Buytaert 3958a714cd - some important changes to our theme API which can be summerized as:
abstract() + article() = story()

  abstract() and article() have been merged into a new function story()
  which looks like:

  function story($story_object, $reply) {
    if (!reply) {
       // full story
    }
    else {
       // main page version / abstract
    }
  }

  This should allow you to "compress" your theme as abstract() and
  article() tended to be 98% identical.

  => I didn't really merge your themes so I leave it up to *you* to
     improved the code!!! Do it ASAP as we release drupal 2.00 in 7
     days.

  In future we'll have similar functions for other content types as
  for example:

     review($review, $reply);
     enquete($enquete, $reply);
     ...
2001-03-08 08:16:23 +00:00
Dries Buytaert f516626a29 A rather large and important update:
revised most of the SQL queries and tried to make drupal as secure as possible (while trying to avoid redundant/duplicate checks).  For drupal's sake, try to screw something up.  See the mail about PHPNuke being hacked appr. 6 days ago.  The one who finds a problem is rewarded a beer (and I'm willing to ship it to Norway if required).  I beg you to be evil.  Try dumping a table a la "http://localhost/index.php?date=77778;DROP TABLE users" or something. ;)
2001-03-07 21:29:40 +00:00
Dries Buytaert 52a1d1bbe8 - More updates on the translation support 2001-02-17 12:59:24 +00:00
Dries Buytaert de2e393933 - various updates, bugfixes and improvements 2001-02-04 22:09:38 +00:00
Dries Buytaert b1d395d52d - fixed small bug in story.php (reported by martin@abol.com) 2001-01-26 14:48:52 +00:00
Dries Buytaert d386c110f4 - removed redundant spaces 2001-01-26 13:38:46 +00:00
Dries Buytaert 4de98fce8c - fixed bug in story.php
Unc: never mind about the removed link to $theme->article()
2001-01-24 20:23:47 +00:00
Dries Buytaert 18f8246fd9 - heck, I'll just remove that piece of code - it's no longer needed ;) 2001-01-22 21:10:13 +00:00
Dries Buytaert 10a4f6025e - bugfix 2001-01-22 21:07:38 +00:00
Dries Buytaert a8df467feb - polished the code by removing some redundant checks 2001-01-22 20:39:49 +00:00
Dries Buytaert 5345bd685e - dumped stories are no longer accessible 2001-01-22 20:38:36 +00:00
Dries Buytaert 7cc7b405e3 - fixed some bugs in the new comment/discussion code and added a few
enhancements
2001-01-21 09:26:06 +00:00
Dries Buytaert 7241d38e4c - removed old discussion.php
- added new story.php
2001-01-20 12:24:08 +00:00