add search paramter for documents with missing reception

This commit is contained in:
Uwe Steinmann 2016-09-28 20:22:59 +02:00
parent 7937f73031
commit 9746c85ce5

View File

@ -140,6 +140,7 @@ $(document).ready( function() {
$previewwidth = $this->params['previewWidthList'];
$previewconverters = $this->params['previewconverters'];
$timeout = $this->params['timeout'];
$missingreception = $this->params['missingreception'];
if(count($entries) == 1) {
$entry = $entries[0];
@ -258,7 +259,7 @@ $(document).ready( function() {
?>
<tr>
<td><?php echo htmlspecialchars($attrdef->getName()); ?>:</td>
<td><?php $this->printAttributeEditField($attrdef, isset($attributes[$attrdef->getID()]) ? $attributes[$attrdef->getID()] : null) ?></td>
<td><?php $this->printAttributeEditField($attrdef, isset($attributes[$attrdef->getID()]) ? $attributes[$attrdef->getID()] : null, 'attributes', true) ?></td>
</tr>
<?php
@ -367,6 +368,12 @@ $(document).ready( function() {
</td>
</tr>
<tr>
<td><?php printMLText("missing_reception");?>:</td>
<td>
<label class="checkbox" for='missingreception'><input type="checkbox" id="missingreception" name="missingreception" value="1" <?php echo $missingreception ? "checked" : ""; ?>></label>
</td>
</tr>
<tr>
<td><?php printMLText("expires");?>:</td>
<td>
<label class="checkbox inline">
@ -391,7 +398,7 @@ $(document).ready( function() {
?>
<tr>
<td><?php echo htmlspecialchars($attrdef->getName()); ?>:</td>
<td><?php $this->printAttributeEditField($attrdef, isset($attributes[$attrdef->getID()]) ? $attributes[$attrdef->getID()] : '') ?></td>
<td><?php $this->printAttributeEditField($attrdef, isset($attributes[$attrdef->getID()]) ? $attributes[$attrdef->getID()] : null, 'attributes', true) ?></td>
</tr>
<?php
@ -437,7 +444,7 @@ $(document).ready( function() {
?>
<tr>
<td><?php echo htmlspecialchars($attrdef->getName()); ?>:</td>
<td><?php $this->printAttributeEditField($attrdef, isset($attributes[$attrdef->getID()]) ? $attributes[$attrdef->getID()] : '') ?></td>
<td><?php $this->printAttributeEditField($attrdef, isset($attributes[$attrdef->getID()]) ? $attributes[$attrdef->getID()] : null, 'attributes', true) ?></td>
</tr>
<?php
}