mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
Merge branch 'seeddms-4.3.x' into seeddms-5.0.x
This commit is contained in:
commit
a9a51adbb5
|
@ -58,6 +58,7 @@ if (!is_object($version)) {
|
|||
$latestContent = $document->getLatestContent();
|
||||
if ($latestContent->getVersion()==$version->getVersion()) {
|
||||
header("Location:../out/out.ViewDocument.php?documentid=".$document->getID());
|
||||
exit;
|
||||
}
|
||||
|
||||
$folder = $document->getFolder();
|
||||
|
|
|
@ -58,6 +58,7 @@ if ($document->getAccessMode($user) < M_READ) {
|
|||
*/
|
||||
if ($document->verifyLastestContentExpriry()){
|
||||
header("Location:../out/out.ViewDocument.php?documentid=".$document->getID());
|
||||
exit;
|
||||
}
|
||||
|
||||
if($view) {
|
||||
|
|
|
@ -82,38 +82,44 @@ $(document).ready(function() {
|
|||
$expdate = date('Y-m-d');
|
||||
?>
|
||||
|
||||
<form action="../op/op.AddEvent.php" id="form1" name="form1" method="post">
|
||||
<table class="table-condensed">
|
||||
<tr>
|
||||
<td><?php printMLText("from");?>:</td>
|
||||
<td><?php //$this->printDateChooser(-1, "from");?>
|
||||
<form class="form-horizontal" action="../op/op.AddEvent.php" id="form1" name="form1" method="post">
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("from");?>:</label>
|
||||
<div class="controls"><?php //$this->printDateChooser(-1, "from");?>
|
||||
<span class="input-append date span12" id="fromdate" data-date="<?php echo $expdate; ?>" data-date-format="yyyy-mm-dd">
|
||||
<input class="span6" size="16" name="from" type="text" value="<?php echo $expdate; ?>">
|
||||
<span class="add-on"><i class="icon-calendar"></i></span>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php printMLText("to");?>:</td>
|
||||
<td><?php //$this->printDateChooser(-1, "to");?>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("to");?>:</label>
|
||||
<div class="controls"><?php //$this->printDateChooser(-1, "to");?>
|
||||
<span class="input-append date span12" id="todate" data-date="<?php echo $expdate; ?>" data-date-format="yyyy-mm-dd">
|
||||
<input class="span6" size="16" name="to" type="text" value="<?php echo $expdate; ?>">
|
||||
<span class="add-on"><i class="icon-calendar"></i></span>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="inputDescription"><?php printMLText("name");?>:</td>
|
||||
<td><input type="text" name="name" size="60"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" class="inputDescription"><?php printMLText("comment");?>:</td>
|
||||
<td><textarea name="comment" rows="4" cols="80"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td><td><input class="btn" type="submit" value="<?php printMLText("add_event");?>"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("name");?>:</label>
|
||||
<div class="controls"><input type="text" name="name" size="60"></div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("comment");?>:</label>
|
||||
<div class="controls"><textarea name="comment" rows="4" cols="80"></textarea></div>
|
||||
</div>
|
||||
|
||||
<div class="controls">
|
||||
<input class="btn" type="submit" value="<?php printMLText("add_event");?>">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<?php
|
||||
$this->contentContainerEnd();
|
||||
|
|
|
@ -71,8 +71,8 @@ $(document).ready( function() {
|
|||
?>
|
||||
<form style="display: inline-block;" method="post" action="../op/op.Categories.php" >
|
||||
<?php echo createHiddenFieldWithKey('removecategory'); ?>
|
||||
<input type="Hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
<input type="Hidden" name="action" value="removecategory">
|
||||
<input type="hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
<input type="hidden" name="action" value="removecategory">
|
||||
<button class="btn" type="submit"><i class="icon-remove"></i> <?php echo getMLText("rm_document_category")?></button>
|
||||
</form>
|
||||
<?php
|
||||
|
|
|
@ -50,7 +50,7 @@ document.form1.newpassword.focus();
|
|||
$this->pageNavigation(getMLText("change_password"));
|
||||
$this->contentContainerStart();
|
||||
?>
|
||||
<form action="../op/op.ChangePassword.php" method="post" name="form1">
|
||||
<form class="form-horizontal" action="../op/op.ChangePassword.php" method="post" name="form1">
|
||||
<?php
|
||||
if ($referuri) {
|
||||
echo "<input type='hidden' name='referuri' value='".$referuri."'/>";
|
||||
|
@ -59,32 +59,32 @@ document.form1.newpassword.focus();
|
|||
echo "<input type='hidden' name='hash' value='".$hash."'/>";
|
||||
}
|
||||
?>
|
||||
<table class="table-condensed">
|
||||
<tr>
|
||||
<td><?php printMLText("password");?>:</td>
|
||||
<td><input class="pwd" type="password" rel="strengthbar" name="newpassword" id="password"></td>
|
||||
</tr>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("password");?>:</label>
|
||||
<div class="controls"><input class="pwd" type="password" rel="strengthbar" name="newpassword" id="password"></div>
|
||||
</div>
|
||||
<?php
|
||||
if($passwordstrength > 0) {
|
||||
?>
|
||||
<tr>
|
||||
<td><?php printMLText("password_strength");?>:</td>
|
||||
<td>
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("password_strength");?>:</label>
|
||||
<div class="controls">
|
||||
<div id="strengthbar" class="progress" style="width: 220px; height: 30px; margin-bottom: 8px;"><div class="bar bar-danger" style="width: 0%;"></div></div>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td><?php printMLText("confirm_pwd");?>:</td>
|
||||
<td><input type="password" name="newpasswordrepeat" id="passwordrepeat"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><input class="btn" type="submit" value="<?php printMLText("submit_password") ?>"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("confirm_pwd");?>:</label>
|
||||
<div class="controls"><input type="password" name="newpasswordrepeat" id="passwordrepeat"></div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls"><input class="btn" type="submit" value="<?php printMLText("submit_password") ?>"></div>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<?php $this->contentContainerEnd(); ?>
|
||||
<p><a href="../out/out.Login.php"><?php echo getMLText("login"); ?></a></p>
|
||||
|
|
|
@ -140,21 +140,22 @@ $(document).ready( function() {
|
|||
$owner = $category->getOwner();
|
||||
if ((!$user->isAdmin()) && ($owner->getID() != $user->getID())) return;
|
||||
?>
|
||||
<table class="table-condensed">
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
<form action="../op/op.DefaultKeywords.php" method="post">
|
||||
<?php echo createHiddenFieldWithKey('removecategory'); ?>
|
||||
<input type="Hidden" name="action" value="removecategory">
|
||||
<input type="Hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
<button type="submit" class="btn" title="<?php echo getMLText("delete")?>"><i class="icon-remove"></i> <?php printMLText("rm_default_keyword_category");?></button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo getMLText("name")?>:</td>
|
||||
<td>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php echo getMLText("name")?>:</label>
|
||||
<div class="controls">
|
||||
<form class="form-inline formn" action="../op/op.DefaultKeywords.php" method="post">
|
||||
<?php echo createHiddenFieldWithKey('editcategory'); ?>
|
||||
<input type="hidden" name="action" value="editcategory">
|
||||
|
@ -162,11 +163,12 @@ $(document).ready( function() {
|
|||
<input name="name" class="name" type="text" value="<?php echo htmlspecialchars($category->getName()) ?>">
|
||||
<button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText("save");?></button>
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php echo getMLText("default_keywords")?>:</td>
|
||||
<td>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php echo getMLText("default_keywords")?>:</label>
|
||||
<div class="controls">
|
||||
<?php
|
||||
$lists = $category->getKeywordLists();
|
||||
if (count($lists) == 0)
|
||||
|
@ -192,23 +194,22 @@ $(document).ready( function() {
|
|||
</form>
|
||||
<br>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label"></label>
|
||||
<div class="controls">
|
||||
<form class="form-inline formk" action="../op/op.DefaultKeywords.php" method="post">
|
||||
<?php echo createHiddenFieldWithKey('newkeywords'); ?>
|
||||
<input type="Hidden" name="action" value="newkeywords">
|
||||
<input type="Hidden" name="categoryid" value="<?php echo $category->getID()?>">
|
||||
<input type="text" class="keywords" name="keywords">
|
||||
|
||||
<input type="submit" class="btn" value="<?php printMLText("new_default_keywords");?>">
|
||||
</form>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</table>
|
||||
<?php
|
||||
}
|
||||
} /* }}} */
|
||||
|
|
|
@ -115,13 +115,13 @@ $(document).ready( function() {
|
|||
?>
|
||||
<br>
|
||||
|
||||
<form action="../op/op.DocumentNotify.php" name="form1" id="form1">
|
||||
<form class=form-horizontal" action="../op/op.DocumentNotify.php" name="form1" id="form1">
|
||||
<input type="hidden" name="documentid" value="<?php print $document->getID()?>">
|
||||
<input type="hidden" name="action" value="addnotify">
|
||||
<table class="table-condensed">
|
||||
<tr>
|
||||
<td><?php printMLText("user");?>:</td>
|
||||
<td>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("user");?>:</label>
|
||||
<div class="controls">
|
||||
<select name="userid">
|
||||
<option value="-1"><?php printMLText("select_one");?>
|
||||
<?php
|
||||
|
@ -137,11 +137,14 @@ $(document).ready( function() {
|
|||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php printMLText("group");?>:</td>
|
||||
<td>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("group");?>:</label>
|
||||
|
||||
<div class="controls">
|
||||
<select name="groupid">
|
||||
<option value="-1"><?php printMLText("select_one");?>
|
||||
<?php
|
||||
|
@ -153,13 +156,13 @@ $(document).ready( function() {
|
|||
}
|
||||
?>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><input type="submit" class="btn" value="<?php printMLText("add") ?>"></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="controls">
|
||||
<input type="submit" class="btn" value="<?php printMLText("add") ?>">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
||||
<?php
|
||||
|
|
|
@ -47,27 +47,28 @@ class SeedDMS_View_EditAttributes extends SeedDMS_Bootstrap_Style {
|
|||
$this->contentHeading(getMLText("edit_attributes"));
|
||||
$this->contentContainerStart();
|
||||
?>
|
||||
<form action="../op/op.EditAttributes.php" name="form1" method="POST">
|
||||
<form class="form-horizontal" action="../op/op.EditAttributes.php" name="form1" method="POST">
|
||||
<?php echo createHiddenFieldWithKey('editattributes'); ?>
|
||||
<input type="Hidden" name="documentid" value="<?php print $document->getID();?>">
|
||||
<input type="Hidden" name="version" value="<?php print $version->getVersion();?>">
|
||||
<table class="table-condensed">
|
||||
<input type="hidden" name="documentid" value="<?php print $document->getID();?>">
|
||||
<input type="hidden" name="version" value="<?php print $version->getVersion();?>">
|
||||
|
||||
<?php
|
||||
if($attrdefs) {
|
||||
foreach($attrdefs as $attrdef) {
|
||||
?>
|
||||
<tr>
|
||||
<td><?php echo htmlspecialchars($attrdef->getName()); ?></td>
|
||||
<td><?php $this->printAttributeEditField($attrdef, $version->getAttribute($attrdef)) ?></td>
|
||||
</tr>
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php echo htmlspecialchars($attrdef->getName()); ?></label>
|
||||
<div class="controls">
|
||||
<?php $this->printAttributeEditField($attrdef, $version->getAttribute($attrdef)) ?>
|
||||
</div>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
<tr>
|
||||
<td colspan="2"><button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText("save") ?></button></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText("save") ?></button>
|
||||
</div>
|
||||
</form>
|
||||
<?php
|
||||
$this->contentContainerEnd();
|
||||
|
|
|
@ -84,20 +84,19 @@ $(document).ready(function() {
|
|||
$this->contentHeading(getMLText("edit_comment"));
|
||||
$this->contentContainerStart();
|
||||
?>
|
||||
<form action="../op/op.EditComment.php" id="form1" name="form1" method="post">
|
||||
<form class="form-horizontal" action="../op/op.EditComment.php" id="form1" name="form1" method="post">
|
||||
<?php echo createHiddenFieldWithKey('editcomment'); ?>
|
||||
<input type="Hidden" name="documentid" value="<?php print $document->getID();?>">
|
||||
<input type="Hidden" name="version" value="<?php print $version->getVersion();?>">
|
||||
<table class="table-condensed">
|
||||
<tr>
|
||||
<td class="inputDescription"><?php printMLText("comment");?>:</td>
|
||||
<td><textarea name="comment" rows="4" cols="80"><?php print htmlspecialchars($version->getComment());?></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText("save") ?></button></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("comment");?>:</label>
|
||||
<div class="controls">
|
||||
<textarea name="comment" rows="4" cols="80"><?php print htmlspecialchars($version->getComment());?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText("save") ?></button>
|
||||
</div>
|
||||
</form>
|
||||
<?php
|
||||
$this->contentContainerEnd();
|
||||
|
|
|
@ -84,43 +84,46 @@ $(document).ready(function() {
|
|||
$this->contentContainerStart();
|
||||
?>
|
||||
|
||||
<form action="../op/op.EditEvent.php" id="form1" name="form1" method="POST">
|
||||
<form class="form-horizontal" action="../op/op.EditEvent.php" id="form1" name="form1" method="POST">
|
||||
<?php echo createHiddenFieldWithKey('editevent'); ?>
|
||||
|
||||
<input type="Hidden" name="eventid" value="<?php echo (int) $event["id"]; ?>">
|
||||
<input type="hidden" name="eventid" value="<?php echo (int) $event["id"]; ?>">
|
||||
|
||||
<table class="table-condensed">
|
||||
<tr>
|
||||
<td><?php printMLText("from");?>:</td>
|
||||
<td><?php //$this->printDateChooser($event["start"], "from");?>
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("from");?>:</label>
|
||||
<div class="controls">
|
||||
<?php //$this->printDateChooser($event["start"], "from");?>
|
||||
<span class="input-append date span12" id="fromdate" data-date="<?php echo date('Y-m-d', $event["start"]); ?>" data-date-format="yyyy-mm-dd">
|
||||
<input class="span6" size="16" name="from" type="text" value="<?php echo date('Y-m-d', $event["start"]); ?>">
|
||||
<span class="add-on"><i class="icon-calendar"></i></span>
|
||||
<span class="add-on"><i class="icon-calendar"></i>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php printMLText("to");?>:</td>
|
||||
<td><?php //$this->printDateChooser($event["stop"], "to");?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("to");?>:</label>
|
||||
<div class="controls">
|
||||
<?php //$this->printDateChooser($event["stop"], "to");?>
|
||||
<span class="input-append date span12" id="todate" data-date="<?php echo date('Y-m-d', $event["stop"]); ?>" data-date-format="yyyy-mm-dd">
|
||||
<input class="span6" size="16" name="to" type="text" value="<?php echo date('Y-m-d', $event["stop"]); ?>">
|
||||
<span class="add-on"><i class="icon-calendar"></i></span>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="inputDescription"><?php printMLText("name");?>:</td>
|
||||
<td><input type="text" name="name" value="<?php echo htmlspecialchars($event["name"]);?>" size="60"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td valign="top" class="inputDescription"><?php printMLText("comment");?>:</td>
|
||||
<td><textarea name="comment" rows="4" cols="80"><?php echo htmlspecialchars($event["comment"])?></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText("save")?></button></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("name");?>:</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="name" value="<?php echo htmlspecialchars($event["name"]);?>" size="60">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("comment");?>:</label>
|
||||
<div class="controls">
|
||||
<textarea name="comment" rows="4" cols="80"><?php echo htmlspecialchars($event["comment"])?></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText("save")?></button>
|
||||
</div>
|
||||
</form>
|
||||
<?php
|
||||
$this->contentContainerEnd();
|
||||
|
|
|
@ -158,8 +158,8 @@ $(document).ready(function() {
|
|||
?>
|
||||
<form class="form-inline" action="../op/op.FolderAccess.php">
|
||||
<?php echo createHiddenFieldWithKey('folderaccess'); ?>
|
||||
<input type="Hidden" name="folderid" value="<?php print $folder->getID();?>">
|
||||
<input type="Hidden" name="action" value="setdefault">
|
||||
<input type="hidden" name="folderid" value="<?php print $folder->getID();?>">
|
||||
<input type="hidden" name="action" value="setdefault">
|
||||
<?php $this->printAccessModeSelection($folder->getDefaultAccess()); ?>
|
||||
<button type="submit" class="btn"><i class="icon-save"></i> <?php printMLText("save")?></button>
|
||||
</form>
|
||||
|
@ -179,9 +179,9 @@ $(document).ready(function() {
|
|||
print "<td>". htmlspecialchars($userObj->getFullName()) . "</td>\n";
|
||||
print "<form action=\"../op/op.FolderAccess.php\">\n";
|
||||
echo createHiddenFieldWithKey('folderaccess')."\n";
|
||||
print "<input type=\"Hidden\" name=\"folderid\" value=\"".$folder->getID()."\">\n";
|
||||
print "<input type=\"Hidden\" name=\"action\" value=\"editaccess\">\n";
|
||||
print "<input type=\"Hidden\" name=\"userid\" value=\"".$userObj->getID()."\">\n";
|
||||
print "<input type=\"hidden\" name=\"folderid\" value=\"".$folder->getID()."\">\n";
|
||||
print "<input type=\"hidden\" name=\"action\" value=\"editaccess\">\n";
|
||||
print "<input type=\"hidden\" name=\"userid\" value=\"".$userObj->getID()."\">\n";
|
||||
print "<td>\n";
|
||||
$this->printAccessModeSelection($userAccess->getMode());
|
||||
print "</td>\n";
|
||||
|
@ -191,9 +191,9 @@ $(document).ready(function() {
|
|||
print "</form>\n";
|
||||
print "<form action=\"../op/op.FolderAccess.php\">\n";
|
||||
echo createHiddenFieldWithKey('folderaccess')."\n";
|
||||
print "<input type=\"Hidden\" name=\"folderid\" value=\"".$folder->getID()."\">\n";
|
||||
print "<input type=\"Hidden\" name=\"action\" value=\"delaccess\">\n";
|
||||
print "<input type=\"Hidden\" name=\"userid\" value=\"".$userObj->getID()."\">\n";
|
||||
print "<input type=\"hidden\" name=\"folderid\" value=\"".$folder->getID()."\">\n";
|
||||
print "<input type=\"hidden\" name=\"action\" value=\"delaccess\">\n";
|
||||
print "<input type=\"hidden\" name=\"userid\" value=\"".$userObj->getID()."\">\n";
|
||||
print "<td>\n";
|
||||
print "<button type=\"submit\" class=\"btn btn-mini\"><i class=\"icon-remove\"></i> ".getMLText("delete")."</button>";
|
||||
print "</td>\n";
|
||||
|
@ -209,9 +209,9 @@ $(document).ready(function() {
|
|||
print "<td>". htmlspecialchars($groupObj->getName()) . "</td>";
|
||||
print "<form action=\"../op/op.FolderAccess.php\">";
|
||||
echo createHiddenFieldWithKey('folderaccess')."\n";
|
||||
print "<input type=\"Hidden\" name=\"folderid\" value=\"".$folder->getID()."\">";
|
||||
print "<input type=\"Hidden\" name=\"action\" value=\"editaccess\">";
|
||||
print "<input type=\"Hidden\" name=\"groupid\" value=\"".$groupObj->getID()."\">";
|
||||
print "<input type=\"hidden\" name=\"folderid\" value=\"".$folder->getID()."\">";
|
||||
print "<input type=\"hidden\" name=\"action\" value=\"editaccess\">";
|
||||
print "<input type=\"hidden\" name=\"groupid\" value=\"".$groupObj->getID()."\">";
|
||||
print "<td>";
|
||||
$this->printAccessModeSelection($groupAccess->getMode());
|
||||
print "</td>\n";
|
||||
|
@ -221,9 +221,9 @@ $(document).ready(function() {
|
|||
print "</form>";
|
||||
print "<form action=\"../op/op.FolderAccess.php\">\n";
|
||||
echo createHiddenFieldWithKey('folderaccess')."\n";
|
||||
print "<input type=\"Hidden\" name=\"folderid\" value=\"".$folder->getID()."\">\n";
|
||||
print "<input type=\"Hidden\" name=\"action\" value=\"delaccess\">\n";
|
||||
print "<input type=\"Hidden\" name=\"groupid\" value=\"".$groupObj->getID()."\">\n";
|
||||
print "<input type=\"hidden\" name=\"folderid\" value=\"".$folder->getID()."\">\n";
|
||||
print "<input type=\"hidden\" name=\"action\" value=\"delaccess\">\n";
|
||||
print "<input type=\"hidden\" name=\"groupid\" value=\"".$groupObj->getID()."\">\n";
|
||||
print "<td>";
|
||||
print "<button type=\"submit\" class=\"btn btn-mini\"><i class=\"icon-remove\"></i> ".getMLText("delete")."</button>";
|
||||
print "</td>\n";
|
||||
|
@ -236,8 +236,8 @@ $(document).ready(function() {
|
|||
?>
|
||||
<form action="../op/op.FolderAccess.php" id="form1" name="form1">
|
||||
<?php echo createHiddenFieldWithKey('folderaccess'); ?>
|
||||
<input type="Hidden" name="folderid" value="<?php print $folder->getID()?>">
|
||||
<input type="Hidden" name="action" value="addaccess">
|
||||
<input type="hidden" name="folderid" value="<?php print $folder->getID()?>">
|
||||
<input type="hidden" name="action" value="addaccess">
|
||||
<table class="table-condensed">
|
||||
<tr>
|
||||
<td><?php printMLText("user");?>:</td>
|
||||
|
|
|
@ -125,13 +125,13 @@ $(document).ready( function() {
|
|||
<div class="control-group">
|
||||
<label class="control-label" for="login"><?php printMLText("user_login");?>:</label>
|
||||
<div class="controls">
|
||||
<input type="text" id="login" name="login" placeholder="login" required>
|
||||
<input type="text" id="login" name="login" placeholder="login" autocomplete="off" required>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label" for="pwd"><?php printMLText("password");?>:</label>
|
||||
<div class="controls">
|
||||
<input type="Password" id="pwd" name="pwd" required>
|
||||
<input type="Password" id="pwd" name="pwd" autocomplete="off" required>
|
||||
</div>
|
||||
</div>
|
||||
<?php if($enableLanguageSelector) { ?>
|
||||
|
|
|
@ -51,19 +51,18 @@ class SeedDMS_View_MoveFolder extends SeedDMS_Bootstrap_Style {
|
|||
$this->contentContainerStart();
|
||||
|
||||
?>
|
||||
<form action="../op/op.MoveFolder.php" name="form1">
|
||||
<form class="form-horizontal" action="../op/op.MoveFolder.php" name="form1">
|
||||
<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("choose_target_folder");?>:</td>
|
||||
<td><?php $this->printFolderChooserHtml("form1", M_READWRITE, $folder->getID(), $target);?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><input class="btn" type="submit" value="<?php printMLText("move_folder"); ?>"></td>
|
||||
</tr>
|
||||
</table>
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("choose_target_folder");?>:</label>
|
||||
<div class="controls">
|
||||
<?php $this->printFolderChooserHtml("form1", M_READWRITE, $folder->getID(), $target);?>
|
||||
</div>
|
||||
</div>
|
||||
<div class="controls">
|
||||
<input class="btn" type="submit" value="<?php printMLText("move_folder"); ?>">
|
||||
</div>
|
||||
</form>
|
||||
|
||||
|
||||
|
|
|
@ -84,13 +84,17 @@ $(document).ready(function() {
|
|||
|
||||
// Display the Review form.
|
||||
?>
|
||||
<form method="post" action="../op/op.OverrideContentStatus.php" id="form1" name="form1">
|
||||
<table class="table-condensed">
|
||||
<tr><td><?php echo(printMLText("comment")); ?>:</td>
|
||||
<td><textarea name="comment" cols="40" rows="4"></textarea>
|
||||
</td></tr>
|
||||
<tr><td><?php echo(printMLText("status")); ?>:</td>
|
||||
<td><select name="overrideStatus">
|
||||
<form class="form-horizontal" method="post" action="../op/op.OverrideContentStatus.php" id="form1" name="form1">
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php echo(printMLText("comment"));?>:</label>
|
||||
<div class="controls">
|
||||
<textarea name="comment" cols="40" rows="4"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php echo(printMLText("status")); ?>:</label>
|
||||
<div class="controls">
|
||||
<select name="overrideStatus">
|
||||
<option value=''></option>
|
||||
<?php
|
||||
|
||||
|
@ -99,11 +103,12 @@ $(document).ready(function() {
|
|||
|
||||
?>
|
||||
</select>
|
||||
</td></tr><tr><td></td><td>
|
||||
</div></div>
|
||||
<div class="controls">
|
||||
<input type='hidden' name='documentid' value='<?php echo $document->getID() ?>'/>
|
||||
<input type='hidden' name='version' value='<?php echo $content->getVersion() ?>'/>
|
||||
<input type='submit' class="btn" name='overrideContentStatus' value='<?php echo(printMLText("update")); ?>'/>
|
||||
</td></tr></table>
|
||||
</div>
|
||||
</form>
|
||||
<?php
|
||||
$this->contentContainerEnd();
|
||||
|
|
|
@ -73,27 +73,31 @@ document.form1.email.focus();
|
|||
?>
|
||||
|
||||
<?php $this->contentContainerStart(); ?>
|
||||
<form action="../op/op.PasswordForgotten.php" method="post" id="form1" name="form1">
|
||||
<form class="form-horizontal" action="../op/op.PasswordForgotten.php" method="post" id="form1" name="form1">
|
||||
<?php
|
||||
if ($referrer) {
|
||||
echo "<input type='hidden' name='referuri' value='".$referrer."'/>";
|
||||
}
|
||||
?>
|
||||
<p><?php printMLText("password_forgotten_text"); ?></p>
|
||||
<table class="table-condensed">
|
||||
<tr>
|
||||
<td><?php printMLText("login");?>:</td>
|
||||
<td><input type="text" name="login" id="login"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><?php printMLText("email");?>:</td>
|
||||
<td><input type="text" name="email" id="email"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td></td>
|
||||
<td><input class="btn" type="submit" value="<?php printMLText("submit_password_forgotten") ?>"></td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("login");?>:</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="login" id="login">
|
||||
</div>
|
||||
</div>
|
||||
<div class="control-group">
|
||||
<label class="control-label"><?php printMLText("email");?>:</label>
|
||||
<div class="controls">
|
||||
<input type="text" name="email" id="email">
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="controls">
|
||||
<input class="btn" type="submit" value="<?php printMLText("submit_password_forgotten") ?>">
|
||||
</div>
|
||||
|
||||
</form>
|
||||
<?php $this->contentContainerEnd(); ?>
|
||||
<p><a href="../out/out.Login.php"><?php echo getMLText("login"); ?></a></p>
|
||||
|
|
Loading…
Reference in New Issue
Block a user