Changeset 845

Show
Ignore:
Timestamp:
04/03/09 12:12:38 (4 years ago)
Author:
d0nut
Message:

bbcode changes

Files:
7 modified

Legend:

Unmodified
Added
Removed
  • bbcode.deviantart/files/lib/data/message/bbcode/DeviantArtBBCode.class.php

    r445 r845  
    5050                } 
    5151                else if ($parser->getOutputType() == 'text/plain') { 
    52                         return $content; 
     52                        return sprintf(' deviantart: %s ', StringUtil::encodeHTML($content)); 
    5353                } 
    5454        } 
  • bbcode.deviantart/package.xml

    r629 r845  
    55                <packagename>deviantART BBCode</packagename> 
    66                <packagedescription><![CDATA[BBCode for deviantART Query]]></packagedescription> 
    7                 <version>1.1.1</version> 
     7                <version>1.1.2</version> 
    88                <date>DATE</date> 
    99                <plugin>com.woltlab.wcf.data.message.bbcode</plugin> 
     
    3131        </instructions> 
    3232         
     33        <instructions type="update" fromversion="1.1.1"> 
     34                <files>files.tar</files> 
     35        </instructions> 
     36         
    3337        <instructions type="update" fromversion="1.1.0"> 
    3438                <files>files.tar</files> 
  • bbcode.gadget/files/lib/data/message/bbcode/GadgetBBCode.class.php

    r742 r845  
    4545google.friendconnect.container.renderOpenSocialGadget( 
    4646 { id: 'div-".$myid."', 
    47    url:'".$content."', 
     47   url:'".StringUtil::encodeHTML($content)."', 
    4848   site: '".GOOGLE_FRIENDCONNECT."'}, 
    4949  skin); 
     
    5454                } 
    5555                else if ($parser->getOutputType() == 'text/plain') { 
    56                         return $content; 
     56                        return sprintf(' google friend connect gadget: %s ', StringUtil::encodeHTML($content)); 
    5757                } 
    5858        } 
  • bbcode.gadget/package.xml

    r741 r845  
    55                <packagename>Open Social Gadget BBCode</packagename> 
    66                <packagedescription><![CDATA[BBCode for open social Gadgets]]></packagedescription> 
    7                 <version>1.0.0</version> 
     7                <version>1.0.1</version> 
    88                <date>DATE</date> 
    99                <plugin>com.woltlab.wcf.data.message.bbcode</plugin> 
     
    3838        </instructions> 
    3939         
     40        <instructions type="update" fromversion="1.0.0"> 
     41                <files>files.tar</files> 
     42        </instructions> 
     43         
    4044        <instructions type="update" fromversion="0.0.1"> 
    4145                <files>files.tar</files> 
  • bbcode.slideshare/files/lib/data/message/bbcode/SlideShareBBCode.class.php

    r78 r845  
    1717         */ 
    1818        public function getParsedTag($openingTag, $content, $closingTag, BBCodeParser $parser) { 
     19                if(!preg_match('/[^\{\}]+/', $content)) return ''; 
     20 
    1921                if ($parser->getOutputType() == 'text/html') { 
    2022                        $new = parse_url($content); 
     
    4143                                        $send = fgets($io, 4096); 
    4244                                        if ($i++> 20) { 
    43                                                 if (preg_match('/<link rel\="video_src" href\="(.+)"\/>/', $send, $hits)) { 
     45 
     46                                                if (preg_match('/<link href\="(.+)" name\="media_presentation"/', $send, $hits)) { 
    4447                                                        $slide_url = $hits[1]; 
    4548                                                        $datacount++; 
     
    7477                } 
    7578                else if ($parser->getOutputType() == 'text/plain') { 
    76                         return $content; 
     79                        return sprintf(' slideshare presentation: %s ', StringUtil::encodeHTML($content)); 
    7780                } 
    7881        } 
  • bbcode.slideshare/package.xml

    r635 r845  
    88                <packagedescription languagecode="fr"><![CDATA[BBCode pour SlideShare]]></packagedescription> 
    99                <packagedescription languagecode="hr"><![CDATA[BBCode za SlideShare]]></packagedescription> 
    10                 <version>1.0.3</version> 
     10                <version>1.0.4</version> 
    1111                <date>DATE</date> 
    1212                <plugin>com.woltlab.wcf.data.message.bbcode</plugin> 
     
    3434        </instructions> 
    3535         
     36        <instructions type="update" fromversion="1.0.3"> 
     37                <files>files.tar</files> 
     38        </instructions> 
     39         
    3640        <instructions type="update" fromversion="1.0.2"> 
     41                <files>files.tar</files> 
    3742                <languages languagecode="fr">fr.xml</languages> 
    3843                <languages languagecode="hr">hr.xml</languages> 
  • styletoggle/package.xml

    r822 r845  
    3636                <languages languagecode="en">en.xml</languages> 
    3737                <languages languagecode="fr">fr.xml</languages> 
     38        </instructions> 
     39         
     40        <instructions type="update" fromversion="1.0.5"> 
     41                <files>files.tar</files> 
    3842        </instructions> 
    3943