Пример #1
0
 /**
  * fix_js_ShowHideQuestions
  *
  * @param xxx $str (passed by reference)
  * @param xxx $start
  * @param xxx $length
  */
 function fix_js_ShowHideQuestions(&$str, $start, $length)
 {
     $substr = substr($str, $start, $length);
     $search = "/\\s*document\\.getElementById\\('OneByOneReadout'\\)\\.style.display = '[^']*';/s";
     $substr = preg_replace($search, '', $substr);
     // do standard fix for this function
     parent::fix_js_ShowHideQuestions($substr, 0, strlen($substr));
 }