Update of /cvsroot/openbash-org/openbash-org/modules
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17653/modules
Modified Files:
Quote.php
Log Message:
subida version inicial de pages/quote.php
Index: Quote.php
===================================================================
RCS file: /cvsroot/openbash-org/openbash-org/modules/Quote.php,v
retrieving revision 1.1
retrieving revision 1.2
diff -C2 -d -r1.1 -r1.2
*** Quote.php 15 Nov 2004 12:09:43 -0000 1.1
--- Quote.php 15 Nov 2004 12:39:20 -0000 1.2
***************
*** 11,15 ****
{
global $add;?>
! <form id="addquote" action="" method="post">
<p><textarea id="quote" name="quote" class="textarea" cols="60%" rows="10"></textarea></p>
<p>
--- 11,15 ----
{
global $add;?>
! <form id="addquote" action="?page=quote&action=add&insert=1" method="post">
<p><textarea id="quote" name="quote" class="textarea" cols="60%" rows="10"></textarea></p>
<p>
***************
*** 23,30 ****
}
- function validate_quote($quote)
- {
- }
-
function insert_quote()
{
--- 23,26 ----
***************
*** 40,46 ****
<p class="quote">
<a href="" title="Permanent link to this quote."><b>#<?=$id?></b></a>
! <a href="./?le=bbb35129920419b934023f4eb0de854b&rox=312" class="qa">+</a>(<?=$quote->fields['points']?>)
! <a href="./?le=bbb35129920419b934023f4eb0de854b&sox=312" class="qa">-</a>
! <a href="./?le=bbb35129920419b934023f4eb0de854b&sux=312" onClick="return confirm('Flag quote for review?');" class="qa">[X]</a>
</p>
<p class="qt"><?=$quote->fields['quote']?></p><?php
--- 36,42 ----
<p class="quote">
<a href="" title="Permanent link to this quote."><b>#<?=$id?></b></a>
! <a href="rox=312" class="qa">+</a>(<?=$quote->fields['points']?>)
! <a href="sux=312" class="qa">-</a>
! <a href="rev=312" onClick="return confirm('Flag quote for review?');" class="qa">[X]</a>
</p>
<p class="qt"><?=$quote->fields['quote']?></p><?php
|