mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-02 06:57:40 +00:00
add filter for status 'S_DRAFT'
This commit is contained in:
parent
7a721ee84f
commit
66e6cec446
|
@ -289,6 +289,9 @@ if(isset($_GET["fullsearch"]) && $_GET["fullsearch"] && $settings->_enableFullSe
|
|||
|
||||
// status
|
||||
$status = array();
|
||||
if (isset($_GET["draft"])){
|
||||
$status[] = S_DRAFT;
|
||||
}
|
||||
if (isset($_GET["pendingReview"])){
|
||||
$status[] = S_DRAFT_REV;
|
||||
}
|
||||
|
|
|
@ -359,6 +359,7 @@ $(document).ready( function() {
|
|||
<td><?php printMLText("status");?>:</td>
|
||||
<td>
|
||||
<?php if($workflowmode == 'traditional' || $workflowmode == 'traditional_only_approval') { ?>
|
||||
<label class="checkbox" for='draft'><input type="checkbox" id="draft" name="draft" value="1" <?php echo in_array(S_DRAFT, $status) ? "checked" : ""; ?>><?php printOverallStatusText(S_DRAFT);?></label>
|
||||
<?php if($workflowmode == 'traditional') { ?>
|
||||
<label class="checkbox" for='pendingReview'><input type="checkbox" id="pendingReview" name="pendingReview" value="1" <?php echo in_array(S_DRAFT_REV, $status) ? "checked" : ""; ?>><?php printOverallStatusText(S_DRAFT_REV);?></label>
|
||||
<?php } ?>
|
||||
|
|
Loading…
Reference in New Issue
Block a user