Bug #15197 » indexed_search-2.1.3-XHTML.diff
pi/class.tx_indexedsearch.php 10 Nov 2005 17:56:38 -0000 | ||
---|---|---|
if ($this->conf['blind.']['extResume']) {
|
||
$html = $this->cObj->substituteSubpart($html, '###SELECT_EXTRESUME###', '');
|
||
} else {
|
||
$markerArray['###EXT_RESUME_CHECKED###'] = $this->piVars['extResume'] ? ' CHECKED' : '';
|
||
$markerArray['###EXT_RESUME_CHECKED###'] = $this->piVars['extResume'] ? ' checked="checked"' : '';
|
||
}
|
||
} else { // Extended search
|
||
... | ... | |
if($this->conf['show.']['advancedSearchLink']) {
|
||
$markerArray['###LINKTOOTHERMODE###'] = ($this->piVars['ext'] ?
|
||
'<a href="'.$this->pi_getPageLink($GLOBALS['TSFE']->id,$GLOBALS['TSFE']->sPre,array($this->prefixId.'[ext]'=>0)).'">'.$this->pi_getLL('link_regularSearch','',1).'</a>' :
|
||
'<a href="'.$this->pi_getPageLink($GLOBALS['TSFE']->id,$GLOBALS['TSFE']->sPre,array($this->prefixId.'[ext]'=>1)).'">'.$this->pi_getLL('link_advancedSearch','',1).'</a>'
|
||
'<a href="'.htmlspecialchars($this->pi_getPageLink($GLOBALS['TSFE']->id,$GLOBALS['TSFE']->sPre,array($this->prefixId.'[ext]'=>0))).'">'.$this->pi_getLL('link_regularSearch','',1).'</a>' :
|
||
'<a href="'.htmlspecialchars($this->pi_getPageLink($GLOBALS['TSFE']->id,$GLOBALS['TSFE']->sPre,array($this->prefixId.'[ext]'=>1))).'">'.$this->pi_getLL('link_advancedSearch','',1).'</a>'
|
||
);
|
||
} else {
|
||
$markerArray['###LINKTOOTHERMODE###'] = '';
|
||
... | ... | |
$opt=array();
|
||
$isSelFlag=0;
|
||
foreach($optValues as $k=>$v) {
|
||
$sel = (!strcmp($k,$value) ? ' selected' : '');
|
||
$sel = (!strcmp($k,$value) ? ' selected="selected"' : '');
|
||
if ($sel) { $isSelFlag++; }
|
||
$opt[]='<option value="'.htmlspecialchars($k).'"'.$sel.'>'.htmlspecialchars($v).'</option>';
|
||
}
|
||
... | ... | |
}
|
||
}
|
||
return '<a href="'.$scheme.$firstDom.'/index.php?id='.$id.$addParams.'" target="'.$this->conf['search.']['detect_sys_domain_records.']['target'].'">'.htmlspecialchars($str).'</a>';
|
||
return '<a href="'.htmlspecialchars($scheme.$firstDom.'/index.php?id='.$id.$addParams).'" target="'.$this->conf['search.']['detect_sys_domain_records.']['target'].'">'.htmlspecialchars($str).'</a>';
|
||
} else {
|
||
return $this->pi_linkToPage($str,$id,$this->conf['result_link_target'],$urlParameters);
|
||
}
|
pi/template_css.tmpl 10 Nov 2005 17:56:38 -0000 | ||
---|---|---|
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||
<?xml version="1.0" encoding="utf-8"?>
|
||
<!DOCTYPE html
|
||
PUBLIC "-//W3C//DTD XHTML 1.1//EN"
|
||
"http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
|
||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||
<head>
|
||
<title>indexed_search</title>
|
||
... | ... | |
<h3>SEARCH FORM</h3>
|
||
<!-- ###SEARCH_FORM### begin -->
|
||
<form action="###ACTION_URL###" method="POST" name="tx_indexedsearch">
|
||
<input type="hidden" name="tx_indexedsearch[_sections]" value="0">
|
||
<input type="hidden" name="tx_indexedsearch[pointer]" value="0">
|
||
<input type="hidden" name="tx_indexedsearch[type]" value="###HIDDEN_VALUE_TYPE###">
|
||
<input type="hidden" name="tx_indexedsearch[ext]" value="###HIDDEN_VALUE_EXT###">
|
||
<form action="###ACTION_URL###" method="post" id="tx_indexedsearch">
|
||
<div style="display:none;">
|
||
<input type="hidden" name="tx_indexedsearch[_sections]" value="0" />
|
||
<input type="hidden" name="tx_indexedsearch[pointer]" value="0" />
|
||
<input type="hidden" name="tx_indexedsearch[type]" value="###HIDDEN_VALUE_TYPE###" />
|
||
<input type="hidden" name="tx_indexedsearch[ext]" value="###HIDDEN_VALUE_EXT###" />
|
||
</div>
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="tx-indexedsearch-form">###FORM_SEARCHFOR###</td>
|
||
<td class="tx-indexedsearch-form" colspan="2"><input type="text" name="tx_indexedsearch[sword]" value="###SWORD_VALUE###" class="tx-indexedsearch-searchbox-sword"></td>
|
||
<td class="tx-indexedsearch-form" colspan="2"><input type="text" name="tx_indexedsearch[sword]" value="###SWORD_VALUE###" class="tx-indexedsearch-searchbox-sword" /></td>
|
||
</tr>
|
||
<!-- ###ADDITONAL_KEYWORD### begin -->
|
||
<tr>
|
||
<td class="tx-indexedsearch-form"> </td>
|
||
<td class="tx-indexedsearch-form" colspan="2"><input type="hidden" name="tx_indexedsearch[sword_prev]" value="###SWORD_PREV_VALUE###"><input type="checkbox" name="tx_indexedsearch[sword_prev_include]" value="1" ###SWORD_PREV_INCLUDE_CHECKED###> ###ADD_TO_CURRENT_SEARCH###.</td>
|
||
<td class="tx-indexedsearch-form" colspan="2"><input type="hidden" name="tx_indexedsearch[sword_prev]" value="###SWORD_PREV_VALUE###" /><input type="checkbox" name="tx_indexedsearch[sword_prev_include]" value="1" ###SWORD_PREV_INCLUDE_CHECKED### /> ###ADD_TO_CURRENT_SEARCH###.</td>
|
||
</tr>
|
||
<!-- ###ADDITONAL_KEYWORD### end -->
|
||
... | ... | |
<!-- ###SELECT_SECTION### begin -->
|
||
<tr>
|
||
<td class="tx-indexedsearch-form">###FORM_FROMSECTION###</td>
|
||
<td class="tx-indexedsearch-form" colspan=2">
|
||
<td class="tx-indexedsearch-form" colspan="2">
|
||
<select name="tx_indexedsearch[sections]" class="tx-indexedsearch-selectbox-sections">
|
||
###SELECTBOX_SECTIONS_VALUES###
|
||
</select>
|
||
... | ... | |
<!-- ###SELECT_ORDER### begin -->
|
||
<tr>
|
||
<td class="tx-indexedsearch-form" valign="top">###FORM_ORDERBY###</td>
|
||
<td class="tx-indexedsearch-form" colspan=2">
|
||
<td class="tx-indexedsearch-form" colspan="2">
|
||
<select name="tx_indexedsearch[order]" class="tx-indexedsearch-selectbox-order">
|
||
###SELECTBOX_ORDER_VALUES###
|
||
</select>
|
||
... | ... | |
<!-- ###SELECT_RESULTS### begin -->
|
||
<tr>
|
||
<td class="tx-indexedsearch-form" valign="top">###FORM_ATATIME###</td>
|
||
<td class="tx-indexedsearch-form" colspan=2">
|
||
<td class="tx-indexedsearch-form" colspan="2">
|
||
<select name="tx_indexedsearch[results]" class="tx-indexedsearch-selectbox-results">
|
||
###SELECTBOX_RESULTS_VALUES###
|
||
</select>
|
||
... | ... | |
<!-- ###SELECT_GROUP### begin -->
|
||
<tr>
|
||
<td class="tx-indexedsearch-form" valign="top">###FORM_STYLE###</td>
|
||
<td class="tx-indexedsearch-form" colspan=2">
|
||
<td class="tx-indexedsearch-form" colspan="2">
|
||
<select name="tx_indexedsearch[group]" class="tx-indexedsearch-selectbox-group">
|
||
###SELECTBOX_GROUP_VALUES###
|
||
</select>
|
||
<!-- ###SELECT_EXTRESUME### begin -->
|
||
<br><input type="hidden" name="tx_indexedsearch[extResume]" value="0"><input type="checkbox" value="1" name="tx_indexedsearch[extResume]" ###EXT_RESUME_CHECKED###> ###FORM_EXTRESUME###
|
||
<br /><input type="hidden" name="tx_indexedsearch[extResume]" value="0" /><input type="checkbox" value="1" name="tx_indexedsearch[extResume]" ###EXT_RESUME_CHECKED### /> ###FORM_EXTRESUME###
|
||
<!-- ###SELECT_EXTRESUME### end -->
|
||
</td>
|
||
</tr>
|
||
... | ... | |
<!-- ###SEARCH_FORM_EXTENDED### end -->
|
||
<tr>
|
||
<td class="tx-indexedsearch-form"> </td>
|
||
<td class="tx-indexedsearch-form"><input type="submit" name="tx_indexedsearch[submit_button]" value="###FORM_SUBMIT###" class="tx-indexedsearch-searchbox-button"></td>
|
||
<td class="tx-indexedsearch-form"><input type="submit" name="tx_indexedsearch[submit_button]" value="###FORM_SUBMIT###" class="tx-indexedsearch-searchbox-button" /></td>
|
||
</tr>
|
||
</table>
|
||
</form>
|
||
... | ... | |
<!-- ###RESULT_SECTION_LINKS_LINK### begin -->
|
||
<tr>
|
||
<td class="tx-indexedsearch-form" width="100%">--> ###LINK###</td>
|
||
<td class="tx-indexedsearch-form">--> ###LINK###</td>
|
||
</tr>
|
||
<!-- ###RESULT_SECTION_LINKS_LINK### end -->
|
||
... | ... | |
<p><a name="###ANCHOR_URL###"></a>
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<tr>
|
||
<td class="tx-indexedsearch-section-header" width="100%">###SECTION_TITLE###</b></td>
|
||
<td class="tx-indexedsearch-section-header" nowrap>###RESULT_COUNT### ###RESULT_NAME###</td>
|
||
<td class="tx-indexedsearch-section-header">###SECTION_TITLE###</td>
|
||
<td class="tx-indexedsearch-section-header">###RESULT_COUNT### ###RESULT_NAME###</td>
|
||
</tr>
|
||
</table>
|
||
</p>
|
||
... | ... | |
<!-- ###RESULT_OUTPUT### begin -->
|
||
<br>
|
||
<br />
|
||
<table cellpadding="0" cellspacing="0" border="0">
|
||
<!-- ###HEADER_ROW### begin -->
|
||
<tr>
|
||
<td class="tx-indexedsearch-list" nowrap>###ICON###</td>
|
||
<td class="tx-indexedsearch-list" width="100%">###RESULT_NUMBER######TITLE###</td>
|
||
<td class="tx-indexedsearch-list" nowrap>###RATING###</td>
|
||
<td class="tx-indexedsearch-list">###ICON###</td>
|
||
<td class="tx-indexedsearch-list">###RESULT_NUMBER######TITLE###</td>
|
||
<td class="tx-indexedsearch-list">###RATING###</td>
|
||
</tr>
|
||
<!-- ###HEADER_ROW### end -->
|
||
<!-- ###ROW_LONG### begin -->
|
||
<tr>
|
||
<td class="tx-indexedsearch-list" nowrap> </td>
|
||
<td class="tx-indexedsearch-list" width="100%" colspan="2">###DESCRIPTION###</td>
|
||
<td class="tx-indexedsearch-list"> </td>
|
||
<td class="tx-indexedsearch-list" colspan="2">###DESCRIPTION###</td>
|
||
</tr>
|
||
<tr>
|
||
<td class="tx-indexedsearch-list" nowrap> </td>
|
||
<td class="tx-indexedsearch-list" width="100%"><p class="datum">###TEXT_ITEM_SIZE###: ###SIZE###<br>###TEXT_ITEM_CRDATE### ###CREATED### - ###TEXT_ITEM_MTIME### ###MODIFIED###</p></td>
|
||
<td class="tx-indexedsearch-list" nowrap>###PATH###</td>
|
||
<td class="tx-indexedsearch-list"> </td>
|
||
<td class="tx-indexedsearch-list"><p class="datum">###TEXT_ITEM_SIZE###: ###SIZE###<br />###TEXT_ITEM_CRDATE### ###CREATED### - ###TEXT_ITEM_MTIME### ###MODIFIED###</p></td>
|
||
<td class="tx-indexedsearch-list">###PATH###</td>
|
||
</tr>
|
||
<!-- ###ROW_LONG### end -->
|
||
<!-- ###ROW_SHORT### begin -->
|
||
<tr>
|
||
<td class="tx-indexedsearch-list" nowrap> </td>
|
||
<td class="tx-indexedsearch-list" width="100%" colspan="2">###DESCRIPTION###</td>
|
||
<td class="tx-indexedsearch-list"> </td>
|
||
<td class="tx-indexedsearch-list" colspan="2">###DESCRIPTION###</td>
|
||
</tr>
|
||
<!-- ###ROW_SHORT### end -->
|
||
<!-- ###ROW_SUB### begin -->
|
||
<tr>
|
||
<td class="tx-indexedsearch-list" nowrap> </td>
|
||
<td class="tx-indexedsearch-list" width="100%" colspan="2"><br/>###TEXT_ROW_SUB###<br/><br/></td>
|
||
<td class="tx-indexedsearch-list"> </td>
|
||
<td class="tx-indexedsearch-list" colspan="2"><br/>###TEXT_ROW_SUB###<br/><br/></td>
|
||
</tr>
|
||
<!-- ###ROW_SUB### end -->
|
||