Commit 4e7b7b63 authored by Andrey Filippov's avatar Andrey Filippov

corrections for nc393

parent 5c61da90
......@@ -16,7 +16,8 @@ PHP_SCRIPTS=i2c.php \
framepars.php \
parsedit.php \
phpinfo.php \
snapfull.php
snapfull.php \
tuneseq.php
PHPINCLUDES=i2c_include.php show_source_include.php
......
......@@ -1264,6 +1264,7 @@ function endPage(){
/// Called twice from printPage($encoded_todo)
function showControlButtonsRow($table_width,$readonly,$testMode,$showSeqMode,$encoded_todo,$imagesNumber,$imagesPerRow,$imgScale,$checkNotUncheck) {
$url_port = "sensor_port=".$GLOBALS [sensor_port]."&";
printf ("<tr style=''><td colspan=%d>",$table_width-($readonly?0:1));
if (!$readonly) {
if ($testMode>=0) {
......@@ -1287,7 +1288,7 @@ function showControlButtonsRow($table_width,$readonly,$testMode,$showSeqMode,$en
printf ("<input type='button' value='Refresh'onclick='refreshPage(1);' title='Reload the page, keep camera parameters (does not preserve delays yet)'/>\n");
printf ("<input type='button' value='Restart'onclick= 'refreshPage(0);' title='Reload the page, keep URL parameters'/>\n");
if ($encoded_todo) { // show link to last images
printf ("<a href='?images=%d:%d:%f&done=%s' target='new'>Last acquired images</a>\n",$imagesNumber,$imagesPerRow,$imgScale,$encoded_todo);
printf ("<a href='?".$url_port."images=%d:%d:%f&done=%s' target='new'>Last acquired images</a>\n",$imagesNumber,$imagesPerRow,$imgScale,$encoded_todo);
}
if (!$readonly) {
if ($checkNotUncheck)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment