Hello,

I use nadmin & midgard snapshots 09.03, and I cannot understand what
snippet://hklc.news.simple/newsbody does with replies to articles. 

Here is the code snippet:

71:    if (( $argv[0] != "") && ( $argv[0] != "index") &&  ( $argv[0] !=
"index.htm") ) {
72:       $topicbase = $topicid;
73:       $topicbottom = $topicbase;
74:       $i=0;
75:       $mail = 0;
76: 
77:       while (($i < $argc) && $topicbase) {
78:        if (ereg("_mail",$argv[$i]))
79:         {
80:           $mail = 1;
81:           $temp = (ereg_replace("_mail","",$argv[$i]));
82:           $thisarticle = mgd_get_article_by_name($topicbase, $temp);
83:         }
84:         else
85:         { 
86:           $thisarticle = mgd_get_article_by_name($topicbase,
urldecode(  $argv[$i]));
87:         } 
88:         if ($thisarticle)  $topicbase = $thisarticle->id;
89:         else $topicbase = 0;
90:         $i++;
91:       }  //end while

In the line 86, it should be mgd_get_topic_by_name(), shouldn't it? Just
not a bug? :-)

Anyway, what about replies to articles? It does not appear on the
original article, and if I write it manually to the url, the page
timeouts before it could be execute
snippet://hklc_news_simple/backbutton (didn't checked yet).

Bye:
Fery

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to