diff --git a/admin/file-upload-js.php b/admin/file-upload-js.php index 84356446..d725f164 100644 --- a/admin/file-upload-js.php +++ b/admin/file-upload-js.php @@ -60,7 +60,7 @@ $(document).ready(function() { function fileUploadStart (file) { $('
  • ' - + file.name + '
  • ').prependTo('#file-list'); + + file.name + '').appendTo('#file-list'); } function fileUploadError (error) { @@ -88,7 +88,7 @@ $(document).ready(function() { if (exist.length > 0) { li = exist.removeClass('loading').html(fileError); } else { - li = $('
  • ' + fileError + '
    ' + word + '
  • ').prependTo('#file-list'); + li = $('
  • ' + fileError + '
    ' + word + '
  • ').appendTo('#file-list'); } li.effect('highlight', {color : '#FBC2C4'}, 2000, function () { diff --git a/var/Widget/Archive.php b/var/Widget/Archive.php index 9ee83414..1663587d 100644 --- a/var/Widget/Archive.php +++ b/var/Widget/Archive.php @@ -1510,6 +1510,7 @@ class Widget_Archive extends Widget_Abstract_Contents * @access public * @param string $format 格式 * @param string $default 如果没有下一篇,显示的默认文字 + * @param array $custom 定制化样式 * @return void */ public function theNext($format = '%s', $default = NULL, $custom = array()) @@ -1547,6 +1548,7 @@ class Widget_Archive extends Widget_Abstract_Contents * @access public * @param string $format 格式 * @param string $default 如果没有上一篇,显示的默认文字 + * @param array $custom 定制化样式 * @return void */ public function thePrev($format = '%s', $default = NULL, $custom = array()) diff --git a/var/Widget/Contents/Attachment/Related.php b/var/Widget/Contents/Attachment/Related.php index b1b7e907..61f84b72 100644 --- a/var/Widget/Contents/Attachment/Related.php +++ b/var/Widget/Contents/Attachment/Related.php @@ -42,7 +42,7 @@ class Widget_Contents_Attachment_Related extends Widget_Abstract_Contents $select->where('table.contents.parent = ?', $this->parameter->parentId); /** 提交查询 */ - $select->order('table.contents.created', Typecho_Db::SORT_DESC); + $select->order('table.contents.created', Typecho_Db::SORT_ASC); if ($this->parameter->limit > 0) { $select->limit($this->parameter->limit);