Changeset 12021 for trunk/www/db_po


Ignore:
Timestamp:
09/07/11 20:36:33 (13 years ago)
Author:
Daniela Dorner
Message:
small layout issues
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/www/db_po/get_values.php

    r12019 r12021  
    8585    }
    8686    //checkboxes to show/hide part of the table
    87     printf("Show:\n");
    88     printf("<input type='checkbox' id='sh_indices1' onclick='ShowHide(\"indices\", \"sh_indices\", 1);'>indices\n");
    89     printf("<input type='checkbox' id='sh_validsince1' onclick='ShowHide(\"validsince\", \"sh_validsince\", 1);'>validsince\n");
    90     printf("<input type='checkbox' id='sh_user1' onclick='ShowHide(\"user\", \"sh_user\", 1);'>user\n");
     87    if ($_GET["fGetValCase"]==1)//show only in edit mode
     88    {
     89        printf("Show:\n");
     90        printf("<input type='checkbox' id='sh_indices1' onclick='ShowHide(\"indices\", \"sh_indices\", 1);'>indices\n");
     91        printf("<input type='checkbox' id='sh_validsince1' onclick='ShowHide(\"validsince\", \"sh_validsince\", 1);'>validsince\n");
     92        printf("<input type='checkbox' id='sh_user1' onclick='ShowHide(\"user\", \"sh_user\", 1);'>user\n");
     93    }
    9194
    9295    if ($_GET["fGetValCase"]==1)//show only in edit mode
     
    9598        $generalshowhide='none';
    9699
    97     printf("<table font-size='-1' border='0' cellspacing='5px' width='100%%'><tbody id='valtable%s'>\n", $_GET["fGetValCase"]);
     100    printf("<table font-size='-1' border='0' cellspacing='3px' width='100%%'><tbody id='valtable%s'>\n", $_GET["fGetValCase"]);
    98101    printf("<tr>");
    99102    //printf("<th class='indices%d' style='display:%s'>Idx/Orig/Ctr</th>\n",$_GET["fGetValCase"], $generalshowhide);
Note: See TracChangeset for help on using the changeset viewer.