Skip to content

Commit

Permalink
Replaced more icons
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@1713 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
c-schmitz committed Jul 7, 2006
1 parent df05560 commit 1f85fd0
Show file tree
Hide file tree
Showing 42 changed files with 60 additions and 60 deletions.
4 changes: 2 additions & 2 deletions admin/browse.php
Expand Up @@ -242,7 +242,7 @@
."<img align='left' hspace='0' border='0' src='$imagefiles/delete.png' alt='"
. _BR_DELRESPONSE."' title='"
. _BR_DELRESPONSE."' onClick=\"return confirm('"._DR_RUSURE."')\" /></a>\n"
. "\t\t\t<input type='image' name='Export' src='$imagefiles/export.png' title='"
. "\t\t\t<input type='image' name='Export' src='$imagefiles/exportsql.png' title='"
. _S_EXPORT_BT_SINGLE."' alt='". _S_EXPORT_BT_SINGLE."'align='left' onclick=\"window.open('export.php?sid=$surveyid&id=$id', '_blank')\">\n"
."\t\t\t<img src='$imagefiles/seperator.gif' border='0' hspace='0' align='left' alt=''>\n"
."\t\t\t<img src='$imagefiles/blank.gif' width='20' height='20' border='0' hspace='0' align='left' alt=''>\n"
Expand Down Expand Up @@ -559,4 +559,4 @@
}
echo getAdminFooter("$langdir/instructions.html#browse", "Using PHPSurveyors Browse Function");

?>
?>
20 changes: 10 additions & 10 deletions admin/html.php
Expand Up @@ -251,7 +251,7 @@
}
elseif ($activated == "Y")
{
$surveysummary .= "\t\t\t\t\t<img src='$imagefiles/active.gif' title='"._S_ACTIVE_BT."' "
$surveysummary .= "\t\t\t\t\t<img src='$imagefiles/active.png' title='"._S_ACTIVE_BT."' "
. "alt='"._S_ACTIVE_BT."' align='left'>\n"
. "\t\t\t\t\t<input type='image' src='$imagefiles/deactivate.png' name='DeactivateSurvey' "
. "alt='"._S_DEACTIVATE_BT."' title='"._S_DEACTIVATE_BT."' align='left' "
Expand Down Expand Up @@ -288,7 +288,7 @@
{
$surveysummary .= "\t\t\t\t\t<img src='$imagefiles/blank.gif' alt='' width='20' align='left' border='0' hspace='0'>\n";
}
$surveysummary .= "\t\t\t\t\t<input type='image' src='$imagefiles/export.png' title='". _S_EXPORT_BT."' alt='". _S_EXPORT_BT."' align='left' name='ExportSurvey' "
$surveysummary .= "\t\t\t\t\t<input type='image' src='$imagefiles/exportsql.png' title='". _S_EXPORT_BT."' alt='". _S_EXPORT_BT."' align='left' name='ExportSurvey' "
. "onclick=\"window.open('".$homeurl."/dumpsurvey.php?sid=$surveyid', '_top')\">\n";
$surveysummary .= "\t\t\t\t\t<img src='$imagefiles/seperator.gif' alt='' align='left' border='0' hspace='0'>\n"
. "<input type='image' src='$imagefiles/assessments.png' title='". _S_ASSESSMENT_BT."' alt='". _S_ASSESSMENT_BT."' align='left' name='SurveyAssessment' "
Expand All @@ -297,7 +297,7 @@
if ($activated == "Y")
{
$surveysummary .= "\t\t\t\t\t<img src='$imagefiles/seperator.gif' alt='' align='left' border='0' hspace='0'>\n"
. "\t\t\t\t\t<input type='image' src='$imagefiles/browse.gif' title='"._S_BROWSE_BT."' "
. "\t\t\t\t\t<input type='image' src='$imagefiles/browse.png' title='"._S_BROWSE_BT."' "
. "align='left' name='BrowseSurveyResults' alt='"._S_BROWSE_BT."'"
. "onclick=\"window.open('".$homeurl."/browse.php?sid=$surveyid', '_top')\">\n"
. "\t\t\t\t\t<img src='$imagefiles/seperator.gif' alt='' align='left' border='0' hspace='0'>\n";
Expand All @@ -308,7 +308,7 @@
. "onclick=\"window.open('".$homeurl."/saved.php?sid=$surveyid', '_top')\">\n"
. "\t\t\t\t\t<img src='$imagefiles/seperator.gif' alt='' align='left' border='0' hspace='0'>\n";
}
$surveysummary .="\t\t\t\t\t<input type='image' src='$imagefiles/tokens.gif' title='"._S_TOKENS_BT."' "
$surveysummary .="\t\t\t\t\t<input type='image' src='$imagefiles/tokens.png' title='"._S_TOKENS_BT."' "
. "align='left' name='TokensControl' alt='"._S_TOKENS_BT."'"
. "onclick=\"window.open('$homeurl/tokens.php?sid=$surveyid', '_top')\">\n";
}
Expand Down Expand Up @@ -515,7 +515,7 @@
{
$groupsummary .= "\t\t\t\t\t<img src='$imagefiles/blank.gif' alt='' width='20' align='left' border='0' hspace='0'>\n";
}
$groupsummary .= "\t\t\t\t\t<input type='image' src='$imagefiles/export.png' title='"
$groupsummary .= "\t\t\t\t\t<input type='image' src='$imagefiles/exportsql.png' title='"
. _G_EXPORT_BT."' alt='". _G_EXPORT_BT."'name='ExportGroup' "
. "align='left' "
. "onclick=\"window.open('dumpgroup.php?sid=$surveyid&amp;gid=$gid', '_top')\">"
Expand Down Expand Up @@ -607,21 +607,21 @@
. "onclick=\"return confirm('"._DQ_RUSURE."')\"></a>\n";
}
else {$questionsummary .= "\t\t\t\t\t<img src='$imagefiles/blank.gif' alt='' width='20' align='left' border='0' hspace='0'>\n";}
$questionsummary .= "\t\t\t\t\t<input type='image' src='$imagefiles/export.png' title='"
$questionsummary .= "\t\t\t\t\t<input type='image' src='$imagefiles/exportsql.png' title='"
. _Q_EXPORT_BT."' alt='". _Q_EXPORT_BT."'align='left' name='ExportQuestion' "
. "onclick=\"window.open('dumpquestion.php?qid=$qid', '_top')\">\n"
. "\t\t\t\t\t<img src='$imagefiles/seperator.gif' alt='' border='0' hspace='0' align='left'>\n"
. "\t\t\t\t\t<input type='image' src='$imagefiles/copy.gif' title='"
. "\t\t\t\t\t<input type='image' src='$imagefiles/copy.png' title='"
. _Q_COPY_BT."' alt='". _Q_COPY_BT."' align='left' name='CopyQuestion' "
. "onclick=\"window.open('$scriptname?action=copyquestion&amp;sid=$surveyid&amp;gid=$gid&amp;qid=$qid', '_top')\">\n"
. "\t\t\t\t\t<img src='$imagefiles/seperator.gif' alt='' border='0' hspace='0' align='left'>\n"
. "\t\t\t\t\t<input type='image' src='$imagefiles/conditions.gif' title='"
. "\t\t\t\t\t<input type='image' src='$imagefiles/conditions.png' title='"
. _Q_CONDITIONS_BT."' alt='". _Q_CONDITIONS_BT."' align='left' name='SetQuestionConditions' "
. "onClick=\"window.open('".$homeurl."/conditions.php?sid=$surveyid&amp;qid=$qid', 'conditions', 'menubar=no, location=no, status=no, height=475, width=560, scrollbars=yes, resizable=yes, left=50, top=50')\">\n"
. "\t\t\t\t\t<img src='$imagefiles/seperator.gif' alt='' border='0' hspace='0' align='left'>\n";
if ($qrrow['type'] == "O" || $qrrow['type'] == "L" || $qrrow['type'] == "!" || $qrrow['type'] == "!" || $qrrow['type'] == "M" || $qrrow['type'] == "Q" || $qrrow['type']=="A" || $qrrow['type'] == "B" || $qrrow['type'] == "C" || $qrrow['type'] == "E" || $qrrow['type'] == "F" || $qrrow['type'] == "H" || $qrrow['type'] == "P" || $qrrow['type'] == "R")
{
$questionsummary .= "\t\t\t\t\t<input type='image' src='$imagefiles/answers.gif' title='"
$questionsummary .= "\t\t\t\t\t<input type='image' src='$imagefiles/answers.png' title='"
. _Q_ANSWERS_BT."' align='left' name='ViewAnswers' "
. "onClick=\"window.open('".$scriptname."?sid=$surveyid&amp;gid=$gid&amp;qid=$qid&amp;viewanswer=Y', '_top')\">\n";
}
Expand Down Expand Up @@ -676,7 +676,7 @@
$questionsummary .= "\t\t<tr $qshowstyle id='surveydetails35'><td></td><td>"
. "<font face='verdana' size='1' color='green'>"
. _WARNING.": ". _QS_NOANSWERS." "
. "<input type='image' src='$imagefiles/answers.gif' title='"
. "<input type='image' src='$imagefiles/answers.png' title='"
. _Q_ANSWERS_BT."' border='0' hspace='0' name='EditThisQuestionAnswers'"
. "onClick=\"window.open('".$scriptname."?sid=$surveyid&amp;gid=$gid&amp;qid=$qid&amp;viewanswer=Y', '_top')\"></font></td></tr>\n";
}
Expand Down
Binary file added admin/images/active.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/answer.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/answers.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified admin/images/assessments.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/browse.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/conditions.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/copy.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/databack.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/databegin.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/dataend.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file removed admin/images/dataentry.gif
Binary file not shown.
Binary file modified admin/images/dataentry.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/dataforward.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/deactivate.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified admin/images/delete.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/document.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/downarrow.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified admin/images/edit.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified admin/images/export.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/exportcsv.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/exportspss.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/exportsql.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/importcsv.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/importold.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added admin/images/invite.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified admin/images/labels.png
Binary file added admin/images/remind.png
Binary file added admin/images/save.png
Binary file added admin/images/statistics.png
Binary file modified admin/images/summary.png
Binary file modified admin/images/templates.png
Binary file added admin/images/tokenify.png
Binary file added admin/images/tokens.png
Binary file added admin/images/viewlast.png
2 changes: 1 addition & 1 deletion admin/labels.php
Expand Up @@ -229,7 +229,7 @@
."<img src='$imagefiles/delete.png' border='0' alt='"._L_DEL_BT."' title='"
._L_DEL_BT."' align='left' "
."onClick=\"return confirm('Are you sure?')\"></a>\n"
."\t\t\t\t\t<input type='image' src='$imagefiles/export.png' alt='"._EXPORTLABEL."' title='"
."\t\t\t\t\t<input type='image' src='$imagefiles/exportsql.png' alt='"._EXPORTLABEL."' title='"
._EXPORTLABEL."' align='left' "
."onClick=\"window.open('dumplabel.php?lid=$lid', '_top')\">\n"
."\t\t\t\t\t</td>\n"
Expand Down
30 changes: 15 additions & 15 deletions admin/navigator.php
Expand Up @@ -57,7 +57,7 @@ function surveyNavigator($surveyid, $gid, $qid) {
$menu01 = new HTML_TreeMenuXL();
$nodeProperties = array("icon"=>"folder.gif", "cssClass"=>"auto", "autostyles"=>array("smalltextBold", "smallitalic", "smalltext"));
$nodePropertiesActive = array("icon"=>"activefolder.gif", "cssClass"=>"auto", "autostyles"=>array("smalltextBold", "smallitalic", "smalltext"));
$questionProperties = array("icon"=>"document.gif", "cssClass"=>"auto", "autostyles"=>array("smalltextBold", "smallitalic", "smalltext"));
$questionProperties = array("icon"=>"document.png", "cssClass"=>"auto", "autostyles"=>array("smalltextBold", "smallitalic", "smalltext"));
foreach(getSurveysBrief(null, $surveyid) as $toplevel) {
if ($toplevel['active']=="Y") { $nodeProp=$nodePropertiesActive;} else {$nodeProp=$nodeProperties;}
$text=makeJavaSafe($toplevel['title'], 35);
Expand Down Expand Up @@ -375,7 +375,7 @@ function surveyDetails($surveyid, $gid, $qid) {
$pages[_SN_SV_MISC]=array(_SL_ATTRIBUTENAMES, _SL_NOTIFICATION, _SL_AUTONUMBER, _SL_ALLOWPREV);

if ($thissurvey['active'] == "Y") {
$surveystatus="<img src='$imagefiles/blank.gif' width='50' height='1' alt=''><a href='#' ".$navigation['dropdownaction']."=\"return dropdownmenu(this, event, surveyactivation, '180px')\"><img src='{$imagefiles}/active.gif' border='0' hspace='0' alt='"._S_ACTIVE_BT."'>"._S_ACTIVE_BT."</a>";
$surveystatus="<img src='$imagefiles/blank.gif' width='50' height='1' alt=''><a href='#' ".$navigation['dropdownaction']."=\"return dropdownmenu(this, event, surveyactivation, '180px')\"><img src='{$imagefiles}/active.png' border='0' hspace='0' alt='"._S_ACTIVE_BT."'>"._S_ACTIVE_BT."</a>";
} else {
$surveystatus="<img src='$imagefiles/blank.gif' width='195' height='1' alt=''><a href='#' ".$navigation['dropdownaction']."=\"return dropdownmenu(this, event, surveyactivation, '180px')\"><img src='{$imagefiles}/inactive.png' border='0' hspace='0' alt='"._S_INACTIVE_BT."'>"._S_INACTIVE_BT."</a>";
}
Expand Down Expand Up @@ -712,7 +712,7 @@ function questionEdit($surveyid, $gid, $qid) {
$thissurvey = getSurveyInfo($surveyid);
$thisquestion = getQuestionInfo($qid);
$thisquestion['title']="";
$title="<img src='$imagefiles/copy.gif' align='left' border='0' alt='". _Q_COPY_BT."' >"._Q_COPY_BT;
$title="<img src='$imagefiles/copy.png' align='left' border='0' alt='". _Q_COPY_BT."' >"._Q_COPY_BT;
$button = _COPYQ;
} elseif ($action == "addquestion") {
$thissurvey=getSurveyInfo($surveyid);
Expand Down Expand Up @@ -845,7 +845,7 @@ function questionResultSummary($surveyid, $gid, $qid) {
<tr>
<td height='22' nowrap>"
.windowControl('questionresults', "$scriptname?sid=$surveyid&amp;gid=$gid&amp;qid=$qid")."
<img src='{$imagefiles}/browse.gif' align='left'>$total "._SN_RECORDS."</td>
<img src='{$imagefiles}/browse.png' align='left'>$total "._SN_RECORDS."</td>
</tr>
</table>";

Expand Down Expand Up @@ -1890,16 +1890,16 @@ function javadropdown($surveyid, $gid, $qid) {
}

$menu['surveyoptions']["0"]="<a href='{$homeurl}/$scriptname?sid=$surveyid&action=editsurvey'><img src='$imagefiles/edit.png' align='left' border='0' height='15' width='15'>"._S_EDIT_BT."<\/a><br />";
$menu['surveyoptions']["2"]="<a href='{$homeurl}/dumpsurvey.php?sid=$surveyid'><img src='$imagefiles/export.png' align='left' border='0' height='15' width='15'>"._S_EXPORT_BT."<\/a><br />";
$menu['surveyoptions']["2"]="<a href='{$homeurl}/dumpsurvey.php?sid=$surveyid'><img src='$imagefiles/exportsql.png' align='left' border='0' height='15' width='15'>"._S_EXPORT_BT."<\/a><br />";
if ($thissurvey['active'] != "Y") {
$menu['surveyoptions']["1"]="<a href='{$homeurl}/$scriptname?sid=$surveyid&action=delsurvey' onclick=\\\"return confirm('"._DS_DELMESSAGE1." "._DS_DELMESSAGE2."')\\\"><img src='$imagefiles/delete.png' align='left' border='0' height='15' width='15'>"._S_DELETE_BT."<\/a><br />";
}
$menu['surveyoptions']["3"]="<a href='{$homeurl}/$scriptname?sid=$surveyid&action=showassessments'><img src='$imagefiles/assessments.png' align='left' border='0' height='15' width='15'>"._S_ASSESSMENT_BT."<\/a><br />";

if ($thissurvey['active'] == "Y") {
$menu['surveyactive']["0"]="<a href='{$homeurl}/browse.php?sid=$surveyid'><img src='$imagefiles/browse.gif' align='left' border='0' height='15' width='15'>"._S_BROWSE_BT."<\/a><br />";
$menu['surveyactive']["1"]="<a href='{$homeurl}/statistics.php?sid=$surveyid'><img src='$imagefiles/statistics.gif' alignt='left' border='0' height='15' width='15'>"._B_STATISTICS_BT."<\/a><br />";
$menu['surveyactive']["2"]="<a href='{$homeurl}/tokens.php?sid=$surveyid'><img src='$imagefiles/tokens.gif' align='left' border='0' height='15' width='15'>"._S_TOKENS_BT."<\/a><br />";
$menu['surveyactive']["0"]="<a href='{$homeurl}/browse.php?sid=$surveyid'><img src='$imagefiles/browse.png' align='left' border='0' height='15' width='15'>"._S_BROWSE_BT."<\/a><br />";
$menu['surveyactive']["1"]="<a href='{$homeurl}/statistics.php?sid=$surveyid'><img src='$imagefiles/statistics.png' alignt='left' border='0' height='15' width='15'>"._B_STATISTICS_BT."<\/a><br />";
$menu['surveyactive']["2"]="<a href='{$homeurl}/tokens.php?sid=$surveyid'><img src='$imagefiles/tokens.png' align='left' border='0' height='15' width='15'>"._S_TOKENS_BT."<\/a><br />";
if ($thissurvey['allowsave'] == "Y") {
$menu['surveyactive']["3"]="<a href='{$homeurl}/saved.php?sid=$surveyid'><img src='$imagefiles/saved.gif' alignt='left' border='0' height='15' width='15'>"._S_SAVED_BT."<\/a><br />";
}
Expand All @@ -1910,7 +1910,7 @@ function javadropdown($surveyid, $gid, $qid) {
if ($thissurvey['active'] != "Y") {
$menu['groupoptions']["1"] = "<a href='{$homeurl}/$scriptname?sid=$surveyid&amp;gid=$gid&action=delgroup'><img src='$imagefiles/delete.png' align='left' border='0' height='15' width='15'>"._G_DELETE_BT."<\/a><br />";
}
$menu['groupoptions']["2"]="<a href='{$homeurl}/dumpgroup.php?sid=$surveyid&amp;gid=$gid'><img src='$imagefiles/export.png' align='left' border='0' height='15' width='15'>"._G_EXPORT_BT."<\/a><br />";
$menu['groupoptions']["2"]="<a href='{$homeurl}/dumpgroup.php?sid=$surveyid&amp;gid=$gid'><img src='$imagefiles/exportsql.png' align='left' border='0' height='15' width='15'>"._G_EXPORT_BT."<\/a><br />";

$menu['groupactions']["0"]="<a href='$homeurl/$scriptname?sid=$surveyid&amp;gid=$gid&dbaction=renumbergroup'><img src='$imagefiles/renumber.gif' align='left' border='0' height='15' width='15'>"._G_RENUMBER_BT."<\/a><br />";
}
Expand All @@ -1920,21 +1920,21 @@ function javadropdown($surveyid, $gid, $qid) {
if ($thissurvey['active'] != "Y") {
$menu['questionoptions']["1"]="<a href='{$homeurl}/$scriptname?sid=$surveyid&amp;gid=$gid&amp;qid=$qid&action=delquestion'><img src='$imagefiles/delete.png' align='left' border='0' height='15' width='15'>"._Q_DELETE_BT."<\/a><br />";
}
$menu['questionoptions']["2"]="<a href='{$homeurl}/dumpgroup.php?sid=$surveyid&amp;gid=$gid&amp;qid=$qid'><img src='$imagefiles/export.png' align='left' border='0' height='15' width='15'>"._Q_EXPORT_BT."<\/a><br />";
$menu['questionoptions']["3"]="<a href='{$homeurl}/$scriptname?sid=$surveyid&amp;gid=$gid&amp;qid=$qid&action=copyquestion'><img src='{$imagefiles}/copy.gif' align='left' border='0' height='15' width='15' alt='". _Q_COPY_BT."'>"._Q_COPY_BT."<\/a><br />";
$menu['questionoptions']["2"]="<a href='{$homeurl}/dumpgroup.php?sid=$surveyid&amp;gid=$gid&amp;qid=$qid'><img src='$imagefiles/exportsql.png' align='left' border='0' height='15' width='15'>"._Q_EXPORT_BT."<\/a><br />";
$menu['questionoptions']["3"]="<a href='{$homeurl}/$scriptname?sid=$surveyid&amp;gid=$gid&amp;qid=$qid&action=copyquestion'><img src='{$imagefiles}/copy.png' align='left' border='0' height='15' width='15' alt='". _Q_COPY_BT."'>"._Q_COPY_BT."<\/a><br />";

$thisquestion=getQuestionInfo($qid);
switch($thisquestion['type']){
case "L": case "M": case "O": case "!": case "A": case "B": case "C": case "E": case "F":
case "P": case "Q": case "R": case "H": case "^":
$menu["questionactions"]["0"]="<a href='{$homeurl}/$scriptname?sid=$surveyid&amp;gid=$gid&qid=$qid&action=showanswers'><img src='{$imagefiles}/answers.gif' align='left' border='0' height='15' width='15'>"._Q_ANSWERS_BT."<\/a><br />";
$menu["questionactions"]["0"]="<a href='{$homeurl}/$scriptname?sid=$surveyid&amp;gid=$gid&qid=$qid&action=showanswers'><img src='{$imagefiles}/answers.png' align='left' border='0' height='15' width='15'>"._Q_ANSWERS_BT."<\/a><br />";
break;
} // switch
$menu["questionactions"]["1"]="<a href='{$homeurl}/$scriptname?sid=$surveyid&amp;gid=$gid&amp;qid=$qid&action=showattributes'><img src='{$imagefiles}/answers.gif' align='left' border='0' height='15' width='15'>"._QL_QUESTIONATTRIBUTES."<\/a><br />";
$menu["questionactions"]["2"]="<a href=\\\"#\\\" onclick=\\\"window.open('{$homeurl}/conditions.php?sid=$surveyid&amp;qid=$qid', 'conditions', 'menubar=no, location=no, status=no, height=475, width=560, scrollbars=yes, resizable=yes, left=50, top=50')\\\"><img src='{$imagefiles}/conditions.gif' align='left' border='0' height='15' width='15' alt='". _Q_CONDITIONS_BT."'>"._Q_CONDITIONS_BT."</a><br />";
$menu["questionactions"]["1"]="<a href='{$homeurl}/$scriptname?sid=$surveyid&amp;gid=$gid&amp;qid=$qid&action=showattributes'><img src='{$imagefiles}/answers.png' align='left' border='0' height='15' width='15'>"._QL_QUESTIONATTRIBUTES."<\/a><br />";
$menu["questionactions"]["2"]="<a href=\\\"#\\\" onclick=\\\"window.open('{$homeurl}/conditions.php?sid=$surveyid&amp;qid=$qid', 'conditions', 'menubar=no, location=no, status=no, height=475, width=560, scrollbars=yes, resizable=yes, left=50, top=50')\\\"><img src='{$imagefiles}/conditions.png' align='left' border='0' height='15' width='15' alt='". _Q_CONDITIONS_BT."'>"._Q_CONDITIONS_BT."</a><br />";
$menu["questionactions"]["3"]="<a href='{$homeurl}/$scriptname?sid=$surveyid&amp;gid=$gid&amp;qid=$qid&action=showpreview'><img src='{$imagefiles}/templates.png' align='left' border='0' height='15' width='15'>"._Q_PREVIEWQUESTION."<\/a><br />";
if($thissurvey['active'] == "Y") {
$menu['activequestion']["0"]="<a href='{$homeurl}/$scriptname?sid=$surveyid&amp;gid=$gid&amp;qid=$qid&action=showsummary'><img src='{$imagefiles}/browse.gif' align='left' border='0' height='15' width='15'>"._Q_VIEWSUMMARY."<\/a><br />";
$menu['activequestion']["0"]="<a href='{$homeurl}/$scriptname?sid=$surveyid&amp;gid=$gid&amp;qid=$qid&action=showsummary'><img src='{$imagefiles}/browse.png' align='left' border='0' height='15' width='15'>"._Q_VIEWSUMMARY."<\/a><br />";
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions admin/saved.php
Expand Up @@ -142,9 +142,9 @@ function savedmenubar()
. "\t\t\t<img src='$imagefiles/seperator.gif' alt='' border='0' hspace='0' align='left'>\n"
. "\t\t\t<input type='image' name='SurveySummary' src='$imagefiles/summary.png' title='"
. _B_SUMMARY_BT."' align='left' onClick=\"window.open('saved.php?sid=$surveyid', '_top')\">\n"
. "\t\t\t<input type='image' name='ViewAll' src='$imagefiles/document.gif' title='"
. "\t\t\t<input type='image' name='ViewAll' src='$imagefiles/document.png' title='"
. _B_ALL_BT."' align='left' onClick=\"window.open('saved.php?sid=$surveyid&amp;action=all', '_top')\">\n"
//. "\t\t\t<input type='image' name='ViewLast' src='$imagefiles/viewlast.gif' title='"
//. "\t\t\t<input type='image' name='ViewLast' src='$imagefiles/viewlast.png' title='"
//. _B_LAST_BT."' align='left' onClick=\"window.open('saved.php?sid=$surveyid&action=all&limit=50&order=desc', '_top')\">\n"
. "\t\t\t<img src='$imagefiles/seperator.gif' border='0' hspace='0' align='left' alt=''>\n"
. "\t\t</td>\n"
Expand Down

0 comments on commit 1f85fd0

Please sign in to comment.