mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
back button can be turned off
This commit is contained in:
parent
2e25da5719
commit
b7d61aea43
|
@ -37,6 +37,7 @@ class SeedDMS_View_ErrorDlg extends SeedDMS_Bootstrap_Style {
|
|||
$pagetitle = $this->params['pagetitle'];
|
||||
$errormsg = $this->params['errormsg'];
|
||||
$plain = $this->params['plain'];
|
||||
$showbutton = $this->hasParam('nobackbutton') === false || $this->getParam('nobackbutton') === false;
|
||||
$settings = $this->params['settings'];
|
||||
|
||||
if(!$plain) {
|
||||
|
@ -49,7 +50,8 @@ class SeedDMS_View_ErrorDlg extends SeedDMS_Bootstrap_Style {
|
|||
print "<h4>".getMLText('error')."!</h4>";
|
||||
print htmlspecialchars($errormsg);
|
||||
print "</div>";
|
||||
print "<div><button class=\"btn history-back\">".getMLText('back')."</button></div>";
|
||||
if($showbutton)
|
||||
print "<div><button class=\"btn history-back\">".getMLText('back')."</button></div>";
|
||||
|
||||
$this->contentEnd();
|
||||
$this->htmlEndPage();
|
||||
|
|
Loading…
Reference in New Issue
Block a user