Browse Source

Fix misc values tool

spaghetti 8 years ago
parent
commit
b1d6fe88db
1 changed files with 8 additions and 8 deletions
  1. 8
    8
      sections/tools/development/misc_values.php

+ 8
- 8
sections/tools/development/misc_values.php View File

@@ -50,8 +50,8 @@ if (isset($_POST['submit'])) {
50 50
         }
51 51
 
52 52
         $Name = db_string($_POST['name']);
53
-        $Value = db_string($_POST['first']);
54
-        $Comment = db_string($_POST['second']);
53
+        $First = db_string($_POST['first']);
54
+        $Second = db_string($_POST['second']);
55 55
 
56 56
         if ($_POST['submit'] == 'Edit') {
57 57
             $DB->query("SELECT Name FROM misc WHERE ID = '" . db_string($_POST['id']) . "'");
@@ -104,13 +104,13 @@ View::show_header('Miscellaneous Values');
104 104
         <input type="hidden" name="action" value="misc_values" />
105 105
         <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
106 106
         <td>
107
-          <input type="text" size="40" name="name" />
107
+          <input type="text" size="20" name="name" />
108 108
         </td>
109 109
         <td>
110
-          <input type="text" size="20" name="first" />
110
+          <input type="text" size="60" name="first" />
111 111
         </td>
112 112
         <td>
113
-          <input type="text" size="75" name="second" />
113
+          <input type="text" size="60" name="second" />
114 114
         </td>
115 115
         <td>
116 116
           <input type="submit" name="submit" value="Create" />
@@ -126,13 +126,13 @@ while (list($ID, $Name, $First, $Second) = $DB->next_record()) {
126 126
         <input type="hidden" name="action" value="misc_values" />
127 127
         <input type="hidden" name="auth" value="<?=$LoggedUser['AuthKey']?>" />
128 128
         <td>
129
-          <input type="text" size="40" name="name" value="<?=$Name?>" />
129
+          <input type="text" size="20" name="name" value="<?=$Name?>" />
130 130
         </td>
131 131
         <td>
132
-          <input type="text" size="20" name="value" value="<?=$First?>" />
132
+          <input type="text" size="60" name="first" value="<?=$First?>" />
133 133
         </td>
134 134
         <td>
135
-          <input type="text" size="75" name="comment" value="<?=$Second?>" />
135
+          <input type="text" size="60" name="second" value="<?=$Second?>" />
136 136
         </td>
137 137
         <td>
138 138
           <input type="submit" name="submit" value="Edit" />

Loading…
Cancel
Save