Show
Ignore:
Timestamp:
08/24/09 08:31:49 (3 years ago)
Author:
daris
Message:

user_agent: releasing 1.1

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/user_agent/manifest.xml

    r65 r72  
    44        <id>user_agent</id> 
    55        <title>User agent icons</title> 
    6         <version>1.0</version> 
     6        <version>1.1</version> 
    77        <description>This extension adds Browser and system icon to each post.</description> 
    88        <author>Daris</author> 
    99        <minversion>1.3</minversion> 
    10         <maxtestedon>1.3.2</maxtestedon> 
     10        <maxtestedon>1.3.4</maxtestedon> 
    1111        <install><![CDATA[ 
    1212                $forum_db->add_field('posts', 'user_agent', 'VARCHAR( 255 )', true); 
     
    2525                        $query['SELECT'] .= ', p.user_agent'; 
    2626]]></hook> 
    27                 <hook id='fn_add_topic_qr_add_topic_post'><![CDATA[ 
     27                <hook id='fn_add_topic_qr_add_topic_post, fn_add_post_qr_add_post'><![CDATA[ 
    2828                        if (isset($_SERVER['HTTP_USER_AGENT'])) 
    2929                        { 
     
    3232                        } 
    3333]]></hook> 
    34                 <hook id='fn_add_post_qr_add_post'><![CDATA[ 
    35                         if (isset($_SERVER['HTTP_USER_AGENT'])) 
    36                         { 
    37                                 $query['INSERT'] .= ', user_agent'; 
    38                                 $query['VALUES'] .= ', \''.$forum_db->escape($_SERVER["HTTP_USER_AGENT"]).'\''; 
    39                         } 
    40 ]]></hook> 
    4134        </hooks> 
    4235</extension>