summaryrefslogtreecommitdiff
path: root/modules_v3/todo/module.php
diff options
context:
space:
mode:
authorfisharebest <fisharebest@gmail.com>2012-03-24 13:06:08 +0000
committerfisharebest <fisharebest@gmail.com>2012-03-24 13:06:08 +0000
commit88524e6f82f9a37c352792be489e722692294d99 (patch)
tree4aa2372e6e5b4fc33b26897bdf4449ca0e5b06da /modules_v3/todo/module.php
parent42bbebb352b622abdb56240f8f06b5f739a82e22 (diff)
downloadwebtrees-88524e6f82f9a37c352792be489e722692294d99.tar.gz
webtrees-88524e6f82f9a37c352792be489e722692294d99.tar.bz2
webtrees-88524e6f82f9a37c352792be489e722692294d99.zip
Replace array of images with CSS.
Diffstat (limited to 'modules_v3/todo/module.php')
-rw-r--r--modules_v3/todo/module.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules_v3/todo/module.php b/modules_v3/todo/module.php
index 9027351682..58aa64846c 100644
--- a/modules_v3/todo/module.php
+++ b/modules_v3/todo/module.php
@@ -41,7 +41,7 @@ class todo_WT_Module extends WT_Module implements WT_Module_Block {
// Implement class WT_Module_Block
public function getBlock($block_id, $template=true, $cfg=null) {
- global $ctype, $WT_IMAGES, $controller;
+ global $ctype, $controller;
$show_unassigned=get_block_setting($block_id, 'show_unassigned', true);
$show_other =get_block_setting($block_id, 'show_other', true);
@@ -58,7 +58,7 @@ class todo_WT_Module extends WT_Module implements WT_Module_Block {
$id=$this->getName().$block_id;
$class=$this->getName().'_block';
if ($ctype=='gedcom' && WT_USER_GEDCOM_ADMIN || $ctype=='user' && WT_USER_ID) {
- $title='<img class="adminicon" src="'.$WT_IMAGES['admin'].'" width="15" height="15" alt="'.WT_I18N::translate('Configure').'" onclick="modalDialog(\'block_edit.php?block_id='.$block_id.'\', \''.$this->getTitle().'\');">';
+ $title='<i class="icon-admin" title="'.WT_I18N::translate('Configure').'" onclick="modalDialog(\'block_edit.php?block_id='.$block_id.'\', \''.$this->getTitle().'\');"></i>';
} else {
$title='';
}