mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +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();
|
||||
echo "<legend>".$numDocs." ".getMLText('documents')."</legend>";
|
||||
$this->contentContainerStart();
|
||||
$this->contentContainerStart('fulltextinfo');
|
||||
for ($id = 0; $id < $numDocs; $id++) {
|
||||
if (!$index->isDeleted($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();
|
||||
|
@ -62,10 +62,10 @@ class SeedDMS_View_IndexInfo extends SeedDMS_Theme_Style {
|
|||
if($field)
|
||||
$this->contentContainerEnd();
|
||||
echo "<h5>".htmlspecialchars($term->field)."</h5>";
|
||||
$this->contentContainerStart();
|
||||
$this->contentContainerStart('fulltextinfo');
|
||||
$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";
|
||||
}
|
||||
$this->contentContainerEnd();
|
||||
|
|
Loading…
Reference in New Issue
Block a user