Log of /contributions/modules/icon/icon.module
Parent Directory
|
Revision Log
|
Revision Graph
Revision
1.8.2.11 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Aug 18 18:34:48 2008 UTC
(15 months, 1 week ago)
by
ximo
Branch:
DRUPAL-6--1
Changes since
1.8.2.10: +83 -45 lines
Diff to
previous 1.8.2.10
, to
branch point 1.8
* Made the $_icons global and $icons template variable populate without loading init_theme() prematurely
* Removed the Global settings tab, defaulting to the first or the active theme's tab instead (hacksy, but works)
* Gave the admin form a facelift, separating the icon set types into two tables
* Removed icon.js as it was no longer needed
Revision
1.7 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Sat Jul 5 23:18:36 2008 UTC
(16 months, 3 weeks ago)
by
ximo
Branch:
MAIN
Changes since
1.6: +262 -274 lines
Diff to
previous 1.6
Rewrote icon_iconsets_form(), added weighting with tabledrag, and reduced database load when discovering and saving icon sets.. amongst other things.
* Removed icon_icons_form(), theme_icon_icons_form() and related menu items from icon_menu()
* Added weights and tabledrag to icon_iconsets_form()
* Moved SQL queries out of _submit() functions and into API functions
* Removed _icon_sort_iconsets_by_importance()
* Changed _icon_sort_iconsets_by_name() to _icon_sort_iconsets() and made it sort by weight, then name
* Made status checkboxes part of icon set rows on icon_iconsets_form()
* Renamed icon_save_iconsets() to _icon_save_iconsets()
* Many small changes
Revision
1.6 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 27 20:09:02 2008 UTC
(17 months ago)
by
ximo
Branch:
MAIN
Changes since
1.5: +299 -96 lines
Diff to
previous 1.5
Again, I'm really bad at frequent CVS commits. What's new (what I can remember) is:
* Removed debug() function, instead use dsm() from devel.module
* Started working on a manual icon selection UI in icon_icons_form()
* icon_get_iconsets() now produces a much cleaner array
* icon_get_icons() now supports static and db caching
* Added _icon_sort_iconsets_by_importance() function
* Added theme_icon() function, allowing for theme('icon') usage
* Rewrote icon_find_iconsets() and icon_get_iconsets() to better suit theme icons (thanks quicksketch!)
* Added icon_get_iconsets_status()
* Lots of changes here and there!
Revision
1.5 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Thu Jun 19 21:12:29 2008 UTC
(17 months, 1 week ago)
by
ximo
Branch:
MAIN
Changes since
1.4: +68 -78 lines
Diff to
previous 1.4
Cleaned up the module and rewrote some of the functions.
* Merged _icon_iconset_data() with icon_iconset_data(), losing static caching with _icon_iconset_data() (I want to see if this is really needed first)
* Merged icon_add_iconset_states() icon_iconset_data()
* Renamed icon_iconset_data() to icon_get_iconsets() and rewrote it
* Renamed icon_sort_iconsets_by_info_name() to icon_sort_iconsets_by_name()
* Added Javadoc documentation for most functions
* Plus a bunch of minor changes here and there
Revision
1.4 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jun 18 21:09:15 2008 UTC
(17 months, 1 week ago)
by
ximo
Branch:
MAIN
Changes since
1.3: +32 -9 lines
Diff to
previous 1.3
Enabled/disabled states of icon sets are now stored in the {iconsets} table. Also added function icon_add_iconset_states().
Revision
1.3 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Wed Jun 18 17:38:22 2008 UTC
(17 months, 1 week ago)
by
ximo
Branch:
MAIN
Changes since
1.2: +84 -39 lines
Diff to
previous 1.2
Yet another big commit...
* admin/build/icons is now organized on a per-theme basis
* Removed the module from the "Core - optional" category
* Added icon.install with hook_install(), hook_uninstall() and hook_schema() functions
* Renamed icon_sets_form to icon_iconsets_form
* Added icon_sort_iconsets_by_info_name() function instead of system_sort_modules_by_info_name()
* Removed drupal_clear_css_cache();
* Lots of minor changes
Revision
1.2 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Fri Jun 6 23:59:45 2008 UTC
(17 months, 3 weeks ago)
by
ximo
Branch:
MAIN
Changes since
1.1: +270 -0 lines
Diff to
previous 1.1
What I've done since the first commit, which is quite a lot for one single commit. This may be considered the first import of the code. I'll make sure to commit more often..
The module is now able to detect icon sets (a folder with a .info file) in these parts of the Drupal installation:
/icons/*/
/modules/*/icons/
/profiles/*/icons/*/
/sites/*/icons/*/
/sites/*/modules/*/icons/
/sites/*/themes/*/icons/
/themes/*/icons/
Discovered icon sets are registered in the 'system' table. They are also listed with screenshots on admin/build/icons, where the user may choose which icon sets to enable.
Revision
1.1 -
(
view)
(
download)
(
as text)
(
annotate)
-
[select for diffs]
Mon Apr 28 17:43:13 2008 UTC
(19 months ago)
by
ximo
Branch:
MAIN
Initial commit of the Icon module, a Google Summer of Code 2008 project. This module will add a central system for icons in Drupal.
This form allows you to request diffs between any two revisions of this file.
For each of the two "sides" of the diff,
select a symbolic revision name using the selection box, or choose
'Use Text Field' and enter a numeric revision.