本文整理汇总了PHP中SEFTools::JoomFishInstalled方法的典型用法代码示例。如果您正苦于以下问题:PHP SEFTools::JoomFishInstalled方法的具体用法?PHP SEFTools::JoomFishInstalled怎么用?PHP SEFTools::JoomFishInstalled使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类SEFTools
的用法示例。
在下文中一共展示了SEFTools::JoomFishInstalled方法的8个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: display
function display($tpl = null)
{
JToolBarHelper::title(JText::_('JoomSEF Configuration'), 'config.png');
JToolBarHelper::save();
JToolBarHelper::apply();
JToolBarHelper::spacer();
JToolBarHelper::cancel();
// Get data from the model
$lists =& $this->get('Lists');
$this->assignRef('lists', $lists);
$this->subdomains = $this->get('subdomains');
// Which tab to show?
$sefConfig =& SEFConfig::getConfig();
$tabs = array('basic');
if ($sefConfig->professionalMode) {
$tabs[] = 'advanced';
}
$tabs[] = 'cache';
$tabs[] = 'metatags';
$tabs[] = 'seo';
$tabs[] = 'sitemap';
if (SEFTools::JoomFishInstalled()) {
$tabs[] = 'joomfish';
}
$tabs[] = 'analytics';
if (!SEFTools::JoomFishInstalled()) {
$tabs[] = 'subdomains';
}
$tabs[] = 'tab404';
$tabs[] = 'registration';
$tab = JRequest::getVar('tab', 'basic');
$tabIdx = array_search($tab, $tabs);
if ($tabIdx === false) {
$tabIdx = 0;
}
$this->assign('tab', $tabIdx);
JHTML::_('behavior.tooltip');
$sefConfig =& SEFConfig::getConfig();
if (!$sefConfig->professionalMode) {
$mainframe =& JFactory::getApplication();
$mainframe->enqueueMessage(JText::_('COM_SEF_BEGINNER_MODE_INFO'));
}
parent::display($tpl);
}
示例2: _storeLocation
//.........这里部分代码省略.........
$active = isset($sefurls[$curId]) ? $sefurls[$curId] : reset($sefurls);
$realloc = $active;
*/
}
}
// found a match, so we are done
if (is_object($realloc)) {
// return the original URL if SEF is disabled
if (!$realloc->sef) {
return $uri;
}
// return found URL with non-SEF part appended
if ($nonSefUrl != '' && strstr($realloc->sefurl, '?')) {
$nonSefUrl = str_replace('?', '&', $nonSefUrl);
}
$url = JURI::root();
if (substr($url, -1) != '/') {
$url .= '/';
}
$url .= $realloc->sefurl . $nonSefUrl;
$fragment = $uri->getFragment();
if (!empty($fragment)) {
$url .= '#' . $fragment;
}
return new JURI($url);
} else {
// return the original URL if we don't want to save new URLs
if ($sefConfig->disableNewSEF) {
return $uri;
}
$realloc = null;
$suffixMust = false;
// add lang to suffix, if set to
if (SEFTools::JoomFishInstalled() && isset($lang) && $sefConfig->langPlacement == _COM_SEF_LANG_SUFFIX) {
if ($sefConfig->mainLanguage == '0' || $lang != $sefConfig->mainLanguage) {
$suffix = '_' . $lang . $sefConfig->suffix;
$suffixMust = true;
}
}
if (!isset($suffix)) {
$suffix = $sefConfig->suffix;
}
$addFile = $sefConfig->addFile;
if (($pos = strrpos($addFile, '.')) !== false) {
$addFile = substr($addFile, 0, $pos);
}
// in case the created SEF URL is already in database for different non-SEF URL,
// we need to distinguish them by using numbers, so let's find the first unused URL
$leftPart = '';
// string to be searched before page number
$rightPart = '';
// string to be searched after page number
if (substr($location, -1) == '/' || strlen($location) == 0) {
if ($pagetext = $sefConfig->getPageText()) {
// use global limit if NULL and set in globals
if (is_null($limit) && isset($_REQUEST['limit']) && $_REQUEST['limit'] > 0) {
$limit = $_REQUEST['limit'];
}
// if we are using pagination, try to calculate page number
if (!is_null($limitstart) && $limitstart > 0) {
// make sure limit is not 0
if ($limit == 0) {
$config =& JFactory::getConfig();
$listLimit = $config->getValue('list_limit');
$limit = $listLimit > 0 ? $listLimit : 20;
}
示例3: getLangLongCode
function getLangLongCode($langCode = null)
{
static $codes;
// Get current language code
if (is_null($langCode)) {
$lang = JFactory::getLanguage();
return $lang->getTag();
}
if (is_null($codes)) {
$codes = array();
if (SEFTools::JoomFishInstalled()) {
$jfm =& JoomFishManager::getInstance();
$langs =& $jfm->getLanguages(false);
if (!empty($langs)) {
foreach ($langs as $lang) {
$codes[$lang->shortcode] = $lang->code;
}
}
} else {
// Only one language
$lang = JFactory::getLanguage();
$tag = $lang->getTag();
$parts = explode('-', $tag);
$iso = $parts[0];
$codes[$iso] = $tag;
}
}
if (isset($codes[$langCode])) {
return $codes[$langCode];
}
return null;
}
示例4: getLists
function getLists()
{
// make the select list for the component filter
$comList[] = JHTML::_('select.option', '', JText::_('(All)'));
//$comList[] = JHTML::_('select.option', 'com_content', 'Content');
$this->_db->setQuery("SELECT `name`,`option` FROM `#__components` WHERE `parent` = '0' ORDER BY `name`");
$rows = $this->_db->loadObjectList();
if ($this->_db->getErrorNum()) {
echo $this->_db->stderr();
return false;
}
foreach (array_keys($rows) as $i) {
$row =& $rows[$i];
$comList[] = JHTML::_('select.option', $row->option, $row->name);
}
$lists['comList'] = JHTML::_('select.genericlist', $comList, 'comFilter', "class=\"inputbox\" onchange=\"document.adminForm.submit();\" size=\"1\"", 'value', 'text', $this->filterComponent);
// make the filter text boxes
$lists['filterSEF'] = "<input class=\"hasTip\" type=\"text\" name=\"filterSEF\" value=\"" . htmlspecialchars($this->filterSEF) . "\" size=\"40\" maxlength=\"255\" onkeydown=\"return handleKeyDown(event);\" title=\"" . JText::_('TT_FILTER_SEF') . "\" />";
$lists['filterReal'] = "<input class=\"hasTip\" type=\"text\" name=\"filterReal\" value=\"" . htmlspecialchars($this->filterReal) . "\" size=\"40\" maxlength=\"255\" onkeydown=\"return handleKeyDown(event);\" title=\"" . JText::_('TT_FILTER_REAL') . "\" />";
// Load the active languages
if (SEFTools::JoomFishInstalled()) {
$db =& JFactory::getDBO();
$query = "SELECT `name`, `shortcode` FROM `#__languages` WHERE `active` = '1' ORDER BY `name`";
$db->setQuery($query);
$langs = $db->loadObjectList();
$langList = array();
$langList[] = JHTML::_('select.option', '', JText::_('(All)'));
foreach ($langs as $lang) {
$langList[] = JHTML::_('select.option', $lang->shortcode, $lang->name);
}
// Make the language filter
$lists['filterLang'] = JHTML::_('select.genericlist', $langList, 'filterLang', 'class="inputbox" onchange="document.adminForm.submit();" size="1"', 'value', 'text', $this->filterLang);
}
// Filter meta tags
$metas[] = JHTML::_('select.option', 0, JText::_('(All)'));
$metas[] = JHTML::_('select.option', 1, JText::_('Empty'));
$metas[] = JHTML::_('select.option', 2, JText::_('Filled'));
$lists['filterTitle'] = JHTML::_('select.genericlist', $metas, 'filterTitle', 'class="inputbox" onchange="document.adminForm.submit();" size="1"', 'value', 'text', $this->filterTitle);
$lists['filterDesc'] = JHTML::_('select.genericlist', $metas, 'filterDesc', 'class="inputbox" onchange="document.adminForm.submit();" size="1"', 'value', 'text', $this->filterDesc);
$lists['filterKeys'] = JHTML::_('select.genericlist', $metas, 'filterKeys', 'class="inputbox" onchange="document.adminForm.submit();" size="1"', 'value', 'text', $this->filterKeys);
// Filter trashed
$trashed[] = JHTML::_('select.option', 0, JText::_('(All)'));
$trashed[] = JHTML::_('select.option', 1, JText::_('Not Trashed'));
$trashed[] = JHTML::_('select.option', 2, JText::_('Trashed'));
$lists['filterTrashed'] = JHTML::_('select.genericlist', $trashed, 'filterTrashed', 'class="inputbox" onchange="document.adminForm.submit();" size="1"', 'value', 'text', $this->filterTrashed);
$lists['filterReset'] = '<input type="button" value="' . JText::_('Reset') . '" onclick="resetFilters();" />';
// Ordering
$lists['filter_order'] = $this->filterOrder;
$lists['filter_order_Dir'] = $this->filterOrderDir;
return $lists;
}
示例5:
echo $jfbutton;
?>
</td>
</tr>
</table>
</fieldset>
<?php
}
?>
<?php
echo $pane->endPanel();
echo $pane->startPanel(JText::_('COM_SEF_ANALYTICS'), 'analytics');
$x = 0;
JoomSEF::OnlyPaidVersion();
if (!SEFTools::JoomFishInstalled()) {
echo $pane->endPanel();
echo $pane->startPanel(JText::_('COM_SEF_SUBDOMAINS'), 'subdomains');
$x = 0;
?>
<fieldset class="adminform">
<legend><?php
echo JText::_('COM_SEF_SUBDOMAINS');
?>
</legend>
<table id="subdomains_tbl">
<tr>
<th width="140" align="left">
<?php
echo Jtext::_('COM_SEF_SUBDOMAIN');
?>
示例6: array
function &getLists()
{
$db =& JFactory::getDBO();
$sefConfig = SEFConfig::getConfig();
$std_opt = 'class="inputbox" size="2"';
$lists['enabled'] = JHTML::_('select.booleanlist', 'enabled', $std_opt, $sefConfig->enabled);
$lists['professionalMode'] = JHTML::_('select.booleanlist', 'professionalMode', $std_opt, $sefConfig->professionalMode);
$lists['lowerCase'] = JHTML::_('select.booleanlist', 'lowerCase', $std_opt, $sefConfig->lowerCase);
$lists['disableNewSEF'] = JHTML::_('select.booleanlist', 'disableNewSEF', $std_opt, $sefConfig->disableNewSEF);
$lists['dontRemoveSid'] = JHTML::_('select.booleanlist', 'dontRemoveSid', $std_opt, $sefConfig->dontRemoveSid);
$lists['setQueryString'] = JHTML::_('select.booleanlist', 'setQueryString', $std_opt, $sefConfig->setQueryString);
$lists['parseJoomlaSEO'] = JHTML::_('select.booleanlist', 'parseJoomlaSEO', $std_opt, $sefConfig->parseJoomlaSEO);
$lists['redirectJoomlaSEF'] = JHTML::_('select.booleanlist', 'redirectJoomlaSEF', $std_opt, $sefConfig->redirectJoomlaSEF);
$lists['checkJunkUrls'] = JHTML::_('select.booleanlist', 'checkJunkUrls', $std_opt, $sefConfig->checkJunkUrls);
$lists['preventNonSefOverwrite'] = JHTML::_('select.booleanlist', 'preventNonSefOverwrite', $std_opt, $sefConfig->preventNonSefOverwrite);
$basehrefs[] = JHTML::_('select.option', _COM_SEF_BASE_HOMEPAGE, JText::_('Yes - always use only base URL'));
$basehrefs[] = JHTML::_('select.option', _COM_SEF_BASE_CURRENT, JText::_('Yes - always use full SEO URL'));
$basehrefs[] = JHTML::_('select.option', _COM_SEF_BASE_NONE, JText::_('No - disable base href generation'));
$basehrefs[] = JHTML::_('select.option', _COM_SEF_BASE_IGNORE, JText::_('No - leave original'));
$lists['check_base_href'] = JHTML::_('select.genericlist', $basehrefs, 'check_base_href', 'class="inputbox" size="1"', 'value', 'text', $sefConfig->check_base_href);
// www and non-www handling
$wwws[] = JHTML::_('select.option', _COM_SEF_WWW_NONE, JText::_('Don\'t handle'));
$wwws[] = JHTML::_('select.option', _COM_SEF_WWW_USE_WWW, JText::_('Always use www domain'));
$wwws[] = JHTML::_('select.option', _COM_SEF_WWW_USE_NONWWW, JText::_('Always use non-www domain'));
$lists['wwwHandling'] = JHTML::_('select.genericlist', $wwws, 'wwwHandling', 'class="inputbox" size="1"', 'value', 'text', $sefConfig->wwwHandling);
if (SEFTools::JoomFishInstalled()) {
$jfrouterEnabled = JPluginHelper::isEnabled('system', 'jfrouter');
// lang placement
$langPlacement[] = JHTML::_('select.option', _COM_SEF_LANG_PATH, JText::_('include in path'));
$langPlacement[] = JHTML::_('select.option', _COM_SEF_LANG_SUFFIX, JText::_('add as suffix'));
$langPlacement[] = JHTML::_('select.option', _COM_SEF_LANG_DOMAIN, JText::_('use different domains'));
$langPlacement[] = JHTML::_('select.option', _COM_SEF_LANG_NONE, JText::_('do not add'));
$lists['langPlacement'] = JHTML::_('select.genericlist', $langPlacement, 'langPlacement', 'class="inputbox" size="1" onchange="langTypeChanged(this.value);"', 'value', 'text', $sefConfig->langPlacement);
// Prepare main language array
$mainlangs = array();
$mainlangs[] = JHTML::_('select.option', '0', JText::_('(none)'));
// language domains and main language
$db->setQuery("SELECT `id`, `shortcode`, `name` FROM `#__languages` WHERE `active` = '1' ORDER BY `ordering`");
$langs = $db->loadObjectList();
if (@count(@$langs)) {
$uri =& JURI::getInstance();
$host = $uri->getHost();
foreach ($langs as $lang) {
$l = new stdClass();
$l->code = $lang->shortcode;
$l->name = $lang->name;
$l->value = isset($sefConfig->jfSubDomains[$lang->shortcode]) ? $sefConfig->jfSubDomains[$lang->shortcode] : $host;
// domain list
$langlist[] = $l;
// main language list
$mainlangs[] = JHTML::_('select.option', $l->code, $l->name);
}
//$lists['jfSubDomains'] = '<table width="100%" border="0" cellpadding="0" cellspacing="0"><tr>'. implode('</tr><tr>', $langlist) .'</tr></table>';
$lists['jfSubDomains'] = $langlist;
}
// Create the main language list
$disabled = $sefConfig->langPlacement == _COM_SEF_LANG_DOMAIN ? ' disabled="disabled"' : '';
$lists['mainLanguage'] = JHTML::_('select.genericlist', $mainlangs, 'mainLanguage', 'class="inputbox" size="1"' . $disabled, 'value', 'text', $sefConfig->mainLanguage);
$disabled = '';
if ($jfrouterEnabled) {
$disabled = ' disabled="disabled"';
}
$lists['jfBrowserLang'] = JHTML::_('select.booleanlist', 'jfBrowserLang', $std_opt . $disabled, $sefConfig->jfBrowserLang);
$lists['jfLangCookie'] = JHTML::_('select.booleanlist', 'jfLangCookie', $std_opt . $disabled, $sefConfig->jfLangCookie);
}
$lists['record404'] = JHTML::_('select.booleanlist', 'record404', $std_opt, $sefConfig->record404);
$lists['template404'] = JHTML::_('select.booleanlist', 'template404', $std_opt, $sefConfig->template404);
$lists['msg404'] = JHTML::_('select.booleanlist', 'showMessageOn404', $std_opt, $sefConfig->showMessageOn404);
$lists['use404itemid'] = JHTML::_('select.booleanlist', 'use404itemid', $std_opt, $sefConfig->use404itemid);
$lists['nonSefRedirect'] = JHTML::_('select.booleanlist', 'nonSefRedirect', $std_opt, $sefConfig->nonSefRedirect);
$lists['useMoved'] = JHTML::_('select.booleanlist', 'useMoved', $std_opt, $sefConfig->useMoved);
$lists['useMovedAsk'] = JHTML::_('select.booleanlist', 'useMovedAsk', $std_opt, $sefConfig->useMovedAsk);
$lists['alwaysUseLang'] = JHTML::_('select.booleanlist', 'alwaysUseLang', $std_opt, $sefConfig->alwaysUseLang);
$lists['translateNames'] = JHTML::_('select.booleanlist', 'translateNames', $std_opt, $sefConfig->translateNames);
$lists['contentUseIndex'] = JHTML::_('select.booleanlist', 'contentUseIndex', $std_opt, $sefConfig->contentUseIndex);
$lists['allowUTF'] = JHTML::_('select.booleanlist', 'allowUTF', $std_opt, $sefConfig->allowUTF);
$lists['excludeSource'] = JHTML::_('select.booleanlist', 'excludeSource', $std_opt, $sefConfig->excludeSource);
$lists['reappendSource'] = JHTML::_('select.booleanlist', 'reappendSource', $std_opt, $sefConfig->reappendSource);
$lists['ignoreSource'] = JHTML::_('select.booleanlist', 'ignoreSource', $std_opt, $sefConfig->ignoreSource);
$lists['appendNonSef'] = JHTML::_('select.booleanlist', 'appendNonSef', $std_opt, $sefConfig->appendNonSef);
$lists['transitSlash'] = JHTML::_('select.booleanlist', 'transitSlash', $std_opt, $sefConfig->transitSlash);
$lists['redirectSlash'] = JHTML::_('select.booleanlist', 'redirectSlash', $std_opt, $sefConfig->redirectSlash);
$lists['useCache'] = JHTML::_('select.booleanlist', 'useCache', $std_opt, $sefConfig->useCache);
$lists['numberDuplicates'] = JHTML::_('select.booleanlist', 'numberDuplicates', $std_opt, $sefConfig->numberDuplicates);
$lists['autoCanonical'] = JHTML::_('select.booleanlist', 'autoCanonical', $std_opt, $sefConfig->autoCanonical);
$lists['cacheRecordHits'] = JHTML::_('select.booleanlist', 'cacheRecordHits', $std_opt, $sefConfig->cacheRecordHits);
$lists['cacheShowErr'] = JHTML::_('select.booleanlist', 'cacheShowErr', $std_opt, $sefConfig->cacheShowErr);
$lists['sefComponentUrls'] = JHTML::_('select.booleanlist', 'sefComponentUrls', $std_opt, $sefConfig->sefComponentUrls);
$lists['versionChecker'] = JHTML::_('select.booleanlist', 'versionChecker', $std_opt, $sefConfig->versionChecker);
$lists['artioFeedDisplay'] = JHTML::_('select.booleanlist', 'artioFeedDisplay', $std_opt, $sefConfig->artioFeedDisplay);
$lists['fixIndexPhp'] = JHTML::_('select.booleanlist', 'fixIndexPhp', $std_opt, $sefConfig->fixIndexPhp);
$lists['fixQuestionMark'] = JHTML::_('select.booleanlist', 'fixQuestionMark', $std_opt, $sefConfig->fixQuestionMark);
$lists['fixDocumentFormat'] = JHTML::_('select.booleanlist', 'fixDocumentFormat', $std_opt, $sefConfig->fixDocumentFormat);
$lists['autolock_urls'] = JHTML::_('select.booleanlist', 'autolock_urls', $std_opt, $sefConfig->autolock_urls);
$lists['indexPhpCurrentMenu'] = JHTML::_('select.booleanlist', 'indexPhpCurrentMenu', $std_opt, $sefConfig->indexPhpCurrentMenu);
$lists['spaceTolerant'] = JHTML::_('select.booleanlist', 'spaceTolerant', $std_opt, $sefConfig->spaceTolerant);
$lists['cacheSize'] = '<input type="text" name="cacheSize" size="10" class="inputbox" value="' . $sefConfig->cacheSize . '" />';
$lists['cacheMinHits'] = '<input type="text" name="cacheMinHits" size="10" class="inputbox" value="' . $sefConfig->cacheMinHits . '" />';
$lists['junkWords'] = '<input type="text" name="junkWords" size="60" class="inputbox" value="' . $sefConfig->junkWords . '" />';
$lists['junkExclude'] = '<input type="text" name="junkExclude" size="60" class="inputbox" value="' . $sefConfig->junkExclude . '" />';
//.........这里部分代码省略.........
示例7: updateMetaNext
function updateMetaNext()
{
$db =& JFactory::getDBO();
$sefConfig =& SEFConfig::getConfig();
// Load all the URLs
$query = "SELECT `id`, `sefurl`, `origurl`, `Itemid` FROM `#__sefurls` WHERE `locked` = '0' AND `trashed` = '0' AND `flag` = '1' LIMIT 25";
$db->setQuery($query);
$rows = $db->loadObjectList();
// Check that there's anything to update
if (is_null($rows) || count($rows) == 0) {
// Done
//$db->setQuery("SELECT COUNT(`id`) FROM `#__sefurls` WHERE `dateadd` = '0000-00-00' AND `locked` = '0' AND `trashed` = '0'");
//$count = $db->loadResult();
$obj = new stdClass();
$obj->type = 'completed';
$obj->updated = 0;
return json_encode($obj);
}
// Load the needed classes
jimport('joomla.application.router');
require_once JPATH_ROOT . DS . 'includes' . DS . 'application.php';
require_once JPATH_ROOT . DS . 'components' . DS . 'com_sef' . DS . 'sef.router.php';
if (SEFTools::JoomFishInstalled()) {
require_once JPATH_ROOT . DS . 'components' . DS . 'com_joomfish' . DS . 'helpers' . DS . 'defines.php';
JLoader::register('JoomfishManager', JOOMFISH_ADMINPATH . DS . 'classes' . DS . 'JoomfishManager.class.php');
JLoader::register('JoomFishVersion', JOOMFISH_ADMINPATH . DS . 'version.php');
JLoader::register('JoomFish', JOOMFISH_PATH . DS . 'helpers' . DS . 'joomfish.class.php');
}
// OK, we've got some data, let's update them
$count = count($rows);
// Check if JoomFish is present
if (SEFTools::JoomFishInstalled()) {
// We need to fool JoomFish to think we're running in frontend
$mainframe =& JFactory::getApplication();
$mainframe->_clientId = 0;
// Load and initialize JoomFish plugin
if (!class_exists('plgSystemJFDatabase')) {
require JPATH_PLUGINS . DS . 'system' . DS . 'jfdatabase.php';
}
$params =& JPluginHelper::getPlugin('system', 'jfdatabase');
$dispatcher =& JDispatcher::getInstance();
$plugin = new plgSystemJFDatabase($dispatcher, (array) $params);
$plugin->onAfterInitialise();
// Set the mainframe back to its original state
$mainframe->_clientId = 1;
}
// Suppress all the normal output
ob_start();
// Loop through URLs and update them one by one
for ($i = 0; $i < $count; $i++) {
$row =& $rows[$i];
$url = $row->origurl;
if (!empty($row->Itemid)) {
if (strpos($url, '?') !== false) {
$url .= '&';
} else {
$url .= '?';
}
$url .= 'Itemid=' . $row->Itemid;
}
$uri = new JURI($url);
// Check if we have an extension for this URL
$updated = false;
$option = $uri->getVar('option');
if (!empty($option)) {
$file = JPATH_ROOT . DS . 'components' . DS . 'com_sef' . DS . 'sef_ext' . DS . $option . '.php';
$class = 'SefExt_' . $option;
if (!class_exists($class) && file_exists($file)) {
require $file;
}
if (class_exists($class)) {
$ext = new $class();
$metadata = $ext->generateMeta($uri);
if (is_array($metadata) && count($metadata) > 0) {
$metas = '';
foreach ($metadata as $metakey => $metaval) {
$metas .= ", `{$metakey}` = " . $db->Quote($metaval, true);
}
$query = "UPDATE `#__sefurls` SET `flag` = '0'" . $metas . " WHERE `id` = '{$row->id}'";
$db->setQuery($query);
if (!$db->query()) {
return $db->stderr(true);
$updated = false;
} else {
$updated = true;
}
}
}
}
if ($updated == false) {
// Remove flag
$query = "UPDATE `#__sefurls` SET `flag` = '0' WHERE `id` = '{$row->id}'";
$db->setQuery($query);
$db->query();
}
}
ob_end_clean();
$obj = new stdClass();
$obj->type = 'updatestep';
$obj->updated = $count;
//.........这里部分代码省略.........
示例8:
?>
<td colspan="2">
<?php
echo $this->lists['filterReal'];
?>
</td>
<?php
}
?>
<td>
<?php
echo $this->lists['comList'];
?>
</td>
<?php
if (SEFTools::JoomFishInstalled() && $this->viewmode != _COM_SEF_VIEWMODE_404) {
?>
<td>
<?php
echo $this->lists['filterLang'];
?>
</td>
<?php
}
?>
<td>
<?php
echo $this->lists['filterReset'];
?>
</td>
</tr>