aboutsummaryrefslogtreecommitdiff
path: root/_graphics
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-08 11:27:00 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-10-08 11:27:00 +0000
commit939ce5e44c049b0897899c8c7a79544068d2e3b3 (patch)
tree60bd2fab99b295623466d9093acc1449ffd873fb /_graphics
parent161d44727c9e786f538e9715a566eee76bc7187a (diff)
downloadelgg-939ce5e44c049b0897899c8c7a79544068d2e3b3.tar.gz
elgg-939ce5e44c049b0897899c8c7a79544068d2e3b3.tar.bz2
Closes #301: Profile icons now use getIcon() API. Overrides now possible:
For themes to override, create a plugin hook listening to 'entity:icon:url' and object 'user'. In the hook return a different url. To replace default user icons in a plugin one might create a hook: function profile_usericon_hook($hook, $entity_type, $returnvalue, $params) { if ((!$returnvalue) && ($params['entity'] instanceof ElggUser)) { // return your default graphic here. } } And set it to priority 900 (lower priority than the code that displays a pretty icon for users but higher than the default object display code in entities.php) git-svn-id: https://code.elgg.org/elgg/trunk@2221 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to '_graphics')
-rw-r--r--_graphics/icons/default/topbar.pngbin0 -> 372 bytes
1 files changed, 0 insertions, 0 deletions
diff --git a/_graphics/icons/default/topbar.png b/_graphics/icons/default/topbar.png
new file mode 100644
index 000000000..8b6d00755
--- /dev/null
+++ b/_graphics/icons/default/topbar.png
Binary files differ