Subversion Repositories computer_asset_manager_v1

Rev

Rev 103 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 103 Rev 110
Line 43... Line 43...
43
   <body>
43
   <body>
44
      <?php include_once('../../menu.php'); ?>
44
      <?php include_once('../../menu.php'); ?>
45
      <div id="content">
45
      <div id="content">
46
         <h4>Edit Device Attributes</h4>
46
         <h4>Edit Device Attributes</h4>
47
         <form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post" enctype="multipart/form-data">
47
         <form action="<?php echo $_SERVER['PHP_SELF'];?>" method="post" enctype="multipart/form-data">
48
            <input type='hidden' name='license_id' value='<?php print $adding ? 'null' : $_REQUEST[ 'license_id']; ?>' />
48
            <input type='hidden' name='device_id' value='<?php print $adding ? 'null' : $_REQUEST[ 'device_id']; ?>' />
49
            <?php
49
            <?php
50
            if ( isset( $_REQUEST['device_id'] ) ) {
50
            if ( isset( $_REQUEST['device_id'] ) ) {
51
               print editDataTable( $DATABASE_DEFINITION['attrib_device'], "removed_date is null and device_id = " . $_REQUEST[ 'device_id'], array('device_id'=>$_REQUEST[ 'device_id']) );
51
               print editDataTable( $DATABASE_DEFINITION['attrib_device'], "removed_date is null and device_id = " . $_REQUEST[ 'device_id'], array('device_id'=>$_REQUEST[ 'device_id']) );
-
 
52
               
52
            } else {
53
            } else {
53
               //print "<pre>"; print_r( $DATABASE_DEFINITION ); print "</pre>";
54
               //print "<pre>"; print_r( $DATABASE_DEFINITION ); print "</pre>";
54
            ?>
55
            ?>
55
            <table border='1'>
56
            <table border='1'>
56
               <tr>
57
               <tr>