message('Error: Broken link');
return './~file_name~';
}
- $row = db_get_assoc('~table_name~', 'id,'.~file_name upper~_DB_FIELDS, 'where id=%i', $id);
- if(!$row) {
+ $data = db_get_assoc('~table_name~', 'id,'.~file_name upper~_DB_FIELDS, 'where id=%i', $id);
+ if(!$data) {
message('Error: ~singular cap~ not found');
return './~file_name~';
}
- tem_set('display', $row);
+ tem_set('display', $data);
}
function ~file_name~_edit_main() {<!--~}~--><!--~pulldowns {~-->