Commit Graph

146 Commits (4fad80e53822ca8d9a62098cfc7f23db1c4ea3e0)

Author SHA1 Message Date
Dries Buytaert 3de9d33e67 - Menu and code improvements by JonBob. 2004-05-08 07:17:47 +00:00
Dries Buytaert 681b26febc - Patch #7577 by JonBob: various code style improvements to the statistics
module.

   + Usages of to print titles have been replaced by proper drupal_set_title()
     calls.
   + Many arg() usages dropped in favor of meaningful parameters.
   + Doxygen comments standardized and expanded.
   + Some grammatical corrections to help text.
   + Broken /statistics page linked from page navigation restored.
   + Fixed small bug in menu.inc pertaining to menu callbacks without
     arguments.
2004-05-05 21:12:14 +00:00
Dries Buytaert 7231c88a32 - Added support for 403 handling. Patch by JonBob. As a side benefit,
administrators will be able to define a custom 403 page, just as they
  can define 404 pages now.

  This needs to be documented in the "Changes since / migrating to ..."
  pages.
2004-04-21 13:56:38 +00:00
Dries Buytaert 0dc1f820ff - Patch 6675 by Ax: reorganized the menu's of the watchdog and statistics module
to be more intuitive and moved some help text to Doxygen comments.
2004-04-18 12:51:55 +00:00
Steven Wittens 803dacf652 Poll.module / Statistics.module: fixing bug caused by using array_merge and drupal_map_assoc. This causes array keys to be renumbered, leading to bugs.
Remember to use $array1 + $array2 instead.
2004-04-14 14:02:36 +00:00
Dries Buytaert 142dd6ba43 Patch #5588 by bylund: XHTML improvements: <i> -> <em> and <b> -> <strong>. 2004-03-20 13:29:06 +00:00
Dries Buytaert 4b0b2d02ee - Patch by Steven: removed redundant permission checks. These are no longer
required thanks to the new 404 handling.
2004-02-15 20:09:46 +00:00
Dries Buytaert ae5136e51b - Patch #5111 by Bart: fixed inconsistent default values. 2004-02-15 16:33:33 +00:00
Dries Buytaert bd78422715 - Patch 5592 by Goba: let drupal_map_assoc() rule. :-)
- Renamed CHANGELOG to CHANGELOG.txt for Windows uses.
2004-02-15 15:19:36 +00:00
Dries Buytaert 6c99c2d86f - Patch #5766 by Moshe: replace getenv() with $_SERVER. 2004-02-10 19:41:57 +00:00
Dries Buytaert dc938c533b - Patch #5567 by Goba: fixed t() functions, cleanup of locale module's help,
fixed translation issues in taxonomy module, etc.
2004-02-01 21:04:42 +00:00
Dries Buytaert b85eb11e11 Patch 5287 by Stefan: multiline help texts should become inside a single $output. 2004-01-23 18:42:43 +00:00
Dries Buytaert a8b8c247db - Patch #5021: clean up URLs in _help texts. Patch by UnConeD. 2004-01-11 20:31:26 +00:00
Dries Buytaert 80f34e5ab0 - XHTML improvements: <b> -> <strong>. Patch by Stefan. 2003-12-29 17:14:27 +00:00
Dries Buytaert d5c8026454 - Updated the calls to menu() to use MENU_HIDE instead of 1 2003-12-17 22:27:23 +00:00
Dries Buytaert 35fb889776 - Show the top nodes on admin/statistics. Patch by James Walker. 2003-12-10 06:43:32 +00:00
Dries Buytaert 712a30b520 - Improvements by Goba:
+ removes the lots of pagers and indirect pager themeing
  + add the theme_pager() function, which should be called as
    theme("pager", ...) to get a pager.
2003-12-08 18:30:20 +00:00
Dries Buytaert d45bf0f1e7 - Patch 185 by Ax: fixed undefined variables, synchronized xtemplate with sf, etc. 2003-12-04 20:53:19 +00:00
Dries Buytaert f10cf4756e - Better separation between throttle and statistics module code. Patch by Jeremy. 2003-11-30 10:37:07 +00:00
Dries Buytaert 4201e07670 - More throttle improvements. Patch by Jeremy. 2003-11-29 06:53:03 +00:00
Dries Buytaert d5c607041a - Fixed incompatibility between the pager and statistics module 2003-11-27 22:01:56 +00:00
Dries Buytaert 1fb206d958 Patch by Jeremy:
- removed statistics_init() -- auto-throttle logic moved to
  statistics_exit()
- renamed internal-only update_throttle() to _update_throttle()
- removed some odd white spaces
- fixed 'Popular content' block's subtitles to actually display
2003-11-27 06:32:42 +00:00
Dries Buytaert 53cc5ba870 Statistics module patch by Jeremy:
- removed custom user-page configuration
  - added user-page configuration as group into statistics_settings()
  - inlined logic to display user-page within statistics_page()
  - changed references of "top content" to "most popular content"
  - updated help to reflect recent changes
  - removed references to title/subtitle text configuration
  - properly load _settings data for popular content block
  - fix admin pages to display referrers and top nodes (don't return...)
2003-11-26 16:11:47 +00:00
Dries Buytaert 35e92aa733 - Improved usability of the statistics module's setting page. Patch by
Jeremy.
2003-11-25 23:54:08 +00:00
Dries Buytaert 6135c14c44 Statistics module improvements by Jeremy:
- Remove custom configuration of "admin/system/block/top nodes block".
- Three remaining configuration options moved to "admin/system/modules/statistics".
- Move simple logic to display block within statistics_block().
2003-11-25 21:12:26 +00:00
Dries Buytaert 506fe741ec - Moved the "Who's online" block from the statistics module to the user module
as the code no longer relies on the statistics module.  In addition, some
  code has been simplified and other bits have been removed.  Patch by Jeremy.
2003-11-25 19:54:00 +00:00
Dries Buytaert c0494c0a2b - Committed phase 4 of JonBob's menu system changes. 2003-11-25 19:26:21 +00:00
Dries Buytaert 26735ac5dd - Committed phase 3 of JonBob's menu changes. Adds an API for modules to
define titles and breadcrumbs for their pages, and updates the theme
  system to display them.
2003-11-23 10:41:04 +00:00
Dries Buytaert 4bdac4333b - Patch by JonBob:
Phase 2 of the menu system integration project. This unifies the interface
  used by admin and non-admin pages, and deprecates the _page hook in favor of
  explicit callbacks from menu(). Breadcrumbs, titles, and help text go away
  as a result of this patch; they will return in the phase 3 patch, printed
  by the theme.
2003-11-20 21:51:23 +00:00
Dries Buytaert d03d933b73 - Performance improvement: changed a LEFT JOIN to an INNER JOIN. Patch #157
by Gerhard.
2003-11-19 17:54:44 +00:00
Dries Buytaert 36bb57555c - table(...) -> theme("table", ...) 2003-11-13 19:52:54 +00:00
Dries Buytaert 89cad34923 - Added missing break statements. Patch by Chris. Fixes bug 4055. 2003-11-11 08:14:21 +00:00
Dries Buytaert 951b553a98 - Committed stage 2 of the theme system improvements! Patch by CodeMonkeyX. 2003-11-09 23:27:22 +00:00
Dries Buytaert ef0fa006ed - Usability improvement: replaced many selection boxes by radio buttons.
Patch by Stefan.
2003-11-07 19:03:35 +00:00
Dries Buytaert cf92958f3c - Bugfix: fixed usernames being shown in the "Who is online" block after
you logged out.  Patch by Jeremy.

- Bugfix: fixed the authmap table in the MSSQL scheme.  Patch by Moshe.

- Bugfix: properly themes some error messages in the user module.  Patch
  by Moshe.
2003-10-28 19:27:52 +00:00
Dries Buytaert 162432a7eb - Bugfix: set the timestamp of the node counters. Patch by Moshe. 2003-10-23 06:58:29 +00:00
Dries Buytaert 72ae2d3995 - Bugfix: renamed the 'statistics' table to 'node_counter' as 'statistics' is
a reserved SQL keyword.  Required for both PostgreSQL and MSSQL.  Patch by
  Adrian.

- Bugfix: renamed the 'path' table to 'url_alias' as 'path' is a reserved SQL
  keyword.  Required for both PostgreSQL and MSSQL.  Patch by Adrian.
2003-10-22 20:20:35 +00:00
Dries Buytaert d64bc008fd Patch by Moshe:
- comment.module: fixed an ambigous 'timestamp' query

- forum.module: prev/next links no longer excerpt from the title+body in
their title attribute. they now excerpt from only their title. this is
more consistent with rest of drupal, and GROUP BY on node.body which
isn't appreciated by MSSQL. also replaced some '' with NULL which caused
errors in MSSQL

- statistics.module: replaced a USING join with a standard ON join. USING
is not as widely supported, and functionally equivalent.
2003-10-17 16:10:48 +00:00
Dries Buytaert b405fa22a9 - Bugfix: in the access log, the "post" column shows "n/a" for every line
regardless of whether a node is involved.  Patch by Jonathan.
2003-10-13 21:24:38 +00:00
Dries Buytaert 2ff3222458 - Fixed translation bugs with statistics module. Patch by Gabor.
- Removed 'homepage' field from user table.  Patch by Gabor.

- Added 'real name' field to the profile module.  Patch by Gabor.
2003-10-12 21:25:42 +00:00
Dries Buytaert 5a8b9611d4 - Fixed some link titles that were no longer correct due to the menu
changes.

- Fixed some broken links.
2003-10-09 21:41:04 +00:00
Dries Buytaert 1a5fcacdd9 - Committed part 3 of Michael's help system improvements: removed the $help
parameter from the menu() function.
2003-10-09 18:53:22 +00:00
Dries Buytaert 22c889e7c0 - Help system improvements: eliminated the _system hook. Patch by Michael.
- Bloggerapi module fixes.  Patch by Kjartan.

- Coding style fixes.  Patch by Michael.
2003-10-07 18:16:41 +00:00
Dries Buytaert 6636aac625 - Translation fix: made the 'Who is online' block 100% translatable. 2003-10-04 16:44:54 +00:00
Dries Buytaert 058971c33b - Help improvements and translation improvements from Michael. Thanks! 2003-10-03 14:55:27 +00:00
Dries Buytaert 5a667eb580 - Url aliasing improvements. Patch by Matt. See mailing list for more
information.
2003-09-30 17:01:34 +00:00
Dries Buytaert b4ceaac375 - Block module fixes. Patch by Kjartan. 2003-09-28 20:08:48 +00:00
Dries Buytaert c8b28009cd - Made sure all menu items can be translated. Path by Goba. 2003-09-28 15:18:55 +00:00
Dries Buytaert fe09d5a786 - Committed Al's new admin link texts. Remarks:
1) As explained by Al, there is still a glitch with the 'create content'
     menu.
  2) The user module part of the patch did not apply due to Kjartan's earlier
     patch.
2003-09-27 06:00:43 +00:00
Dries Buytaert f104d3cc12 - Committed the admin menu integration patch. Thanks Adrian, Stefan and others. 2003-09-26 10:04:09 +00:00