diff --git a/functions.php b/functions.php index 886e67d..5384878 100644 --- a/functions.php +++ b/functions.php @@ -369,6 +369,19 @@ classes: { ); $form->addInput($mdrPray); + + $RandomLinks = new Typecho_Widget_Helper_Form_Element_Radio( + 'RandomLinks', + array( + true => _t('开'), + false => _t('关') + ), + ture, + _t('友情链接随机排序'), + _t('开启后友情链接将按照随机顺序排列') + ); + $form->addInput($RandomLinks); + $mdrHitokoto = new Typecho_Widget_Helper_Form_Element_Radio( 'mdrHitokoto', array( diff --git a/page-links.php b/page-links.php index 6076d66..a816903 100644 --- a/page-links.php +++ b/page-links.php @@ -31,6 +31,7 @@ need('comments.php'); ?> need('footer.php'); ?> +options->RandomLinks): ?> \ No newline at end of file + + \ No newline at end of file