mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 12:11:19 +00:00
rename editDocumentAttribute to addDocumentAttribute
This commit is contained in:
parent
9c678a90f3
commit
41f58c3ee4
|
@ -273,7 +273,7 @@ $(document).ready(function() {
|
||||||
$attrdefs = $dms->getAllAttributeDefinitions(array(SeedDMS_Core_AttributeDefinition::objtype_document, SeedDMS_Core_AttributeDefinition::objtype_all));
|
$attrdefs = $dms->getAllAttributeDefinitions(array(SeedDMS_Core_AttributeDefinition::objtype_document, SeedDMS_Core_AttributeDefinition::objtype_all));
|
||||||
if($attrdefs) {
|
if($attrdefs) {
|
||||||
foreach($attrdefs as $attrdef) {
|
foreach($attrdefs as $attrdef) {
|
||||||
$arr = $this->callHook('editDocumentAttribute', null, $attrdef);
|
$arr = $this->callHook('addDocumentAttribute', null, $attrdef);
|
||||||
if(is_array($arr)) {
|
if(is_array($arr)) {
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td>".$arr[0].":</td>";
|
echo "<td>".$arr[0].":</td>";
|
||||||
|
@ -340,7 +340,7 @@ $(document).ready(function() {
|
||||||
$attrdefs = $dms->getAllAttributeDefinitions(array(SeedDMS_Core_AttributeDefinition::objtype_documentcontent, SeedDMS_Core_AttributeDefinition::objtype_all));
|
$attrdefs = $dms->getAllAttributeDefinitions(array(SeedDMS_Core_AttributeDefinition::objtype_documentcontent, SeedDMS_Core_AttributeDefinition::objtype_all));
|
||||||
if($attrdefs) {
|
if($attrdefs) {
|
||||||
foreach($attrdefs as $attrdef) {
|
foreach($attrdefs as $attrdef) {
|
||||||
$arr = $this->callHook('editDocumentContentAttribute', null, $attrdef);
|
$arr = $this->callHook('addDocumentContentAttribute', null, $attrdef);
|
||||||
if(is_array($arr)) {
|
if(is_array($arr)) {
|
||||||
echo "<tr>";
|
echo "<tr>";
|
||||||
echo "<td>".$arr[0].":</td>";
|
echo "<td>".$arr[0].":</td>";
|
||||||
|
|
Loading…
Reference in New Issue
Block a user