Update of /cvsroot/stack/stack-1-0/scripts
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7216/scripts
Modified Files:
Tag: frontend_dev
stackAuthor.php
Log Message:
More work on question bank code. Made minor change to question editting form.
Index: stackAuthor.php
===================================================================
RCS file: /cvsroot/stack/stack-1-0/scripts/stackAuthor.php,v
retrieving revision 1.22.2.1
retrieving revision 1.22.2.2
diff -C2 -d -r1.22.2.1 -r1.22.2.2
*** stackAuthor.php 14 Jun 2005 17:54:52 -0000 1.22.2.1
--- stackAuthor.php 15 Jun 2005 13:34:37 -0000 1.22.2.2
***************
*** 192,202 ****
// Buttons to go somewhere next
if ($stack_stand_alone) {
- echo "<p><a href=\"javascript:EditQ('edit')\">Edit question</a> \n";
if (''==$errors) {
! echo "<a href=\"javascript:EditQ('try')\">Try this question</a> \n";
! echo "<a href=\"javascript:EditQ('export_xml')\">Export XML</a> \n";
if ('admin'==$user['username']) {
! echo "<a href=\"javascript:EditQ('store_in_db')\">Store question</a>\n
! <a href=\"javascript:EditQ('store_new_db')\">Store as a new question</a>\n";
}
}
--- 192,201 ----
// Buttons to go somewhere next
if ($stack_stand_alone) {
if (''==$errors) {
! echo "<a href=\"javascript:EditQ('try')\">Preview Question</a> \n";
! echo "<a href=\"javascript:EditQ('export_xml')\">Export Question</a> \n";
if ('admin'==$user['username']) {
! echo "<a href=\"javascript:EditQ('store_in_db')\">Save Question</a>\n
! <a href=\"javascript:EditQ('store_new_db')\">Save Question As...</a>\n";
}
}
|