diff options
author | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-08 08:25:04 +0000 |
---|---|---|
committer | pete <pete@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-10-08 08:25:04 +0000 |
commit | 2158f367d30696708653578d3fb77b5058db8147 (patch) | |
tree | f9b0ab98acf1d7518b3b84a2f406368c62783a4c /views/default | |
parent | 252acc1aeb7fdf428b09ae85f9726f1c446167fa (diff) | |
download | elgg-2158f367d30696708653578d3fb77b5058db8147.tar.gz elgg-2158f367d30696708653578d3fb77b5058db8147.tar.bz2 |
ajax loader updated to use an image from _graphics rather than a hard-coded image resource (to make theming possible).
git-svn-id: https://code.elgg.org/elgg/trunk@2217 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'views/default')
-rw-r--r-- | views/default/ajax/loader.php | 2 | ||||
-rw-r--r-- | views/default/css.php | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/views/default/ajax/loader.php b/views/default/ajax/loader.php index fd0061620..62167c971 100644 --- a/views/default/ajax/loader.php +++ b/views/default/ajax/loader.php @@ -13,7 +13,7 @@ $loader = <<< END
- <div align="center"><img src="{$vars['url']}_graphics/ajax_loader.gif" /></div>
+ <div align="center" class="ajax_loader"></div>
END;
diff --git a/views/default/css.php b/views/default/css.php index 0da9d8be2..0701a99a6 100644 --- a/views/default/css.php +++ b/views/default/css.php @@ -2165,4 +2165,8 @@ a.toggle_customise_edit_panel:hover { width:683px; } - +div.ajax_loader { + background: url(<?php echo $vars['url']; ?>_graphics/ajax_loader.gif) no-repeat top center; + width:100%; + height:33px; +} |