Changeset 514
- Timestamp:
- 05/21/08 21:47:38 (5 years ago)
- Location:
- bbcode.adsense
- Files:
-
- 3 modified
-
files/lib/data/message/bbcode/AdSenseBBCode.class.php (modified) (1 diff)
-
options.xml (modified) (1 diff)
-
package.xml (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
bbcode.adsense/files/lib/data/message/bbcode/AdSenseBBCode.class.php
r461 r514 29 29 if ($parser->getOutputType() == 'text/html') { 30 30 $content = explode("\n", StringUtil::decodeHTML(StringUtil::unifyNewlines($content))); 31 $content = array_filter($content, create_function('$a','return preg_match("/^google_ad[^;]+; <br \/>$/", StringUtil::trim($a));'));31 $content = array_filter($content, create_function('$a','return preg_match("/^google_ad[^;]+;(<br \/>)?$/", StringUtil::trim($a));')); 32 32 return '<script type="text/javascript">//<![CDATA[ 33 33 '.implode("\n",$content).' -
bbcode.adsense/options.xml
r114 r514 1 <?xml version="1.0" ?>1 <?xml version="1.0" encoding="UTF-8"?> 2 2 <!DOCTYPE data SYSTEM "http://www.woltlab.com/DTDs/options.dtd"> 3 3 <data> -
bbcode.adsense/package.xml
r461 r514 6 6 <packagedescription><![CDATA[BBCode for Google AdSense advertisement within your postings. Privileged Users can add own code.]]></packagedescription> 7 7 <packagedescription language="de"><![CDATA[BBCode um Google AdSense Werbung in Postings einzubauen. Prviliegierte Benutzer können eigenen Code hinzufÃŒgen.]]></packagedescription> 8 <version>1.2. 0</version>8 <version>1.2.1</version> 9 9 <date>DATE</date> 10 10 <plugin>com.woltlab.wcf.data.message.bbcode</plugin> … … 31 31 </instructions> 32 32 33 <instructions type="update" fromversion="1.2.0"> 34 <files>files.tar</files> 35 <bbcodes>bbcodes.xml</bbcodes> 36 </instructions> 37 33 38 <instructions type="update" fromversion="1.1.1"> 34 39 <files>files.tar</files> 40 <bbcodes>bbcodes.xml</bbcodes> 35 41 </instructions> 36 42 37 43 <instructions type="update" fromversion="1.1.0"> 38 44 <files>files.tar</files> 45 <bbcodes>bbcodes.xml</bbcodes> 39 46 </instructions> 40 47 41 48 <instructions type="update" fromversion="1.0.1"> 42 49 <files>files.tar</files> 50 <bbcodes>bbcodes.xml</bbcodes> 43 51 </instructions> 44 52 45 53 <instructions type="update" fromversion="1.0.0"> 46 54 <files>files.tar</files> 55 <bbcodes>bbcodes.xml</bbcodes> 47 56 </instructions> 48 57 </package>
