summaryrefslogtreecommitdiff
path: root/includes/theme.inc
Commit message (Collapse)AuthorAge
* - Made the main page display sub-topics when a specific topicDries Buytaert2001-05-12
| | | | | | | | | | | | is selected. - Made theme_link() less "hard coded", we still have to make it fully configurable though. - Fixed glitch in story submission: the warning messages were not displayed. - Tidied up block.module a bit.
* - Added custom PHP error handler to track down warnings and errors.Dries Buytaert2001-05-06
| | | | | | (Jeroen: let's sit back and wait until that warning bites again.) - Simplified drupal.module. We still need a feature list, anyone?
* - Uhm. Rewrote the module system: less code clutter, less run-timeDries Buytaert2001-05-05
| | | | | | | | | | | | | | | | | | | | overhead, and a lot better (simpler) module API. I had to edit a LOT of files to get this refactored but I'm sure it was worth the effort. For module writers / maintainers: None of the hooks changed, so 95% of the old modules should still work. You can remove some code instead as "$module = array(...)" just became obsolete. Also - and let's thank God for this - the global variable "$repository" has been eliminated to avoid modules relying on, and poking in drupal's internal data structures. Take a look at include/module.inc to investigate the details/changes. - Improved design of the content modules "story", "book" and "node" (to aid smooth integration of permisions + moderate.module). I'm still working on the permissions but I got side tracked for which I "Oops!".
* - Addition: added a new, tiny forum module: I will use this forumDries Buytaert2001-04-29
| | | | | | | | | | | | module to develop and test the permission system along with the regular nodes. And hopefully, this forum module will grow into a very useable piece of code for drop.org. Requires a new SQL table "forum", see 2.00-to-x.xx.sql. - Removed 1 unused hook from page.module. - Removed 1 unused function from comment.inc.
* ChangesKjartan Mannes2001-04-23
| | | | | | | | | | | | | | - Fixed an error in module_rehash_blocks() that didn't handle '-symbols. - Removed some module depencies. Drupal will now run (sorta) even if there are no modules installed. - Changed theme_link() to check if certain modules are installed before offering a link to them. Todo - Check all SQL queries to make sure they are addslashes'ed correctly. - Check the effects of changing the PHP magic_quotes setting. - Make the theme_link() function to be customizable either via the admin page and/or in the module itself.
* Large commit, read it carefully, and make the required changes toDries Buytaert2001-04-16
| | | | | | | | | | | | | | | | | | | | | | | | your theme: - corrected some missing translations in story.module. Oops! - grealty simplified the "moderation threshold mechanism"(tm) so that module writers don't have to worry about this. As a result story.module and book.module became a bit smaller and easier to grasp. - greatly simplified new "category" and "topic" code which is soon going to replace the "section" code. Needs more work though so hang on thight. - includes/section.inc and modules/section.module are replaced by includes/structure.module and modules/structure.module. - beautified example.theme a bit without adding HTML complexity: it is a good example but still useful as a theme - made theme example use "categories" and "topics" --> TAKE A LOOK AT IT AND UPDATE YOUR THEME - made theme marvin use "categories" and "topics" --> TAKE A LOOK AT IT AND UPDATE YOUR THEME - added 2 new "story listings" to administrator interface of story.module to verify story integrity. - optimized comment table a bit (work in progress)
* - added new variable: theme_footer which can be used to provide aDries Buytaert2001-04-14
| | | | footer message like a copyright notice. Themes should use this!
* - fixed a small SQL bug in page.moduleDries Buytaert2001-04-11
| | | | | | | | | | | | | | | - slightly improved story.module, node.module and book.module - made the "default theme" a setting from the setting page - polished a bit on the export function: we can now export the book or parts thereof through the following url: 1. http://drop.org/export/book/ (full book) 2. http://drop.org/export/book/nid (where nid is the node id to start with) The export routine demonstrates how it can be done yet the output is too basic and can only improve over time.
* 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
* <center></center> ==> <div align="center"></div>Dries Buytaert2001-04-02
|
* - fixed issue depricated call-by-reference issuesDries Buytaert2001-03-29
| | | | | | | | | - fixed small visual glitch in includes/function.inc - changed SQL tables around a bit to be more consistent (result: small changes to a lot of different files) - improved robustness of includes/node.inc - improved output of cron.module - improved output of node.php
* - refactoring, refactoring, refactoringDries Buytaert2001-03-25
|
* - large commit of everything else that has been queued in my backlog:Dries Buytaert2001-03-25
| | | | it's not 100% stable yet
* - themes now get there header/footer links through theme_link();Dries Buytaert2001-03-24
| | | | - tidied up example.theme
* - nodified index.php:Dries Buytaert2001-03-24
| | | | | | the index page will only display stories for now but this will/can change in the near future - all other files now thinks in terms of nodes, rather then stories
* - applied David Norman's patch to turn all <?'s into fully qualifiedDries Buytaert2001-03-10
| | | | <?php's.
* - fixed two-side-bar-theme-bug-with-latest-headlinesDries Buytaert2001-03-08
|
* *** empty log message ***Dries Buytaert2001-03-08
|
* - fixed small translation glitch in format_intervalDries Buytaert2001-03-01
| | | | | | - 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
* - fixed bug in block placement when (1) using a theme with 2 side barsDries Buytaert2001-02-27
| | | | | | | and (2) being logged out. (reported by Jeroen) - themed "Editor's note" in theme marvin. (reported by Jeroen)
* - added fine-grained user permission system which allows us to giveDries Buytaert2001-02-18
| | | | | | | | | certain users access to specific administration sections only. Ex. a FAQ maintainer can only edit the FAQ, and members of an "editorial board" can only edit comments, diaries and stories, .. - code review => rewrote include/user.inc which is much easier now - fixed 4 small bugs
* - improved the "menu" hookDries Buytaert2001-02-17
| | | | | | - replaced the "open submission queue" (submission.php and submission.inc) with an optional module (submission.module). - tidied up the HTML code of some files
* - More updates on the translation supportDries Buytaert2001-02-17
|
* - initial import of the preliminary translation code.Dries Buytaert2001-02-12
| | | | | | | | - added timer.inc for benchmarking purpose - bugfix for php-clean - bugfix for account.php - removed redundant format_data - ...
* - a 2nd batch of various updatesDries Buytaert2001-02-10
|
* - various updates, bugfixes and improvementsDries Buytaert2001-02-04
|
* - removed redundant spacesDries Buytaert2001-01-26
|
* - fix for the "block problem" reported by martin@abol.com:Dries Buytaert2001-01-24
| | | | | it only happened when you hosted drupal in a subdirectory a la http://yourserver.com/drupal/
* I know, I know, it is getting nasty lately but I have another large commit ↵Dries Buytaert2001-01-21
| | | | | | after nothing but code. This time I redid the "category"-stuff. Categories - from now on called sections - are now maintained from the admin pages, can have their own post, dump and timout thresholds as discussed earlier (some weeks ago). By tomorrow evening users will be able to enable or disable section as well - i.e. to customize the content of drop.org.
* - 2 more bugfixesDries Buytaert2001-01-20
|
* - updated/improved discussion engine: it needs additional fine-tuningDries Buytaert2001-01-20
| | | | | | | | | | | | | | | | | | | though but I think this is stable enough for public consumption and real-life testing. ==> a first big step towards a flexible comment engine. IMPORTANT: - Required theme updatins: UnConeD: check your $theme->controls() as I added a very, very dummy implementation - Required database updates: alter table users modify mode tinyint(1) DEFAULT '' NOT NULL; alter table comments change sid lid int(6) DEFAULT '0' NOT NULL; alter table comments add link varchar(16) DEFAULT '' NOT NULL; update comments set link = 'story';
* - Harry Zink reported that 'administrate' is not entirely correct EnglishDries Buytaert2001-01-16
| | | | so I renamed "administrate xxx" to "administer xxx".
* - rewrote the block placement stuff and updated the themes.Dries Buytaert2001-01-13
| | | | | | | IMPORTANT: you have to drop 2 tables "blocks" and "layout" and you have to recreate them again with those in database/database.mysql - integrated the documentation written by UnConeD
* - created 2 new functions; check_textfield() and check_textarea() andDries Buytaert2001-01-13
| | | | | | | | | | | integrated them were appropriate. It works better and the code is more readable then it used to be: (see http://drop.org/discussion.php?id=44&pid=0#0) - story authors can no longer moderate their own stories (requested by Natrak) - fix inie-winnie small detail in theme marvin
* A batch of patches:Dries Buytaert2001-01-06
| | | | | | | | | | | | | | | | - configuration: + renamed $db_name to $db_user + renamed $db_base to $db_name - fixed small diary glitch - fixed initial-comment-score problem - fixed comment rating bug: improved the API and updated the themes - removed some tabs from Steven ;) - fixed backend warnings and improved robustness I'm not happy yet with the headline grabber - it generates too many SQL errors. - some small cosmetic changes in comment.module - fixed minor glitch in format_interval()
* Oops typo :)Steven Wittens2001-01-05
|
* Added a dynamic "administrate" link to the account box.Steven Wittens2001-01-05
|
* - fixed small flaw that showed up with PHP 4.0.0-rcxx but not with PHP 4.0.4Dries Buytaert2001-01-04
|
* - the diary module is truly modular nowDries Buytaert2001-01-04
| | | | - the faq has been spell checked
* - fixed PHP4.0.4 problem in discussion.php.Dries Buytaert2000-12-31
| | | | | | | - some improvements to account.php and theme.inc. - updated the documentation (again, again and again) - added INSTALL file - removed redundant files
* - here a bunch of changes to make "drupal" (for now) work with PHP 4.0.4Dries Buytaert2000-12-30
| | | | - tidied up some of the code and mainly working on the documentation
* - undid small improvement ;)Dries Buytaert2000-12-29
|
* - small improvementDries Buytaert2000-12-29
|
* Surprise, surprise. After nothing but code, a large batch of changes:Dries Buytaert2000-12-29
| | | | | | | | | | | | | | | | | | | | | | - removed droplets - added (optional) admin_blocks module - added (optional) affiliate module - added (optional) about module (only placeholder, under construction) - fixed some tiny bugs (e.g. quote bug in search.php) - partionally rewrote some modules to be big, bad and better - partionally rewrote some modules to be more uniform - added GNU GPL license to CVS Also: - installed PHP 4.0.4 on my localhost and now working towards PHP 4.0.4 compatibility. - I think I'll baptize the engine "drupal". If you have a better idea, try convincing me ASAP. Todo: - more testing (also with PHP 4.0.4) - make "project"-module: download, info, blah blah - complete documentation
* - some improvements and code polishingDries Buytaert2000-12-24
| | | | - added a few extra blocks to choose from
* - small glitchDries Buytaert2000-12-23
|
* Yet another large batch of updates:Dries Buytaert2000-12-23
| | | | | | | | - I rearranged some of the code and clean-up some of the mess. - Added "blocks" which can be user defined/controlled: check to see. The positioning of blocks is rather basic for the moment, so I'm all open for input on that.
* - intermediate commit: some bugfixes, changes and some drasticDries Buytaert2000-12-23
| | | | changes to block and module support
* - large batch of updatesDries Buytaert2000-12-14
|
* - large batch of updated files featuring various changes: big, small andDries Buytaert2000-12-10
| | | | new stuff!