//$header_opt .= "<script type=\"text/javascript\" src=\"/external/js/sheetedit.js\"></script>\n"; include TMP_HTML_DIR . "tpl.header.html"; // Excelファイル読み込み処理 if ($tgt_file) { list($xls, $errmsg) = excel_peruser_factory($charset, $tgt_file); $sheet = new Sheet($xls); } // // エラーメッセージ処理 // if ($errmsg) { print "<blockquote><font color=\"red\"><STRONG>"; print strconv($errmsg); print "</STRONG></font></blockquote>"; } $target = $conf->get("target") == "registered" ? 1 : 0; // ステータス表示 put_status($file_id, $group_id, $sheet_id); // アクションボタン表示 $label_marker = "位置指定"; if (file_exists(DST_DIR . $file_id . ".rb")) { $label_marker = "位置再指定"; } print "<div class=\"clearfix\" style=\"padding: 10px 0; margin-bottom: 30px;\">\n"; print "<button onclick=\"show_marker();\" style=\"z-index:10; float: left; margin-right: 10px;\">" . $label_marker . "</button>\n"; print "<form action=\"/external/sht_config/\" method=\"post\" id=\"form-save\">\n"; print "<input type=\"hidden\" name=\"fileid\" value=\"" . $file_id . "\" />\n"; print "<input type=\"hidden\" name=\"gid\" value=\"" . $group_id . "\" />\n"; print "<input type=\"hidden\" name=\"sid\" value=\"" . $sheet_id . "\" />\n"; print "<input type=\"hidden\" name=\"target\" value=\"" . $target . "\" />\n"; print "<input type=\"hidden\" name=\"scale\" value=\"" . $sheet->scale . "\" />\n";
function loadPreviouslySelectedFieldList($file_id) { $conf = new FileConf($file_id); return $conf->get("selectedFieldDataJson"); }