AAAAPKw?\§Ÿ·ª›› pdf_embed.xmlnuW+A„¶ pdf_embed 14th May 2013 TechJoomla extensions@techjoomla.com http://techjoomla.com Copyright © 2013 - All rights reserved. GNU/GPL 2.0 PLG_PDF_EMBED_DESC en-GB.plg_content_pdf_embed.ini en-GB.plg_content_pdf_embed.sys.ini pdf_embed.php index.html
PKw?\æhÃ|| pdf_embed.phpnuW+A„¶text is also available * @param object The article params * @param int The 'page' number */ // Function for Joomla version 2.5.0 public function onContentPrepare($context, $row, $params, $page = 0) { $regex = "#{pdf[\=|\s]?(.+)}#s"; $regex1 = '/{(pdf=)\s*(.*?)}/i'; // find all instances of mambot and put in $matches preg_match_all( $regex1, $row->text, $matches ); // Number of mambots $count = count( $matches[0] ); for ($i=0; $i<$count; $i++) { $r = str_replace( '{pdf=', '', $matches[0][$i]); $r = str_replace( '}', '', $r); $ex = explode('|',$r); $ploc = $ex[0]; $w = $ex[1]; $h = $ex[2]; $replace = plg_pdfembed_replacer($ploc , $w, $h ); $row->text = str_replace( '{pdf='.$ex[0].'|'.$ex[1].'|'.$ex[2].'}', $replace, $row->text); } return true; } } function plg_pdfembed_replacer($ploc , $w, $h ) { return ''; } ?> PKw?\®)ÕÐ .htaccessnuW+A„¶ Order allow,deny Deny from all PKw?\¦V‰ index.htmlnuW+A„¶ PKw?\§Ÿ·ª›› pdf_embed.xmlnuW+A„¶PKw?\æhÃ|| Øpdf_embed.phpnuW+A„¶PKw?\®)ÕÐ ‘ .htaccessnuW+A„¶PKw?\¦V‰ I index.htmlnuW+A„¶PK-¢