Steven Wittens
f7440d4d73
#130971 : Kitchen sink (E_NOTICE compliance / Code style / Bugfix in book toc)
2007-03-27 05:13:55 +00:00
Steven Wittens
ba0ff1a9b7
#117018 : Use Garland theme for installer/maintenance pages, and add task list in the sidebar.
...
- Refactor partial-page handling for the maintenance page. It's an exotic quirk for update.php and belongs there.
2007-03-02 09:40:27 +00:00
Dries Buytaert
dc5843bd30
- Patch #111347 by Steven: refactor url() and l().
2007-02-15 11:40:19 +00:00
Dries Buytaert
f996fd9568
- Patch #112605 by Steven: sticky table headers.
2007-02-06 08:35:13 +00:00
Dries Buytaert
05a708fb06
- Patch #112715 by chx, webchick, asimmonds, et al: fixing E_ALL notices. Thanks.
2007-01-31 15:49:26 +00:00
Dries Buytaert
3b543c18f5
- Rollback of E_ALL patch. Too much extra breakage.
2007-01-25 22:14:06 +00:00
Dries Buytaert
fd32b42196
- Patch #112715 by webchick et al: fixed some E_ALL errors.
2007-01-25 21:32:07 +00:00
Steven Wittens
fcbae4572c
#108310 : Minor speed up, cache theme functions in theme_get_function().
2007-01-11 03:36:06 +00:00
Neil Drumm
dfd86399c0
#106232 by chx. Add spaces for code style.
2007-01-02 05:05:38 +00:00
Neil Drumm
7d706a562d
#105726 by moshe weitzman. Remove necessity to hard-code theme engine directories since they can change.
2006-12-30 20:59:11 +00:00
Neil Drumm
b1c11d267f
#90738 by jjeff and ChrisKennedy. first and last are not mutually exclusive.
2006-12-29 08:18:28 +00:00
Neil Drumm
613b561668
#105303 by Gábor Hojtsy. Improve translation converage for installation.
2006-12-27 13:02:34 +00:00
Steven Wittens
57c5355a4b
#103280 : Fix styles for maintenance pages.
2006-12-15 01:06:33 +00:00
Dries Buytaert
b9034559db
- Patch #93079 by chx: not able to select database.
2006-12-14 13:28:11 +00:00
Steven Wittens
b86f45b1e6
#100516 : CSS preprocessor to cache and compress all .css files. Benchmarks show up to 40% faster page loads.
2006-12-10 09:54:35 +00:00
Dries Buytaert
b9d8f023a0
- Patch #101738 by webchick: phpdoc improvement.
2006-12-08 16:20:09 +00:00
Neil Drumm
213b0cd7a5
Proper checking for a variable existing.
2006-11-29 20:39:37 +00:00
Neil Drumm
36430b4c64
#87090 by kkaefer. Render blocks before page content so they may insert headers.
2006-11-29 06:36:12 +00:00
Dries Buytaert
08d5e0f1c5
- Patch #50505 by chx and profix: path_to_theme() silently fails if init_theme() hasn't been called yett
2006-11-28 10:13:11 +00:00
Neil Drumm
69ea16f669
#84189 by webchick. Properly initialize variables.
2006-11-26 23:14:59 +00:00
Dries Buytaert
d721a4f0d9
- Patch #98365 by webchick and RobRoy: added missing t() functions.
2006-11-24 09:01:57 +00:00
Dries Buytaert
e66c520aa4
- Patch #93410 by bjaspan: theme_links() generated invalid XHTML in absence of links.
2006-11-21 19:41:57 +00:00
Steven Wittens
001d54f663
#84961 : Add 'select all' and range select feature to admin tables.
2006-11-21 08:16:39 +00:00
Dries Buytaert
4f0f376430
- Rollback of #94058 : see issue.
2006-11-17 06:53:31 +00:00
Neil Drumm
761b0c7ffb
#94058 by hunmonk. Allow for multiple sortable tables on a page.
2006-11-17 01:03:59 +00:00
Dries Buytaert
9321ee109d
- Patch #93536 by Gabor: eliminate remaining bluemarine traces from core code.
2006-11-08 19:24:11 +00:00
Steven Wittens
36d44fbfb0
#84146 : Use 'Sentence capitalization' for menu items, page titles, form items, etc
2006-10-22 08:28:47 +00:00
Dries Buytaert
8306444494
- Patch #78399 by Eaton and chx: don't allow HTML in the title.
2006-10-18 18:00:40 +00:00
Neil Drumm
a13d829c33
#83853 by myself. Add whitespace between link list items.
2006-10-17 08:38:16 +00:00
Dries Buytaert
fb97d9eca2
- Patch #58671 by Tobias: theme_closure -> theme('closure').
2006-09-05 10:11:29 +00:00
Steven Wittens
dd4f143df6
#75002 : Install-time and run-time requirements checking + status report page
2006-09-01 08:44:53 +00:00
Neil Drumm
e57fac565a
#65151 by m3avrck. theme_links() is now marked up as a list.
2006-08-30 07:37:14 +00:00
Steven Wittens
849a10fbba
Allow absolute urls for theme('image'), needed for user pictures to work properly.
2006-08-24 00:04:44 +00:00
Neil Drumm
a58d877108
#66569 by m3avrck. Put all the feed icons in the same place.
2006-08-23 05:55:38 +00:00
Dries Buytaert
a8de1e92d7
- Patch #76637 by timnc: streamline JavaScript addition and add settings storage.
2006-08-22 09:00:31 +00:00
Steven Wittens
55eec8f66f
#79601 : module_exist() -> module_exists()
2006-08-20 05:57:41 +00:00
Steven Wittens
81938a3cdc
#76802 : Introduce placeholder magic into t()
...
See: http://drupal.org/node/64279#t-placeholders
2006-08-18 12:17:00 +00:00
Neil Drumm
28f7908f8c
#2039 by Boris Mann ("My first diff to the list"), moshe weitzman, and David Lesieur, nested lists.
2006-08-17 06:55:26 +00:00
Neil Drumm
9709598a52
Fixing the CSS for theme maintainence and install pages.
2006-08-05 22:17:31 +00:00
Steven Wittens
3ffb612aea
#76741 : Allow <th> tags for theme_table cells
2006-08-03 20:37:52 +00:00
Dries Buytaert
2c0571b894
- Patch #73961 by m3avrck, timcn, et al: simplify adding CSS in Drupal.
2006-08-03 07:06:36 +00:00
Dries Buytaert
1c75a210bd
- Patch #68926 by chx, jeremy, steven, eaton, webchick, amazon, neil, nedjo et al: an initial install system for Drupal core.
2006-07-13 13:14:25 +00:00
Dries Buytaert
e93f8be871
- Patch #72204 by nedjo: upper-cased all TRUE/FALSE/NULL constants.
2006-07-05 11:45:51 +00:00
Neil Drumm
59aa2ae8e8
#71925 by Steven, remove # prefix from link array keys.
2006-07-04 08:59:05 +00:00
Neil Drumm
efb10dfd17
#52059 by Crell, allow attributes for items in theme_item_list().
2006-07-02 00:25:40 +00:00
Dries Buytaert
13c32bab15
- Patch #71454 by moshe: removed redundant module_invoke. Committing from the Google campus.
2006-06-29 20:40:26 +00:00
Neil Drumm
963dc77bb7
#68170 by xtony and Heine, Use basename not pretty name in theme_get_settings().
2006-06-23 07:54:00 +00:00
Neil Drumm
168a3dcd8e
#63485 by fgm, theme_item_list should receive an attributes parameter
2006-05-20 01:24:30 +00:00
Dries Buytaert
1b291a2917
- Patch #18260 by Ber, m3averck et al: allow overriding of links returned by modules
2006-05-18 14:58:57 +00:00
Neil Drumm
9cff02e91b
#61802 by Zen, Double spaced sentences clean up
2006-05-07 00:08:36 +00:00
Neil Drumm
6411e09dc9
#56508 by chx (modified), Remove notices from form.inc and move theme_form_element from theme.inc to form.inc.
2006-05-02 09:26:33 +00:00
Neil Drumm
130c1492c5
#61304 by fgm, use t() for a string.
2006-05-02 09:01:23 +00:00
Dries Buytaert
d071f99172
- Removing trailing whitespace.
2006-04-17 20:48:26 +00:00
Steven Wittens
8b04c7f0db
#51002 : Admins could not see unpublished comments (plus minor usability enhancements for previewing/unpublished)
2006-04-15 04:07:18 +00:00
Gerhard Killesreiter
70aae83c8e
#58166 , fixes for typos, patch by Uwe Herrmann
2006-04-11 11:33:15 +00:00
Steven Wittens
9814b832b2
- Remove trailing whitespace
2006-04-07 10:40:55 +00:00
Steven Wittens
b3c245c08c
#57519 : Custom favicon did not use base_path()
2006-04-06 02:35:57 +00:00
Steven Wittens
6ab6b8abcd
#57333 : Only set logo image path if it exists
2006-04-04 23:31:04 +00:00
Gerhard Killesreiter
cb49e19e9e
#54003 , Watchdog not logging update errors, patch by Steven
2006-03-28 09:29:23 +00:00
Steven Wittens
16fd8c89a5
- sa-2006-002: XSS issues with username log and mission
2006-03-13 21:42:35 +00:00
Dries Buytaert
6d9e5084d8
- Patch #52508 by TDobes: fixed theme system regressions.
2006-03-07 11:28:22 +00:00
Steven Wittens
15590cdc06
- #48036 : Don't show search box in theme if you have no search permission
2006-02-05 19:08:11 +00:00
Dries Buytaert
048bec139e
- Patch #13148 by Morbus: less globals.
2006-02-02 12:44:57 +00:00
Dries Buytaert
4ffb77baae
- Patch #13148 by Morbus: further base path fixes / clean-ups.
2006-01-30 21:32:09 +00:00
Dries Buytaert
81660bc662
- Patch #13148 : fix problems with using relative path names! (Please document this change.)
2006-01-29 07:36:29 +00:00
Dries Buytaert
55c88ae09c
- Added .
2006-01-20 09:30:12 +00:00
Dries Buytaert
e38f0403a3
- Patch #45451 by wtanaka: added explanation for the red star.
2006-01-20 09:19:21 +00:00
Dries Buytaert
56d0d76f0f
- Patch #27884 by gordon: js addLoadEvent not working.
2006-01-20 08:54:07 +00:00
Dries Buytaert
5f829187e6
- Patch #45209 by markus et al: added some missing t() functions.
2006-01-18 19:40:18 +00:00
Dries Buytaert
6048d282cc
- Modified patch #45214 by markus: don't generate empty breadcrumb div.
2006-01-18 19:02:34 +00:00
Dries Buytaert
1d9b81d3b8
- Patch #44976 by m3avrck: cleaned up some CSS.
2006-01-16 20:57:53 +00:00
Dries Buytaert
57447dc571
- Patch #42105 by chx / merlinofchaos: made form elements themable.
2006-01-10 19:37:27 +00:00
Dries Buytaert
303720fb62
- Patch #15609 by m3avrck: get rid of forced <br />-tag after <label>-tags. Makes it easier to theme forms.
2006-01-06 07:32:54 +00:00
Dries Buytaert
6c20d333d2
- Patch #35667 by Crell: bug fix: on ?q=admin/block style.css was imported twice.
2006-01-06 07:25:44 +00:00
Dries Buytaert
9385794e23
- Patch #41548 by Neil: critical bugfix: theme didn't load when styles are used.
2006-01-04 09:32:28 +00:00
Steven Wittens
79a193a2d2
- #42234 : Use standardized feed icon for RSS
2005-12-29 04:46:40 +00:00
Dries Buytaert
b362985de5
- Patch #41118 by Goba: various upgrade script fixes.
2005-12-26 17:20:23 +00:00
Dries Buytaert
a19acb219e
- Patch #35924 by Neil: improved the update system.
2005-12-06 09:25:22 +00:00
Dries Buytaert
5f36738a11
- Patch #38279 by paddy_deburca: fixed theme_item_list() not to generate an empty <ul></ul> tag when $items is empty.
2005-11-24 20:08:54 +00:00
Dries Buytaert
ea53aad7c8
- Patch #22215 by Richard Archer: refactored primary and secondary links.
...
Deprecates the primary_links module.
This patch was much needed. Thanks Richards!
NOTE: if some themers could investigate if there is room for improvement
with regard to theming, that would be awesome.
2005-11-03 19:33:37 +00:00
Dries Buytaert
f6764cfbd8
- Patch #30930 by m3avrck/deekayen: cured PHP5 warnings.
2005-10-22 15:14:46 +00:00
Dries Buytaert
8d460b406d
- Patch #32573 by Moshe: added support for ordered lists to theme_item_list().
2005-10-18 14:45:09 +00:00
Dries Buytaert
7e1527ee61
- Patch #29465 : new form API by Adrian et al.
...
TODO:
+ The contact.module was broken; a new patch for contact.module is needed.
+ Documentation is needed.
+ The most important modules need to be updated ASAP.
2005-10-07 06:11:12 +00:00
Dries Buytaert
cec8db72dd
- add some space
2005-09-29 08:02:55 +00:00
Dries Buytaert
5971f1e645
- Patch #28777 by Neil: use <thead> and <tbody> in theme_table().
2005-09-15 20:58:17 +00:00
Dries Buytaert
013b73e6ec
- Patch #30122 by m3verick: changed include_once()'s to include "./$file"
...
for performance's sake.
2005-09-08 19:19:01 +00:00
Dries Buytaert
3b1e763d03
- Patch #30423 by Crell: added support for table <captions>.
...
TODO: look into http://drupal.org/node/28777 ?
2005-09-06 20:32:53 +00:00
Dries Buytaert
c9fc300b1f
- Patch #29785 by Chx: multiple node types were broken so we refactored
...
part of the node system! If you have a module that implements node
types, you'll have to udpate its CVS HEAD version.
We replaced _node_name() and _node_types() by _node(). The new _node()
hook let's you define one or more node types, including their names.
The implementation of the _node() hook needs to:
return array($type1 => array('name' => $name1, 'base' => $base1),
$type2 => array('name' => $name2, 'base' => $base2));
where $type is the node type, $name is the human readable name of the type
and $base is used instead of <hook> for <hook>_load, <hook>_view, etc.
For example, the story module's node hook looks like this:
function story_node() {
return array('story' => array('name' => t('story'), 'base' => 'story'));
}
The page module's node hook module like:
function page_node() {
return array('page' => array('name' => t('page'), 'base' => 'page'));
}
However, more complex node modules like the project module and the
flexinode module can use the 'base' parameter to specify a different base.
The project module implements two node types, proejcts and issues, so it
can do:
function project_node() {
return array(
array('project_project' => array('name' => t('project'), 'base' => 'project'),
array('project_issue' => array('name' => t('issue'), 'base' => 'project_issue'));
}
In the flexinode module's case there can only one base ...
This hook will simplify the CCK, and will make it easy (or easier) to merge
the story and page module.
In addition, node_list() became node_get_types(). In addition, we created
the following functions: node_get_name($type) and node_get_base($type).
2005-08-28 15:29:34 +00:00
Dries Buytaert
7b8a409675
- Patch #29385 by chx: no ?> add end of files.
2005-08-25 21:14:17 +00:00
Dries Buytaert
1836d3b365
- Patch #29002 by Neil: list_themes() currently returns all themes, not just enabled themes. This functionality is only used in one place- configuration for disabled themes. These configuration pages can be removed with a usability improvement since you shouldn't be able to configure things which are disabled. Additionally, this allows us to remove some extra logic in system_user(). And it it more consistent with the module API which only lists enabled modules.
...
list_themes() sorts the results by name. This uses filesort in MySQL since there aren't any indexes. Sorting is not used except in system_user(). This one use can be handled with ksort since it is not often executed (only on the user edit screen when multiple themes are enabled).
And a one line fix to remove a variable in system_user() is in here too.
2005-08-18 22:07:14 +00:00
Dries Buytaert
26fa7c730f
- Patch #16216 by nedjo: multiple block regions!
2005-08-16 18:06:18 +00:00
Dries Buytaert
b69b43d1ec
- Patch #28482 by Uwe: add CVS $Id$ tags to all source files in Drupal core. This allows admins to know exactly which version of which files they use. In addition I want to use CVS $Id$ tags in my upcoming security.module to check for possible vulnerabilities. That's not possible if some files simply don't have $Id$s.
...
Note: I also (mostly) unified the tags to use the "// ID" form instead of "/* ID */", but that's more of a cosmetic issue. I'm not sure whether *.txt files and the stuff in themes/ need tags(?).
2005-08-11 12:57:41 +00:00
Steven Wittens
8660655a9a
- #27981 : Add media parameter to theme_add_style
2005-08-05 00:22:03 +00:00
Dries Buytaert
7625a4e91a
- Patch #27737 by Gerhard: format_name($object) -> theme('username', $object).
...
Usernames can now be themed; eg. an icon/avatar could be added.
TODO: update contributed modules + update the migration docs.
2005-08-01 05:14:05 +00:00
Steven Wittens
c81bbf4aa1
- #24673 : Fix deprecated usage of implode
2005-07-30 12:52:54 +00:00
Steven Wittens
3084036576
- #27231 : (fix) Pretty db error screens.
2005-07-29 07:49:43 +00:00
Steven Wittens
d9d4b9bdab
- #27231 : Friendly DB error screens.
2005-07-27 01:58:43 +00:00
Dries Buytaert
ba1660168f
- Patch #27003 by Neil: use named constants instead of strings
2005-07-23 05:57:27 +00:00
Dries Buytaert
db3a2cc175
- Patch #11927 by stefan/Robin: improved theming of tablesort icons.
2005-07-02 12:32:09 +00:00
Dries Buytaert
5c8843704c
- Patch #18213 by chx: boostrap system. Modified to work with HEAD, tidied
...
up the documentation a little.
chx: can you double-check whether the global $conf variable is secure?
(That is, make sure it can't be send using the URL or something.)
2005-06-22 20:19:58 +00:00