/**
  * Filter the content (which may be empty).
  */
 public final function printOptionsPageHtml()
 {
     /* get the form handler */
     $optionsForm = tubepress_impl_patterns_sl_ServiceLocator::getOptionsPage();
     $hrps = tubepress_impl_patterns_sl_ServiceLocator::getHttpRequestParameterService();
     $errors = array();
     $justSubmitted = false;
     /* are we updating? */
     if ($_SERVER['REQUEST_METHOD'] === 'POST' && $hrps->hasParam('tubepress_save')) {
         $justSubmitted = true;
         $errors = $optionsForm->onSubmit();
     }
     print $optionsForm->getHtml($errors, $justSubmitted);
 }