mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-12 07:11:42 +09:00
issue 70 bug fix in content menu
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0@8790 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
c244091f26
commit
b3eb4ac938
6 changed files with 10 additions and 9 deletions
|
|
@ -33,7 +33,13 @@
|
|||
$output = $oCommentModel->getTotalCommentList($args, $columnList);
|
||||
|
||||
// get total comment count group by is_secret status
|
||||
$tmp->search_target = Context::get('search_target');
|
||||
$tmp->search_keyword = Context::get('search_keyword');
|
||||
Context::set('search_target', '');
|
||||
Context::set('search_keyword', '');
|
||||
$countOutput = $oCommentModel->getTotalCommentCount($args);
|
||||
Context::set('search_target', $tmp->search_target);
|
||||
Context::set('search_keyword', $tmp->search_keyword);
|
||||
|
||||
// set values in the return object of comment_model:: getTotalCommentList() in order to use a template.
|
||||
Context::set('total_count', $output->total_count);
|
||||
|
|
|
|||
|
|
@ -11,8 +11,6 @@
|
|||
<!--@foreach($countOutput AS $key=>$value)-->
|
||||
| <a href="{getUrl('search_target','is_secret','search_keyword', $value->is_secret)}">{$secret_name_list[$value->is_secret]}({$value->count})</a>
|
||||
<!--@end-->
|
||||
| <a href="#">{$lang->accusation}(#)</a>
|
||||
| <a href="#">{$lang->trash}(#)</a>
|
||||
<div class="side">
|
||||
<span class="btn"><a href="#listManager" class="modalAnchor" onclick="getCommentList();">{$lang->comment_manager}...</a></span>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -12,8 +12,6 @@
|
|||
| <a href="{getUrl('search_target', 'is_secret', 'search_keyword', 'N')}">{$status_name_list['PUBLIC']}({$statusCount['PUBLIC']})</a>
|
||||
| <a href="{getUrl('search_target', 'is_secret', 'search_keyword', 'Y')}">{$status_name_list['SECRET']}({$statusCount['SECRET']})</a>
|
||||
| <a href="{getUrl('search_target', 'is_secret', 'search_keyword', 'temp')}">{$status_name_list['TEMP']}({$statusCount['TEMP']})</a>
|
||||
| <a href="#">{$lang->accusation}(#)</a>
|
||||
| <a href="#">{$lang->trash}(#)</a>
|
||||
<div class="side">
|
||||
<span class="btn"><a href="#listManager" class="modalAnchor" onclick="getDocumentList();">{$lang->document_manager}...</a></span>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -53,8 +53,8 @@
|
|||
/**
|
||||
* @brief Return number of attachments which belongs to a specific document
|
||||
**/
|
||||
function getFilesCountByGroupValid($obj) {
|
||||
$this->_makeSearchParam($obj, $args);
|
||||
function getFilesCountByGroupValid($obj = '') {
|
||||
//$this->_makeSearchParam($obj, $args);
|
||||
|
||||
$output = executeQueryArray('file.getFilesCountByGroupValid', $args);
|
||||
return $output->data;
|
||||
|
|
|
|||
|
|
@ -155,7 +155,7 @@
|
|||
}
|
||||
}
|
||||
|
||||
$countOutput = $oFileAdminModel->getFilesCountByGroupValid($args);
|
||||
$countOutput = $oFileAdminModel->getFilesCountByGroupValid();
|
||||
$validCount = array();
|
||||
if(is_array($countOutput))
|
||||
{
|
||||
|
|
|
|||
|
|
@ -10,7 +10,6 @@
|
|||
All({number_format($total_count)})
|
||||
| <a href="{getUrl('search_target','isvalid','search_keyword','Y')}">{$lang->is_valid}({number_format((int)$valid_count['Y'])})</a>
|
||||
| <a href="{getUrl('search_target','isvalid','search_keyword','N')}">{$lang->is_stand_by}({number_format((int)$valid_count['N'])})</a>
|
||||
| <a href="#">{$lang->trash}(#)</a>
|
||||
<span class="side"><span class="btn"><a href="#listManager" class="modalAnchor">{$lang->file_manager}...</a></span></span>
|
||||
</caption>
|
||||
<thead>
|
||||
|
|
@ -87,7 +86,7 @@
|
|||
<td><a href="{getUrl('search_target','ipaddress','search_keyword',$val->ipaddress)}">{$val->ipaddress}</a></td>
|
||||
<td><!--@if($val->isvalid=='Y')-->{$lang->is_valid}<!--@else-->{$lang->is_stand_by}<!--@end--></td>
|
||||
<td>
|
||||
<input type="checkbox" name="cart[]" value="{$val->file_srl}" onclick="addCart(this.value)" <!--@if($val->isCarted)-->checked="checked"<!--@end--> />
|
||||
<input type="checkbox" name="cart" value="{$val->file_srl}" onclick="addCart(this.value)" <!--@if($val->isCarted)-->checked="checked"<!--@end--> />
|
||||
</td>
|
||||
</tr>
|
||||
<!--@endforeach-->
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue