mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
use new method folderListHeader()
This commit is contained in:
parent
771b9674cc
commit
cff6b66d1c
|
@ -134,13 +134,8 @@ $(document).ready( function() {
|
|||
}
|
||||
|
||||
if($res['folders'] || $res['docs']) {
|
||||
print "<table id=\"viewfolder-table\" class=\"table table-condensed\">";
|
||||
print "<thead>\n<tr>\n";
|
||||
print "<th></th>\n";
|
||||
print "<th>".getMLText("name")."</th>\n";
|
||||
print "<th>".getMLText("status")."</th>\n";
|
||||
print "<th>".getMLText("action")."</th>\n";
|
||||
print "</tr>\n</thead>\n<tbody>\n";
|
||||
print $this->folderListHeader();
|
||||
print "<tbody>\n";
|
||||
foreach($res['folders'] as $subFolder) {
|
||||
echo $this->folderListRow($subFolder);
|
||||
}
|
||||
|
|
|
@ -49,18 +49,11 @@ class SeedDMS_View_Calendar extends SeedDMS_Theme_Style {
|
|||
$xsendfile = $this->params['xsendfile'];
|
||||
|
||||
if($document) {
|
||||
// $this->contentHeading(getMLText("timeline_selected_item"));
|
||||
print "<table id=\"viewfolder-table\" class=\"table table-condensed\">";
|
||||
print "<thead>\n<tr>\n";
|
||||
print "<th></th>\n";
|
||||
print "<th>".getMLText("name")."</th>\n";
|
||||
print "<th>".getMLText("status")."</th>\n";
|
||||
print "<th>".getMLText("action")."</th>\n";
|
||||
print "</tr>\n</thead>\n<tbody>\n";
|
||||
$previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidthdetail, $timeout, $xsendfile);
|
||||
echo $this->documentListRow($document, $previewer);
|
||||
|
||||
echo "</tbody>\n</table>\n";
|
||||
print $this->folderListHeader();
|
||||
print "<tbody>\n";
|
||||
$previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidthdetail, $timeout, $xsendfile);
|
||||
echo $this->documentListRow($document, $previewer);
|
||||
echo "</tbody>\n</table>\n";
|
||||
}
|
||||
if($event) {
|
||||
// print_r($event);
|
||||
|
|
|
@ -70,13 +70,8 @@ $(document).ready( function() {
|
|||
|
||||
$documents = $selcat->getDocumentsByCategory(10);
|
||||
if($documents) {
|
||||
print "<table id=\"viewfolder-table\" class=\"table\">";
|
||||
print "<thead>\n<tr>\n";
|
||||
print "<th></th>\n";
|
||||
print "<th>".getMLText("name")."</th>\n";
|
||||
print "<th>".getMLText("status")."</th>\n";
|
||||
print "<th>".getMLText("action")."</th>\n";
|
||||
print "</tr>\n</thead>\n<tbody>\n";
|
||||
print $this->folderListHeader();
|
||||
print "<tbody>\n";
|
||||
$previewer = new SeedDMS_Preview_Previewer($cachedir, $previewwidth, $timeout, $xsendfile);
|
||||
foreach($documents as $doc) {
|
||||
echo $this->documentListRow($doc, $previewer);
|
||||
|
|
Loading…
Reference in New Issue
Block a user