* set the byUpdatedTime as the default.

This commit is contained in:
wangchunsheng
2011-10-26 05:25:35 +00:00
parent ff4fae228a
commit 3cd76dd895
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -59,7 +59,7 @@ class extension extends control
* @access public
* @return void
*/
public function obtain($type = 'byAddedTime', $param = '', $recTotal = 0, $recPerPage = 10, $pageID = 1)
public function obtain($type = 'byUpdatedTime', $param = '', $recTotal = 0, $recPerPage = 10, $pageID = 1)
{
/* Init vars. */
$type = strtolower($type);
+1 -1
View File
@@ -18,9 +18,9 @@
<div class='box-title'><?php echo $lang->extension->obtain;?></div>
<div class='box-content a-center'>
<?php
echo "<span id='byupdatedtime'>" . html::a(inlink('obtain', 'type=byUpdatedTime'), $lang->extension->byUpdatedTime) . '</span><br />';
echo "<span id='byaddedtime'>" . html::a(inlink('obtain', 'type=byAddedTime'), $lang->extension->byAddedTime) . '</span><br />';
echo "<span id='bydownloads'>" . html::a(inlink('obtain', 'type=byDownloads'), $lang->extension->byDownloads) . '</span><br />';
echo "<span id='byupdatedtime'>" . html::a(inlink('obtain', 'type=byUpdatedTime'), $lang->extension->byUpdatedTime) . '</span><br />';
?>
</div>
<div class='box-title'><?php echo $lang->extension->bySearch;?></div>