Add Horde_Themes:: library.
authorMichael M Slusarz <slusarz@curecanti.org>
Mon, 8 Mar 2010 03:15:31 +0000 (20:15 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Tue, 9 Mar 2010 03:12:50 +0000 (20:12 -0700)
commit97fd203dcaaf5ddf7c9c2252eb44ac76e8d84846
tree1022a973753b67d2212bb70e8adad23b09f20eea
parentaae7974f117036bf7cd1abfb5296284a0a995f06
Add Horde_Themes:: library.

Move all themes related code to a single place (includes both image and
sound).

Horde::img(), through Horde_Themes::img(), will now attempt to auto
determine a graphic location. It looks in the following directories with
this priority:
1. App theme
2. Horde theme
3. App default
4. Horde default
This prevents us from having to copy all over all graphics for a theme -
now, only need the graphics that differ from defaults (caveat: if
loading graphics from CSS, copies of graphics need to continue to live
in theme directory).
300 files changed:
agora/lib/Agora.php
agora/lib/Messages.php
agora/templates/common-header.inc
ansel/faces/gallery.php
ansel/faces/image.php
ansel/lib/Ajax/Imple/EditFaces.php
ansel/lib/Ajax/Imple/TagActions.php
ansel/lib/Ansel.php
ansel/lib/Api.php
ansel/lib/Block/random_photo.php
ansel/lib/Tags.php
ansel/lib/Tile/DateGallery.php
ansel/lib/Tile/Gallery.php
ansel/lib/View/EmbeddedRenderer/Mini.php
ansel/lib/View/GalleryRenderer/GalleryLightbox.php
ansel/lib/Widget/Actions.php
ansel/lib/Widget/Links.php
ansel/lib/Widget/Tags.php
ansel/map_edit.php
ansel/rss.php
ansel/templates/common-header.inc
ansel/templates/faces/define.inc
ansel/templates/faces/index.inc
ansel/templates/gallery/gallery.inc
ansel/templates/group/header.inc
ansel/templates/image/crop_image.inc
ansel/templates/image/edit_image.inc
ansel/templates/image/preview_cropimage.inc
ansel/templates/image/preview_image.inc
ansel/templates/image/resize_image.inc
ansel/templates/image/upload.inc
ansel/templates/list/header.inc
ansel/templates/view/image.inc
ansel/templates/view/list.inc
ansel/templates/view/slideshow.inc
ansel/themes/silver/themed_graphics [deleted file]
ansel/themes/tango-blue/themed_graphics [deleted file]
ansel/xppublish.php
babel/lib/Display.php
babel/templates/common-header.inc
beatnik/lib/Beatnik.php
beatnik/listzones.php
beatnik/templates/common-header.inc
beatnik/templates/listzones/header.inc
beatnik/templates/menu.inc
beatnik/viewzone.php
chora/lib/Block/tree_menu.php
chora/templates/checkout/checkout.inc
chora/templates/common-header.inc
chora/templates/diff/hr/header.inc
chora/themes/silver/themed_graphics [deleted file]
crumb/lib/Crumb.php
crumb/templates/common-header.inc
fima/ledgers/index.php
fima/lib/Block/tree_menu.php
fima/lib/Fima.php
fima/postings.php
fima/templates/accounts/accounts.inc
fima/templates/common-header.inc
fima/templates/postings/header.inc
fima/templates/postings/posting_headers.inc
fima/templates/reports/table.inc
fima/templates/search/search.inc
fima/themes/silver/themed_graphics [deleted file]
folks/edit/activity.php
folks/edit/friends/blacklist.php
folks/edit/friends/for.php
folks/edit/friends/friends.php
folks/edit/friends/from.php
folks/edit/friends/groups.php
folks/edit/friends/index.php
folks/edit/friends/know.php
folks/edit/friends/of.php
folks/lib/Folks.php
folks/templates/common-header.inc
folks/templates/edit/activity.php
folks/templates/edit/header.php
folks/templates/feed/activities.php
folks/templates/feed/feed.php
folks/templates/list/list.php
folks/templates/list/search.php
folks/templates/services/services.php
folks/templates/user/actions.php
folks/templates/user/authenticated.php
folks/templates/user/deleted.php
folks/templates/user/friends.php
folks/templates/user/inactive.php
folks/templates/user/private.php
folks/templates/user/user.php
framework/Ajax/lib/Horde/Ajax/Imple/AutoCompleter.php
framework/Block/lib/Horde/Block/Layout.php
framework/Block/lib/Horde/Block/Layout/Manager.php
framework/Core/lib/Horde.php
framework/Core/lib/Horde/Core/Notification/Status.php
framework/Core/lib/Horde/Help.php
framework/Core/lib/Horde/Menu.php
framework/Core/lib/Horde/Registry.php
framework/Core/lib/Horde/Themes.php [new file with mode: 0644]
framework/Core/lib/Horde/Themes/Element.php [new file with mode: 0644]
framework/Core/lib/Horde/Themes/Image.php [new file with mode: 0644]
framework/Core/lib/Horde/Themes/Sound.php [new file with mode: 0644]
framework/Core/package.xml
framework/Form/Form/Renderer.php
framework/Form/Form/Type.php
framework/Mime/lib/Horde/Mime/Viewer.php
framework/Model/lib/Horde/Form/VarRenderer/Xhtml.php
framework/Nls/lib/Horde/Nls.php
framework/Perms/lib/Horde/Perms/Ui.php
framework/Text_Filter/lib/Horde/Text/Filter/Emoticons.php
framework/Tree/lib/Horde/Tree.php
framework/Ui/lib/Horde/Ui/VarRenderer/Html.php
gollem/lib/Block/tree_menu.php
gollem/lib/Gollem.php
gollem/manager.php
gollem/selectlist.php
gollem/templates/common-header.inc
gollem/templates/prefs/columnselect.inc
gollem/themes/silver/themed_graphics [deleted file]
horde/admin/groups.php
horde/admin/sessions.php
horde/admin/setup/index.php
horde/services/help/index.php
horde/services/portal/cloud_search.php
horde/services/portal/sidebar.php
horde/templates/admin/menu.inc
horde/templates/common-header.inc
horde/templates/index/frames_index.inc
horde/templates/javascript/open_html_helper.js
horde/templates/menu/menu.inc
horde/templates/prefs/alarm.inc
horde/templates/prefs/categorymanagement.inc
horde/templates/shares/edit.inc
horde/themes/silver/themed_graphics [deleted file]
horde/themes/tango-blue/themed_graphics [deleted file]
horde/util/icon_browser.php
hylax/folder.php
hylax/lib/Hylax.php
hylax/templates/common-header.inc
imp/config/hooks.php.dist
imp/lib/Ajax/Application.php
imp/lib/Block/tree_folders.php
imp/lib/Contents.php
imp/lib/IMP.php
imp/lib/Imap/Tree.php
imp/lib/Mime/Viewer/Html.php
imp/lib/Mime/Viewer/Images.php
imp/lib/Mime/Viewer/Itip.php
imp/lib/Mime/Viewer/Mdn.php
imp/lib/Mime/Viewer/Partial.php
imp/lib/Mime/Viewer/Pdf.php
imp/lib/Mime/Viewer/Pgp.php
imp/lib/Mime/Viewer/Plain.php
imp/lib/Mime/Viewer/Smime.php
imp/lib/Mime/Viewer/Status.php
imp/lib/Notification/Event/Status.php
imp/mailbox.php
imp/message.php
imp/saveimage.php
imp/templates/common-header.inc
imp/templates/index/index-dimp.inc
imp/templates/prefs/flagmanagement.inc
imp/templates/prefs/soundselect.inc
imp/templates/prefs/sourceselect.inc
imp/themes/silver/themed_graphics [deleted file]
imp/themes/tango-blue/themed_graphics [deleted file]
imp/thread.php
imp/view.php
ingo/filters.php
ingo/lib/Ingo.php
ingo/templates/common-header.inc
ingo/templates/rule/filter.inc
ingo/themes/silver/themed_graphics [deleted file]
ingo/themes/tango-blue/themed_graphics [deleted file]
jeta/templates/common-header.inc
kastalia/lib/Block/tree_menu.php
kastalia/lib/Kastalia.php
kastalia/templates/common-header.inc
koward/lib/Koward/Controller/Application.php
koward/lib/Koward/Controller/ObjectController.php
koward/lib/Koward/View/Object/listall.html.php
koward/lib/Koward/View/Object/search.html.php
koward/lib/Koward/View/shared/_header.html.php
koward/www/htdocs/horde/themes/silver/themed_graphics [deleted file]
kronolith/attendees.php
kronolith/calendars/index.php
kronolith/feed/index.php
kronolith/index.php
kronolith/lib/Ajax/Imple/TagActions.php
kronolith/lib/Api.php
kronolith/lib/Block/tree_alarms.php
kronolith/lib/Block/tree_menu.php
kronolith/lib/Event.php
kronolith/lib/FreeBusy/View/Day.php
kronolith/lib/FreeBusy/View/Month.php
kronolith/lib/FreeBusy/View/Week.php
kronolith/lib/Kronolith.php
kronolith/resources/groups/index.php
kronolith/resources/index.php
kronolith/templates/attendees/attendees.inc
kronolith/templates/chunks/calendar.php
kronolith/templates/common-header.inc
kronolith/templates/day/head.inc
kronolith/templates/edit/edit.inc
kronolith/templates/edit/edit_timespan.inc
kronolith/templates/edit/javascript.inc
kronolith/templates/index/index.inc
kronolith/templates/month/head.inc
kronolith/templates/month/head_side_by_side.inc
kronolith/templates/panel.inc
kronolith/templates/perms/perms.inc
kronolith/templates/prefs/sourceselect.inc
kronolith/templates/week/head.inc
kronolith/templates/year/head.inc
kronolith/themes/silver/themed_graphics [deleted file]
kronolith/themes/tango-blue/themed_graphics [deleted file]
nag/lib/Api.php
nag/lib/Block/summary.php
nag/lib/Block/tree_alarms.php
nag/lib/Block/tree_menu.php
nag/lib/Nag.php
nag/lib/Task.php
nag/lib/Ui/VarRenderer/Nag.php
nag/tasklists/index.php
nag/templates/common-header.inc
nag/templates/list/header.inc
nag/templates/list/task_headers.inc
nag/templates/list/task_summaries.inc
nag/templates/panel.inc
nag/themes/silver/themed_graphics [deleted file]
nag/themes/tango-blue/themed_graphics [deleted file]
news/admin/categories/index.php
news/admin/sources/index.php
news/diff.php
news/edit.php
news/lib/Categories.php
news/lib/News.php
news/reads.php
news/templates/common-header.inc
news/templates/news/mail.php
news/templates/news/today.php
news/templates/news/tools.php
operator/lib/Operator.php
operator/templates/common-header.inc
operator/themes/silver/themed_graphics [deleted file]
shout/templates/common-header.inc
shout/templates/dialplan/edit.inc
shout/templates/extensions/list.inc
skeleton/lib/Skeleton.php
skeleton/templates/common-header.inc
skoli/classes/index.php
skoli/lib/Block/tree_menu.php
skoli/lib/Skoli.php
skoli/list.php
skoli/templates/common-header.inc
skoli/templates/list/classes.inc
skoli/templates/list/header.inc
skoli/templates/list/headers.inc
skoli/templates/list/students.inc
skoli/templates/search/entries.inc
skoli/templates/search/header.inc
skoli/templates/search/headers.inc
timeobjects/lib/Driver/Weatherdotcom.php
turba/addressbooks/index.php
turba/contact.php
turba/lib/Api.php
turba/lib/Block/tree_menu.php
turba/lib/ListView.php
turba/lib/Object.php
turba/lib/Turba.php
turba/templates/block/minisearch.inc
turba/templates/browse/column_headers.inc
turba/templates/browse/header.inc
turba/templates/browse/row.inc
turba/templates/common-header.inc
turba/templates/prefs/addressbookselect.inc
turba/themes/silver/themed_graphics [deleted file]
turba/themes/tango-blue/themed_graphics [deleted file]
vilma/domains/index.php
vilma/lib/Driver.php
vilma/lib/Vilma.php
vilma/templates/common-header.inc
vilma/users/index.php
vilma/virtuals/index.php
whups/lib/Api.php
whups/lib/Block/tree_menu.php
whups/lib/Forms/VarRenderer.php
whups/lib/Renderer/Comment.php
whups/lib/Renderer/Query.php
whups/lib/Whups.php
whups/query/run.php
whups/templates/common-header.inc
whups/templates/prefs/sourceselect.inc
whups/themes/silver/themed_graphics [deleted file]
wicked/lib/Page/AttachedFiles.php
wicked/lib/Page/MergeOrRename.php
wicked/templates/common-header.inc
wicked/templates/display/title.inc
wicked/templates/edit/standard.inc
wicked/templates/history/header.inc
wicked/templates/history/summary.inc