Merge branch 'seeddms-4.3.x' into seeddms-5.0.x

This commit is contained in:
Uwe Steinmann 2016-03-15 08:48:03 +01:00
commit fc0b7a4e16
94 changed files with 232 additions and 129 deletions

View File

@ -80,7 +80,8 @@ class UI_Default {
function footNote() { /* {{{ */ function footNote() { /* {{{ */
global $settings; global $settings;
echo '<div class="row-fluid" style="padding-top: 20px;">'."\n"; echo "<div class=\"container-fluid\" style=\"margin-top: 0px;\">\n";
echo '<div class="row-fluid">'."\n";
echo '<div class="span12">'."\n"; echo '<div class="span12">'."\n";
echo '<div class="alert alert-info">'."\n"; echo '<div class="alert alert-info">'."\n";
if ($settings->_printDisclaimer){ if ($settings->_printDisclaimer){
@ -93,6 +94,7 @@ class UI_Default {
echo "</div>\n"; echo "</div>\n";
echo "</div>\n"; echo "</div>\n";
echo "</div>\n"; echo "</div>\n";
echo "</div>\n";
return; return;
} /* }}} */ } /* }}} */
@ -113,7 +115,7 @@ class UI_Default {
echo "<div class=\"navbar navbar-inverse navbar-fixed-top\">\n"; echo "<div class=\"navbar navbar-inverse navbar-fixed-top\">\n";
echo " <div class=\"navbar-inner\">\n"; echo " <div class=\"navbar-inner\">\n";
echo " <div class=\"container-fluid\">\n"; echo " <div class=\"container-fluid\">\n";
echo " <a class=\"brand\">".(strlen($settings->_sitename)>0 ? $settings->_sitename : "SeedDMS")."</a>\n"; echo " <a class=\"brand\">".(strlen($settings->_siteName)>0 ? $settings->_siteName : "SeedDMS")."</a>\n";
echo " </div>\n"; echo " </div>\n";
echo " </div>\n"; echo " </div>\n";
echo "</div>\n"; echo "</div>\n";
@ -385,7 +387,7 @@ class UI_Default {
return; return;
} /* }}} */ } /* }}} */
function contentContainerStart() { /* {{{ */ function contentContainerStart($class="") { /* {{{ */
echo "<div class=\"well".($class ? " ".$class : "")."\">\n"; echo "<div class=\"well".($class ? " ".$class : "")."\">\n";
return; return;

View File

@ -25,6 +25,9 @@ include("../inc/inc.DBInit.php");
include("../inc/inc.ClassUI.php"); include("../inc/inc.ClassUI.php");
include("../inc/inc.Authentication.php"); include("../inc/inc.Authentication.php");
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user));
if (!$user->isAdmin()) { if (!$user->isAdmin()) {
UI::exitError(getMLText("admin_tools"),getMLText("access_denied")); UI::exitError(getMLText("admin_tools"),getMLText("access_denied"));
} }
@ -42,10 +45,11 @@ switch($type) {
} }
break; break;
} }
//print_r($data);
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$view = UI::factory($theme, $tmp[1], array('dms'=>$dms, 'user'=>$user, 'rootfolder'=>$rootfolder, 'type'=>$type, 'data'=>$data));
if($view) { if($view) {
$view->setParam('rootfolder', $rootfolder);
$view->setParam('type', $type);
$view->setParam('data', $data);
$view($_GET); $view($_GET);
exit; exit;
} }

View File

@ -39,9 +39,16 @@ else if (isset($_POST["referuri"]) && strlen($_POST["referuri"])>0) {
$themes = UI::getStyles(); $themes = UI::getStyles();
$tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME'])); $tmp = explode('.', basename($_SERVER['SCRIPT_FILENAME']));
$view = UI::factory($theme, $tmp[1], array('enableguestlogin'=>$settings->_enableGuestLogin, 'enablepasswordforgotten'=>$settings->_enablePasswordForgotten, 'referrer'=>$refer, 'themes'=>$themes, 'languages'=>getLanguages(), 'enablelanguageselector'=>$settings->_enableLanguageSelector, 'enablethemeselector'=>$settings->_enableThemeSelector)); $view = UI::factory($theme, $tmp[1], array());
if($view) { if($view) {
$view->show(); $view->setParam('enableguestlogin', $settings->_enableGuestLogin);
$view->setParam('enablepasswordforgotten', $settings->_enablePasswordForgotten);
$view->setParam('referrer', $refer);
$view->setParam('themes', $themes);
$view->setParam('languages', getLanguages());
$view->setParam('enablelanguageselector', $settings->_enableLanguageSelector);
$view->setParam('enablethemeselector', $settings->_enableThemeSelector);
$view($_GET);
exit; exit;
} }

View File

@ -566,6 +566,7 @@ $(document).ready(function() {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */

View File

@ -106,6 +106,7 @@ function checkForm()
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -125,6 +125,7 @@ $(document).ready( function() {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */

View File

@ -48,6 +48,7 @@ class SeedDMS_View_AddFile2 extends SeedDMS_Bootstrap_Style {
$this->printUploadApplet('../op/op.AddFile2.php', array('documentid'=>$document->getId()), 1, array('name'=>1, 'comment'=>1)); $this->printUploadApplet('../op/op.AddFile2.php', array('documentid'=>$document->getId()), 1, array('name'=>1, 'comment'=>1));
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -56,18 +56,18 @@ function chooseCategory(form, cats) {
</script> </script>
<?php <?php
$this->contentHeading(getMLText("add_document")); $this->contentHeading(getMLText("add_document"));
$this->contentContainerStart(); $this->contentContainerStart();
// Retrieve a list of all users and groups that have review / approve // Retrieve a list of all users and groups that have review / approve
// privileges. // privileges.
$docAccess = $folder->getReadAccessList($enableadminrevapp, $enableownerrevapp); $docAccess = $folder->getReadAccessList($enableadminrevapp, $enableownerrevapp);
$this->printUploadApplet('../op/op.AddMultiDocument.php', array('folderid'=>$folder->getId())); $this->printUploadApplet('../op/op.AddMultiDocument.php', array('folderid'=>$folder->getId()));
$this->contentContainerEnd();
$this->htmlEndPage();
$this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage();
} /* }}} */ } /* }}} */
} }
?> ?>

View File

@ -110,6 +110,7 @@ function checkForm()
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -95,6 +95,7 @@ class SeedDMS_View_AdminTools extends SeedDMS_Bootstrap_Style {
</div> </div>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -158,8 +158,8 @@ class SeedDMS_View_ApprovalSummary extends SeedDMS_Bootstrap_Style {
} }
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }
?> ?>

View File

@ -207,6 +207,7 @@ function checkGrpForm()
} }
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -316,8 +316,8 @@ $(document).ready( function() {
</div> </div>
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }
?> ?>

View File

@ -187,6 +187,7 @@ class SeedDMS_View_BackupTools extends SeedDMS_Bootstrap_Style {
$this->contentContainerEnd(); $this->contentContainerEnd();
*/ */
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -166,7 +166,8 @@ $(document).ready(function () {
} /* }}} */ } /* }}} */
function footNote() { /* {{{ */ function footNote() { /* {{{ */
echo '<div class="row-fluid" style="padding-top: 20px;">'."\n"; echo "<div class=\"container-fluid\">\n";
echo '<div class="row-fluid">'."\n";
echo '<div class="span12">'."\n"; echo '<div class="span12">'."\n";
echo '<div class="alert alert-info">'."\n"; echo '<div class="alert alert-info">'."\n";
if ($this->params['printdisclaimer']){ if ($this->params['printdisclaimer']){
@ -179,6 +180,7 @@ $(document).ready(function () {
echo "</div>\n"; echo "</div>\n";
echo "</div>\n"; echo "</div>\n";
echo "</div>\n"; echo "</div>\n";
echo "</div>\n";
return; return;
} /* }}} */ } /* }}} */
@ -1258,6 +1260,7 @@ $('#clearfilename<?php print $formName ?>').click(function(ev) {
print "</div>"; print "</div>";
print "<div><button class=\"btn\" onclick=\"window.history.back();\">".getMLText('back')."</button></div>"; print "<div><button class=\"btn\" onclick=\"window.history.back();\">".getMLText('back')."</button></div>";
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
add_log_line(" UI::exitError error=".$error." pagetitle=".$pagetitle, PEAR_LOG_ERR); add_log_line(" UI::exitError error=".$error." pagetitle=".$pagetitle, PEAR_LOG_ERR);

View File

@ -358,8 +358,8 @@ class SeedDMS_View_Calendar extends SeedDMS_Bootstrap_Style {
$this->contentContainerEnd(); $this->contentContainerEnd();
} }
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }
?> ?>

View File

@ -148,6 +148,7 @@ $(document).ready( function() {
</div> </div>
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -83,6 +83,7 @@ class SeedDMS_View_ChangePassword extends SeedDMS_Bootstrap_Style {
<script language="JavaScript">document.form1.newpassword.focus();</script> <script language="JavaScript">document.form1.newpassword.focus();</script>
<p><a href="../out/out.Login.php"><?php echo getMLText("login"); ?></a></p> <p><a href="../out/out.Login.php"><?php echo getMLText("login"); ?></a></p>
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -201,45 +201,43 @@ $(document).ready( function() {
$this->contentStart(); $this->contentStart();
$this->pageNavigation(getMLText("admin_tools"), "admin_tools"); $this->pageNavigation(getMLText("admin_tools"), "admin_tools");
?> echo "<div class=\"row-fluid\">\n";
<?php echo "<div class=\"span3\">\n";
echo "<div class=\"row-fluid\">\n"; $this->contentHeading(getMLText("chart_selection"));
echo "<div class=\"well\">\n";
foreach(array('docsperuser', 'sizeperuser', 'docspermimetype', 'docspercategory', 'docsperstatus', 'docspermonth', 'docsaccumulated') as $atype) {
echo "<div><a href=\"?type=".$atype."\">".getMLText('chart_'.$atype.'_title')."</a></div>\n";
}
echo "</div>\n";
echo "</div>\n";
echo "<div class=\"span3\">\n"; if(in_array($type, array('docspermonth', 'docsaccumulated'))) {
$this->contentHeading(getMLText("chart_selection")); echo "<div class=\"span9\">\n";
echo "<div class=\"well\">\n"; } else {
foreach(array('docsperuser', 'sizeperuser', 'docspermimetype', 'docspercategory', 'docsperstatus', 'docspermonth', 'docsaccumulated') as $atype) { echo "<div class=\"span6\">\n";
echo "<div><a href=\"?type=".$atype."\">".getMLText('chart_'.$atype.'_title')."</a></div>\n"; }
} $this->contentHeading(getMLText('chart_'.$type.'_title'));
echo "</div>\n"; echo "<div class=\"well\">\n";
echo "</div>\n";
if(in_array($type, array('docspermonth', 'docsaccumulated'))) {
echo "<div class=\"span9\">\n";
} else {
echo "<div class=\"span6\">\n";
}
$this->contentHeading(getMLText('chart_'.$type.'_title'));
echo "<div class=\"well\">\n";
?> ?>
<div id="chart" style="height: 400px;" class="chart"></div> <div id="chart" style="height: 400px;" class="chart"></div>
<?php <?php
echo "</div>\n"; echo "</div>\n";
echo "</div>\n"; echo "</div>\n";
if(!in_array($type, array('docspermonth', 'docsaccumulated'))) { if(!in_array($type, array('docspermonth', 'docsaccumulated'))) {
echo "<div class=\"span3\">\n"; echo "<div class=\"span3\">\n";
$this->contentHeading(getMLText('legend')); $this->contentHeading(getMLText('legend'));
echo "<div class=\"well\" id=\"legend\">\n"; echo "<div class=\"well\" id=\"legend\">\n";
echo "</div>\n"; echo "</div>\n";
echo "</div>\n"; echo "</div>\n";
} }
echo "</div>\n"; echo "</div>\n";
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->htmlEndPage(); $this->contentEnd();
$this->htmlEndPage();
} /* }}} */ } /* }}} */
} }
?> ?>

View File

@ -43,6 +43,7 @@ class SeedDMS_View_CreateIndex extends SeedDMS_Bootstrap_Style {
echo '<a href="out.Indexer.php?create=1&confirm=1" class="btn">'.getMLText('confirm_create_fulltext_index').'</a>'; echo '<a href="out.Indexer.php?create=1&confirm=1" class="btn">'.getMLText('confirm_create_fulltext_index').'</a>';
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -114,7 +114,7 @@ class SeedDMS_View_DashBoard extends SeedDMS_Bootstrap_Style {
</div> </div>
<? <?
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -259,6 +259,7 @@ $(document).ready( function() {
</div> </div>
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -140,6 +140,7 @@ $(document).ready( function() {
</p> </p>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
return; return;
} }
@ -292,6 +293,7 @@ $(document).ready( function() {
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -164,6 +164,7 @@ $(document).ready( function() {
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -346,6 +346,7 @@ class SeedDMS_View_DocumentVersionDetail extends SeedDMS_Bootstrap_Style {
</div> </div>
<?php <?php
} }
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -71,6 +71,7 @@ class SeedDMS_View_EditAttributes extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -93,6 +93,7 @@ function checkForm()
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -178,6 +178,7 @@ $(document).ready( function() {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -113,6 +113,7 @@ function checkForm()
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -124,6 +124,7 @@ function checkForm() {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -116,23 +116,24 @@ $(document).ready(function() {
<input type="hidden" name="documentid" value="<?= $document->getId() ?>" /> <input type="hidden" name="documentid" value="<?= $document->getId() ?>" />
<textarea id="markdown" name="data" width="100%" rows="20"> <textarea id="markdown" name="data" width="100%" rows="20">
<?php <?php
echo htmlspecialchars(file_get_contents($dms->contentDir . $version->getPath())); echo htmlspecialchars(file_get_contents($dms->contentDir . $version->getPath()));
?> ?>
</textarea> </textarea>
<button id="update" type="submit" class="btn btn-primary"><i class="icon-save"></i> <?php printMLText("save"); ?></button> <button id="update" type="submit" class="btn btn-primary"><i class="icon-save"></i> <?php printMLText("save"); ?></button>
</form> </form>
<?php <?php
echo "</div>\n"; echo "</div>\n";
echo "<div class=\"span6\">\n"; echo "<div class=\"span6\">\n";
$this->contentHeading(getMLText("preview")); $this->contentHeading(getMLText("preview"));
echo "<div class=\"ajax\" data-view=\"EditOnline\" data-action=\"preview\" data-query=\"documentid=".$document->getId()."\"></div>"; echo "<div class=\"ajax\" data-view=\"EditOnline\" data-action=\"preview\" data-query=\"documentid=".$document->getId()."\"></div>";
echo "</div>\n"; echo "</div>\n";
echo "</div>\n"; echo "</div>\n";
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->htmlEndPage(); $this->contentEnd();
$this->htmlEndPage();
} /* }}} */ } /* }}} */
} }
?> ?>

View File

@ -188,6 +188,7 @@ $(document).ready( function() {
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -131,6 +131,7 @@ function checkForm()
</p> </p>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
return; return;
} }
@ -277,6 +278,7 @@ function checkForm()
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -173,6 +173,7 @@ function checkForm()
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -80,6 +80,7 @@ class SeedDMS_View_ForcePasswordChange extends SeedDMS_Bootstrap_Style {
print "<p>"; print "<p>";
print implode(' | ', $tmpfoot); print implode(' | ', $tmpfoot);
print "</p>\n"; print "</p>\n";
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -296,6 +296,7 @@ $(document).ready( function() {
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -98,6 +98,7 @@ class SeedDMS_View_GroupView extends SeedDMS_Bootstrap_Style {
echo "</ul>\n"; echo "</ul>\n";
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -50,6 +50,7 @@ class SeedDMS_View_Help extends SeedDMS_Bootstrap_Style {
readfile("../languages/".$this->params['session']->getLanguage()."/help.htm"); readfile("../languages/".$this->params['session']->getLanguage()."/help.htm");
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -71,7 +71,7 @@ class SeedDMS_View_ImportFS extends SeedDMS_Bootstrap_Style {
print "</form>\n"; print "</form>\n";
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -72,6 +72,7 @@ class SeedDMS_View_IndexInfo extends SeedDMS_Bootstrap_Style {
$this->contentContainerEnd(); $this->contentContainerEnd();
// echo "</pre>"; // echo "</pre>";
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -102,6 +102,7 @@ class SeedDMS_View_Indexer extends SeedDMS_Bootstrap_Style {
$index->commit(); $index->commit();
$index->optimize(); $index->optimize();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -59,7 +59,7 @@ class SeedDMS_View_Info extends SeedDMS_Bootstrap_Style {
// $this->contentContainerStart(); // $this->contentContainerStart();
// phpinfo(); // phpinfo();
// $this->contentContainerEnd(); // $this->contentContainerEnd();
// $this->contentEnd(); $this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -149,6 +149,7 @@ $(document).ready( function() {
</div> </div>
</div> </div>
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} elseif(file_exists($this->contentdir.$logname)){ } elseif(file_exists($this->contentdir.$logname)){
echo $logname."<pre>\n"; echo $logname."<pre>\n";

View File

@ -31,26 +31,14 @@ require_once("class.Bootstrap.php");
*/ */
class SeedDMS_View_Login extends SeedDMS_Bootstrap_Style { class SeedDMS_View_Login extends SeedDMS_Bootstrap_Style {
function show() { /* {{{ */ function js() { /* {{{ */
$enableguestlogin = $this->params['enableguestlogin'];
$enablepasswordforgotten = $this->params['enablepasswordforgotten'];
$refer = $this->params['referrer'];
$themes = $this->params['themes'];
$languages = $this->params['languages'];
$enableLanguageSelector = $this->params['enablelanguageselector'];
$enableThemeSelector = $this->params['enablethemeselector'];
$this->htmlStartPage(getMLText("sign_in"), "login");
$this->globalBanner();
$this->contentStart();
$this->pageNavigation(getMLText("sign_in"));
?> ?>
<script language="JavaScript"> document.form1.login.focus();
function checkForm() function checkForm()
{ {
msg = new Array() msg = new Array()
if (document.form1.login.value == "") msg.push("<?php printMLText("js_no_login");?>"); if($("#login").val() == "") msg.push("<?php printMLText("js_no_login");?>");
if (document.form1.pwd.value == "") msg.push("<?php printMLText("js_no_pwd");?>"); if($("#pwd").val() == "") msg.push("<?php printMLText("js_no_pwd");?>");
if (msg != "") { if (msg != "") {
noty({ noty({
text: msg.join('<br />'), text: msg.join('<br />'),
@ -80,10 +68,35 @@ function guestLogin()
} }
document.location.href = url; document.location.href = url;
} }
$(document).ready( function() {
$('body').on('submit', '#form', function(ev){
if(checkForm()) return;
ev.preventDefault();
});
$('body').on('click', '#guestlogin', function(ev){
ev.preventDefault();
guestLogin();
});
});
<?php
} /* }}} */
</script> function show() { /* {{{ */
$enableguestlogin = $this->params['enableguestlogin'];
$enablepasswordforgotten = $this->params['enablepasswordforgotten'];
$refer = $this->params['referrer'];
$themes = $this->params['themes'];
$languages = $this->params['languages'];
$enableLanguageSelector = $this->params['enablelanguageselector'];
$enableThemeSelector = $this->params['enablethemeselector'];
$this->htmlStartPage(getMLText("sign_in"), "login");
$this->globalBanner();
$this->contentStart();
$this->pageNavigation(getMLText("sign_in"));
?>
<?php $this->contentContainerStart(); ?> <?php $this->contentContainerStart(); ?>
<form class="form-horizontal" action="../op/op.Login.php" method="post" name="form1" onsubmit="return checkForm();"> <form class="form-horizontal" action="../op/op.Login.php" method="post" name="form1" id="form">
<?php <?php
if ($refer) { if ($refer) {
echo "<input type='hidden' name='referuri' value='".sanitizeString($refer)."'/>"; echo "<input type='hidden' name='referuri' value='".sanitizeString($refer)."'/>";
@ -147,7 +160,7 @@ function guestLogin()
$this->contentContainerEnd(); $this->contentContainerEnd();
$tmpfoot = array(); $tmpfoot = array();
if ($enableguestlogin) if ($enableguestlogin)
$tmpfoot[] = "<a href=\"javascript:guestLogin()\">" . getMLText("guest_login") . "</a>\n"; $tmpfoot[] = "<a href=\"\" id=\"guestlogin\">" . getMLText("guest_login") . "</a>\n";
if ($enablepasswordforgotten) if ($enablepasswordforgotten)
$tmpfoot[] = "<a href=\"../out/out.PasswordForgotten.php\">" . getMLText("password_forgotten") . "</a>\n"; $tmpfoot[] = "<a href=\"../out/out.PasswordForgotten.php\">" . getMLText("password_forgotten") . "</a>\n";
if($tmpfoot) { if($tmpfoot) {
@ -155,9 +168,7 @@ function guestLogin()
print implode(' | ', $tmpfoot); print implode(' | ', $tmpfoot);
print "</p>\n"; print "</p>\n";
} }
?> $this->contentEnd();
<script language="JavaScript">document.form1.login.focus();</script>
<?php
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -222,6 +222,7 @@ class SeedDMS_View_ManageNotify extends SeedDMS_Bootstrap_Style {
echo "</div>"; echo "</div>";
echo "</div>"; echo "</div>";
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -65,6 +65,7 @@ class SeedDMS_View_MoveDocument extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -63,6 +63,7 @@ class SeedDMS_View_MoveFolder extends SeedDMS_Bootstrap_Style {
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -117,6 +117,7 @@ class SeedDMS_View_MyAccount extends SeedDMS_Bootstrap_Style {
print "</div>\n"; print "</div>\n";
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -814,6 +814,7 @@ class SeedDMS_View_MyDocuments extends SeedDMS_Bootstrap_Style {
$this->contentContainerEnd(); $this->contentContainerEnd();
} }
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -405,6 +405,7 @@ class SeedDMS_View_ObjectCheck extends SeedDMS_Bootstrap_Style {
} }
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -100,6 +100,7 @@ function checkForm()
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -67,6 +67,7 @@ class SeedDMS_View_PasswordForgotten extends SeedDMS_Bootstrap_Style {
<script language="JavaScript">document.form1.email.focus();</script> <script language="JavaScript">document.form1.email.focus();</script>
<p><a href="../out/out.Login.php"><?php echo getMLText("login"); ?></a></p> <p><a href="../out/out.Login.php"><?php echo getMLText("login"); ?></a></p>
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -45,6 +45,7 @@ class SeedDMS_View_PasswordSend extends SeedDMS_Bootstrap_Style {
<?php $this->contentContainerEnd(); ?> <?php $this->contentContainerEnd(); ?>
<p><a href="../out/out.Login.php"><?php echo getMLText("login"); ?></a></p> <p><a href="../out/out.Login.php"><?php echo getMLText("login"); ?></a></p>
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -52,6 +52,7 @@ class SeedDMS_View_RemoveArchive extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -56,6 +56,7 @@ class SeedDMS_View_RemoveDocument extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -55,6 +55,7 @@ class SeedDMS_View_RemoveDocumentFile extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -51,6 +51,7 @@ class SeedDMS_View_RemoveDump extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -53,6 +53,7 @@ class SeedDMS_View_RemoveEvent extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -54,6 +54,7 @@ class SeedDMS_View_RemoveFolder extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -52,6 +52,7 @@ class SeedDMS_View_RemoveFolderFiles extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -55,6 +55,7 @@ class SeedDMS_View_RemoveGroup extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -58,6 +58,7 @@ class SeedDMS_View_RemoveLog extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -73,6 +73,7 @@ class SeedDMS_View_RemoveUser extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -54,6 +54,7 @@ class SeedDMS_View_RemoveVersion extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -63,6 +63,7 @@ class SeedDMS_View_RemoveWorkflow extends SeedDMS_Bootstrap_Style {
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -104,6 +104,7 @@ class SeedDMS_View_RemoveWorkflowFromDocument extends SeedDMS_Bootstrap_Style {
$this->contentContainerEnd(); $this->contentContainerEnd();
} }
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -135,6 +135,7 @@ function checkForm()
$this->contentContainerEnd(); $this->contentContainerEnd();
} }
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -208,6 +208,7 @@ function checkGrpForm()
<?php <?php
} }
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -161,6 +161,7 @@ class SeedDMS_View_ReviewSummary extends SeedDMS_Bootstrap_Style {
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -104,6 +104,7 @@ class SeedDMS_View_RewindWorkflow extends SeedDMS_Bootstrap_Style {
$this->contentContainerEnd(); $this->contentContainerEnd();
} }
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -105,6 +105,7 @@ class SeedDMS_View_RunSubWorkflow extends SeedDMS_Bootstrap_Style {
$this->contentContainerEnd(); $this->contentContainerEnd();
} }
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -628,6 +628,7 @@ class SeedDMS_View_Search extends SeedDMS_Bootstrap_Style {
// }}} // }}}
echo "</div>"; echo "</div>";
echo "</div>"; echo "</div>";
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -272,6 +272,7 @@ function checkForm()
</div> </div>
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -66,6 +66,7 @@ class SeedDMS_View_SearchFulltext extends SeedDMS_Bootstrap_Style {
$this->contentContainerStart(); $this->contentContainerStart();
if ($numResults == 0) { if ($numResults == 0) {
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
exit; exit;
} }
@ -122,6 +123,7 @@ class SeedDMS_View_SearchFulltext extends SeedDMS_Bootstrap_Style {
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->pageList($pageNumber, $totalpages, "../op/op.Search.php", $_GET); $this->pageList($pageNumber, $totalpages, "../op/op.Search.php", $_GET);
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -74,6 +74,7 @@ class SeedDMS_View_SetExpires extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -239,6 +239,7 @@ class SeedDMS_View_SetReviewersApprovers extends SeedDMS_Bootstrap_Style {
</form> </form>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -112,6 +112,7 @@ function showWorkflow(selectObj) {
</div> </div>
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -716,6 +716,7 @@ if(is_writeable($settings->_configFilePath)) {
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -176,51 +176,50 @@ class SeedDMS_View_Statistic extends SeedDMS_Bootstrap_Style {
</style> </style>
<?php <?php
$this->contentHeading(getMLText("folders_and_documents_statistic"));
echo "<div class=\"row-fluid\">\n";
echo "<div class=\"span8\">\n";
echo "<div class=\"well\">\n";
$this->contentHeading(getMLText("folders_and_documents_statistic")); print "<table class=\"table-condensed\"><tr><td>\n";
echo "<div class=\"row-fluid\">\n";
echo "<div class=\"span8\">\n";
echo "<div class=\"well\">\n";
print "<table class=\"table-condensed\"><tr><td>\n"; print "<ul>\n";
$this->printFolder($rootfolder);
print "</ul>\n";
print "<ul>\n"; print "</td></tr>";
$this->printFolder($rootfolder);
print "</ul>\n";
print "</td></tr>"; print "</table>\n";
echo "</div>\n";
echo "</div>\n";
print "</table>\n"; echo "<div class=\"span4\">\n";
echo "</div>\n"; echo "<div class=\"well\">\n";
echo "</div>\n"; print "<legend>".getMLText("legend")."</legend>\n";
print "<ul class=\"unstyled\">\n";
print "<li><span style=\"color:black\">".getMLText("access_inheritance")." </span></li>";
print "<li><span style=\"color:".$this->getAccessColor(M_ALL)."\">".getMLText("access_mode_all")." </span></li>";
print "<li><span style=\"color:".$this->getAccessColor(M_READWRITE)."\">".getMLText("access_mode_readwrite")." </span></li>";
print "<li><span style=\"color:".$this->getAccessColor(M_READ)."\">".getMLText("access_mode_read")." </span></li>";
print "<li><span style=\"color:".$this->getAccessColor(M_NONE)."\">".getMLText("access_mode_none")." </span></li>";
print "</ul>\n";
echo "<div class=\"span4\">\n"; print "<legend>".getMLText("statistic")."</legend>\n";
echo "<div class=\"well\">\n"; print "<ul class=\"unstyled\">\n";
print "<legend>".getMLText("legend")."</legend>\n"; print "<li>".getMLText("folders").": ".$this->folder_count."</li>\n";
print "<ul class=\"unstyled\">\n"; print "<li>".getMLText("documents").": ".$this->document_count."</li>\n";
print "<li><span style=\"color:black\">".getMLText("access_inheritance")." </span></li>"; print "<li>".getMLText("files").": ".$this->file_count."</li>\n";
print "<li><span style=\"color:".$this->getAccessColor(M_ALL)."\">".getMLText("access_mode_all")." </span></li>"; print "<li>".getMLText("storage_size").": ".SeedDMS_Core_File::format_filesize($this->storage_size)."</li>\n";
print "<li><span style=\"color:".$this->getAccessColor(M_READWRITE)."\">".getMLText("access_mode_readwrite")." </span></li>";
print "<li><span style=\"color:".$this->getAccessColor(M_READ)."\">".getMLText("access_mode_read")." </span></li>";
print "<li><span style=\"color:".$this->getAccessColor(M_NONE)."\">".getMLText("access_mode_none")." </span></li>";
print "</ul>\n";
print "<legend>".getMLText("statistic")."</legend>\n"; print "</ul>\n";
print "<ul class=\"unstyled\">\n";
print "<li>".getMLText("folders").": ".$this->folder_count."</li>\n";
print "<li>".getMLText("documents").": ".$this->document_count."</li>\n";
print "<li>".getMLText("files").": ".$this->file_count."</li>\n";
print "<li>".getMLText("storage_size").": ".SeedDMS_Core_File::format_filesize($this->storage_size)."</li>\n";
print "</ul>\n"; echo "</div>\n";
echo "</div>\n";
echo "</div>\n";
echo "</div>\n"; $this->contentContainerEnd();
echo "</div>\n"; $this->contentEnd();
echo "</div>\n"; $this->htmlEndPage();
$this->contentContainerEnd();
$this->htmlEndPage();
} /* }}} */ } /* }}} */
} }
?> ?>

View File

@ -79,6 +79,7 @@ class SeedDMS_View_SubstituteUser extends SeedDMS_Bootstrap_Style {
echo "</table>"; echo "</table>";
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -248,6 +248,7 @@ $(document).ready(function () {
echo "</div>\n"; echo "</div>\n";
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -132,6 +132,7 @@ function checkForm()
$this->contentContainerEnd(); $this->contentContainerEnd();
} }
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -133,6 +133,7 @@ $(document).ready( function() {
{ {
printMLText("no_update_cause_locked"); printMLText("no_update_cause_locked");
print "</div>"; print "</div>";
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
exit; exit;
} }
@ -591,6 +592,7 @@ $(document).ready( function() {
<?php <?php
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -190,6 +190,7 @@ showKeywords(sel);
</script> </script>
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -112,6 +112,7 @@ class SeedDMS_View_UserList extends SeedDMS_Bootstrap_Style {
echo "</table>"; echo "</table>";
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -491,6 +491,7 @@ $(document).ready( function() {
</div> </div>
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -81,6 +81,7 @@ class SeedDMS_View_UsrView extends SeedDMS_Bootstrap_Style {
echo "</table>\n"; echo "</table>\n";
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -395,6 +395,7 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
$this->contentContainerStart(); $this->contentContainerStart();
print getMLText('document_content_missing'); print getMLText('document_content_missing');
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
exit; exit;
} }
@ -1262,8 +1263,8 @@ class SeedDMS_View_ViewDocument extends SeedDMS_Bootstrap_Style {
</div> </div>
</div> </div>
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }
?> ?>

View File

@ -91,6 +91,7 @@ class SeedDMS_View_ViewEvent extends SeedDMS_Bootstrap_Style {
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -319,11 +319,11 @@ function folderSelected(id, name) {
} }
echo "</div>\n"; // End of right column div echo "</div>\n"; // End of right column div
echo "</div>\n"; // End of div around left and right column
$this->contentEnd();
echo $this->callHook('postContent'); echo $this->callHook('postContent');
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -185,8 +185,8 @@ showWorkflowAction(sel);
</script> </script>
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -351,8 +351,8 @@ showWorkflow(sel);
</script> </script>
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -202,8 +202,8 @@ showWorkflowState(sel);
</script> </script>
<?php <?php
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }

View File

@ -161,8 +161,8 @@ class SeedDMS_View_WorkflowSummary extends SeedDMS_Bootstrap_Style {
printMLText("no_docs_to_look_at"); printMLText("no_docs_to_look_at");
} }
$this->contentContainerEnd(); $this->contentContainerEnd();
$this->contentEnd();
$this->htmlEndPage(); $this->htmlEndPage();
} /* }}} */ } /* }}} */
} }