Commit 5fd1847b41414841d450ec042aa9b69159272e2f
1 parent
130b90b1
KTS-2457
"On search results page - move save search out of the collapsable area" Fixed. Committed By: Conrad Vermeulen Reviewed By: Kevin Fourie git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@7397 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing
1 changed file
with
17 additions
and
17 deletions
templates/ktcore/search2/search_results.smarty
| @@ -4,7 +4,6 @@ | @@ -4,7 +4,6 @@ | ||
| 4 | <div class="collapsible"> | 4 | <div class="collapsible"> |
| 5 | <h4 onclick="toggleElementClass('expanded', this.parentNode)">{i18n}Search Expression{/i18n}</h4> | 5 | <h4 onclick="toggleElementClass('expanded', this.parentNode)">{i18n}Search Expression{/i18n}</h4> |
| 6 | <div class="collapsiblebody"> | 6 | <div class="collapsiblebody"> |
| 7 | - | ||
| 8 | <fieldset> | 7 | <fieldset> |
| 9 | <legend>{i18n}Search Expression{/i18n}</legend> | 8 | <legend>{i18n}Search Expression{/i18n}</legend> |
| 10 | {$txtQuery} | 9 | {$txtQuery} |
| @@ -99,6 +98,8 @@ function onShowAll(showall) | @@ -99,6 +98,8 @@ function onShowAll(showall) | ||
| 99 | 98 | ||
| 100 | </script> | 99 | </script> |
| 101 | {/literal} | 100 | {/literal} |
| 101 | +</div> | ||
| 102 | +</div> | ||
| 102 | {if empty($iSavedID)} | 103 | {if empty($iSavedID)} |
| 103 | <div id="saveSearch"> | 104 | <div id="saveSearch"> |
| 104 | <fieldset> | 105 | <fieldset> |
| @@ -108,8 +109,8 @@ function onShowAll(showall) | @@ -108,8 +109,8 @@ function onShowAll(showall) | ||
| 108 | </fieldset> | 109 | </fieldset> |
| 109 | </div> | 110 | </div> |
| 110 | {/if} | 111 | {/if} |
| 111 | -</div> | ||
| 112 | -</div> | 112 | + |
| 113 | + | ||
| 113 | <fieldset> | 114 | <fieldset> |
| 114 | 115 | ||
| 115 | <legend>{i18n}Search Results{/i18n}</legend> | 116 | <legend>{i18n}Search Results{/i18n}</legend> |
| @@ -132,8 +133,6 @@ function onShowAll(showall) | @@ -132,8 +133,6 @@ function onShowAll(showall) | ||
| 132 | {assign var=cbid value=0} | 133 | {assign var=cbid value=0} |
| 133 | 134 | ||
| 134 | {foreach item=document from=$results} | 135 | {foreach item=document from=$results} |
| 135 | - | ||
| 136 | - {if $document->IsLive} | ||
| 137 | <tr><td> | 136 | <tr><td> |
| 138 | <input type="checkbox" name="selection_d[]" id="cb{$cbid}" value="{$document->DocumentID}"><nobr><a href="view.php?fDocumentId={$document->DocumentID}"><B>{$document->Title}</b></a> | 137 | <input type="checkbox" name="selection_d[]" id="cb{$cbid}" value="{$document->DocumentID}"><nobr><a href="view.php?fDocumentId={$document->DocumentID}"><B>{$document->Title}</b></a> |
| 139 | {if $document->Title != $document->Filename} | 138 | {if $document->Title != $document->Filename} |
| @@ -150,36 +149,35 @@ function onShowAll(showall) | @@ -150,36 +149,35 @@ function onShowAll(showall) | ||
| 150 | <font style=" color: orange ">{i18n}Version:{/i18n} {$document->Version}</font></td> | 149 | <font style=" color: orange ">{i18n}Version:{/i18n} {$document->Version}</font></td> |
| 151 | </tr> | 150 | </tr> |
| 152 | <tr><td colspan=2>{$document->Text}</td></tr> | 151 | <tr><td colspan=2>{$document->Text}</td></tr> |
| 153 | - <tr><td><font style=" color: green ">{$document->FullPath}/{$document->Title} - {$document->Filesize}</font></td> | 152 | + <tr><td><font style=" color: green "><a href="{$rootUrl}/browse.php?fFolderId={$document->FolderId}">{$document->FullPath}</a>/{$document->Title} - {$document->Filesize}</font></td> |
| 154 | <td align=right><nobr> | 153 | <td align=right><nobr> |
| 155 | <font style="color: orange "> | 154 | <font style="color: orange "> |
| 156 | - {i18n}Created By:{/i18n} Conrad Vermeulen | ||
| 157 | - {i18n}on{/i18n} 2007-09-28 | 155 | + {i18n}Created By:{/i18n} {$document->CreatedBy} |
| 156 | + {i18n}on{/i18n} {$document->DateCreated} | ||
| 158 | </font> | 157 | </font> |
| 159 | </td> | 158 | </td> |
| 160 | - {assign var=workflow value=$document->Workflow} | ||
| 161 | - {if $workflow != '' || $this->Document->IsCheckedOut} | 159 | + |
| 160 | + | ||
| 162 | <tr><td> | 161 | <tr><td> |
| 163 | {if $workflow != ''} | 162 | {if $workflow != ''} |
| 164 | - <font style="color: orange ">{i18n}Workflow:{/i18n} {$workflow}</font> | 163 | + <font style="color: orange ">{i18n}Workflow:{/i18n} $document->Workflow}</font> |
| 165 | {/if} | 164 | {/if} |
| 166 | </td> | 165 | </td> |
| 167 | <td align=right><nobr> | 166 | <td align=right><nobr> |
| 168 | <font style="color: brown "> | 167 | <font style="color: brown "> |
| 169 | {if $document->CheckedOutUser != ''} | 168 | {if $document->CheckedOutUser != ''} |
| 170 | - {i18n}Checked out by:{/i18n} {$document->CheckedOutUser} | ||
| 171 | - {i18n}on{/i18n} 2007-09-28 | 169 | + <b>{i18n}Checked out by:{/i18n} {$document->CheckedOutUser} |
| 170 | + {i18n}on{/i18n} {$document->DateCheckedOut}</b> | ||
| 172 | {else} | 171 | {else} |
| 173 | - {i18n}Modified by:{/i18n} Conrad Vermeulen | ||
| 174 | - {i18n}on{/i18n} 2007-09-28 | 172 | + {i18n}Modified by:{/i18n} {$document->ModifiedBy} |
| 173 | + {i18n}on{/i18n} {$document->DateModified} | ||
| 175 | {/if} | 174 | {/if} |
| 176 | </font> | 175 | </font> |
| 177 | </td> | 176 | </td> |
| 178 | - {/if} | 177 | + |
| 179 | <tr><td colspan=2><br></br></td></tr></tr> | 178 | <tr><td colspan=2><br></br></td></tr></tr> |
| 180 | 179 | ||
| 181 | {assign var=cbid value=$cbid+1} | 180 | {assign var=cbid value=$cbid+1} |
| 182 | - {/if} | ||
| 183 | {/foreach} | 181 | {/foreach} |
| 184 | 182 | ||
| 185 | <tr><td> | 183 | <tr><td> |
| @@ -197,9 +195,11 @@ function onShowAll(showall) | @@ -197,9 +195,11 @@ function onShowAll(showall) | ||
| 197 | <input type="hidden" name="fReturnAction" value="search2" /> | 195 | <input type="hidden" name="fReturnAction" value="search2" /> |
| 198 | <input type="hidden" name="fReturnData" value="1" /> | 196 | <input type="hidden" name="fReturnData" value="1" /> |
| 199 | 197 | ||
| 198 | + <nobr> | ||
| 200 | {foreach from=$bulkactions item=bulkaction} | 199 | {foreach from=$bulkactions item=bulkaction} |
| 201 | <input type="submit" name="submit[{$bulkaction->getName()}]" value="{$bulkaction->getDisplayName()}" /> | 200 | <input type="submit" name="submit[{$bulkaction->getName()}]" value="{$bulkaction->getDisplayName()}" /> |
| 202 | {/foreach} | 201 | {/foreach} |
| 202 | + </nobr> | ||
| 203 | </table> | 203 | </table> |
| 204 | </form> | 204 | </form> |
| 205 | 205 |