/i','

',$contemp); $contemp = preg_replace('//i','

',$contemp); $contemp = preg_replace('//i','

',$contemp); $contemp = preg_replace('//i','

',$contemp); $contemp = preg_replace('//i','
',$contemp); $contemp = preg_replace('//i','
',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','
',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('
','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('
','

',$contemp); $contemp = str_ireplace('

','

',$contemp); } if($cf['menu']['levels'] == '5') { // clean h1-5 tags $contemp = preg_replace('//i','

',$contemp); $contemp = preg_replace('//i','

',$contemp); $contemp = preg_replace('//i','

',$contemp); $contemp = preg_replace('//i','

',$contemp); $contemp = preg_replace('//i','
',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('
','

',$contemp); $contemp = str_ireplace('

','

',$contemp); } if($cf['menu']['levels'] == '4') { // clean h1-4 tags $contemp = preg_replace('//i','

',$contemp); $contemp = preg_replace('//i','

',$contemp); $contemp = preg_replace('//i','

',$contemp); $contemp = preg_replace('//i','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); } if($cf['menu']['levels'] == '3') { // clean h1-3 tags $contemp = preg_replace('//i','

',$contemp); $contemp = preg_replace('//i','

',$contemp); $contemp = preg_replace('//i','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); } if($cf['menu']['levels'] == '2') { // clean h1-2 tags $contemp = preg_replace('//i','

',$contemp); $contemp = preg_replace('//i','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); $contemp = str_ireplace('

','

',$contemp); } if($cf['menu']['levels'] == '1') { // clean h1 tags $contemp = preg_replace('//i','

',$contemp); $contemp = str_ireplace('

','

',$contemp); } $content4 = $contemp; // write content.php $h1only_convertContentHandle = './content/content.php'; $content4handle = fopen($h1only_convertContentHandle, "w+"); fwrite($content4handle,$content4); fclose($content4handle); header('Location: ./?converted_content_to_h1only'); } // plugin output if($adm && $cf['use']['h1only_pagesplitting'] == 'true' && !strstr(file_get_contents('./content/content.php'),'class="_level1_page_"')) { $o.= '
'; $o.= '

' . $plugin_tx['convert_content']['headline_plugin'] . '

' . $plugin_tx['convert_content']['text_config_changed'] . '

' . $plugin_tx['convert_content']['text_config_changed_back1'] . '

' . $plugin_tx['convert_content']['text_config_changed_back2'] . '

'; $o.= '

' . $plugin_tx['convert_content']['text_plugin_description'] . '

' . $plugin_tx['convert_content']['text_usage_hint'] . '
' . $plugin_tx['convert_content']['text_backup_hint'] . '

'; $o.= '


' . $plugin_tx['convert_content']['text_convert_content'] . ' h1only_pagesplitting »

'; $o.= '
'; } if(isset($_GET['converted_content_to_h1only'])) { $o.= '

' . $plugin_tx['convert_content']['text_conversion_complete'] . '

'; } ?>