Update of /cvsroot/openfirst/guestbook
In directory sc8-pr-cvs1:/tmp/cvs-serv30280
Modified Files:
sign.php
Log Message:
Add auto-fill functionality for members who wish to sign guestbook
Index: sign.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/sign.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** sign.php 31 May 2003 19:04:53 -0000 1.3
--- sign.php 21 Jun 2003 11:56:27 -0000 1.4
***************
*** 33,37 ****
<h1>Sign Guest Book</h1>
! <p><a href="view.php">View Guest Book</a>
<a href="<?php echo($home); ?>">Return to main site</a>
</p>
--- 33,37 ----
<h1>Sign Guest Book</h1>
! <p><a href="./">View Guest Book</a>
<a href="<?php echo($home); ?>">Return to main site</a>
</p>
***************
*** 46,61 ****
?>
<p>
! <br /><img src="person.png" alt="Name: " /> Name <input type="text" name="guest" style="width: 300px;" />
! <br /><img src="email.png" alt="E-mail Address: " /> E-mail Address <input type="text" name="email" style="width: 300px;" />
! <br /><img src="icq.png" alt="ICQ UIN: " /> ICQ UIN <input type="text" name="icq" style="width: 300px;" />
! <br /><img src="aim.png" alt="AIM Screen name: " /> AIM Screen Name <input type="text" name="aim" style="width: 300px;" />
! <br /><img src="msmsgs.png" alt="MSN Messenger Address: " /> MSN Messenger Address <input type="text" name="msn" style="width: 300px;" />
! <br /><img src="yahoo.png" alt="Yahoo! Messenger Address: " /> Yahoo! Messenger Address <input type="text" name="yim" style="width: 300px;" />
! <br /><img src="irc.png" alt="IRC: " /> IRC Address <input type="text" name="irc" style="width: 300px;" />
! <br /><img src="webpage.png" alt="Web Page" /> Web Page Address (include the http://) <input type="text" name="webpage" style="width: 300px;" />
! <br /><img src="world.png" alt="Location: "/> Location <input type="text" name="location" style="width: 300px;" />
<br />Comment<br />
<textarea name="comment" style="width: 400px; height: 300px;" rows="25" cols="40">
!
</textarea>
<br /> <input type="submit" title="Submit" />
--- 46,61 ----
?>
<p>
! <br /><img src="person.png" alt="Name: " /> Name <input type="text" name="guest" style="width: 300px;" value="<?php echo($user->firstname . ' ' . $user->lastname); ?>" />
! <br /><img src="email.png" alt="E-mail Address: " /> E-mail Address <input type="text" name="email" style="width: 300px;" value="<?php echo($user->email); ?>" />
! <br /><img src="icq.png" alt="ICQ UIN: " /> ICQ UIN <input type="text" name="icq" style="width: 300px;" value="<?php echo($user->icq); ?>" />
! <br /><img src="aim.png" alt="AIM Screen name: " /> AIM Screen Name <input type="text" name="aim" style="width: 300px;" value="<?php echo($user->aim); ?>" />
! <br /><img src="msmsgs.png" alt="MSN Messenger Address: " /> MSN Messenger Address <input type="text" name="msn" style="width: 300px;" value="<?php echo($user->msn); ?>" />
! <br /><img src="yahoo.png" alt="Yahoo! Messenger Address: " /> Yahoo! Messenger Address <input type="text" name="yim" style="width: 300px;" value="<?php echo($user->yim); ?>" />
! <br /><img src="irc.png" alt="IRC: " /> IRC Address <input type="text" name="irc" style="width: 300px;" value="<?php echo($user->irc); ?>" />
! <br /><img src="webpage.png" alt="Web Page" /> Web Page Address (include the http://) <input type="text" name="webpage" style="width: 300px;" value="<?php echo($user->homepage); ?>" />
! <br /><img src="world.png" alt="Location: "/> Location <input type="text" name="location" style="width: 300px;" value="<?php echo($user->location); ?>" />
<br />Comment<br />
<textarea name="comment" style="width: 400px; height: 300px;" rows="25" cols="40">
! <?php echo($user->signature); ?>
</textarea>
<br /> <input type="submit" title="Submit" />
|