diff --git a/src/user/soft_edit.php b/src/user/soft_edit.php index 5cb9ed71..1b6fb0e1 100755 --- a/src/user/soft_edit.php +++ b/src/user/soft_edit.php @@ -130,6 +130,7 @@ if (empty($dopost)) { } //软件链接列表 $urls = ''; + $nums = 2; for ($i = 1; $i <= 9; $i++) { if (!empty(${'softurl'.$i})) { $servermsg = str_replace("'", '', stripslashes(${'servermsg'.$i})); @@ -142,6 +143,7 @@ if (empty($dopost)) { if ($softurl != '' && $softurl != 'http://') { $urls .= "{dede:link text='$servermsg'} $softurl {/dede:link}\r\n"; } + $nums++; } } $urls = addslashes($urls); diff --git a/src/user/templets/soft_edit.htm b/src/user/templets/soft_edit.htm index 6adc0a4b..b04c6996 100755 --- a/src/user/templets/soft_edit.htm +++ b/src/user/templets/soft_edit.htm @@ -11,7 +11,7 @@