mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-18 02:59:27 +00:00
set class of container, put terms in span
This commit is contained in:
parent
8340f9eb64
commit
a00883c100
|
@ -44,11 +44,11 @@ class SeedDMS_View_IndexInfo extends SeedDMS_Theme_Style {
|
||||||
|
|
||||||
$numDocs = $index->count();
|
$numDocs = $index->count();
|
||||||
echo "<legend>".$numDocs." ".getMLText('documents')."</legend>";
|
echo "<legend>".$numDocs." ".getMLText('documents')."</legend>";
|
||||||
$this->contentContainerStart();
|
$this->contentContainerStart('fulltextinfo');
|
||||||
for ($id = 0; $id < $numDocs; $id++) {
|
for ($id = 0; $id < $numDocs; $id++) {
|
||||||
if (!$index->isDeleted($id)) {
|
if (!$index->isDeleted($id)) {
|
||||||
if($hit = $index->getDocument($id))
|
if($hit = $index->getDocument($id))
|
||||||
echo "<span title=\"".$hit->document_id."\">".htmlspecialchars($hit->title)."</span>\n";
|
echo "<span title=\"".$hit->document_id."\">".htmlspecialchars($hit->title)."</span> ";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
|
@ -62,10 +62,10 @@ class SeedDMS_View_IndexInfo extends SeedDMS_Theme_Style {
|
||||||
if($field)
|
if($field)
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
echo "<h5>".htmlspecialchars($term->field)."</h5>";
|
echo "<h5>".htmlspecialchars($term->field)."</h5>";
|
||||||
$this->contentContainerStart();
|
$this->contentContainerStart('fulltextinfo');
|
||||||
$field = $term->field;
|
$field = $term->field;
|
||||||
}
|
}
|
||||||
echo htmlspecialchars($term->text)."\n";
|
echo '<span title="'.$term->_occurrence.'">'.htmlspecialchars($term->text)."</span> ";
|
||||||
// echo "<span title=\"".$term->_occurrence."\">".htmlspecialchars($term->text)."</span>\n";
|
// echo "<span title=\"".$term->_occurrence."\">".htmlspecialchars($term->text)."</span>\n";
|
||||||
}
|
}
|
||||||
$this->contentContainerEnd();
|
$this->contentContainerEnd();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user