summaryrefslogtreecommitdiff
path: root/themes/goofy
Commit message (Collapse)AuthorAge
* - Created 2 new functions:Dries Buytaert2001-05-15
| | | | | | | | | | | | | | | | | | | | | + path_uri(): returns the fully-qualified URI of your drupal site. + path_img(): returns the image directory or http://image-server.com/ in case you prefer to load-balance bandwidth usage. Replaced all occurences of the variable "site_url" with path_uri() and removed "site_url" from "setting.module". - Drastically simplified the node_save() API, which should make the node-forms more secure. Updated "story.module", "book.module", "forum.module", "page.module" and "node.module" to reflect this change. This is needs more testing so hit it, beat it, tease it. - Fixed an occasional glitch in the configuration file loading logic. - Made "queue.module" display an informative notice when an anonymous user tries accessing the moderation queue. - Updated the hard-coded information in drupal.module a bit.
* This is a major rewrite of the Goofy-theme.... the major problem with it was ↵Steven Wittens2001-05-14
| | | | | | | | | | | | that it required a *lot* of overhead for a simple box, due to the fancy borders. To counter this, I've added simple functions in JavaScript to output the actual boxes, while the PHP functions themselves output simple function calls to them. The result is an incredible loss of size, especially on larger pages.... on a typical drupal page (header/footer, 1 story box, 1 comment mod box, 4 comments and 1 side box) the difference was 23K vs 15K, which I find quite good. You should also notice how big some pages were in the old version, which are still tiny in the new version. There are a few problems though: - You can't use it in some parts of the admin section (preview a story), since admin.php leaves out the header(), so the html-generating functions are not included there. - Because drop can occasionally insert HTML directly, without going through themes, I have to wrap each box in its own <script> tag. The optimization would benefit even more if i could group all function calls in one <script> tag, but it's not possible at the moment. I suggest you take a snapshot of an original goofy-page (drop.org) and compare it with the output of this one (cvs-version) to see how it works exactly. And finally, it works on both IE5 and NS4, so I assume it does on most browsers.
* fixed typoeSteven Wittens2001-05-03
|
* - structure.inc: added category_name($cid) and topic_name($tid).Dries Buytaert2001-04-18
| | | | | | | 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)
* Another big update so please read this carefully because there is important ↵Dries Buytaert2001-04-16
| | | | | | | | | | | | | | | | information hidden in it. Made it so that we can disable/enable comments on a category by category basis. In order to accomplish this I had to make a few (*temporary*) changes. I moved all comment code from the "module level" (eg. story.module) to the "node level". It was nothing but the logical next step in nodifying drupal. This enables us to add comments to all existing content types including book entries. But also for book entries, this to can be toggled on and off. :-) Moreover module writers don't have to worry about the complex comment logic: it is "abstracted" away. This implies that story.module got smaller, faster and easier to comprehend. :-) In order to accomplish this, I had to update ALL THEMES, which I did - and on my way I updated Goofy, Oranzh and UnConeD - with the previous changes. All themes are up-to-date now! I also had to remove the [ reply to this story ] links, and temporally re-introcuded the "Add comment" button in the "Comment control". Tempora lly that is, UnConeD. ;) I plan to upgrade drop.org either tommorow or wednesday so test away if you have some time to kill. ;) Oh, I also fixed a few bugs and made various small improvements.
* A lot of small changes (search-n-replace) make a big commit:Dries Buytaert2001-04-06
| | | | | | | | | | - fixed update bug in book.module - provide a log message when both adding and updating book pages - all configurable variables are now accessed through "variable_get()": - rewrote watchdog and submission throttle and removed watchdog.inc - improved robustness of sections.inc - imporved story.module - updated ./database/database.sql
* Commiting my work of last Sunday:Dries Buytaert2001-04-02
| | | | | | | | | | | | | | | | | | | | | | - removed ban.inc and ban.module and integrated it in account.module under the name "access control" --> the ban code was not really up to standard so this has now been dealt with. This refactoring and reintegration cuts down the code size with 100 lines too. :-) (The ban.module code was really old and it showed.) - added node.module and made the other modules reuse some of this code --> cut down the code size of modules by at least 100 lines and adds stability. - added a status() function to admin.php to display a conform status message where appropriate. See admin.php for usage. - removed $theme->control() and made comments.inc handle this itself wrapped in a $theme->box(). No need to clutter the themes with such complexity --> updated all themes already. :-) - some small visual changes to some administration pages to be more consistent across different modules.
* Make the logo slightly better... removed the color from the center dots.Steven Wittens2001-03-31
|
* Fixed article/body bugSteven Wittens2001-03-31
|
* Fixed bug with $story->bodySteven Wittens2001-03-31
|
* Fixed bug:Steven Wittens2001-03-31
| | | | "na" appeared when a story didn't have "read more"
* Added/updated the theme-description at the top...Steven Wittens2001-03-31
|
* - themes now get there header/footer links through theme_link();Dries Buytaert2001-03-24
| | | | - tidied up example.theme
* - removed all trailing whitespaces and replaced tabs by 2 spacesDries Buytaert2001-03-24
| | | | (done automatically by my script)
* - fixed potential quote problem: wrapped $story->section in a check_outputDries Buytaert2001-03-24
| | | | - removed all $story->update related logic - the update field is redundant
* Moved the style sheet back IN the theme. It seems Netscape resolves url's ↵Steven Wittens2001-03-23
| | | | inside stylesheets relative to the page it is in, while IE/Opera resolve them relative to the path of the stylesheet.
* oopsSteven Wittens2001-03-23
|
* theme updateSteven Wittens2001-03-23
|
* fixed the backgroundSteven Wittens2001-03-21
|
* Hopefully this will fix the theme, but I doubt it... some very strange ↵Steven Wittens2001-03-21
| | | | things are going on here.
* Added my new theme "Goofy". It's bright and very summer-ish.Steven Wittens2001-03-20
Test it out :) (I wouldn't put it on drop.org yet)