Patches item #1780161, was opened at 2007-08-23 14:45
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=308956&aid=1780161&group_id=8956
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: None
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Christopher Oezbek (coezbek)
Assigned to: Nobody/Anonymous (nobody)
Summary: Link to "Edit" and "Test" from "Survey Status"-page
Initial Comment:
Put the following code at line 215 of status.inc (admin/include/where/) to get links while in Editing and Testing mode directly to the edit page and the standalone test of the survey.
This is very helpful if you do optical touchup in the end, because you don't need to go over the main menu.
Cheers,
Christopher
if ($stat == 'Active') {?>
<td><a href="<?php echo($ESPCONFIG['autopub_url']."?name=".$name); ?>"><?php echo($name) ?></a></td>
<?php }
elseif ($stat == 'Testing') {?>
<td><a href="<?php echo($ESPCONFIG['autopub_url']."?name=".$name."&test=1"); ?>"><?php echo($name) ?></a></td>
<?php }
elseif ($stat == 'Editing') {
$editUrl = "<a href=\"". $GLOBALS['ESPCONFIG']['ME'] .htmlentities("?where=tab&newid=${sid}")."\">" . $name . "</a>";
?>
<td><?php echo($editUrl) ?></td>
<?php
} else { ?>
<td><?php echo($name); ?></td>
<?php } ?>
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=308956&aid=1780161&group_id=8956
|