Add the app uuid and order by to the dialplan search

This commit is contained in:
Mark Crane
2014-07-27 05:10:21 +00:00
parent e1fc07acd8
commit 5b2bf91e5c

View File

@@ -98,6 +98,13 @@ else {
echo " <form method='get' action=''>\n";
echo " <td width='50%' align='right'>\n";
echo " <input type='text' class='txt' style='width: 150px' name='search' value='$search'>";
if (strlen($app_uuid) == 0) {
echo " <input type='hidden' class='txt' name='app_uuid' value='$app_uuid'>";
}
if (strlen($order_by) == 0) {
echo " <input type='hidden' class='txt' name='order' value='$order_by'>";
echo " <input type='hidden' class='txt' name='order' value='$order'>";
}
echo " <input type='submit' class='btn' name='submit' value='".$text['button-search']."'>";
echo " </td>\n";
echo " </form>\n";