}
 echo "</select>";
 echo "<br>";
 echo "<input type='submit' value='Submit'></p>";
 echo "</form>";
 if ($timeCutoff == -1) {
     $time_cutoff_text = _("Suggestions since the project's Good Words List was last modified are included.");
 } elseif ($timeCutoff == 0) {
     $time_cutoff_text = _("<b>All proofreader suggestions</b> are included in the results.");
 } else {
     $time_cutoff_text = sprintf(_("Only proofreader suggestions made <b>after %s</b> are included in the results."), strftime($datetime_format, $timeCutoff));
 }
 echo "<p>" . $time_cutoff_text . "</p>";
 echo "<p>" . sprintf(_("Selecting any '%s' button will add all selected words to their corresponding project word list, not just the words in the section for the button itself."), $submitLabel) . "</p>";
 echo_cutoff_text($initialFreq, $cutoffOptions);
 $t_before = $watch->read();
 echo "<form action='" . attr_safe($_SERVER['PHP_SELF']) . "' method='post'>";
 echo "<input type='hidden' name='frame' value='update'>";
 echo "<input type='hidden' name='pm' value='" . attr_safe($pm) . "'>";
 echo "<input type='hidden' name='timeCutoff' value='{$timeCutoff}'>";
 $projectsNeedingAttention = 0;
 // loop through the projects
 foreach ($projects as $projectid => $projectdata) {
     list($projectname, $projectstate) = $projectdata;
     $goodFileObject = get_project_word_file($projectid, "good");
     // set the timeCutoff
     if ($timeCutoff == -1) {
         $timeCutoffActual = $goodFileObject->mod_time;
     } else {
         $timeCutoffActual = $timeCutoff;
     }