diff options
| author | fisharebest <fisharebest@gmail.com> | 2010-07-17 08:38:18 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2010-07-17 08:38:18 +0000 |
| commit | 6c8fe253b24c89f098742b12775c1cd524ac5482 (patch) | |
| tree | 1788c99a90fa3502aec0712d44d2d4c28f37e303 /index_edit.php | |
| parent | 22d91a49657fbb1940274ae882f900736b9df866 (diff) | |
| download | webtrees-6c8fe253b24c89f098742b12775c1cd524ac5482.tar.gz webtrees-6c8fe253b24c89f098742b12775c1cd524ac5482.tar.bz2 webtrees-6c8fe253b24c89f098742b12775c1cd524ac5482.zip | |
Combine WT_THEME_DIR with WT_IMAGES. This reduces repetition, and will allow themes to share common images, e.g. in the images directory.
Diffstat (limited to 'index_edit.php')
| -rw-r--r-- | index_edit.php | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/index_edit.php b/index_edit.php index cae46f5536..2bcf0da779 100644 --- a/index_edit.php +++ b/index_edit.php @@ -68,12 +68,12 @@ if (!isset($index)) $index=1; $block_id=safe_REQUEST($_REQUEST, 'block_id'); // Define all the icons we're going to use -$IconUarrow = "<img src=\"".$WT_IMAGE_DIR.'/'.$WT_IMAGES['uarrow']['other']."\" width=\"20\" height=\"20\" alt=\"\" />"; -$IconDarrow = "<img src=\"".$WT_IMAGE_DIR.'/'.$WT_IMAGES['darrow']['other']."\" width=\"20\" height=\"20\" alt=\"\" />"; -$IconRarrow = "<img src=\"".$WT_IMAGE_DIR.'/'.$WT_IMAGES['rarrow']['other']."\" width=\"20\" height=\"20\" alt=\"\" />"; -$IconLarrow = "<img src=\"".$WT_IMAGE_DIR.'/'.$WT_IMAGES['larrow']['other']."\" width=\"20\" height=\"20\" alt=\"\" />"; -$IconRDarrow = "<img src=\"".$WT_IMAGE_DIR.'/'.$WT_IMAGES['rdarrow']['other']."\" width=\"20\" height=\"20\" alt=\"\" />"; -$IconLDarrow = "<img src=\"".$WT_IMAGE_DIR.'/'.$WT_IMAGES['ldarrow']['other']."\" width=\"20\" height=\"20\" alt=\"\" />"; +$IconUarrow = "<img src=\"".$WT_IMAGES['uarrow']['other']."\" width=\"20\" height=\"20\" alt=\"\" />"; +$IconDarrow = "<img src=\"".$WT_IMAGES['darrow']['other']."\" width=\"20\" height=\"20\" alt=\"\" />"; +$IconRarrow = "<img src=\"".$WT_IMAGES['rarrow']['other']."\" width=\"20\" height=\"20\" alt=\"\" />"; +$IconLarrow = "<img src=\"".$WT_IMAGES['larrow']['other']."\" width=\"20\" height=\"20\" alt=\"\" />"; +$IconRDarrow = "<img src=\"".$WT_IMAGES['rdarrow']['other']."\" width=\"20\" height=\"20\" alt=\"\" />"; +$IconLDarrow = "<img src=\"".$WT_IMAGES['ldarrow']['other']."\" width=\"20\" height=\"20\" alt=\"\" />"; $all_blocks=array(); foreach (WT_Module::getActiveBlocks() as $name=>$block) { |
