mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +00:00
- added category management
This commit is contained in:
parent
92c69f5d51
commit
6e89a7c10b
|
@ -74,7 +74,7 @@ UI::contentHeading(getMLText("edit_document_props") . ": " . $document->getName(
|
||||||
UI::contentContainerStart();
|
UI::contentContainerStart();
|
||||||
?>
|
?>
|
||||||
<form action="../op/op.EditDocument.php" name="form1" onsubmit="return checkForm();" method="POST">
|
<form action="../op/op.EditDocument.php" name="form1" onsubmit="return checkForm();" method="POST">
|
||||||
<input type="Hidden" name="documentid" value="<?php print $documentid;?>">
|
<input type="hidden" name="documentid" value="<?= $documentid ?>">
|
||||||
<table cellpadding="3">
|
<table cellpadding="3">
|
||||||
<tr>
|
<tr>
|
||||||
<td class="inputDescription"><?php printMLText("name");?>:</td>
|
<td class="inputDescription"><?php printMLText("name");?>:</td>
|
||||||
|
@ -88,16 +88,20 @@ UI::contentContainerStart();
|
||||||
<td valign="top" class="inputDescription"><?php printMLText("keywords");?>:</td>
|
<td valign="top" class="inputDescription"><?php printMLText("keywords");?>:</td>
|
||||||
<td class="standardText">
|
<td class="standardText">
|
||||||
<textarea name="keywords" rows="2" cols="80"><?php print $document->getKeywords();?></textarea><br>
|
<textarea name="keywords" rows="2" cols="80"><?php print $document->getKeywords();?></textarea><br>
|
||||||
<a href="javascript:chooseKeywords();"><?php printMLText("use_default_keywords");?></a>
|
<a href="javascript:chooseKeywords('form1.keywords');"><?php printMLText("use_default_keywords");?></a>
|
||||||
<script language="JavaScript">
|
<script language="JavaScript">
|
||||||
var openDlg;
|
var openDlg;
|
||||||
|
|
||||||
function chooseKeywords() {
|
function chooseKeywords(target) {
|
||||||
openDlg = open("out.KeywordChooser.php", "openDlg", "width=500,height=400,scrollbars=yes,resizable=yes");
|
openDlg = open("out.KeywordChooser.php?target="+target, "openDlg", "width=500,height=400,scrollbars=yes,resizable=yes");
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td><?php printMLText("categories")?>:</td>
|
||||||
|
<td><?php UI::printCategoryChooser("form1", $document->getCategories());?></td>
|
||||||
|
</tr>
|
||||||
<?php
|
<?php
|
||||||
if ($folder->getAccessMode($user) > M_READ)
|
if ($folder->getAccessMode($user) > M_READ)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue
Block a user