Skip to content

Commit

Permalink
Added a search placeholder in campaigns page
Browse files Browse the repository at this point in the history
Signed-off-by: Xheni Myrtaj <myrtajxheni@gmail.com>
  • Loading branch information
xh3n1 committed Jul 3, 2019
1 parent c0a8270 commit 39aa0af
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions public_html/lists/admin/messages.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
$subselect = $whereClause = '';
$action_result = '';
$access = accessLevel('messages');
$filterSelectDefault = ' --- '.s('filter').' --- ';

$messageSortOptions = array(
'subjectasc' => array(
Expand Down Expand Up @@ -158,12 +157,10 @@
echo '</div>';

$filterDisplay = $_SESSION['messagefilter'];
if ($filterDisplay == '') {
$filterDisplay = $filterSelectDefault;
}

echo '<div id="messagefilter" class="filterdiv fright">';
echo formStart(' id="messagefilterform" ');
echo '<div><input type="text" name="filter" value="'.htmlspecialchars($filterDisplay).'" id="filtertext" />';
echo '<div><input type="text" name="filter" placeholder="&#128269;'.s('Search campaigns').'" value="'.htmlspecialchars($filterDisplay).'" />';

echo '<select name="numPP" class="numppOptions">';
foreach (array(5, 10, 15, 20, 50, 100) as $numppOption) {
Expand Down

0 comments on commit 39aa0af

Please sign in to comment.