diff options
author | Luc Didry <luc@didry.org> | 2013-03-26 01:05:08 +0400 |
---|---|---|
committer | Luc Didry <luc@didry.org> | 2013-03-26 01:29:05 +0400 |
commit | b8ec8487a4d027d7b78485e1d6c65f9c84bdf81e (patch) | |
tree | be74e0125be3e7785a16c744a226a7da2b782d0e /tattoo | |
parent | 5a9ad45e3fc3b8717ffbfbf5f44978e520d73c02 (diff) |
Fix img path with OCP\image_path
Thx to @eMerzh for pointing it
Diffstat (limited to 'tattoo')
-rw-r--r-- | tattoo/templates/settings.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tattoo/templates/settings.php b/tattoo/templates/settings.php index a1be232d5..563feb22a 100644 --- a/tattoo/templates/settings.php +++ b/tattoo/templates/settings.php @@ -6,19 +6,19 @@ <input type="radio" name="tattooWallpaper" value="none"<?php if ($_['tattooSelectedWallpaper']=='none') print_unescaped(' checked="checked"'); ?>/> </div> <div class="tattooTile"> - <div class="tattooTilePicture"><img src="../../apps/tattoo/img/tattoo-tattoo.png" width="71" height="71"></div> + <div class="tattooTilePicture"><img src="<?php print_unescaped(OCP\image_path('tattoo', 'tattoo-tattoo.png')); ?>" width="71" height="71"></div> <input type="radio" name="tattooWallpaper" value="tattoo-tattoo.png"<?php if ($_['tattooSelectedWallpaper']=='tattoo-tattoo.png') print_unescaped(' checked="checked"'); ?>/> </div> <div class="tattooTile"> - <div class="tattooTilePicture"><img src="../../apps/tattoo/img/tattoo-cat.png" width="71" height="71"></div> + <div class="tattooTilePicture"><img src="<?php print_unescaped(OCP\image_path('tattoo', 'tattoo-cat.png')); ?>" width="71" height="71"></div> <input type="radio" name="tattooWallpaper" value="tattoo-cat.png"<?php if ($_['tattooSelectedWallpaper']=='tattoo-cat.png') print_unescaped(' checked="checked"'); ?>/> </div> <div class="tattooTile"> - <div class="tattooTilePicture"><img src="../../apps/tattoo/img/tattoo-clouds.png" width="71" height="71"></div> + <div class="tattooTilePicture"><img src="<?php print_unescaped(OCP\image_path('tattoo', 'tattoo-clouds.png')); ?>" width="71" height="71"></div> <input type="radio" name="tattooWallpaper" value="tattoo-clouds.png"<?php if ($_['tattooSelectedWallpaper']=='tattoo-clouds.png') print_unescaped(' checked="checked"'); ?>/> </div> <div class="tattooTile"> - <div class="tattooTilePicture"><img src="../../apps/tattoo/img/tattoo-sun.png" width="71" height="71"></div> + <div class="tattooTilePicture"><img src="<?php print_unescaped(OCP\image_path('tattoo', 'tattoo-sun.png')); ?>" width="71" height="71"></div> <input type="radio" name="tattooWallpaper" value="tattoo-sun.png"<?php if ($_['tattooSelectedWallpaper']=='tattoo-sun.png') print_unescaped(' checked="checked"'); ?>/> </div> <br/> |