Update of /cvsroot/openfirst/guestbook
In directory sc8-pr-cvs1:/tmp/cvs-serv1614
Modified Files:
deleteentry.php deleteyes.php emoticons.php index.php
signthanks.php
Log Message:
Fix broken links, add delete entry option for administrators.
Index: deleteentry.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/deleteentry.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** deleteentry.php 28 Jun 2003 01:35:42 -0000 1.4
--- deleteentry.php 24 Jul 2003 00:42:20 -0000 1.5
***************
*** 32,36 ****
<h1>Delete Guest Book Entry</h1>
! <p><a href="view.php">View Guest Book</a> <a href="<?php echo($home); ?>">Return to main site</a></p>
<?php
--- 32,36 ----
<h1>Delete Guest Book Entry</h1>
! <p><a href="./">View Guest Book</a> <a href="<?php echo($home); ?>">Return to main site</a></p>
<?php
Index: deleteyes.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/deleteyes.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** deleteyes.php 28 Jun 2003 01:35:42 -0000 1.4
--- deleteyes.php 24 Jul 2003 00:42:20 -0000 1.5
***************
*** 32,36 ****
<h1>Deleted Guest Book Entry</h1>
! <p><a href="view.php">View Guest Book</a> <a href="<?php echo("$home"); ?>">Return to main site</a></p>
<?php
--- 32,36 ----
<h1>Deleted Guest Book Entry</h1>
! <p><a href="./">View Guest Book</a> <a href="<?php echo("$home"); ?>">Return to main site</a></p>
<?php
***************
*** 46,48 ****
<?php
include("$footer");
! ?>
\ No newline at end of file
--- 46,48 ----
<?php
include("$footer");
! ?>
Index: emoticons.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/emoticons.php,v
retrieving revision 1.4
retrieving revision 1.5
diff -C2 -d -r1.4 -r1.5
*** emoticons.php 28 Jun 2003 01:35:42 -0000 1.4
--- emoticons.php 24 Jul 2003 00:42:20 -0000 1.5
***************
*** 35,39 ****
<p>This is the complete listing of emoticons and other symbols able to
be used in the guest book.
! <br /><a href="<?php echo($home); ?>">Return to main page</a> <a href="sign.php">Sign Guest Book</a> <a href="view.php">View Guest Book</a></p>
<?php
if(function_exists(emoticon_preview)) {
--- 35,39 ----
<p>This is the complete listing of emoticons and other symbols able to
be used in the guest book.
! <br /><a href="<?php echo($home); ?>">Return to main page</a> <a href="sign.php">Sign Guest Book</a> <a href="./">View Guest Book</a></p>
<?php
if(function_exists(emoticon_preview)) {
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/index.php,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -d -r1.3 -r1.4
*** index.php 23 Jul 2003 21:45:12 -0000 1.3
--- index.php 24 Jul 2003 00:42:20 -0000 1.4
***************
*** 87,91 ****
}
! echo("<br />Comment: </p><p>" . $comment . "</p>\n");
}
}
--- 87,95 ----
}
! echo("<br />Comment: </p><p>" . $comment . "</p>
! \n");
! if($user->membertype == "administrator") {
! echo("<p><a href='deleteentry.php?email=$r->email&deletecode=$r->deletecode'>Delete entry</a></p>");
! }
}
}
Index: signthanks.php
===================================================================
RCS file: /cvsroot/openfirst/guestbook/signthanks.php,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** signthanks.php 28 Jun 2003 01:35:42 -0000 1.5
--- signthanks.php 24 Jul 2003 00:42:20 -0000 1.6
***************
*** 97,103 ****
</p>
! <p><a href="view.php">View Our Guestbook</a> <a href="<?php echo($home); ?>">Return to main page</a></p>
<?php
include("$footer");
! ?>
\ No newline at end of file
--- 97,103 ----
</p>
! <p><a href="./">View Our Guestbook</a> <a href="<?php echo($home); ?>">Return to main page</a></p>
<?php
include("$footer");
! ?>
|