summaryrefslogtreecommitdiff
path: root/themes/goofy/goofy.theme
Commit message (Collapse)AuthorAge
* - Removed theme goofy from CVS.Dries Buytaert2003-01-20
|
* - Fixed bug in update of taxonomy links.Dries Buytaert2003-01-06
|
* - Forgot to update the taxonomy links. Reported by Adam.Dries Buytaert2003-01-06
|
* - Tidied up the use of check_output(). Might make rendering pages a bitDries Buytaert2002-12-31
| | | | snappier (performance improvement).
* - Removed the "comment anchors" in the themes; the anchor is emittedDries Buytaert2002-12-10
| | | | by the comment module. Patch by Ax.
* - changing theme patch. Now Drupal will init the $this->path automatically.Kjartan Mannes2002-11-17
|
* - made the themes path aware. If your theme creates a constructor function itKjartan Mannes2002-11-16
| | | | will now be passed the filename as the first parameter.
* - Applied Moshe's "theme head" patch:Dries Buytaert2002-11-09
| | | | | | | "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."
* - more short tags.Kjartan Mannes2002-09-08
|
* Forgot to use l() for the taxonomy links.Steven Wittens2002-05-20
|
* Added taxonomy support to themes Goofy and UnConeDSteven Wittens2002-05-20
|
* This is a major change to the system, needs more testing!Kjartan Mannes2002-04-14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* - applying patches from Axel Kollmorgen. SeeKjartan Mannes2002-02-17
| | | | | | | | | | http://list.drupal.org/drupal-devel/2002-February/thread.html#6678 http://list.drupal.org/drupal-devel/2002-February/thread.html#6629 - removed references to $this->user() from themes. - removed $BaseTheme->user(). It was deprecated a while back. NOTE: this update will break custom themes, so make sure you update your themes before updating!
* - Updated BaseTheme and the Drupal themes to have header($title = "") as the ↵Steven Wittens2001-12-15
| | | | | | | | | | | 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?
* - modified node_save so that revisions are not validated using check_input,natrak2001-11-23
| | | | | | | | as this breaks revisions. - modified link_node() to take a third parameter $main, which will be passed on to _link hooks. This lets modules decide which links a node will get when shown on the main page, or when not. - updated themes to use the new syntax.
* Removed some 'debug' stuff :PSteven Wittens2001-11-17
|
* - removed trailing whitespacesDries Buytaert2001-11-12
|
* Updated Goofy: added a few explicit styles such as "font-weight: normal;" ↵Steven Wittens2001-11-11
| | | | and "text-align: left" to make IE6 behave good again.
* - A large batch of updates, amongst them a rewritten node system. MoreDries Buytaert2001-11-01
| | | | information available on the mailing list.
* - added the CVS keyword $Id$ to all files to make future version trackingnatrak2001-10-20
| | | | easier. Also changed the <? tag to <?php in some cases.
* - added a comment() function to the base theme: you don't have to overloadDries Buytaert2001-10-07
| | | | | | | it in your custom themes - moved 'theme_account()' to the base theme as '$theme->user()' so that it can be themed.
* - Added the new user module!Dries Buytaert2001-09-16
|
* - Changed the authentication and login scheme as discussed on the mailingDries Buytaert2001-08-11
| | | | | | list. - Fixed the export function in book.module (patch my Julian). - Fixed the comment alignment (comments got truncated).
* common.incnatrak2001-07-25
| | | | | | | | | | | - 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.
* Update of the box function in themes to allow a difference in ↵Steven Wittens2001-07-14
| | | | | | | | | | | | | | | | | | | | 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.
* - Made the font in the links bar a bit smaller to accomodate for the ↵Steven Wittens2001-07-13
| | | | increase in links lately
* - Tidied up some stuff in account.php and theme.inc.Dries Buytaert2001-07-07
| | | | - Tidied up the box() API.
* Extremely large commit:Dries Buytaert2001-06-29
| | | | | | | | | | | | | | | | | | - 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!
* Updated my themes: added [ and ] around node-links.Steven Wittens2001-06-24
|
* - Changed field_set(), field_get() and field_merge() to use ',' andDries Buytaert2001-06-11
| | | | | | | | | | | | | | | | | | | | '=' 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
* Changesnatrak2001-06-11
| | | | | | | | | | | | | - 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.
* This a rather large commit that needs a lot of fine-tuning. If youDries Buytaert2001-06-10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Changesnatrak2001-06-10
| | | | | | | | | | | | | | | - 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.
* - Added $theme->foreground and $theme->background vars to provide some ↵Steven Wittens2001-06-09
| | | | | | general usable colors outside of a theme. - Updated poll.module to use the new $theme color variables
* Missing trailing space in the "[ extra@user.info | http://extra.user.info/ ↵Steven Wittens2001-06-06
| | | | ]" for comments.
* Fixed a goofy bug in Goofy :)Steven Wittens2001-05-27
|
* - Replaced $theme->story() by a more generic $theme->node(). All themesDries Buytaert2001-05-24
| | | | required an update (and so will your custom themes).
* - 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.
* 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)