FilterEditor: hide "add" links
They where there to show how this should look like. Removed for now as they are not implemented yet. refs #6668
This commit is contained in:
parent
2b05aa9504
commit
49c679fe0f
|
@ -95,6 +95,8 @@ class FilterEditor extends AbstractWidget
|
|||
. $view->escape(t('Click to remove this part of your filter'))
|
||||
. '">' . $view->icon('remove.png') . '</a>';
|
||||
|
||||
/*
|
||||
// Temporarilly removed, not implemented yet
|
||||
$addUrl = clone($url);
|
||||
$addUrl->setParam('addToId', $idx);
|
||||
$addLink = ' <a href="' . $addUrl . '" title="'
|
||||
|
@ -103,7 +105,7 @@ class FilterEditor extends AbstractWidget
|
|||
$addLink .= ' <a href="' . $addUrl . '" title="'
|
||||
. $view->escape(t('Click to add a filter expression to this operator'))
|
||||
. '">' . t('Expression') . ' (=, <, >, <=, >=)</a>';
|
||||
|
||||
*/
|
||||
$selectedIndex = ($idx === $this->selectedIdx ? ' -<--' : '');
|
||||
$selectIndex = ' <a href="' . $markUrl . '">o</a>';
|
||||
|
||||
|
@ -125,7 +127,7 @@ class FilterEditor extends AbstractWidget
|
|||
),
|
||||
$filter->getOperatorName(),
|
||||
array('style' => 'width: 5em')
|
||||
) . $removeLink . ' ' . t('Add') . ': ' . $addLink;
|
||||
) . $removeLink; // Disabled: . ' ' . t('Add') . ': ' . $addLink;
|
||||
$html .= '<span class="handle"> </span>';
|
||||
|
||||
if ($level === 0) {
|
||||
|
|
Loading…
Reference in New Issue