 |
 | |
| | | | |
|  |
 |
 |
|
|
| Zadając pytanie dotyczące PHPNuke podaj jego wersje!! |
| Author |
Message |
lowrider
~user
![]()
Joined: 12.03.2005
Posts: 96
Status: Offline
|
Posted: 24 Dec 2005 01:24:03
|
|
User browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl-PL; rv:1.7.12) Gecko/20050919 Firefox/1.0.7 |
Witam.
Jak mozna przeniesc formulaz do wysylania komentarzy w module News tak aby byly on pod artykulem (plik article.php)
|
|
|
|
|
|
|
 |
|
|
 |
p-maz
~user

Joined: 23.12.2004
Posts: 1119
Helps: 120
Location: Wrocław
Status: Offline
|
Posted: 24 Dec 2005 07:30:24
|
|
User browser: Opera/8.51 (Windows NT 5.1; U; pl) |
Otwórz: modules/News/article.php
Znajdź:
| Code: |
| themearticle($aid, $informant, $datetime, $title, $bodytext, $topic, $topicname, $topicimage, $topictext); |
Dodaj po tym:
| Code: |
echo "<br><br>\n";
OpenTable();
echo "<form action=\"modules.php?name=$module_name&file=comments\" method=\"post\">";
echo "<font class=option><b>"._YOURNAME.":</b></font> ";
if (is_user($user)) {
cookiedecode($user);
echo "<a href=\"modules.php?name=Your_Account\">$cookie[1]</a> <font class=\"content\">[ <a href=\"modules.php?name=Your_Account&op=logout\">"._LOGOUT."</a> ]</font><br><br>";
} else {
echo "<font class=\"content\">$anonymous";
echo " [ <a href=\"modules.php?name=Your_Account\">"._NEWUSER."</a> ]<br><br>";
}
echo "<font class=\"option\"><b>"._SUBJECT.":</b></font><br>";
if (!eregi("Re:",$subject)) $subject = "Re: ".substr($subject,0,81)."";
echo "<input type=\"text\" name=\"subject\" size=\"50\" maxlength=\"85\" value=\"$subject\"><br><br>";
echo "<font class=\"option\"><b>"._UCOMMENT.":</b></font><br>"
."<textarea wrap=\"virtual\" cols=\"50\" rows=\"10\" name=\"comment\"></textarea><br>"
."<font class=\"content\">"._ALLOWEDHTML."<br>";
while (list($key,)= each($AllowableHTML)) echo " <".$key.">";
echo "<br>";
if (is_user($user) AND ($anonpost == 1)) { echo "<input type=\"checkbox\" name=\"xanonpost\"> "._POSTANON."<br>"; }
echo "<input type=\"hidden\" name=\"pid\" value=\"$pid\">\n"
."<input type=\"hidden\" name=\"sid\" value=\"$sid\">\n"
."<input type=\"hidden\" name=\"mode\" value=\"$mode\">\n"
."<input type=\"hidden\" name=\"order\" value=\"$order\">\n"
."<input type=\"hidden\" name=\"thold\" value=\"$thold\">\n"
."<input type=\"submit\" name=\"op\" value=\""._PREVIEW."\">\n"
."<input type=\"submit\" name=\"op\" value=\""._OK."\">\n"
."<select name=\"posttype\">\n"
."<option value=\"exttrans\">"._EXTRANS."</option>\n"
."<option value=\"html\" >"._HTMLFORMATED."</option>\n"
."<option value=\"plaintext\" selected>"._PLAINTEXT."</option>\n"
."</select></font></form>\n";
CloseTable();
|
Wesołych Świąt
|
Last edited by p-maz on 24 Dec 2005 14:03:29; edited 1 time in total
|
_________________ Nie udzielam porad GG, PW.
http://e-maz.net - modyfikacja/tworzenie stron |
|
|
|
 |
lowrider
~user
![]()
Joined: 12.03.2005
Posts: 96
Status: Offline
|
Posted: 28 Dec 2005 13:46:33
|
|
User browser: Mozilla/5.0 (Windows; U; Windows NT 5.1; pl-PL; rv:1.7.12) Gecko/20050919 Firefox/1.0.7 |
Witam.
Jak mozna dodac dodatkowe pole do wpisywania nicka i e-maila dla anonimowych urzytkownikow ktorzy chca dodac komentarz
Pozdrawiam
JamalBIG
|
|
|
|
|
|
|
 |
|
|
|
|
View next topic
View previous topic
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum Nie możesz dołączać plików na tym forum Możesz ściągać pliki na tym forum |
|
|
|
|
|
|
|