Commit Graph

2502 Commits (f8dda8f80bae83459fe3f92b3a8d5ae5ae2a207c)

Author SHA1 Message Date
Dries Buytaert 266167b976 - fixed small glitch as a result from David's patch 2001-03-10 18:46:47 +00:00
Dries Buytaert 8af189197e - fixed "AdNewz.com" vs "ADNEWS.COM" glitch reported by Peter Beckman 2001-03-10 18:38:47 +00:00
Jeroen Bensch 02e344403a OK, lets hope this works... I should've added a directory example/ in themes/ and in example/ there should be example.theme
Jeroen.
2001-03-10 15:14:08 +00:00
Jeroen Bensch 529f5a9532 Tidyed up the code a bit, so it'd generate less errors when running it throught w3's HTML validator. Couldn't check it because I don't have any working webspace, so Dries, upload it and I'll check, I am pretty certain that it'll solve a whole lot of errors, since I fixed a bug in story... story being generated about ten times in the HTML code on drop's main page. I expect about 30 errors less...
Jeroen.

P.S.: I don't think I'll get unconed.theme and marvin.theme updated today. But I promise I'll do it tomorrow. Had to go eat with my family, just got back and in 2 hours I am leavin for the movies. Hope you don't mind, but it's always cooler to commit patches closer to the release date... gives you this "rush" feeling. Ahh, deliberately doing stuff on  the nick of time... sweet :)
2001-03-10 15:11:12 +00:00
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
Jeroen Bensch 473198178d I think you all read the mail about what has changed, I also did the tiny abstract/Editor's note update. :)
Jeroen.
2001-03-09 15:59:44 +00:00
Dries Buytaert 5d08572dc6 - fixed two-side-bar-theme-bug-with-latest-headlines 2001-03-08 21:00:28 +00:00
Dries Buytaert a1b158334a - more small improvements 2001-03-08 19:30:41 +00:00
Dries Buytaert b109bb8644 - small improvement to box module 2001-03-08 18:06:14 +00:00
Dries Buytaert 216714b7b6 - a couple of small improvements 2001-03-08 17:58:52 +00:00
Dries Buytaert fc6eaa5e83 *** empty log message *** 2001-03-08 17:44:10 +00:00
Dries Buytaert f83b469919 - bugfix 2001-03-08 17:36:18 +00:00
Dries Buytaert f036327299 *** empty log message *** 2001-03-08 17:32:11 +00:00
Dries Buytaert 87916cf8bb - small bugfix 2001-03-08 17:30:41 +00:00
Dries Buytaert 3d78f736e1 *** empty log message *** 2001-03-08 10:49:26 +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 2b2e81f6cf - fixed visual flaw in error output:
$host -> $url[host]
2001-03-07 10:49:28 +00:00
Jeroen Bensch 93d51ba977 Oh, yes, I remember, I took away the drop META tags as Dries requested, also I changed the ALT="drop.org logo" to ALT="". But Dries, I can't make everything drop independant. Since I work with the random logo's...
Also removed a style tag that I didn't use.

Jeroen.
2001-03-05 22:05:22 +00:00
Jeroen Bensch 79733aec5f Has he gone insane! No. I just (but that's just my opinion) made a major improvement to my theme. In one of my unentertained moments I often just browse to drop and stare at my theme for a while. ;) Then I saw that the border around my boxes was 2 pixels wide and grey. Cool. But I thought, let's try it the same way as I do the stories. With a slick 1 pixel wide black border. And so I did. And I admit, it just looks a whole lot better, slicker, smoother, professional. You probably won't notice it at all, and probably no-one would notice. But again, I'd advise you to take a look at http://jeroen.drop.org and look at the boxes before Dries updates these .gifs. Another thing, Unconed, you probably know more or this. What do you think I should use for my images? .gif or .png. What's the advantage of .png, and most of all, is it smaller in size?
Jeroen.

P.S.: another jeroen.theme is coming up. Don't even know what I changed anymore but I changed something...
2001-03-05 22:03:29 +00:00
Jeroen Bensch d9289f51af Hey,
I updated some things, remove some PHP lines in the comment function, that I think weren't necessary (did that in the previous commit but forgot to mention it) also I renamed all the PHP?> tags to ?>. I read in the docs at http://php.net that this is the way to go. Also I renamed all <? to <?PHP. I added a BCGOLOR again, so my theme's build up is a little nicer again. Spotted four (yes 4) bugs. I now use regular HTML to assign colors but in abstract and article, the sections were still done the old way. Fixed that now, but left them black. Oh yeah, I fixed that weird rendering of my theme I think Dries was talking about. He didn't exactly mention what was wrong but I assume that it were the links in abstract and article that didn't display at the right of the story. Because I deleted some tables I had to add COLSPAN="2". However, when I loaded my page locally on eden it displayed correct. But when I browsed to drop it didn't (in the same browser) Do you get it? I sure don't. It was the same HTML code, but seems differently parsed when coming from an outside server. Allthough I don't see why Netscape would see apache locally as something different than another one. Nevertheless, I think it's fixed.

Jeroen.
2001-03-05 20:46:29 +00:00
Jeroen Bensch 830e9b3f4f Hi all,
I tweaked my theme a bit, don't know if it'll help much but I was able to squeeze a table out of abstract and article. So what you'd say? Well, since the abstract function is called for every post on the main page, I thought that it'd improve it a bit. Of course it isn't much but less tables to show the same is always a good thing. Also, due of the deleted table, I could delete some backgrounds (less traffic from the server to the client) and placed them once in a TABLE header. OK, but a cool side-effect is that it's more HTML 4.01 compliant. Because BACKGROUNDs are allowed in TABLEs and I think it's a bit unclear if they can be in TD yes or no. Either way, this brought to my attention that my !DOCTYPE is strict... I started of strict though... But I think it's a better idea to switch to transitional/loose. OK I think that was it... Oh also because of the changed TABLE structure I had to delete some BGCOLORs. Again, it might be a teeny weeny bit faster, but when you see my site being build up it isn't that nice anymore. (bgcolors are displayed faster than backgrounds). Nevertheless its the result that counts not? Let's hope everything still works.

Jeroen.
2001-03-05 13:56:41 +00:00
Dries Buytaert d684b1f10a - various smaller updates before I start watching Formula 1 with [a] a
0.5 liter box of Haagen-Dhaz (Belgian Choclate) and [b] my laptop on
  my lap for drupal hacking.  Life hardly can get any better than this.
2001-03-04 12:06:13 +00:00
Steven Wittens 167594dc09 Added "db_insert_id()", a wrapper for mysql_insert_id(); 2001-03-03 22:59:11 +00:00
Dries Buytaert ecc651d83d - added a new faq module with administration interface 2001-03-03 15:31:51 +00:00
Dries Buytaert dba7342183 code revision:
- shortened and improved the code
2001-03-03 15:31:01 +00:00
Dries Buytaert 16e6b6f137 code revision:
- fixed a "visual-quote-glitch", i.e. a missing stripslashes()
2001-03-03 15:30:15 +00:00
Dries Buytaert 87cfda720e code revision:
- small "path"-fix with logo which could have triggered when running
    drupal in a subdirectory
2001-03-03 15:28:52 +00:00
Dries Buytaert 07cccc9e55 - renamed upgrade file 2001-03-03 15:27:00 +00:00
Dries Buytaert fa26457895 - As I'm working down my TODO list, I updated your themes:
$theme->comment() only takes 2 parameters ever since the comment
    system rewrite 2 months ago. Make sure to update your local tree
    before you start hacking away on your themes.
2001-03-03 12:17:12 +00:00
Dries Buytaert 74d3c351ce - Took all "rating logic" out of the account.module and moved it into
a seperate module called "rating.module".  This should allow people
  to experiment with different rating heuristics/algorithms.

- The rating module also generates a "Top 100 users" page, see:
     http://drop.org/module.php?mod=rating

- Adjusted ./scripts/php-clean to ignore png files.
  (I should do it the way around and make it ignore everything but
  our php files.)
2001-03-03 11:44:51 +00:00
Steven Wittens 4df5b8532a Added 3D drop :) 2001-03-02 23:23:57 +00:00
Steven Wittens 7c106cfb1a New powered-by gif with 3D drop 2001-03-02 22:27:01 +00:00
Dries Buytaert a388735b57 - removed all hardcoded references to "drop.org" from my theme 2001-03-02 08:17:32 +00:00
Dries Buytaert 73de7628ed - forgot to wrap the links in the footer and header in t()-functions
(Is your theme 100% translatable or not?)
2001-03-02 08:14:42 +00:00
Dries Buytaert 728249cbc4 - fixed small translation glitch in format_interval
- added a couple of missing t() functions
- improved the comments module, fixed the score problem Jeroen
  reported earlier -> it's slicker but I hope it won't break anything
2001-03-01 21:34:09 +00:00
Dries Buytaert a925539e8f - added UnConeD's font test to ./misc for future reference 2001-03-01 17:35:59 +00:00
Dries Buytaert 74e1ee0717 - created nightly build script (had to create one for work too ;) 2001-03-01 17:14:36 +00:00
Jeroen Bensch 48e489763b Should be OK now, also put a TD and a TR on seperate lines somewhere... seems to fix a little graphical glitch I somethimes have, but I could've just been lucky too when I reloaded last times. :)
Jeroen.
2001-02-28 18:07:29 +00:00
Jeroen Bensch 9d66a204ae Changed a gif a bit...
Another jeroen.theme commit is coming up since I made some changes to test the gif I changed and didn't undo them.

Jeroen.
2001-02-28 18:05:42 +00:00
Jeroen Bensch 33b571a3f6 It looks like the subject in the comments still don't show, this is because i did $comment->$subject instead of $comment->subject
Ai ai.

Jeroen.
2001-02-28 18:02:06 +00:00
Jeroen Bensch c1edcf5d83 I say Unconed's little drops and said: "Damn, how come that he, with so few pixels can create something that smooth...". That's why I went down in my .gif archive and smoothed the drop in footerleft.gif, (the pipe with the open end in which you see a drop). It looks better now, maybe you won't see it but I do. :) I have drawn every gif pixelbased and that's why it's difficult to smoothen edges and stuff. I can't work well with the gimp and if you want certain cool effects you have to know how. Since creating a cool effect with the gimp takes like 15 weird tricks and layershuffles and filters and merges and keep transparancies and you don't get any result before you do that final step which suddenly gives you this wonderful thing. I think it's just too hard for me...
Nevertheless, here's the new footerleft.gif, you might want to check out htpp://jeroen.drop.org before Dries loads it up, otherwise you'll probably think I'm crazy :)

Jeroen.
2001-02-28 10:54:58 +00:00
Jeroen Bensch 45d8ee3e7d Fixed a small bug, there was a ';' too much in a echo "" which would just be printed like normal HTML text in the abstracts' and articles' headers...
Jeroen.
2001-02-28 09:16:47 +00:00
Steven Wittens df8523661e Updated the stupid fonts issue (the conclusion was to use *EVEN* font sizes and not uneven as Dries recommended... bah! :)
I also added a small icon (like marvin.theme) to spice it up a bit.
2001-02-28 00:45:38 +00:00
Steven Wittens daaa729cc7 Removed useless images (that stupid theme.gif that looked cool, but was unimplementable in NS) and added a cool icon.gif 2001-02-28 00:44:42 +00:00
Jeroen Bensch 994869d5f5 OK I wrote a lengthy text with my previous commit, but due to an Up-to-date check failure it got aborted. So here it is in short. I added the translation functionality and fixed a bug that would cause the comment's subjects not to display. Apparantly it's comment->subject instead of just subject. I also wanted to make something in the comment header a bit more clear I already changed some colors but I would want the comment's rating/score to display black. It's grey now and on a grey background it isn't so clear to read (lisible in decent english?). So I added something that I thought would paint it black, but obviously it didn't. It's still grey. I didn't remove the code, it's only two lines, because it also works this way. For the rest I don't think that anything changed.
Jeroen.

P.S.: Dries, I think we can release it tomorrow, but wait and upload it to http://jeroen.drop.org first so I can check. And at noon we'll let it out. It's yearning to, I can here it growl and make roaring noises in my laptop...
2001-02-28 00:29:57 +00:00
Dries Buytaert 6f140c2a92 - removed the "colour sets" from my theme: the color variables (except for
$link) are no longer needed by the engine so I decided to tidy them up -
  I recommand you to do same if you feel like it (and if you haven't
  already done so).
2001-02-27 21:28:05 +00:00
Dries Buytaert 57e5f6a4d1 - fixed bug in block placement when (1) using a theme with 2 side bars
and (2) being logged out.
  (reported by Jeroen)
- themed "Editor's note" in theme marvin.
  (reported by Jeroen)
2001-02-27 20:58:51 +00:00
Jeroen Bensch 3207add702 <MINDOFEVERYONE>Oh, no not again, not him.</MINDOFEVERYONE>
OK, now it's finished, really. Fixed a small gfx glitch, and the categories seem to be called sections now...

It's done, and ready for release. Really.

Jeroen.
2001-02-27 18:02:36 +00:00
Jeroen Bensch 40ddbc95f7 Ehm, of course I had to forget something.
I placed all the blocks left, regardless if their region was left or right, what I did was this:
theme_blocks("all", $this);
in my left <TD>.

Now I changed it to
theme_block("left", $this);
in the left <TD> and
theme_blocks("right", $this);
in the right. If everything was this easy.

OK, really, this theme is NS4.7 NS4.76 mozilla (but mozilla 0.8 cuz he's buggy as hell with the BACKGROUNDS in TDs) and IE comliant or compatible, whatever it's being called.

Jeroen. -- Happy.
2001-02-27 16:55:37 +00:00