summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNigel Osborne <kiwi3685@me.com>2011-01-02 03:52:54 +0000
committerNigel Osborne <kiwi3685@me.com>2011-01-02 03:52:54 +0000
commit9cd4b2061cabdb1edb6a451d7d06f48d22dc7502 (patch)
treee21dd3dcbc99e694938a660a9b93aca1cc81f872
parentd3621ba1e51ebc8bfa1fd588ec3537e823ecf1e1 (diff)
downloadwebtrees-9cd4b2061cabdb1edb6a451d7d06f48d22dc7502.tar.gz
webtrees-9cd4b2061cabdb1edb6a451d7d06f48d22dc7502.tar.bz2
webtrees-9cd4b2061cabdb1edb6a451d7d06f48d22dc7502.zip
Changes to design of Manage media page
-rw-r--r--admin_media.php10
-rw-r--r--themes/_administration/theme.php1
2 files changed, 6 insertions, 5 deletions
diff --git a/admin_media.php b/admin_media.php
index b02d7779f0..72a29a71bc 100644
--- a/admin_media.php
+++ b/admin_media.php
@@ -880,7 +880,7 @@ jQuery(document).ready(function() {
echo "<table class=\"media_items $TEXT_DIRECTION\">";
// Tell the user where he is
echo "<tr>";
- echo "<td colspan=\"2\">";
+ echo "<td colspan=\"4\">";
echo WT_I18N::translate('Current directory');
echo ":&nbsp;&nbsp;&nbsp;";
if ($USE_MEDIA_FIREWALL) {
@@ -1012,14 +1012,14 @@ jQuery(document).ready(function() {
echo "<input type=\"hidden\" name=\"action\" value=\"\" />";
echo "<input type=\"hidden\" name=\"showthumb\" value=\"{$showthumb}\" />";
echo "<input type=\"hidden\" name=\"sortby\" value=\"{$sortby}\" />";
- echo "<input type=\"image\" src=\"".$WT_IMAGES["remove"]."\" alt=\"".WT_I18N::translate('Delete')."\" onclick=\"this.form.action.value='deletedir';return confirm('".WT_I18N::translate('Are you sure you want to delete this folder?')."');\" />";
+ echo "<input type=\"image\" src=\"".$WT_IMAGES["remove"]."\" alt=\"".WT_I18N::translate('Delete')."\" onclick=\"this.form.action.value='deletedir';return confirm('".WT_I18N::translate('Are you sure you want to delete this folder?')."');\" /></td>";
if ($USE_MEDIA_FIREWALL) {
- echo "<br /><input type=\"submit\" value=\"".WT_I18N::translate('Move to standard')."\" onclick=\"this.form.level.value=(this.form.level.value*1)+1;this.form.action.value='movedirstandard';\" />";
- echo "<br /><input type=\"submit\" value=\"".WT_I18N::translate('Move to protected')."\" onclick=\"this.form.level.value=(this.form.level.value*1)+1;this.form.action.value='movedirprotected';\" />";
+ echo "<td width=\"120\"><input type=\"submit\" value=\"".WT_I18N::translate('Move to standard')."\" onclick=\"this.form.level.value=(this.form.level.value*1)+1;this.form.action.value='movedirstandard';\" /></td>";
+ echo "<td width=\"120\"><input type=\"submit\" value=\"".WT_I18N::translate('Move to protected')."\" onclick=\"this.form.level.value=(this.form.level.value*1)+1;this.form.action.value='movedirprotected';\" /></td>";
}
echo "</form>";
- echo "</td>";
+ // echo "</td>";
echo "<td class=\"$TEXT_DIRECTION\">";
echo "<a href=\"".WT_SCRIPT_NAME."?directory=".rawurlencode($directory.$dir)."/&amp;sortby={$sortby}&amp;level=".($level+1).$thumbget."\">";
if ($TEXT_DIRECTION=="rtl") echo getRLM();
diff --git a/themes/_administration/theme.php b/themes/_administration/theme.php
index 569f9fd667..2dbb533d2d 100644
--- a/themes/_administration/theme.php
+++ b/themes/_administration/theme.php
@@ -50,6 +50,7 @@ $WT_IMAGES=array(
'zoomout'=>WT_THEME_DIR.'images/zoomout.gif',
'minus'=>WT_THEME_DIR.'images/minus.gif',
'plus'=>WT_THEME_DIR.'images/open.png',
+ 'remove'=>WT_THEME_DIR.'images/delete.png',
'rarrow2'=>WT_THEME_DIR.'images/rarrow2.gif',
'larrow2'=>WT_THEME_DIR.'images/larrow2.gif',
'darrow2'=>WT_THEME_DIR.'images/darrow2.gif',