mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-07-15 08:58:10 +00:00
some code reorganization
This commit is contained in:
parent
93cb26e79d
commit
9b8fe89730
|
@ -43,11 +43,12 @@ class SeedDMS_View_EditFolder extends SeedDMS_Bootstrap_Style {
|
|||
$this->globalNavigation($folder);
|
||||
$this->contentStart();
|
||||
$this->pageNavigation($this->getFolderPathHTML($folder, true), "view_folder", $folder);
|
||||
$this->contentHeading(getMLText("edit_folder_props"));
|
||||
$this->contentContainerStart();
|
||||
?>
|
||||
|
||||
<script language="JavaScript">
|
||||
function checkForm()
|
||||
{
|
||||
function checkForm() {
|
||||
msg = new Array();
|
||||
if (document.form1.name.value == "") msg.push("<?php printMLText("js_no_name");?>");
|
||||
<?php
|
||||
|
@ -64,7 +65,6 @@ function checkForm()
|
|||
dismissQueue: true,
|
||||
layout: 'topRight',
|
||||
theme: 'defaultTheme',
|
||||
_timeout: 1500,
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
@ -72,14 +72,9 @@ function checkForm()
|
|||
return true;
|
||||
}
|
||||
</script>
|
||||
|
||||
<?php
|
||||
$this->contentHeading(getMLText("edit_folder_props"));
|
||||
$this->contentContainerStart();
|
||||
?>
|
||||
<form action="../op/op.EditFolder.php" name="form1" onsubmit="return checkForm();" method="POST">
|
||||
<input type="Hidden" name="folderid" value="<?php print $folder->getID();?>">
|
||||
<input type="Hidden" name="showtree" value="<?php echo showtree();?>">
|
||||
<form action="../op/op.EditFolder.php" name="form1" onsubmit="return checkForm();" method="post">
|
||||
<input type="hidden" name="folderid" value="<?php print $folder->getID();?>">
|
||||
<input type="hidden" name="showtree" value="<?php echo showtree();?>">
|
||||
<table class="table-condensed">
|
||||
<tr>
|
||||
<td><?php printMLText("name");?>:</td>
|
||||
|
|
Loading…
Reference in New Issue
Block a user