Update of /cvsroot/openfirst/feedback
In directory sc8-pr-cvs1:/tmp/cvs-serv26982
Modified Files:
index.php
Log Message:
Fixed minor bugs.
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/feedback/index.php,v
retrieving revision 1.9
retrieving revision 1.10
diff -C2 -d -r1.9 -r1.10
*** index.php 13 Sep 2003 15:35:25 -0000 1.9
--- index.php 13 Sep 2003 16:12:06 -0000 1.10
***************
*** 58,62 ****
?>
<br />Your E-mail Address (used for replies):
! <input type="text" name="from" style="width: 150px;" value="<?php echo($user->email); ?>" />
<br />Type of feedback:
<input type="radio" name="type" value="comment" />Comment
--- 58,62 ----
?>
<br />Your E-mail Address (used for replies):
! <input type="text" name="from" style="width: 150px;" value="<?php if(ISSET($user->email)){echo($user->email); } ?>" />
<br />Type of feedback:
<input type="radio" name="type" value="comment" />Comment
***************
*** 66,72 ****
<?php
if (function_exists("make_wysiwyg")) {
! make_wysiwyg("message",500,300,"Insert your feedback here.
!
! $user->signature");
} else {
?><textarea name="message" cols="40" rows="20">Insert your feedback here.
--- 66,71 ----
<?php
if (function_exists("make_wysiwyg")) {
! if(ISSET($user->signature)){ $msg = "Insert your feedback here.$user->signature"; }else{ $msg = "Insert your feedback here."; }
! make_wysiwyg("message",500,300,$msg);
} else {
?><textarea name="message" cols="40" rows="20">Insert your feedback here.
|