Skip to content

Commit

Permalink
Fixed (i hope) the rest of the png images.
Browse files Browse the repository at this point in the history
Documentation to come tomorrow.

git-svn-id: file:///Users/Shitiz/Downloads/lssvn/source/phpsurveyor@1971 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
Nikos Korfiatis committed Aug 19, 2006
1 parent ee545af commit b023212
Show file tree
Hide file tree
Showing 9 changed files with 139 additions and 119 deletions.
4 changes: 2 additions & 2 deletions admin/assessments.php
Original file line number Diff line number Diff line change
Expand Up @@ -76,8 +76,8 @@

echo "\t<tr bgcolor='#999999'>\n"
. "\t\t<td>\n"
. "\t\t\t<input type='image' name='Administration' src='$imagefiles/home.png' title='"
. _("Return to Survey Administration")."' alt='". _("Return to Survey Administration")."' align='left' onClick=\"window.open('$scriptname?sid=$surveyid', '_top')\">\n"
. "\t\t\t<a href=\"#\" onClick=\"window.open('$scriptname?sid=$surveyid', '_top')\" onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'". _("Return to Survey Administration")."');return false\">" .
"<img name='Administration' src='$imagefiles/home.png' title='' alt='' align='left' ></a>\n"
. "\t\t\t<img src='$imagefiles/blank.gif' alt='' width='11' border='0' hspace='0' align='left'>\n"
. "\t\t\t<img src='$imagefiles/seperator.gif' alt='' border='0' hspace='0' align='left'>\n"
. "\t\t</td>\n"
Expand Down
47 changes: 27 additions & 20 deletions admin/browse.php
Original file line number Diff line number Diff line change
Expand Up @@ -235,21 +235,24 @@
."\t<tr bgcolor='#999999'><td colspan='2'>\n"
."\t\t\t<img src='$imagefiles/blank.gif' width='31' height='20' border='0' hspace='0' align='left' alt=''>\n"
."\t\t\t<img src='$imagefiles/seperator.gif' border='0' hspace='0' align='left' alt=''>\n"
."\t\t\t<input type='image' align='left' src='$imagefiles/edit.png' title='"
. _("Edit this entry")."' alt='"._("Edit this entry")."' onClick=\"window.open('dataentry.php?action=edit&amp;id=$id&amp;sid=$surveyid&amp;surveytable=$surveytable','_top')\" />\n"
."\t\t\t<a href='dataentry.php?action=delete&amp;id=$id&amp;sid=$surveyid&amp;surveytable=$surveytable'>"
."<img align='left' hspace='0' border='0' src='$imagefiles/delete.png' alt='"
. _("Delete this entry")."' title='"
. _("Delete this entry")."' onClick=\"return confirm('"._("Are you sure you want to delete this entry.")."')\" /></a>\n"
. "\t\t\t<input type='image' name='Export' src='$imagefiles/exportsql.png' title='"
. _("Export this Response")."' alt='". _("Export this Response")."'align='left' onclick=\"window.open('export.php?sid=$surveyid&id=$id', '_blank')\">\n"
."\t\t\t<a href='dataentry.php?action=edit&amp;id=$id&amp;sid=$surveyid&amp;surveytable=$surveytable'" .
"onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'"._("Edit this entry")."')\">" .
"<img align='left' src='$imagefiles/edit.png' title='' alt=''/></a>\n"
."\t\t\t<a href='dataentry.php?action=delete&amp;id=$id&amp;sid=$surveyid&amp;surveytable=$surveytable'" .
"onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'"._("Delete this entry")."')\">"
."<img align='left' hspace='0' border='0' src='$imagefiles/delete.png' alt='' title='' onClick=\"return confirm('"._("Are you sure you want to delete this entry.")."')\" /></a>\n"
. "\t\t\t<a href='export.php?sid=$surveyid&id=$id'" .
"onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'". _("Export this Response")."')\">" .
"<img name='Export' src='$imagefiles/exportsql.png' title='' alt='". _("Export this Response")."'align='left'></a>\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"
."\t\t\t<input type='image' name='DataBack' align='left' src='$imagefiles/databack.png' title='"
. _("Show last...")."' onClick=\"window.open('browse.php?action=id&amp;id=$last&amp;sid=$surveyid&amp;surveytable=$surveytable','_top')\" />\n"
."\t\t\t<a href='browse.php?action=id&amp;id=$last&amp;sid=$surveyid&amp;surveytable=$surveytable'" .
"onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'". _("Show last...")."')\">".
"<img name='DataBack' align='left' src='$imagefiles/databack.png' title='' /></a>\n"
."\t\t\t<img src='$imagefiles/blank.gif' width='13' height='20' border='0' hspace='0' align='left' alt=''>\n"
."\t\t\t<input type='image' name='DataForward' align='left' src='$imagefiles/dataforward.png' title='"
. _("Show next...")."' onClick=\"window.open('browse.php?action=id&amp;id=$next&amp;sid=$surveyid&amp;surveytable=$surveytable','_top')\" />\n"
."\t\t\t<a href='browse.php?action=id&amp;id=$next&amp;sid=$surveyid&amp;surveytable=$surveytable'" .
"onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'". _("Show next...")."')\">" .
"<img name='DataForward' align='left' src='$imagefiles/dataforward.png' title='' /></a>\n"
."\t\t</td>\n"
."\t</tr>\n"
."\t<tr><td colspan='2' bgcolor='#CCCCCC' height='1'></td></tr>\n";
Expand Down Expand Up @@ -474,15 +477,19 @@
{
echo "\t\t\t<img src='$imagefiles/blank.gif' width='31' height='20' border='0' hspace='0' align='left' alt=''>\n"
."\t\t\t<img src='$imagefiles/seperator.gif' border='0' hspace='0' align='left' alt=''>\n"
."\t\t\t<input type='image' name='DataBegin' align='left' src='$imagefiles/databegin.png' title='"
. _("Show start..")."' onClick=\"window.open('browse.php?action=all&amp;sid=$surveyid&amp;start=0&amp;limit=$limit','_top')\" />\n"
."\t\t\t<input type='image' name='DataBack' align='left' src='$imagefiles/databack.png' title='"
. _("Show last...")."' onClick=\"window.open('browse.php?action=all&amp;sid=$surveyid&amp;surveytable=$surveytable&amp;start=$last&amp;limit=$limit','_top')\" />\n"
."\t\t\t<a href='browse.php?action=all&amp;sid=$surveyid&amp;start=0&amp;limit=$limit'" .
"onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'". _("Show start..")."');return false\">" .
"<img name='DataBegin' align='left' src='$imagefiles/databegin.png' title=''/></a>\n"
."\t\t\t<a href='browse.php?action=all&amp;sid=$surveyid&amp;surveytable=$surveytable&amp;start=$last&amp;limit=$limit'" .
"onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'". _("Show previous...")."');return false\">" .
"<img name='DataBack' align='left' src='$imagefiles/databack.png' title=''/></a>\n"
."\t\t\t<img src='$imagefiles/blank.gif' width='13' height='20' border='0' hspace='0' align='left' alt=''>\n"
."\t\t\t<input type='image' name='DataForward' align='left' src='$imagefiles/dataforward.png' title='"
. _("Show next...")."' onClick=\"window.open('browse.php?action=all&amp;sid=$surveyid&amp;surveytable=$surveytable&amp;start=$next&amp;limit=$limit','_top')\" />\n"
."\t\t\t<input type='image' name='DataEnd' align='left' src='$imagefiles/dataend.png' title='"
. _("Show last...")."' onClick=\"window.open('browse.php?action=all&amp;sid=$surveyid&amp;start=$end&amp;limit=$limit','_top')\" />\n"
."\t\t\t<a href='browse.php?action=all&amp;sid=$surveyid&amp;surveytable=$surveytable&amp;start=$next&amp;limit=$limit'" .
"onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'". _("Show next...")."');return false\">".
"<img name='DataForward' align='left' src='$imagefiles/dataforward.png' title=''/></a>\n"
."\t\t\t<a href='browse.php?action=all&amp;sid=$surveyid&amp;start=$end&amp;limit=$limit'" .
"onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'". _("Show last...")."');return false\">" .
"<img name='DataEnd' align='left' src='$imagefiles/dataend.png' title=''></a>\n"
."\t\t\t<img src='$imagefiles/seperator.gif' border='0' hspace='0' align='left' alt=''>\n";
}
echo("\t\t</td>\n"
Expand Down
21 changes: 8 additions & 13 deletions admin/labels.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,8 @@
._("Label Sets Administration")."</strong></font></td></tr>\n"
."\t\t\t\t<tr bgcolor='#999999'>\n"
."\t\t\t\t\t<td>\n"
."\t\t\t\t\t<input type='image' src='$imagefiles/home.png' title='"
._("Return to Survey Administration")."' alt='"._("Return to Survey Administration")."' align='left' "
."onClick=\"window.open('$scriptname', '_top')\">\n"
."\t\t\t\t\t<a href='$scriptname' onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'". _("Return to Survey Administration")."');return false\">" .
"<img name='Administration' src='$imagefiles/home.png' title='' alt='' align='left' ></a>"
."\t\t\t\t\t<img src='$imagefiles/blank.gif' width='11' height='20' border='0' hspace='0' align='left' alt=''>\n"
."\t\t\t\t\t<img src='$imagefiles/seperator.gif' border='0' hspace='0' align='left' alt=''>\n"
."\t\t\t\t\t<img src='$imagefiles/blank.gif' width='60' height='20' border='0' hspace='0' align='left' alt=''>\n"
Expand Down Expand Up @@ -222,16 +221,12 @@
."\t\t\t\t\t<img src='$imagefiles/seperator.gif' border='0' hspace='0' align='left' alt=''>\n"
."\t\t\t\t\t<img src='$imagefiles/blank.gif' width='60' height='20' border='0' hspace='0' align='left' alt=''>\n"
."\t\t\t\t\t<img src='$imagefiles/seperator.gif' border='0' hspace='0' align='left' alt=''>\n"
."\t\t\t\t\t<input type='image' src='$imagefiles/edit.png' title='"
._("Edit label set")."' align='left' "
."onclick=\"window.open('labels.php?action=editset&amp;lid=$lid', '_top')\">\n"
."\t\t\t\t\t<a href='labels.php?action=delset&amp;lid=$lid'>"
."<img src='$imagefiles/delete.png' border='0' alt='"._("Delete label set")."' title='"
._("Delete label set")."' align='left' "
."onClick=\"return confirm('"._("Are you sure?")."')\"></a>\n"
."\t\t\t\t\t<input type='image' src='$imagefiles/exportsql.png' alt='"._("Export Label Set")."' title='"
._("Export Label Set")."' align='left' "
."onClick=\"window.open('dumplabel.php?lid=$lid', '_top')\">\n"
."\t\t\t\t\t<a href='labels.php?action=editset&amp;lid=$lid' onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'"._("Edit label set")."');return false\">" .
"<img name='DeleteTokensButton' src='$imagefiles/edit.png' title='' align='left' ></a>"
."\t\t\t\t\t<a href='labels.php?action=delset&amp;lid=$lid' onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'"._("Delete label set")."');return false\">"
."<img src='$imagefiles/delete.png' border='0' alt='' title='' align='left' onClick=\"return confirm('"._("Are you sure?")."')\"></a>\n"
."\t\t\t\t\t<a href='dumplabel.php?lid=$lid' onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'"._("Export Label Set")."');return false\">" .
"<img src='$imagefiles/exportsql.png' alt='"._("Export Label Set")."' title='' align='left'></a>"
."\t\t\t\t\t</td>\n"
."\t\t\t\t</tr>\n"
."\t\t\t</table>\n";
Expand Down
14 changes: 8 additions & 6 deletions admin/saved.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,14 +136,16 @@ function savedmenubar()
if (!isset($surveyoptions)) {$surveyoptions="";}
$surveyoptions .= "\t<tr bgcolor='#999999'>\n"
. "\t\t<td>\n"
. "\t\t\t<input type='image' name='Administration' src='$imagefiles/home.png' title='"
. _("Return to Survey Administration")."' align='left' onClick=\"window.open('$scriptname?sid=$surveyid', '_top')\">\n"
. "\t\t\t<a href='$scriptname?sid=$surveyid' onmouseout=\"hideTooltip()\" " .
"onmouseover=\"showTooltip(event,'"._("Return to Survey Administration")."')\" >" .
"<img name='Administration' src='$imagefiles/home.png' title='' align='left'></a>\n"
. "\t\t\t<img src='$imagefiles/blank.gif' alt='' width='11' border='0' hspace='0' align='left'>\n"
. "\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='"
. _("Show summary information")."' align='left' onClick=\"window.open('saved.php?sid=$surveyid', '_top')\">\n"
. "\t\t\t<input type='image' name='ViewAll' src='$imagefiles/document.png' title='"
. _("Display Responses")."' align='left' onClick=\"window.open('saved.php?sid=$surveyid&amp;action=all', '_top')\">\n"
. "\t\t\t<a href='saved.php?sid=$surveyid' onmouseout=\"hideTooltip()\" " .
"onmouseover=\"showTooltip(event,'". _("Show summary information")."')\">" .
"<img name='SurveySummary' src='$imagefiles/summary.png' title='' align='left'></a>\n"
. "\t\t\t<a href='saved.php?sid=$surveyid&amp;action=all' onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'". _("Display Responses")."')\">" .
"<img name='ViewAll' src='$imagefiles/document.png' title='' align='left'></a>\n"
//. "\t\t\t<input type='image' name='ViewLast' src='$imagefiles/viewlast.png' title='"
//. _("Display Last 50 Responses")."' 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"
Expand Down
27 changes: 16 additions & 11 deletions admin/templates.php
Original file line number Diff line number Diff line change
Expand Up @@ -496,18 +496,19 @@ function doreplacement($file) { //Produce sample page from template file
. "\t\t\t</tr>\n"
. "\t\t\t<tr bgcolor='#999999'>\n"
. "\t\t\t\t<td>\n"
. "\t\t\t\t\t<input type='image' src='$imagefiles/home.png' name='HomeButton' alt='"
. _("Default Administration Page")."' title='"
. _("Default Administration Page")."' align='left' onClick=\"window.open('$scriptname', '_top')\">\n"
. "\t\t\t\t\t<a href='$scriptname'" .
"onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'". _("Default Administration Page")."')\">" .
"<img src='$imagefiles/home.png' name='HomeButton' alt='' title='' align='left'></a>\n"
. "\t\t\t\t\t<img src='$imagefiles/blank.gif' alt='' width='11' border='0' hspace='0' align='left'>\n"
. "\t\t\t\t\t<img src='$imagefiles/seperator.gif' alt='' border='0' hspace='0' align='left'>"
. "\t\t\t\t\t<img src='$imagefiles/blank.gif' alt='' width='60' height='10' border='0' hspace='0' align='left'>\n"
. "\t\t\t\t\t<img src='$imagefiles/seperator.gif' alt='' border='0' hspace='0' align='left'>"
."</td><td align='right'>\n"
."<img src='$imagefiles/blank.gif' align='right' border='0' hspace='0' width='60' height='10' alt=''>"
."<img src='$imagefiles/seperator.gif' align='right' alt='' border='0' hspace='0'>"
."<input type='image' src='$imagefiles/add.png' align='right' title='"._("Create new template")."' "
."onClick=\"javascript: copyprompt('"._("Create new template called:")."', '"._("NewTemplate")."', 'default', 'copy')\">"
."<a href='#' onClick=\"javascript: copyprompt('"._("Create new template called:")."', '"._("NewTemplate")."', 'default', 'copy')\"" .
" onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'"._("Create new template")."')\">" .
"<img src='$imagefiles/add.png' align='right' title=''></a>"
."<font face='verdana' size='2' color='white'><strong>"._("Template:")."</strong> </font>"
."<select name='templatedir' onchange='javascript: window.open(\"templates.php?editfile=$editfile&screenname=$screenname&templatename=\"+this.value, \"_top\")'>\n"
.makeoptions($templates, "name", "name", $templatename)
Expand All @@ -533,16 +534,20 @@ function doreplacement($file) { //Produce sample page from template file
."\t\t\t\t\t<img src='$imagefiles/seperator.gif' alt='' border='0' hspace='0' align='left'>\n"
."\t\t\t\t\t<img src='$imagefiles/blank.gif' alt='' width='60' height='10' border='0' hspace='0' align='left'>\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' name='EditName' src='$imagefiles/edit.png' align='left' title='"._("Rename this template")."'"
." onClick=\"javascript: copyprompt('"._("Rename this template to:")."', '$templatename', '$templatename', 'rename')\"";
."\t\t\t\t\t<a href='#' onClick=\"javascript: copyprompt('"._("Rename this template to:")."', '$templatename', '$templatename', 'rename')\">" .
"<img name='EditName' src='$imagefiles/edit.png' align='left' title='"._("Rename this template")."'" .
" onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'"._("Create new template")."')\" ";
if ($templatename == "default") {echo " disabled";}
echo ">";
echo "\t\t\t\t\t<img src='$imagefiles/blank.gif' alt='' width='20' height='10' border='0' hspace='0' align='left'>\n"
."\t\t\t\t\t<input type='image' name='Export' src='$imagefiles/exportsql.png' align='left' title='"._("Export Template")."'"
." onClick='javascript:window.open(\"templates.php?action=zip&editfile=$editfile&screenname=$screenname&templatename=$templatename\", \"_top\")'>\n"
."\t\t\t\t\t<a href='#' onClick='javascript:window.open(\"templates.php?action=zip&editfile=$editfile&screenname=$screenname&templatename=$templatename\", \"_top\")'".
"onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'"._("Export Template")."')\">" .
"<img name='Export' src='$imagefiles/exportsql.png' align='left' title=''></a>\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' name='MakeCopy' src='$imagefiles/copy.png' align='left' title='"._("Make a copy of this template")."'"
." onClick=\"javascript: copyprompt('"._("Create a copy of this template called:")."', '"._("copy_of_")."$templatename', '$templatename', 'copy')\">"
."\t\t\t\t\t" .
"<a href='#' onmouseout=\"hideTooltip()\" onmouseover=\"showTooltip(event,'"._("Export Template")."')\"" .
"onClick=\"javascript: copyprompt('"._("Make a copy of this template")."', '"._("copy_of_")."$templatename', '$templatename', 'copy')\">" .
"<img name='MakeCopy' src='$imagefiles/copy.png' align='left' title=''></a>"
."</td><td align='right'>\n"
."<img src='$imagefiles/blank.gif' align='right' alt='' border='0' hspace='0' width='60' height='10'>"
."<img src='$imagefiles/seperator.gif' align='right' alt='minimise' border='0' hspace='0'>"
Expand Down

0 comments on commit b023212

Please sign in to comment.