diff options
| author | Nigel Osborne <kiwi3685@me.com> | 2011-01-02 03:38:25 +0000 |
|---|---|---|
| committer | Nigel Osborne <kiwi3685@me.com> | 2011-01-02 03:38:25 +0000 |
| commit | d3621ba1e51ebc8bfa1fd588ec3537e823ecf1e1 (patch) | |
| tree | 255817d1c18f4265fc8431fa25480e2ccf4fcf90 | |
| parent | 7632007539dbf4f7c9337385c4e14ec26abe0f11 (diff) | |
| download | webtrees-d3621ba1e51ebc8bfa1fd588ec3537e823ecf1e1.tar.gz webtrees-d3621ba1e51ebc8bfa1fd588ec3537e823ecf1e1.tar.bz2 webtrees-d3621ba1e51ebc8bfa1fd588ec3537e823ecf1e1.zip | |
Changes to design of Manage media page; added admin link back to My page menu (started forum discussion); fix for missing WT_ in admin_trees_config.php on line 431
| -rw-r--r-- | admin_media.php | 167 | ||||
| -rw-r--r-- | admin_modules.php | 26 | ||||
| -rw-r--r-- | admin_trees_config.php | 2 | ||||
| -rw-r--r-- | library/WT/MenuBar.php | 7 | ||||
| -rw-r--r-- | themes/_administration/style.css | 130 | ||||
| -rw-r--r-- | themes/_administration/theme.php | 2 |
6 files changed, 112 insertions, 222 deletions
diff --git a/admin_media.php b/admin_media.php index 205cec11bc..b02d7779f0 100644 --- a/admin_media.php +++ b/admin_media.php @@ -317,8 +317,8 @@ if (check_media_structure()) { ob_start(); // Save output until action table has been printed if ($action == "deletedir") { - echo "<table class=\"list_table width100\">"; - echo "<tr><td class=\"messagebox\">"; + echo "<table class=\"media_items\">"; + echo "<tr><td>"; // Check if media directory and thumbs directory are empty $clean = false; $files = array(); @@ -446,7 +446,7 @@ if (check_media_structure()) { * @name $action->thumbnail */ if ($action == "thumbnail") { - echo "<table class=\"list_table $TEXT_DIRECTION width100\">"; + echo "<table class=\"media_items $TEXT_DIRECTION0\">"; echo "<tr><td class=\"messagebox wrap\">"; // TODO: add option to generate thumbnails for all images on page // Cycle through $medialist and skip all exisiting thumbs @@ -496,7 +496,7 @@ if (check_media_structure()) { // Move single file and optionally its corresponding thumbnail to protected dir if ($action == "moveprotected") { - echo "<table class=\"list_table $TEXT_DIRECTION width100\">"; + echo "<table class=\"media_items $TEXT_DIRECTION0\">"; echo "<tr><td class=\"messagebox wrap\">"; if (strpos($filename, "../") !== false) { // don't allow user to access directories outside of media dir @@ -518,7 +518,7 @@ if (check_media_structure()) { // Move single file and its corresponding thumbnail to standard dir if ($action == "movestandard") { - echo "<table class=\"list_table $TEXT_DIRECTION width100\">"; + echo "<table class=\"media_items $TEXT_DIRECTION0\">"; echo "<tr><td class=\"messagebox wrap\">"; if (strpos($filename, "../") !== false) { // don't allow user to access directories outside of media dir @@ -538,7 +538,7 @@ if (check_media_structure()) { // Move entire dir and all subdirs to protected dir if ($action == "movedirprotected") { - echo "<table class=\"list_table $TEXT_DIRECTION width100\">"; + echo "<table class=\"media_items $TEXT_DIRECTION0\">"; echo "<tr><td class=\"messagebox wrap\">"; echo "<strong>".WT_I18N::translate('Move to protected')."<br />"; move_files(substr($directory, 0, -1), true); @@ -548,7 +548,7 @@ if (check_media_structure()) { // Move entire dir and all subdirs to standard dir if ($action == "movedirstandard") { - echo "<table class=\"list_table $TEXT_DIRECTION width100\">"; + echo "<table class=\"media_items $TEXT_DIRECTION0\">"; echo "<tr><td class=\"messagebox wrap\">"; echo "<strong>".WT_I18N::translate('Move to standard')."<br />"; move_files(substr(get_media_firewall_path($directory), 0, -1), false); @@ -557,7 +557,7 @@ if (check_media_structure()) { } if ($action == "setpermsfix") { - echo "<table class=\"list_table $TEXT_DIRECTION width100\">"; + echo "<table class=\"media_items $TEXT_DIRECTION0\">"; echo "<tr><td class=\"messagebox wrap\">"; echo "<strong>".WT_I18N::translate('Correct read/write/execute permissions')."<br />"; set_perms(substr($directory, 0, -1)); @@ -591,7 +591,7 @@ if (check_media_structure()) { // Delete file if ($action == "deletefile") { - echo "<table class=\"list_table $TEXT_DIRECTION width100\">"; + echo "<table class=\"media_items $TEXT_DIRECTION0\">"; echo "<tr><td class=\"messagebox wrap\">"; $xrefs = array($xref); $onegedcom = true; @@ -773,26 +773,30 @@ if (check_media_structure()) { <input type="hidden" name="level" value="<?php echo $level; ?>" /> <input type="hidden" name="all" value="true" /> <input type="hidden" name="subclick" /> - <table class="facts_table center width75 <?php echo $TEXT_DIRECTION; ?>"> - <?php - if ($TEXT_DIRECTION=='ltr') $legendAlign = 'align="right"'; - else $legendAlign = 'align="left"'; - ?> - - <!-- // NOTE: Row 1 left: Sort sequence --> - <tr><td class="descriptionbox wrap width25" <?php echo $legendAlign; ?>><?php echo WT_I18N::translate('Sequence'), help_link('sortby'); ?></td> - <td class="optionbox wrap"><select name="sortby"> + <table class="media_items <?php echo $TEXT_DIRECTION; ?>"> + <tr align="center"><td class="wrap"><?php echo WT_I18N::translate('Sequence'), help_link('sortby'); ?> + <select name="sortby"> <option value="title" <?php if ($sortby=='title') echo "selected=\"selected\""; ?>><?php echo translate_fact('TITL'); ?></option> <option value="file" <?php if ($sortby=='file') echo "selected=\"selected\""; ?>><?php echo translate_fact('FILE'); ?></option> </select></td> + <td class="wrap"> + <?php echo WT_I18N::translate('Show thumbnails'), help_link('show_thumb'); ?> + <input type="checkbox" name="showthumb" value="true" <?php if ($showthumb) echo "checked=\"checked\""; ?> onclick="submit();" /> + </td> + <td class="wrap"><?php echo "<a href=\"#\" onclick=\"expand_layer('uploadmedia');\">".WT_I18N::translate('Upload media files')."</a>". help_link('upload_media'); ?></td> + <td class="wrap"><a href="javascript: <?php echo WT_I18N::translate('Add media'); ?>" onclick="window.open('addmedia.php?action=showmediaform&linktoid=new', '_blank', 'top=50, left=50, width=600, height=500, resizable=1, scrollbars=1'); return false;"> <?php echo WT_I18N::translate('Add a new media item')."</a>". help_link('add_media'); ?></td> + <?php + $tempURL = WT_SCRIPT_NAME.'?'; + if (!empty($filter)) $tempURL .= 'filter='.rawurlencode($filter).'&'; + if (!empty($subclick)) $tempURL .= "subclick={$subclick}&"; + $tempURL .= "action=thumbnail&sortby={$sortby}&all=yes&level={$level}&directory=".rawurlencode($directory).$thumbget; + ?> + <td class="wrap"><a href="<?php echo $tempURL; ?>"><?php echo WT_I18N::translate('Create missing thumbnails')."</a>". help_link('gen_missing_thumbs');?></td></tr> + </table> - <!-- // NOTE: Row 1 right, Upload media files --> - <td class="descriptionbox wrap width25" <?php echo $legendAlign; ?>><?php echo WT_I18N::translate('Upload media files'), help_link('upload_media'); ?></td> - <td class="optionbox wrap"><?php echo "<a href=\"#\" onclick=\"expand_layer('uploadmedia');\">".WT_I18N::translate('Upload media files')."</a>"; ?></td></tr> - - <!-- // NOTE: Row 2 left: Filter options --> - <tr><td class="descriptionbox wrap width25" <?php echo $legendAlign; ?>><?php echo WT_I18N::translate('Filter'), help_link('simple_filter'); ?></td> - <td class="optionbox wrap"> + <table class="media_items <?php echo $TEXT_DIRECTION; ?>"> + <tr align="center"><td><?php echo WT_I18N::translate('Folder')."</td><td>". WT_I18N::translate('Filter'), help_link('simple_filter'); ?></td><td rowspan="2"><input type="submit" name="all" value="<?php echo WT_I18N::translate('Display all'); ?>" onclick="this.form.subclick.value=this.name" /></td></tr> + <tr align="center"> <?php // Directory pick list if (empty($directory)) { @@ -801,56 +805,38 @@ if (check_media_structure()) { } if ($MEDIA_DIRECTORY_LEVELS > 0) { $folders = get_media_folders(); - echo "<span dir=\"ltr\"><select name=\"directory\">"; + echo "<td dir=\"ltr\"><select name=\"directory\">"; foreach ($folders as $f) { echo "<option value=\"".$f."\""; if ($directory==$f) echo " selected=\"selected\""; echo ">{$f}</option>"; } - echo "</select></span><br />"; + echo "</select></td>"; } else echo "<input name=\"directory\" type=\"hidden\" value=\"ALL\" />"; - // Text field for filter ?> - <input type="text" name="filter" value="<?php if ($filter) echo $filter; ?>" /><br /><input type="submit" name="search" value="<?php echo WT_I18N::translate('Filter'); ?>" onclick="this.form.subclick.value=this.name" /> <input type="submit" name="all" value="<?php echo WT_I18N::translate('Display all'); ?>" onclick="this.form.subclick.value=this.name" /></td> - - <!-- // NOTE: Row 2 right: Add media --> - <td class="descriptionbox wrap width25" <?php echo $legendAlign; ?>><?php echo WT_I18N::translate('Add media'), help_link('add_media'); ?></td> - <td class="optionbox wrap"><a href="javascript: <?php echo WT_I18N::translate('Add media'); ?>" onclick="window.open('addmedia.php?action=showmediaform&linktoid=new', '_blank', 'top=50, left=50, width=600, height=500, resizable=1, scrollbars=1'); return false;"> <?php echo WT_I18N::translate('Add a new media item'); ?></a></td></tr> - - <!-- // NOTE: Row 3 left: Show thumbnails --> - <tr> - <td class="descriptionbox wrap width25" <?php echo $legendAlign; ?>> - <?php echo WT_I18N::translate('Show thumbnails'), help_link('show_thumb'); ?> - </td> - <td class="optionbox wrap width25"> - <input type="checkbox" name="showthumb" value="true" <?php if ($showthumb) echo "checked=\"checked\""; ?> onclick="submit();" /> - </td> - - <!-- // NOTE: Row 3 right: Generate missing thumbnails --> - <?php - $tempURL = WT_SCRIPT_NAME.'?'; - if (!empty($filter)) $tempURL .= 'filter='.rawurlencode($filter).'&'; - if (!empty($subclick)) $tempURL .= "subclick={$subclick}&"; - $tempURL .= "action=thumbnail&sortby={$sortby}&all=yes&level={$level}&directory=".rawurlencode($directory).$thumbget; - ?> - <td class="descriptionbox wrap width25" <?php echo $legendAlign; ?>><?php echo WT_I18N::translate('Missing thumbnails'), help_link('gen_missing_thumbs'); ?></td> - <td class="optionbox wrap"><a href="<?php echo $tempURL; ?>"><?php echo WT_I18N::translate('Create missing thumbnails'); ?></a></td></tr> + <!-- Text field for filter --> + <td><input type="text" name="filter" value="<?php if ($filter) echo $filter; ?>" /><input type="submit" name="search" value="<?php echo WT_I18N::translate('Filter'); ?>" onclick="this.form.subclick.value=this.name" /></td> + </tr> </table> </form> <script type="text/javascript"> //<![CDATA[ jQuery(document).ready(function() { // Table pageing - jQuery("#media_table") - .tablesorter({ - sortList: [[<?php if ($showthumb) echo '2'; else echo '1'; ?>,0]], widgets: ['zebra'], - headers: { 0: { sorter: false }} - }) - .tablesorterPager({ - container: jQuery("#pager"), - positionFixed: false, - size: 15 - }); + + var oTable = jQuery('#media_table').dataTable( { + "oLanguage": { + "sLengthMenu": 'Display <select><option value="10">10</option><option value="20">20</option><option value="30">30</option><option value="40">40</option><option value="50">50</option><option value="-1">All</option></select> records' + }, + "bJQueryUI": true, + "bAutoWidth":false, + "aaSorting": [[ 1, "asc" ]], + "iDisplayLength": 10, + "sPaginationType": "full_numbers", + "aoColumnDefs": [ + { "bSortable": false, "aTargets": [ 0,1 ] } + ] + }); }); //]]> </script> @@ -865,7 +851,7 @@ jQuery(document).ready(function() { $medialist=get_medialist(true, $directory, false, false, $showExternal); - // Get the list of media items +// Get the list of media items /** * This is the default action for the page * @@ -891,12 +877,12 @@ jQuery(document).ready(function() { $uplink2 .= "\" alt=\"\" /></a>"; } // Start of media directory table - echo "<table class=\"list_table width50 $TEXT_DIRECTION\">"; + echo "<table class=\"media_items $TEXT_DIRECTION\">"; // Tell the user where he is echo "<tr>"; - echo "<td class=\"topbottombar\" colspan=\"2\">"; + echo "<td colspan=\"2\">"; echo WT_I18N::translate('Current directory'); - echo "<br />"; + echo ": "; if ($USE_MEDIA_FIREWALL) { echo $MEDIA_FIREWALL_ROOTDIR; } @@ -952,7 +938,7 @@ jQuery(document).ready(function() { $protected_files = count($files_fw); $standard_files = count($files); - echo "<br />"; +// echo "<br />"; echo "<form name=\"blah3\" action=\"".WT_SCRIPT_NAME."\" method=\"post\">"; echo "<input type=\"hidden\" name=\"directory\" value=\"".$directory."\" />"; echo "<input type=\"hidden\" name=\"level\" value=\"".($level)."\" />"; @@ -974,7 +960,7 @@ jQuery(document).ready(function() { echo "<input type=\"submit\" value=\"".WT_I18N::translate('Move ALL to standard')."\" onclick=\"this.form.action.value='movedirstandard'; \" />"; echo "<input type=\"submit\" value=\"".WT_I18N::translate('Move ALL to protected')."\" onclick=\"this.form.action.value='movedirprotected';\" />"; echo help_link('move_mediadirs'); - echo "<br />"; + echo " "; } if (!$USE_MEDIA_FIREWALL && is_dir($MEDIA_FIREWALL_ROOTDIR.$MEDIA_DIRECTORY)) { @@ -989,7 +975,7 @@ jQuery(document).ready(function() { echo "<input type=\"submit\" value=\"".WT_I18N::translate('Move ALL to standard')."\" onclick=\"this.form.action.value='movedirstandard'; \" />"; echo "<input type=\"submit\" value=\"".WT_I18N::translate('Move ALL to protected')."\" onclick=\"this.form.action.value='movedirprotected';\" />"; echo help_link('move_mediadirs'); - echo "<br />"; + echo ": "; } } @@ -1004,10 +990,10 @@ jQuery(document).ready(function() { sort($dirs); if ($pdir != '') { echo "<tr>"; - echo "<td class=\"optionbox center width10\">"; + echo "<td class=\" center\" width=\"10\">"; echo $uplink2; echo "</td>"; - echo "<td class=\"descriptionbox $TEXT_DIRECTION\">"; + echo "<td class=\"$TEXT_DIRECTION\">"; echo $uplink; echo "</td>"; echo "</tr>"; @@ -1016,7 +1002,7 @@ jQuery(document).ready(function() { foreach ($dirs as $indexval => $dir) { if ($dir{0}!=".") { echo "<tr>"; - echo "<td class=\"optionbox center width10\">"; + echo "<td class=\" center\" width=\"10\">"; // directory options echo "<form name=\"blah\" action=\"".WT_SCRIPT_NAME."\" method=\"post\">"; echo "<input type=\"hidden\" name=\"directory\" value=\"".$directory.$dir."/\" />"; @@ -1034,7 +1020,7 @@ jQuery(document).ready(function() { echo "</form>"; echo "</td>"; - echo "<td class=\"descriptionbox $TEXT_DIRECTION\">"; + echo "<td class=\"$TEXT_DIRECTION\">"; echo "<a href=\"".WT_SCRIPT_NAME."?directory=".rawurlencode($directory.$dir)."/&sortby={$sortby}&level=".($level+1).$thumbget."\">"; if ($TEXT_DIRECTION=="rtl") echo getRLM(); echo $dir; @@ -1064,12 +1050,12 @@ jQuery(document).ready(function() { ?> <div align="center"> <form class="tablesorter" method="post" action="<?php echo WT_SCRIPT_NAME; ?>"> - <table id="media_table" class="tablesorter" border="0" cellpadding="0" cellspacing="1"> + <table id="media_table"> <thead> <tr> - <th><?php echo WT_I18N::translate('Edit options'); ?></th> + <th width="160px"><?php echo WT_I18N::translate('Edit options'); ?></th> <?php if ($showthumb) { ?> - <th><?php echo WT_I18N::translate('Media'); ?></th> + <th width="160px"><?php echo WT_I18N::translate('Media'); ?></th> <?php } ?> <th><?php echo WT_I18N::translate('Description'); ?></th> </tr> @@ -1102,7 +1088,7 @@ jQuery(document).ready(function() { // Show column with file operations options $printDone = true; - echo "<tr><td class=\"optionbox $changeClass $TEXT_DIRECTION width20\">"; + echo "<tr><td class=\" $changeClass $TEXT_DIRECTION\">"; if ($media["CHANGE"]!="delete") { // Edit File @@ -1211,7 +1197,7 @@ jQuery(document).ready(function() { //-- Thumbnail field if ($showthumb) { - echo "<td class=\"optionbox $changeClass $TEXT_DIRECTION width10\">"; + echo "<td class=\" $changeClass $TEXT_DIRECTION\">"; // if Streetview object if (strpos($media["FILE"], 'http://maps.google.')===0) { echo '<iframe style="float:left; padding:5px;" width="264" height="176" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="', $media["FILE"], '&output=svembed"></iframe>'; @@ -1224,7 +1210,7 @@ jQuery(document).ready(function() { } //-- name and size field - echo "<td class=\"optionbox $changeClass $TEXT_DIRECTION wrap\">"; + echo "<td class=\" $changeClass $TEXT_DIRECTION wrap\">"; if ($media["TITL"]!="" && begRTLText($media["TITL"]) && $TEXT_DIRECTION=="ltr") { if (!empty($media["XREF"])) { echo "(".$media["XREF"].")"; @@ -1263,7 +1249,6 @@ jQuery(document).ready(function() { if ($USE_MEDIA_FIREWALL) { - echo "<br /><br />"; if ($media["EXISTS"]) { switch ($media["EXISTS"]) { case 1: @@ -1298,29 +1283,13 @@ jQuery(document).ready(function() { break; } } - if ($passCount==1 && $printDone) echo "<tr><td class=\"optionbox\" colspan=\"3\"> </td></tr>"; + if ($passCount==1 && $printDone) echo "<tr><td class=\"\" colspan=\"3\"> </td></tr>"; } ?> </tbody> </table> - </form><br /> - <div id="pager" class="pager"> - <form> - <img src="<?php echo WT_THEME_DIR; ?>images/jquery/first.png" class="first"/> - <img src="<?php echo WT_THEME_DIR; ?>images/jquery/prev.png" class="prev"/> - <input type="text" class="pagedisplay"/> - <img src="<?php echo WT_THEME_DIR; ?>images/jquery/next.png" class="next"/> - <img src="<?php echo WT_THEME_DIR; ?>images/jquery/last.png" class="last"/> - <select class="pagesize"> - <option value="10">10</option> - <option selected="selected" value="15">15</option> - <option value="30">30</option> - <option value="40">40</option> - <option value="50">50</option> - <option value="100">100</option> - </select> - </form> - </div> <?php + </form> + <?php } } ?> </div> <?php diff --git a/admin_modules.php b/admin_modules.php index 1ef2e95845..ebff859281 100644 --- a/admin_modules.php +++ b/admin_modules.php @@ -144,19 +144,19 @@ print_header(WT_I18N::translate('Module administration')); jQuery(document).ready(function() { - var oTable = jQuery('#installed_table').dataTable( { - "oLanguage": { - "sLengthMenu": 'Display <select><option value="10">10</option><option value="20">20</option><option value="30">30</option><option value="40">40</option><option value="50">50</option><option value="-1">All</option></select> records' - }, - "bJQueryUI": true, - "bAutoWidth":false, - "aaSorting": [[ 1, "asc" ]], - "iDisplayLength": 15, - "sPaginationType": "full_numbers", - "aoColumnDefs": [ - { "bSortable": false, "aTargets": [ 0 ] } - ] - }); + var oTable = jQuery('#installed_table').dataTable( { + "oLanguage": { + "sLengthMenu": 'Display <select><option value="10">10</option><option value="20">20</option><option value="30">30</option><option value="40">40</option><option value="50">50</option><option value="-1">All</option></select> records' + }, + "bJQueryUI": true, + "bAutoWidth":false, + "aaSorting": [[ 1, "asc" ]], + "iDisplayLength": 15, + "sPaginationType": "full_numbers", + "aoColumnDefs": [ + { "bSortable": false, "aTargets": [ 0 ] } + ] + }); }); //]]> </script> diff --git a/admin_trees_config.php b/admin_trees_config.php index 002eb4e695..ccf8626f0e 100644 --- a/admin_trees_config.php +++ b/admin_trees_config.php @@ -428,7 +428,7 @@ print_header(WT_I18N::translate('Configure family tree')); <?php print_findindi_link("NEW_PEDIGREE_ROOT_ID", ""); if ($PEDIGREE_ROOT_ID) { - $person=Person::getInstance($PEDIGREE_ROOT_ID); + $person=WT_Person::getInstance($PEDIGREE_ROOT_ID); if ($person) { echo ' <span class="list_item">', $person->getFullName(), ' ', $person->format_first_major_fact(WT_EVENTS_BIRT, 1), '</span>'; } else { diff --git a/library/WT/MenuBar.php b/library/WT/MenuBar.php index 34ec27cc11..4707f03f95 100644 --- a/library/WT/MenuBar.php +++ b/library/WT/MenuBar.php @@ -104,6 +104,13 @@ class WT_MenuBar { $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_indis"); $menu->addSubmenu($submenu); } + if (WT_USER_GEDCOM_ADMIN) { + //-- admin submenu + $submenu = new WT_Menu(WT_i18n::translate('Administration'), "admin.php"); + $submenu->addIcon('admin'); + $submenu->addClass("submenuitem$ff", "submenuitem_hover$ff", "", "icon_small_admin"); + $menu->addSubmenu($submenu); + } return $menu; } diff --git a/themes/_administration/style.css b/themes/_administration/style.css index d22dd1f0e6..58633860a3 100644 --- a/themes/_administration/style.css +++ b/themes/_administration/style.css @@ -31,24 +31,29 @@ /* general styles */ body { font-size:12px; margin:10px;} -.ui-widget-content a {text-decoration:none;} -.ui-widget-content a.current {color:#E17009; font-weight:bold;} -.ui-widget-content a:hover {color:red; cursor:hand; cursor:pointer;} -.ui-widget-header {padding:5px;} -.css_right {float:right;} input.ui-button { padding:1px 3px;} input, textarea { color:black; padding-left:3px; padding-right:3px;} fieldset {margin:8px 8px 4px 8px;} legend {font-style:italic; font-weight:bold; padding:0 5px 5px; align:top;} img {border:none;} +h3 {margin:0} +h4 {margin: 5px 3px; font-weight:normal; font-style:italic;} .icon {border:none; padding-left:0pt;padding-right:5pt;} .warning, .error, .red { font-weight:bold; color:red;} .accepted { font-weight:bold; color:green;} .center {text-align:center;} .nowrap {white-space:nowrap;} .indent {padding-left:15px;} -h3 {margin:0} -h4 {margin: 5px 3px; font-weight:normal; font-style:italic;} +.ui-widget-content a {text-decoration:none;} +.ui-widget-content a.current {color:#E17009; font-weight:bold;} +.ui-widget-content a:hover {color:red; cursor:hand; cursor:pointer;} +.ui-widget-header {padding:5px;} +.css_right {float:right;} + +/* Drag-n-drop sorting for modules, etc. */ +.sortme {cursor: move;} + +/* Page Help links */ #page_help{text-align:right;} #page_help img{ height: 24px; margin: -5px; padding: 0; width: 24px;} @@ -188,105 +193,14 @@ table#adduser2 {margin-left:30px; margin-bottom:20px; width:80%;} #installed_table_paginate {float:right;} #installed_table th {min-width: 60px;} - -/* help text pop-ups */ -.help { - cursor:help; -} - -.helpcontent { - margin-left:10px; - margin-right:10px; -} - -.helpfooter { - margin:10px; -} - -.helpheader { - margin:10px; - font-size:18px; - font-weight:bold; - color:black; -} - -.helpstart { - margin:10px; - font-size:14px; - color:blue; - text-decoration:none; - font-weight: bold; -} - -.helptext { - font-size:12px; - color:black; -} -/*------------------------------------------------*/ -/* General Info page */ - - -/* GEDCOM management */ - -table#gedcom_table { - border-bottom:solid #81a9cb 1px; - vertical-align:top; - white-space:nowrap; - padding:3px; - width:100%; -} - -table#gedcom_table .gedcom { - font-weight:bold; - font-size:12px; - width:40%; -} - -table#gedcom_table .defaults { - font-weight:bold; - font-size:12px; - text-align:center; - width:25%; - color:#666666; -} - -table#site_config { - font-size:12px; -}/ - - -.facts_table, .facts_table_rtl { - width:100%; -} - -.facts_value { - border-bottom:solid #81a9cb 1px; - text-align:left; - padding:3px; -} - -/* jQuery UI CSS customisations -.css_right {float:right;} -.ui-toolbar {padding:5px;}*/ - -/* Text direction -.ltr {text-align:left;} -.rtl {text-align:right; direction:rtl;}*/ - -/*#admin_content dt { - float:left; - width:300px; -} - -#admin_content dd { - color: grey; - font-size:14px; - font-style:italic; - padding-top:3px; -}*/ - -/* Drag-n-drop sorting for modules, etc. */ -.sortme { - cursor: move; -} +/* MANAGE MEDIA */ +table#media_table {width:100%;} +#media_table_length {float:left;} +#media_table_filter {float:right;} +#media_table_info {float:left;} +#media_table_paginate {float:right;} +#media_table th {min-width: 60px;} +#media_table td {vertical-align:top; padding:5px;} +.media_items {width:100%; margin:0;} +.media_items td {background:OldLace; padding:5px; border:1px inset #D9D6C4;} diff --git a/themes/_administration/theme.php b/themes/_administration/theme.php index 577a79f9f3..569f9fd667 100644 --- a/themes/_administration/theme.php +++ b/themes/_administration/theme.php @@ -49,7 +49,7 @@ $WT_IMAGES=array( 'zoomin'=>WT_THEME_DIR.'images/zoomin.gif',
'zoomout'=>WT_THEME_DIR.'images/zoomout.gif',
'minus'=>WT_THEME_DIR.'images/minus.gif',
- 'plus'=>WT_THEME_DIR.'images/plus.gif',
+ 'plus'=>WT_THEME_DIR.'images/open.png',
'rarrow2'=>WT_THEME_DIR.'images/rarrow2.gif',
'larrow2'=>WT_THEME_DIR.'images/larrow2.gif',
'darrow2'=>WT_THEME_DIR.'images/darrow2.gif',
|
