Changeset 514

Show
Ignore:
Timestamp:
05/21/08 21:47:38 (5 years ago)
Author:
d0nut
Message:

adsense changes

Location:
bbcode.adsense
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • bbcode.adsense/files/lib/data/message/bbcode/AdSenseBBCode.class.php

    r461 r514  
    2929                if ($parser->getOutputType() == 'text/html') { 
    3030                        $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));')); 
    3232                        return '<script type="text/javascript">//<![CDATA[ 
    3333'.implode("\n",$content).' 
  • bbcode.adsense/options.xml

    r114 r514  
    1 <?xml version="1.0"?> 
     1<?xml version="1.0" encoding="UTF-8"?> 
    22<!DOCTYPE data SYSTEM "http://www.woltlab.com/DTDs/options.dtd"> 
    33<data> 
  • bbcode.adsense/package.xml

    r461 r514  
    66                <packagedescription><![CDATA[BBCode for Google AdSense advertisement within your postings. Privileged Users can add own code.]]></packagedescription> 
    77                <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> 
    99                <date>DATE</date> 
    1010                <plugin>com.woltlab.wcf.data.message.bbcode</plugin> 
     
    3131        </instructions> 
    3232         
     33        <instructions type="update" fromversion="1.2.0"> 
     34                <files>files.tar</files> 
     35                <bbcodes>bbcodes.xml</bbcodes> 
     36        </instructions> 
     37         
    3338        <instructions type="update" fromversion="1.1.1"> 
    3439                <files>files.tar</files> 
     40                <bbcodes>bbcodes.xml</bbcodes> 
    3541        </instructions> 
    3642         
    3743        <instructions type="update" fromversion="1.1.0"> 
    3844                <files>files.tar</files> 
     45                <bbcodes>bbcodes.xml</bbcodes> 
    3946        </instructions> 
    4047         
    4148        <instructions type="update" fromversion="1.0.1"> 
    4249                <files>files.tar</files> 
     50                <bbcodes>bbcodes.xml</bbcodes> 
    4351        </instructions> 
    4452         
    4553        <instructions type="update" fromversion="1.0.0"> 
    4654                <files>files.tar</files> 
     55                <bbcodes>bbcodes.xml</bbcodes> 
    4756        </instructions> 
    4857</package>