addYouAreHereLink('admin', __FILE__);
// Form sent?
-if (isFormSent()) {
+if (isFormSent('save_config')) {
// Handle form ...
} else {
// Query for all imprint data rows
- $result = SQL_QUERY('SELECT `imprint_key`,`imprint_value` FROM `{?_MYSQL_PREFIX?}_imprint_data` ORDER BY `imprint_id` ASC', __FILE__, __LINE__);
+ $result = SQL_QUERY('SELECT
+ `imprint_key`,
+ `imprint_value`
+FROM
+ `{?_MYSQL_PREFIX?}_imprint_data`
+ORDER BY
+ `imprint_id` ASC', __FILE__, __LINE__);
- // Do we have entries?
+ // Are there entries?
if (!SQL_HASZERONUMS($result)) {
// Load all entries
$OUT = '';
while ($content = SQL_FETCHARRAY($result)) {
// Load row template
- $OUT .= loadTemplate('admin_list_imprint_row', true, $content);
+ $OUT .= loadTemplate('admin_list_imprint_row', TRUE, $content);
} // END - while
// Transfer all rows to $content
$content = $OUT;
} else {
// None found
- $content = loadTemplate('admin_list_imprint_row_none', true);
+ $content = loadTemplate('admin_list_imprint_row_none', TRUE);
}
// Load template
- loadTemplate('admin_list_imprint', false, $content);
+ loadTemplate('admin_list_imprint', FALSE, $content);
}
// [EOF]