<?php $relPath = "./../../../pinc/"; include_once $relPath . 'base.inc'; include_once $relPath . 'slim_header.inc'; require_login(); slim_header_frameset(); ?> <frameset rows="*,*"> <frame name="hierodisplay" src="display.php"> <frame name="hierotable" src="table.php?table=b"> </frameset> <noframes> <?php echo _("Your browser currently does not display frames!"); ?> </noframes>
// The normal case for the session's subsequent visits. } else { // I don't know how this could happen. $default_layout = LAYOUT_HORIZ; // Alternatively, we could raise an error or warning. } } $layout = get_integer_param($_GET, 'layout', $default_layout, LAYOUT_HORIZ, LAYOUT_VERT); $_SESSION["show_good_word_suggestions_detail"]["layout"] = $layout; // $frame determines which frame we're operating from // 'master' - we're the master frame // 'left' - we're the left frame with the text // 'right' - we're the right frame for the image $frame = get_enumerated_param($_GET, 'frame', 'master', array('master', 'left', 'right')); if ($frame == "master") { slim_header_frameset(_("Suggestion Detail")); if ($layout == LAYOUT_HORIZ) { $frameSpec = 'rows="30%,70%"'; } else { $frameSpec = 'cols="30%,70%"'; } ?> <frameset <?php echo $frameSpec; ?> > <frame name="worddetailframe" src="show_good_word_suggestions_detail.php?projectid=<?php echo $projectid; ?> &word=<?php echo $encWord;
} else { $is_valid_page = true; } mysql_free_result($res2); } else { $error_messages[] = _("select a project page"); } } // $frame determines which frame we're operating from // 'master' - we're the master frame // 'top' - we're the top frame with the basic info // 'image' - frame with the image // 'text' - we're the bottom frame for the text $frame = get_enumerated_param($_GET, "frame", "master", array("master", "top", "image", "text")); if ($frame == "master") { slim_header_frameset(_("Image and text for page")); $projectid = urlencode($projectid); $page = urlencode($page); $round_id = urlencode($round_id); ?> <frameset rows="15%,50%,35%"> <frame name="topframe" src="view_page_text_image.php?projectid=<?php echo $projectid; ?> &page=<?php echo $page; ?> &round_id=<?php echo $round_id; ?> &frame=top">
$word = decode_word($val); if (!is_array(@$newProjectWords[$projectid])) { $newProjectWords[$projectid] = array(); } array_push($newProjectWords[$projectid], $word); } } foreach ($newProjectWords as $projectid => $projectWords) { $words = load_project_good_words($projectid); $words = array_merge($words, $projectWords); save_project_good_words($projectid, $words); } $frame = "left"; } if ($frame == "master") { slim_header_frameset(_("Manage Suggestions")); $frameSpec = 'cols="40%,60%"'; if (@$_REQUEST["timecutoff"]) { $timeCutoffSpec = "timeCutoff={$timeCutoff}&"; } else { $timeCutoffSpec = ""; } ?> <frameset <?php echo $frameSpec; ?> > <frame src="<?php echo attr_safe($_SERVER['PHP_SELF']); ?> ?pm=<?php
<?php $relPath = '../../pinc/'; include_once $relPath . 'base.inc'; include_once $relPath . 'slim_header.inc'; include_once $relPath . 'quizzes.inc'; // get_quiz_page_id_param $quiz_page_id = get_quiz_page_id_param($_REQUEST, 'quiz_page_id'); include "./quiz_page.inc"; // qp_full_browser_title qp_round_id_for_pi_toolbox $header_args = array('js_files' => array("../../tools/proofers/dp_proof.js?2015122901", "../../tools/proofers/dp_scroll.js?1.18")); slim_header_frameset(qp_full_browser_title(), $header_args); ?> <frameset rows="*,73"> <frameset cols="60%,*"> <frameset name="left" rows="40%,*"> <frame name="imageframe" src="orig.php?quiz_page_id=<?php echo $quiz_page_id; ?> "> <frame name="proofframe" src="proof.php?quiz_page_id=<?php echo $quiz_page_id; ?> "> </frameset> <frame name="right" src="right.php?quiz_page_id=<?php echo $quiz_page_id; ?> "> </frameset> <frame name="menuframe" src="../../tools/proofers/ctrl_frame.php?round_id=<?php
//load the master frameset // Add name of round before nameofwork $round = get_Round_for_project_state($project->state); $nameofwork = "[" . $round->id . "] " . $project->nameofwork; // Re src="dp_foo.js?YYMMDD##" in the following <script> tags: // When a JS script file changes, the browser should note this and update its // cached version. However, it appears that some browsers are not very good // at this, and continue to use a cached version after it is out of date. // To thwart this, we add a query string to the src reference, and update it // when the JS script file changes. (The query string can be anything, but // it makes sense to use the date that the JS file was changed.) // The browser sees that the src URL no longer matches that of its cached // script, and so fetches the new version. (Of course, the JS script doesn't // do anything with the query string, but the browser doesn't know that.) $header_args = array("js_files" => array("dp_proof.js?2015122901", "dp_scroll.js?1.18")); slim_header_frameset($nameofwork . " - " . _("Proofreading Interface"), $header_args); $frameGet = "?" . $_SERVER['QUERY_STRING']; ?> <frameset id="proof_frames" rows="*,73"> <frame name="proofframe" src="<?php echo "{$code_url}/tools/proofers/proof_frame.php{$frameGet}"; ?> " marginwidth="2" marginheight="2" frameborder="0"> <frame name="menuframe" src="ctrl_frame.php?round_id=<?php echo $round->id; ?> " marginwidth="2" marginheight="2" frameborder="0"> </frameset> <noframes> <?php echo _("Your browser currently does not display frames!");
$word = rtrim(decode_word($encWord)); enforce_edit_authorization($projectid); // get the right layout $layout = array_get($_GET, "layout", @$_SESSION["show_word_context"]["layout"]); if (empty($layout)) { $layout = LAYOUT_HORIZ; } $_SESSION["show_word_context"]["layout"] = $layout; $wordInstances = get_integer_param($_GET, 'wordInstances', 20, 0, null); // $frame determines which frame we're operating from // 'master' - we're the master frame // 'left' - we're the left frame with the text // 'right' - we're the right frame for the image $frame = get_enumerated_param($_GET, 'frame', 'master', array('master', 'left', 'right')); if ($frame == "master") { slim_header_frameset(_("Word Context")); if ($layout == LAYOUT_HORIZ) { $frameSpec = 'rows="30%,70%"'; } else { $frameSpec = 'cols="30%,70%"'; } ?> <frameset <?php echo $frameSpec; ?> > <frame name="worddetailframe" src="show_word_context.php?projectid=<?php echo $projectid; ?> &word=<?php echo $encWord;