mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-14 21:51:32 +00:00
place submit button outside of content container
This commit is contained in:
parent
49842f9728
commit
da17e00422
|
@ -41,15 +41,13 @@ class SeedDMS_View_ClearCache extends SeedDMS_Theme_Style {
|
||||||
$this->contentStart();
|
$this->contentStart();
|
||||||
$this->pageNavigation(getMLText("admin_tools"), "admin_tools");
|
$this->pageNavigation(getMLText("admin_tools"), "admin_tools");
|
||||||
$this->contentHeading(getMLText("clear_cache"));
|
$this->contentHeading(getMLText("clear_cache"));
|
||||||
$this->contentContainerStart('warning');
|
$this->warningMsg(getMLText("confirm_clear_cache", array('cache_dir'=>$cachedir)));
|
||||||
|
|
||||||
?>
|
?>
|
||||||
<form action="../op/op.ClearCache.php" name="form1" method="post">
|
<form action="../op/op.ClearCache.php" name="form1" method="post">
|
||||||
<?php echo createHiddenFieldWithKey('clearcache'); ?>
|
<?php echo createHiddenFieldWithKey('clearcache'); ?>
|
||||||
<p>
|
<?php
|
||||||
<?php printMLText("confirm_clear_cache", array('cache_dir'=>$cachedir));?>
|
$this->contentContainerStart('warning');
|
||||||
</p>
|
?>
|
||||||
<p>
|
|
||||||
<input type="checkbox" name="preview" value="1" checked> <?php printMLText('preview_images'); ?>
|
<input type="checkbox" name="preview" value="1" checked> <?php printMLText('preview_images'); ?>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
|
@ -60,11 +58,11 @@ class SeedDMS_View_ClearCache extends SeedDMS_Theme_Style {
|
||||||
foreach($addcache as $c)
|
foreach($addcache as $c)
|
||||||
echo "<p><input type=\"checkbox\" name=\"".$c[0]."\" value=\"1\" checked> ".$c[1]."</p>";
|
echo "<p><input type=\"checkbox\" name=\"".$c[0]."\" value=\"1\" checked> ".$c[1]."</p>";
|
||||||
}
|
}
|
||||||
|
$this->contentContainerEnd();
|
||||||
|
$this->formSubmit("<i class=\"fa fa-remove\"></i> ".getMLText('clear_cache'), '', '', 'danger');
|
||||||
?>
|
?>
|
||||||
<p><button type="submit" class="btn btn-danger"><i class="fa fa-remove"></i> <?php printMLText("clear_cache");?></button></p>
|
|
||||||
</form>
|
</form>
|
||||||
<?php
|
<?php
|
||||||
$this->contentContainerEnd();
|
|
||||||
$this->contentEnd();
|
$this->contentEnd();
|
||||||
$this->htmlEndPage();
|
$this->htmlEndPage();
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
|
@ -52,8 +52,8 @@ class SeedDMS_View_ImportFS extends SeedDMS_Theme_Style {
|
||||||
|
|
||||||
if($dropfolderdir && file_exists($dropfolderdir.'/'.$user->getLogin())) {
|
if($dropfolderdir && file_exists($dropfolderdir.'/'.$user->getLogin())) {
|
||||||
$this->warningMsg(getMLText("import_fs_warning"));
|
$this->warningMsg(getMLText("import_fs_warning"));
|
||||||
$this->contentContainerStart();
|
|
||||||
print "<form class=\"form-horizontal\" action=\"../op/op.ImportFS.php\" name=\"form1\">";
|
print "<form class=\"form-horizontal\" action=\"../op/op.ImportFS.php\" name=\"form1\">";
|
||||||
|
$this->contentContainerStart();
|
||||||
$this->formField(getMLText("choose_target_folder"), $this->getFolderChooserHtml("form1", M_READWRITE));
|
$this->formField(getMLText("choose_target_folder"), $this->getFolderChooserHtml("form1", M_READWRITE));
|
||||||
$this->formField(
|
$this->formField(
|
||||||
getMLText("dropfolder_folder"),
|
getMLText("dropfolder_folder"),
|
||||||
|
@ -90,9 +90,9 @@ class SeedDMS_View_ImportFS extends SeedDMS_Theme_Style {
|
||||||
'value'=>'1'
|
'value'=>'1'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
$this->contentContainerEnd();
|
||||||
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('import'));
|
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('import'));
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
$this->contentContainerEnd();
|
|
||||||
} else {
|
} else {
|
||||||
$this->warningMsg(getMLText("dropfolderdir_missing"));
|
$this->warningMsg(getMLText("dropfolderdir_missing"));
|
||||||
}
|
}
|
||||||
|
|
|
@ -53,8 +53,8 @@ class SeedDMS_View_ImportUsers extends SeedDMS_Theme_Style {
|
||||||
|
|
||||||
$this->rowStart();
|
$this->rowStart();
|
||||||
$this->columnStart(4);
|
$this->columnStart(4);
|
||||||
$this->contentContainerStart();
|
|
||||||
print "<form class=\"form-horizontal\" action=\"../op/op.ImportUsers.php\" name=\"form1\" enctype=\"multipart/form-data\" method=\"post\">";
|
print "<form class=\"form-horizontal\" action=\"../op/op.ImportUsers.php\" name=\"form1\" enctype=\"multipart/form-data\" method=\"post\">";
|
||||||
|
$this->contentContainerStart();
|
||||||
$this->formField(
|
$this->formField(
|
||||||
getMLText("userdata_file"),
|
getMLText("userdata_file"),
|
||||||
$this->getFileChooserHtml('userdata', false)
|
$this->getFileChooserHtml('userdata', false)
|
||||||
|
@ -77,9 +77,9 @@ class SeedDMS_View_ImportUsers extends SeedDMS_Theme_Style {
|
||||||
'value'=>'1'
|
'value'=>'1'
|
||||||
)
|
)
|
||||||
);
|
);
|
||||||
|
$this->contentContainerEnd();
|
||||||
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('import'));
|
$this->formSubmit("<i class=\"fa fa-save\"></i> ".getMLText('import'));
|
||||||
print "</form>\n";
|
print "</form>\n";
|
||||||
$this->contentContainerEnd();
|
|
||||||
|
|
||||||
$this->columnEnd();
|
$this->columnEnd();
|
||||||
$this->columnStart(8);
|
$this->columnStart(8);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user