diff --git a/app/email_templates/email_templates.php b/app/email_templates/email_templates.php index 84a6f35beb..6b84ce4f39 100644 --- a/app/email_templates/email_templates.php +++ b/app/email_templates/email_templates.php @@ -17,7 +17,7 @@ The Initial Developer of the Original Code is Mark J Crane - Portions created by the Initial Developer are Copyright (C) 2016 + Portions created by the Initial Developer are Copyright (C) 2016-2018 the Initial Developer. All Rights Reserved. */ @@ -74,6 +74,7 @@ $sql_search .= " or template_subcategory like '%".$search."%' "; //$sql_search .= " or template_subject like '%".$search."%' "; //$sql_search .= " or template_body like '%".$search."%' "; + $sql_search .= " or template_type like '%".$search."%' "; $sql_search .= " or template_enabled like '%".$search."%' "; $sql_search .= " or lower(template_description) like '%".$search."%' "; $sql_search .= ") "; @@ -195,6 +196,7 @@ echo th_order_by('template_category', $text['label-template_category'], $order_by, $order); echo th_order_by('template_subcategory', $text['label-template_subcategory'], $order_by, $order); //echo th_order_by('domain_uuid', $text['label-domain_uuid'], $order_by, $order); + echo th_order_by('template_type', $text['label-template_type'], $order_by, $order); echo th_order_by('template_enabled', $text['label-template_enabled'], $order_by, $order); echo th_order_by('template_description', $text['label-template_description'], $order_by, $order); echo " "; @@ -233,6 +235,7 @@ //echo " ".$row['template_subject']." \n"; //echo " ".$row['template_body']." \n"; //echo " ".$row['domain_uuid']." \n"; + echo " ".$row['template_type']." \n"; echo " ".$row['template_enabled']." \n"; echo " ".$row['template_description']." \n"; echo " ";