X-Git-Url: https://git.mxchange.org/?p=mailer.git;a=blobdiff_plain;f=inc%2Fmodules%2Fadmin%2Fwhat-config_register.php;h=0744101ffcd8a986c932942b5320640480875f2f;hp=4cba9e31e0f586254a849fad3a5f506c91b5a801;hb=76fd13e5938a334f08e43893eb9a4ff49f72bf07;hpb=38a92ff3698a71039adcc05c0c63260c231ea1b5 diff --git a/inc/modules/admin/what-config_register.php b/inc/modules/admin/what-config_register.php index 4cba9e31e0..0744101ffc 100644 --- a/inc/modules/admin/what-config_register.php +++ b/inc/modules/admin/what-config_register.php @@ -73,16 +73,10 @@ while ($content = SQL_FETCHARRAY($result)) { // Add more data $content['sw'] = $SW; - $content['selection'] = addSelectionBox('yn', $content['field_required'], "sel[".$content['id']."]"); + $content['selection'] = addSelectionBox('yn', $content['field_required'], 'sel[' . $content['id'] . ']'); // @TODO Move this HTML code into a template - $OUT .= " - ".$content['id']." - ".$content['field_name']." - - ".$content['selection']." - -\n"; + $OUT .= loadTemplate('admin_config_register_row', true, $content); // Switch color $SW = 3 - $SW;