Skip to content

Commit

Permalink
refs #1654 : modified - getPagingView is replaced with Paging module.
Browse files Browse the repository at this point in the history
 -
  • Loading branch information
inureyes committed Dec 13, 2014
1 parent 792427b commit 8a34874
Show file tree
Hide file tree
Showing 11 changed files with 12 additions and 12 deletions.
4 changes: 2 additions & 2 deletions interface/common/blog/end.php
Original file line number Diff line number Diff line change
Expand Up @@ -88,12 +88,12 @@
if($cache->load()) {
$pagingView = $cache->contents;
} else {
$pagingView = getPagingView($paging, $skin->paging, $skin->pagingItem);
$pagingView = Paging::getPagingView($paging, $skin->paging, $skin->pagingItem);
$cache->contents = $pagingView;
$cache->update();
}
} else {
$pagingView = getPagingView($paging, $skin->paging, $skin->pagingItem);
$pagingView = Paging::getPagingView($paging, $skin->paging, $skin->pagingItem);
}
dress('paging_list', $pagingView, $view, false, true);
if(!empty($entries) || $suri['directive'] == '/guestbook') dress('paging', $pagingView, $view, false, true);
Expand Down
2 changes: 1 addition & 1 deletion interface/control/blog/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@
$pagingItemTemplate = '<a [##_paging_rep_link_##]>[[##_paging_rep_link_num_##]]</a>';
?>
<div id="page-navigation">
<span id="page-list"><?php echo getPagingView($paging, $pagingTemplate, $pagingItemTemplate);?></span>
<span id="page-list"><?php echo Paging::getPagingView($paging, $pagingTemplate, $pagingItemTemplate);?></span>
<span id="total-count"><?php echo _f('총 %1개의 블로그',$blogcount);?></span>
</div>
<?php
Expand Down
2 changes: 1 addition & 1 deletion interface/control/user/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@
$pagingItemTemplate = '<a [##_paging_rep_link_##]>[[##_paging_rep_link_num_##]]</a>';
?>
<div id="page-navigation">
<span id="page-list"><?php echo getPagingView($paging, $pagingTemplate, $pagingItemTemplate);?></span>
<span id="page-list"><?php echo Paging::getPagingView($paging, $pagingTemplate, $pagingItemTemplate);?></span>
<span id="total-count"><?php echo _f('총 %1명의 사용자',$usercount);?></span>
</div>

Expand Down
2 changes: 1 addition & 1 deletion interface/owner/communication/comment/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -455,7 +455,7 @@ function toggleThisTr(tr, isActive) {
//$paging['postfix'] = '; document.getElementById('list-form').submit()';
$pagingTemplate = '[##_paging_rep_##]';
$pagingItemTemplate = '<a [##_paging_rep_link_##]>[##_paging_rep_link_num_##]</a>';
print getPagingView($paging, $pagingTemplate, $pagingItemTemplate, false);
print Paging::getPagingView($paging, $pagingTemplate, $pagingItemTemplate, false);
?>
</span>
<span id="total-count"><?php echo _f('총 %1건', empty($paging['total']) ? "0" : $paging['total']);?></span>
Expand Down
2 changes: 1 addition & 1 deletion interface/owner/communication/notify/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ function toggleThisTr(tr, isActive) {
//$paging['postfix'] = '; document.getElementById('list-form').submit()';
$pagingTemplate = '[##_paging_rep_##]';
$pagingItemTemplate = '<a [##_paging_rep_link_##]>[##_paging_rep_link_num_##]</a>';
print getPagingView($paging, $pagingTemplate, $pagingItemTemplate);
print Paging::getPagingView($paging, $pagingTemplate, $pagingItemTemplate);
?>
</span>
<span id="total-count"><?php echo _f('총 %1건', empty($paging['total']) ? "0" : $paging['total']);?></span>
Expand Down
2 changes: 1 addition & 1 deletion interface/owner/communication/trackback/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ function toggleThisTr(tr, isActive) {
//$paging['postfix'] = '; document.getElementById('list-form').submit()';
$pagingTemplate = '[##_paging_rep_##]';
$pagingItemTemplate = '<a [##_paging_rep_link_##]>[##_paging_rep_link_num_##]</a>';
print getPagingView($paging, $pagingTemplate, $pagingItemTemplate, false);
print Paging::getPagingView($paging, $pagingTemplate, $pagingItemTemplate, false);
?>
</span>
<span id="total-count"><?php echo _f('총 %1건', empty($paging['total']) ? "0" : $paging['total']);?></span>
Expand Down
2 changes: 1 addition & 1 deletion interface/owner/communication/trash/comment/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -442,7 +442,7 @@ function toggleThisTr(obj) {
//$paging['postfix'] = '; document.getElementById('list-form').submit()';
$pagingTemplate = '[##_paging_rep_##]';
$pagingItemTemplate = '<a [##_paging_rep_link_##]>[##_paging_rep_link_num_##]</a>';
print getPagingView($paging, $pagingTemplate, $pagingItemTemplate, false);
print Paging::getPagingView($paging, $pagingTemplate, $pagingItemTemplate, false);
?>
</span>
<span id="total-count"><?php echo _f('총 %1건', empty($paging['total']) ? "0" : $paging['total']);?></span>
Expand Down
2 changes: 1 addition & 1 deletion interface/owner/communication/trash/trackback/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -427,7 +427,7 @@ function toggleThisTr(obj) {
//$paging['postfix'] = '; document.getElementById('list-form').submit()';
$pagingTemplate = '[##_paging_rep_##]';
$pagingItemTemplate = '<a [##_paging_rep_link_##]>[##_paging_rep_link_num_##]</a>';
print getPagingView($paging, $pagingTemplate, $pagingItemTemplate, false);
print Paging::getPagingView($paging, $pagingTemplate, $pagingItemTemplate, false);
?>
</span>
<span id="total-count"><?php echo _f('총 %1건', empty($paging['total']) ? "0" : $paging['total']);?></span>
Expand Down
2 changes: 1 addition & 1 deletion interface/owner/entry/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -1133,7 +1133,7 @@ function toggleThisTr(obj) {
<?php
$pagingTemplate = '[##_paging_rep_##]';
$pagingItemTemplate = '<a [##_paging_rep_link_##]>[##_paging_rep_link_num_##]</a>';
echo str_repeat("\t", 12).getPagingView($paging, $pagingTemplate, $pagingItemTemplate, false).CRLF;
echo str_repeat("\t", 12).Paging::getPagingView($paging, $pagingTemplate, $pagingItemTemplate, false).CRLF;
?>
</span>
<span id="total-count"><?php echo _f('총 %1건', empty($paging['total']) ? "0" : $paging['total']);?></span>
Expand Down
2 changes: 1 addition & 1 deletion interface/owner/network/xfn/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@
<?php
$pagingTemplate = '[##_paging_rep_##]';
$pagingItemTemplate = '<a [##_paging_rep_link_##]>[[##_paging_rep_link_num_##]]</a>';
print getPagingView($paging, $pagingTemplate, $pagingItemTemplate);
print Paging::getPagingView($paging, $pagingTemplate, $pagingItemTemplate);
?>
</span>
<span id="total-count"><?php echo sprintf(_t('총 %d건'), empty($paging['total']) ? "0" : $paging['total']);?></span>
Expand Down
2 changes: 1 addition & 1 deletion plugins/MT_Meta_RecentPS_Default/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ function MT_Cover_getRecentEntries($parameters){
$paging['page'] = $page;
$paging['total'] = POD::queryCell("SELECT COUNT(*) FROM {$database['prefix']}Entries e WHERE $multiple e.draft = 0 $visibility AND e.category >= 0");

$html .= getPagingView($paging, $skin->paging, $skin->pagingItem).CRLF;
$html .= Paging::getPagingView($paging, $skin->paging, $skin->pagingItem).CRLF;

$html .= '<script type="text/javascript">'.CRLF;
$html .= '//<![CDATA['.CRLF;
Expand Down

0 comments on commit 8a34874

Please sign in to comment.