mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +00:00
fix syntax error
This commit is contained in:
parent
0208d54409
commit
da5fed3591
|
@ -60,7 +60,7 @@ class SeedDMS_View_EditAttributes extends SeedDMS_Bootstrap_Style {
|
||||||
if($arr) {
|
if($arr) {
|
||||||
$this->formField($arr[0], $arr[1]);
|
$this->formField($arr[0], $arr[1]);
|
||||||
}
|
}
|
||||||
} elseif(is_string($arr) {
|
} elseif(is_string($arr)) {
|
||||||
echo $arr;
|
echo $arr;
|
||||||
} else {
|
} else {
|
||||||
$this->formField(htmlspecialchars($attrdef->getName()), $this->getAttributeEditField($attrdef, $version->getAttribute($attrdef)));
|
$this->formField(htmlspecialchars($attrdef->getName()), $this->getAttributeEditField($attrdef, $version->getAttribute($attrdef)));
|
||||||
|
@ -72,7 +72,7 @@ class SeedDMS_View_EditAttributes extends SeedDMS_Bootstrap_Style {
|
||||||
foreach($arrs as $arr) {
|
foreach($arrs as $arr) {
|
||||||
$this->formField($arr[0], $arr[1]);
|
$this->formField($arr[0], $arr[1]);
|
||||||
}
|
}
|
||||||
} elseif(is_string($arr) {
|
} elseif(is_string($arr)) {
|
||||||
echo $arr;
|
echo $arr;
|
||||||
}
|
}
|
||||||
$this->formSubmit("<i class=\"icon-save\"></i> ".getMLText('save'));
|
$this->formSubmit("<i class=\"icon-save\"></i> ".getMLText('save'));
|
||||||
|
|
|
@ -162,7 +162,7 @@ $(document).ready( function() {
|
||||||
if($arr) {
|
if($arr) {
|
||||||
$this->formField($arr[0], $arr[1]);
|
$this->formField($arr[0], $arr[1]);
|
||||||
}
|
}
|
||||||
} elseif(is_string($arr) {
|
} elseif(is_string($arr)) {
|
||||||
echo $arr;
|
echo $arr;
|
||||||
} else {
|
} else {
|
||||||
$this->formField(htmlspecialchars($attrdef->getName()), $this->getAttributeEditField($attrdef, $document->getAttribute($attrdef)));
|
$this->formField(htmlspecialchars($attrdef->getName()), $this->getAttributeEditField($attrdef, $document->getAttribute($attrdef)));
|
||||||
|
@ -174,7 +174,7 @@ $(document).ready( function() {
|
||||||
foreach($arrs as $arr) {
|
foreach($arrs as $arr) {
|
||||||
$this->formField($arr[0], $arr[1]);
|
$this->formField($arr[0], $arr[1]);
|
||||||
}
|
}
|
||||||
} elseif(is_string($arr) {
|
} elseif(is_string($arr)) {
|
||||||
echo $arr;
|
echo $arr;
|
||||||
}
|
}
|
||||||
$this->formSubmit("<i class=\"icon-save\"></i> ".getMLText('save'));
|
$this->formSubmit("<i class=\"icon-save\"></i> ".getMLText('save'));
|
||||||
|
|
|
@ -117,7 +117,7 @@ $(document).ready(function() {
|
||||||
if($arr) {
|
if($arr) {
|
||||||
$this->formField($arr[0], $arr[1]);
|
$this->formField($arr[0], $arr[1]);
|
||||||
}
|
}
|
||||||
} elseif(is_string($arr) {
|
} elseif(is_string($arr)) {
|
||||||
echo $arr;
|
echo $arr;
|
||||||
} else {
|
} else {
|
||||||
$this->formField(htmlspecialchars($attrdef->getName()), $this->getAttributeEditField($attrdef, $folder->getAttribute($attrdef)));
|
$this->formField(htmlspecialchars($attrdef->getName()), $this->getAttributeEditField($attrdef, $folder->getAttribute($attrdef)));
|
||||||
|
@ -129,7 +129,7 @@ $(document).ready(function() {
|
||||||
foreach($arrs as $arr) {
|
foreach($arrs as $arr) {
|
||||||
$this->formField($arr[0], $arr[1]);
|
$this->formField($arr[0], $arr[1]);
|
||||||
}
|
}
|
||||||
} elseif(is_string($arr) {
|
} elseif(is_string($arr)) {
|
||||||
echo $arr;
|
echo $arr;
|
||||||
}
|
}
|
||||||
$this->formSubmit("<i class=\"icon-save\"></i> ".getMLText('save'));
|
$this->formSubmit("<i class=\"icon-save\"></i> ".getMLText('save'));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user