Update of /cvsroot/openfirst/news/admin
In directory sc8-pr-cvs1:/tmp/cvs-serv21812
Modified Files:
index.php
Log Message:
Fix problems with news showing only 'Insert news here' despite other news being entered (bug credit: Stephanie Closs)
Index: index.php
===================================================================
RCS file: /cvsroot/openfirst/news/admin/index.php,v
retrieving revision 1.13
retrieving revision 1.14
diff -C2 -d -r1.13 -r1.14
*** index.php 13 Oct 2003 17:59:50 -0000 1.13
--- index.php 9 Nov 2003 20:33:07 -0000 1.14
***************
*** 74,81 ****
<?php
if($dhtml){
! echo('<input name="news2" type="button" id="news" value="Add News Item" onclick="dhtmlEditorPrepareSubmit(); document.NewsForm.submit();" />');
}
else {
! echo('<input name="news2" type="submit" id="news" value="Add News Item" />');
}
?>
--- 74,81 ----
<?php
if($dhtml){
! echo('<input name="news2" type="button" value="Add News Item" onclick="dhtmlEditorPrepareSubmit(); document.NewsForm.submit();" />');
}
else {
! echo('<input name="news2" type="submit" value="Add News Item" />');
}
?>
|