Update contacts.php

Fix the header on the contacts page so it will look better on smaller screens.
This commit is contained in:
FusionPBX 2016-08-04 20:00:23 -06:00 committed by GitHub
parent 199f06fe84
commit a2d84a20b5
1 changed files with 33 additions and 31 deletions

View File

@ -17,16 +17,20 @@
The Initial Developer of the Original Code is
Mark J Crane <markjcrane@fusionpbx.com>
Portions created by the Initial Developer are Copyright (C) 2008-2015
Portions created by the Initial Developer are Copyright (C) 2008-2016
the Initial Developer. All Rights Reserved.
Contributor(s):
Mark J Crane <markjcrane@fusionpbx.com>
*/
//includes
require_once "root.php";
require_once "resources/require.php";
require_once "resources/check_auth.php";
require_once "resources/paging.php";
//check permissions
if (permission_exists('contact_view')) {
//access granted
}
@ -197,12 +201,8 @@ else {
echo " <td align='left' valign='top' width='50%'>\n";
echo " <b>".$text['header-contacts']."</b>\n";
echo " <br /><br />";
echo " ".$text['description-contacts']."<br /><br />\n";
echo " </td>\n";
echo " <td align='right' valign='top' width='50%'>\n";
echo " <table border='0' cellpadding='0' cellspacing='0'>\n";
echo " <tr>\n";
echo " <td valign='middle' nowrap>\n";
echo " <td align='right' valign='top' width='50%' nowrap='nowrap'>\n";
echo " <form method='get' name='frm_search' action=''>\n";
echo " <input class='formfld' style='text-align: right;' type='text' name='search_all' id='search_all' value=\"".$search_all."\">\n";
echo " <input class='btn' type='submit' name='submit' value=\"".$text['button-search']."\">\n";
@ -215,7 +215,9 @@ else {
echo " <td valign='middle' nowrap style='padding-left: 15px;'>".$paging_controls_mini."</td>\n";
}
echo " </tr>\n";
echo " </table>\n";
echo " <tr>\n";
echo " <td colspan='3'>\n";
echo " ".$text['description-contacts']."<br /><br />\n";
echo " </td>\n";
echo " </tr>\n";
echo "</table>\n";