[Openfirst-cvscommit] guestbook sign.php,1.5,1.6
Brought to you by:
xtimg
From: <xt...@us...> - 2003-08-20 15:28:26
|
Update of /cvsroot/openfirst/guestbook In directory sc8-pr-cvs1:/tmp/cvs-serv19358 Modified Files: sign.php Log Message: Add HTML editor to Guest Book... thanks Hans-Jurgen Petrich :) Index: sign.php =================================================================== RCS file: /cvsroot/openfirst/guestbook/sign.php,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** sign.php 28 Jun 2003 01:35:42 -0000 1.5 --- sign.php 20 Aug 2003 14:57:49 -0000 1.6 *************** *** 56,62 **** <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" /> <input type="reset" title="Clear" /> --- 56,67 ---- <br /><img src="world.png" alt="Location: "/> Location <input type="text" name="location" style="width: 300px;" value="<?php echo($user->location); ?>" /> <br />Comment<br /> ! <?php ! if (function_exists("make_wysiwyg")) { ! make_wysiwyg("comment",400,300,"$user->signature"); ! } else { ! ?><textarea name="comment" style="width: 400px; height: 300px;" rows="25" cols="40"><?php echo($user->signature); ?></textarea> ! <?php ! } ! ?> <br /> <input type="submit" title="Submit" /> <input type="reset" title="Clear" /> *************** *** 66,68 **** <?php include("$footer"); ! ?> \ No newline at end of file --- 71,73 ---- <?php include("$footer"); ! ?> |