-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[4] Search Term Analysis Empty State (#33495)
* Search Term Analysis Empty State * set property default Co-authored-by: Quy <quy@fluxbb.org>
- Loading branch information
Phil E. Taylor
and
Quy
committed
May 5, 2021
1 parent
4e11088
commit 4ca2231
Showing
3 changed files
with
44 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
24 changes: 24 additions & 0 deletions
24
administrator/components/com_finder/tmpl/searches/emptystate.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<?php | ||
/** | ||
* @package Joomla.Administrator | ||
* @subpackage com_finder | ||
* | ||
* @copyright (C) 2021 Open Source Matters, Inc. <https://www.joomla.org> | ||
* @license GNU General Public License version 2 or later; see LICENSE.txt | ||
*/ | ||
|
||
defined('_JEXEC') or die; | ||
|
||
use Joomla\CMS\Language\Text; | ||
use Joomla\CMS\Layout\LayoutHelper; | ||
|
||
$displayData = [ | ||
'textPrefix' => 'COM_FINDER', | ||
'formURL' => 'index.php?option=com_finder&view=searches', | ||
'helpURL' => 'https://docs.joomla.org/Special:MyLanguage/Help4.x:Smart_Search:_Search_Term_Analysis', | ||
'icon' => 'icon-search', | ||
'title' => Text::_('COM_FINDER_MANAGER_SEARCHES'), | ||
'content' => Text::_('COM_FINDER_EMPTYSTATE_SEARCHES_CONTENT'), | ||
]; | ||
|
||
echo LayoutHelper::render('joomla.content.emptystate', $displayData); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters