mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2026-01-06 11:43:50 +00:00
Update email_templates.php
This commit is contained in:
@@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
The Initial Developer of the Original Code is
|
The Initial Developer of the Original Code is
|
||||||
Mark J Crane <markjcrane@fusionpbx.com>
|
Mark J Crane <markjcrane@fusionpbx.com>
|
||||||
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.
|
the Initial Developer. All Rights Reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
@@ -74,6 +74,7 @@
|
|||||||
$sql_search .= " or template_subcategory like '%".$search."%' ";
|
$sql_search .= " or template_subcategory like '%".$search."%' ";
|
||||||
//$sql_search .= " or template_subject like '%".$search."%' ";
|
//$sql_search .= " or template_subject like '%".$search."%' ";
|
||||||
//$sql_search .= " or template_body 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 template_enabled like '%".$search."%' ";
|
||||||
$sql_search .= " or lower(template_description) like '%".$search."%' ";
|
$sql_search .= " or lower(template_description) like '%".$search."%' ";
|
||||||
$sql_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_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('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('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_enabled', $text['label-template_enabled'], $order_by, $order);
|
||||||
echo th_order_by('template_description', $text['label-template_description'], $order_by, $order);
|
echo th_order_by('template_description', $text['label-template_description'], $order_by, $order);
|
||||||
echo " <td class='list_control_icons'>";
|
echo " <td class='list_control_icons'>";
|
||||||
@@ -233,6 +235,7 @@
|
|||||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['template_subject']." </td>\n";
|
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['template_subject']." </td>\n";
|
||||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['template_body']." </td>\n";
|
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['template_body']." </td>\n";
|
||||||
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['domain_uuid']." </td>\n";
|
//echo " <td valign='top' class='".$row_style[$c]."'>".$row['domain_uuid']." </td>\n";
|
||||||
|
echo " <td valign='top' class='".$row_style[$c]."'>".$row['template_type']." </td>\n";
|
||||||
echo " <td valign='top' class='".$row_style[$c]."'>".$row['template_enabled']." </td>\n";
|
echo " <td valign='top' class='".$row_style[$c]."'>".$row['template_enabled']." </td>\n";
|
||||||
echo " <td valign='top' class='row_stylebg'>".$row['template_description']." </td>\n";
|
echo " <td valign='top' class='row_stylebg'>".$row['template_description']." </td>\n";
|
||||||
echo " <td class='list_control_icons'>";
|
echo " <td class='list_control_icons'>";
|
||||||
|
|||||||
Reference in New Issue
Block a user