aboutsummaryrefslogtreecommitdiffstats
path: root/admin/themes_new.php
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2010-04-29 21:34:37 +0000
committerpatdenice <patdenice@piwigo.org>2010-04-29 21:34:37 +0000
commit5a44a6f5324bb2363d4d0827cd8a94e613e72837 (patch)
tree185b799645bdc6550a64a9f9e0340768a0efdc9c /admin/themes_new.php
parent0a5b09601b647cf22d9bd4ab291c58156931a761 (diff)
- Fix tab display on IE
- Display missing screenshot on themes_new if screenshot is missing. git-svn-id: http://piwigo.org/svn/trunk@6015 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/themes_new.php')
-rw-r--r--admin/themes_new.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/admin/themes_new.php b/admin/themes_new.php
index d5403b117..fda4a03d2 100644
--- a/admin/themes_new.php
+++ b/admin/themes_new.php
@@ -139,5 +139,9 @@ else
array_push($page['errors'], l10n('Can\'t connect to server.'));
}
+$template->assign('default_screenshot',
+ get_root_url().'admin/themes/'.$conf['admin_theme'].'/images/missing_screenshot.png'
+);
+
$template->assign_var_from_handle('ADMIN_CONTENT', 'themes');
?> \ No newline at end of file