Rev 1116 | Rev 1143 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1116 | Rev 1138 | ||
---|---|---|---|
Line 88... | Line 88... | ||
88 | return; |
88 | return; |
89 | } |
89 | } |
90 | 90 | ||
91 | $output = '<div class="container box"><div id="suboid_table" class="table-responsive">'; |
91 | $output = '<div class="container box"><div id="suboid_table" class="table-responsive">'; |
92 | $output .= '<table class="table table-bordered table-striped">'; |
92 | $output .= '<table class="table table-bordered table-striped">'; |
- | 93 | $output .= '<thead>'; |
|
93 | $output .= ' <tr>'; |
94 | $output .= ' <tr>'; |
94 | $output .= ' <th>'._L('Setting').'</th>'; |
95 | $output .= ' <th>'._L('Setting').'</th>'; |
95 | $output .= ' <th>'._L('Description').'</th>'; |
96 | $output .= ' <th>'._L('Description').'</th>'; |
96 | $output .= ' <th>'._L('Value').'</th>'; |
97 | $output .= ' <th>'._L('Value').'</th>'; |
97 | $output .= ' <th>'._L('Update').'</th>'; |
98 | $output .= ' <th>'._L('Update').'</th>'; |
98 | $output .= ' </tr>'; |
99 | $output .= ' </tr>'; |
- | 100 | $output .= '</thead>'; |
|
- | 101 | $output .= '<tbody>'; |
|
99 | 102 | ||
100 | OIDplus::config(); // <-- make sure that the config table is loaded/filled correctly before we do a select |
103 | OIDplus::config(); // <-- make sure that the config table is loaded/filled correctly before we do a select |
101 | 104 | ||
102 | $result = OIDplus::db()->query("select * from ###config where visible = ? order by name", array(true)); |
105 | $result = OIDplus::db()->query("select * from ###config where visible = ? order by name", array(true)); |
103 | while ($row = $result->fetch_object()) { |
106 | while ($row = $result->fetch_object()) { |
Line 114... | Line 117... | ||
114 | $output .= ' <td><button type="button" name="config_update_'.$row->name.'" id="config_update_'.$row->name.'" class="btn btn-success btn-xs update" onclick="OIDplusPageAdminSystemConfig.crudActionConfigUpdate('.js_escape($row->name).')">'._L('Update').'</button></td>'; |
117 | $output .= ' <td><button type="button" name="config_update_'.$row->name.'" id="config_update_'.$row->name.'" class="btn btn-success btn-xs update" onclick="OIDplusPageAdminSystemConfig.crudActionConfigUpdate('.js_escape($row->name).')">'._L('Update').'</button></td>'; |
115 | } |
118 | } |
116 | $output .= '</tr>'; |
119 | $output .= '</tr>'; |
117 | } |
120 | } |
118 | 121 | ||
- | 122 | $output .= '</tbody>'; |
|
119 | $output .= '</table>'; |
123 | $output .= '</table>'; |
120 | $output .= '</div></div>'; |
124 | $output .= '</div></div>'; |
121 | 125 | ||
122 | $output .= '<br><p>'._L('See also').':</p>'; |
126 | $output .= '<br><p>'._L('See also').':</p>'; |
123 | $output .= '<ul>'; |
127 | $output .= '<ul>'; |