Changeset 658

Show
Ignore:
Timestamp:
09/21/08 16:58:58 (5 years ago)
Author:
MDMAN
Message:

profile.lastvisitors modified

Location:
profile.lastvisitors
Files:
8 modified

Legend:

Unmodified
Added
Removed
  • profile.lastvisitors/de-informal.xml

    r620 r658  
    8181 
    8282        <category name="wcf.user.profile"> 
    83                 <item name="wcf.user.profile.lastvisitors.copyright"><![CDATA[<a href="http://www.mdman.de"><strong>Letzte Profilbesucher PlugIn&copy; 1.3.0</strong>, entwickelt von MDMAN</a>]]></item> 
     83                <item name="wcf.user.profile.lastvisitors.copyright"><![CDATA[<a href="http://www.mdman.de"><strong>Letzte Profilbesucher PlugIn&copy; 1.3.1</strong>, entwickelt von MDMAN</a>]]></item> 
    8484         
    8585                <item name="wcf.user.profile.menu.link.profile.lastvisitor"><![CDATA[Profil-Besucher]]></item> 
  • profile.lastvisitors/de.xml

    r620 r658  
    8181  
    8282        <category name="wcf.user.profile"> 
    83                 <item name="wcf.user.profile.lastvisitors.copyright"><![CDATA[<a href="http://www.mdman.de"><strong>Letzte Profilbesucher PlugIn&copy; 1.3.0</strong>, entwickelt von MDMAN</a>]]></item> 
     83                <item name="wcf.user.profile.lastvisitors.copyright"><![CDATA[<a href="http://www.mdman.de"><strong>Letzte Profilbesucher PlugIn&copy; 1.3.1</strong>, entwickelt von MDMAN</a>]]></item> 
    8484         
    8585                <item name="wcf.user.profile.menu.link.profile.lastvisitor"><![CDATA[Profil-Besucher]]></item> 
  • profile.lastvisitors/en.xml

    r620 r658  
    8181         
    8282        <category name="wcf.user.profile"> 
    83                 <item name="wcf.user.profile.lastvisitors.copyright"><![CDATA[<a href="http://www.mdman.de"><strong>Profile last Visitors&copy; 1.3.0</strong>, developed by MDMAN</a>]]></item> 
     83                <item name="wcf.user.profile.lastvisitors.copyright"><![CDATA[<a href="http://www.mdman.de"><strong>Profile last Visitors&copy; 1.3.1</strong>, developed by MDMAN</a>]]></item> 
    8484         
    8585                <item name="wcf.user.profile.menu.link.profile.lastvisitor"><![CDATA[Profile visitors]]></item> 
  • profile.lastvisitors/files/lib/page/MoreVisitorsPage.class.php

    r513 r658  
    1717        public $visitorCount = 0; 
    1818                         
     19        /** 
     20         * @see Page::readParameters() 
     21         */ 
    1922        public function readParameters() { 
    2023                parent::readParameters(); 
    2124                 
    2225                if (isset($_GET['userID'])) $this->profileID = intval($_GET['userID']); 
     26        } 
     27         
     28        /** 
     29         * @see Page::validate() 
     30         */ 
     31        public function validate() { 
     32                parent::validate(); 
     33 
     34                if ($this->profileID == 0) { 
     35                        require_once(WCF_DIR.'lib/system/exception/IllegalLinkException.class.php'); 
     36                        throw new IllegalLinkException(); 
     37                } 
     38        } 
     39         
     40        /** 
     41         * @see Page::readData() 
     42         */ 
     43        public function readData() { 
     44                parent::readData(); 
    2345         
    2446                if ($this->profileID > 0 && SHOW_LASTVISITOR_MOREVISITORS == 1 && SHOW_LASTVISITOR == 1 && SHOW_LASTVISITOR_ALLUSERS == 1 || $this->profileID > 0 && SHOW_LASTVISITOR_MOREVISITORS == 1 && SHOW_LASTVISITOR == 1 && SHOW_LASTVISITOR_ALLUSERS != 1 && WCF::getUser()->userID == $this->profileID || $this->profileID > 0 && SHOW_LASTVISITOR_MOREVISITORS == 1 && WCF::getUser()->getPermission('admin.profile.lastvisitor.canseeboxes')){ 
     
    4971        } 
    5072         
     73        /** 
     74         * @see Page::assignVariables() 
     75         */ 
    5176        public function assignVariables() { 
    5277                parent::assignVariables(); 
  • profile.lastvisitors/files/lib/page/MoreVisitorsTabPage.class.php

    r513 r658  
    1818        public $userID = 0; 
    1919                 
     20        /** 
     21         * @see Page::readParameters() 
     22         */ 
    2023        public function readParameters() { 
    2124                parent::readParameters(); 
    2225                 
    2326                if (isset($_REQUEST['userID'])) $this->profileID = intval($_REQUEST['userID']); 
     27        } 
     28         
     29        /** 
     30         * @see Page::validate() 
     31         */ 
     32        public function validate() { 
     33                parent::validate(); 
    2434 
    2535                if ($this->profileID == 0) { 
     
    2737                        throw new IllegalLinkException(); 
    2838                } 
     39        } 
     40         
     41        /** 
     42         * @see Page::readData() 
     43         */ 
     44        public function readData() { 
     45                parent::readData(); 
    2946 
    3047                if ($this->profileID > 0 && SHOW_LASTVISITOR_MOREVISITORS_ONTAB == 1 && SHOW_LASTVISITOR == 1 && SHOW_LASTVISITOR_ALLUSERS == 1 || $this->profileID > 0 && SHOW_LASTVISITOR_MOREVISITORS_ONTAB == 1 && SHOW_LASTVISITOR == 1 && SHOW_LASTVISITOR_ALLUSERS != 1 && WCF::getUser()->userID == $this->profileID || $this->profileID > 0 && SHOW_LASTVISITOR_MOREVISITORS_ONTAB == 1 && WCF::getUser()->getPermission('admin.profile.lastvisitor.canseeboxes')){ 
     
    5673        } 
    5774         
     75        /** 
     76         * @see Page::assignVariables() 
     77         */ 
    5878        public function assignVariables() { 
    5979                parent::assignVariables(); 
  • profile.lastvisitors/fr.xml

    r622 r658  
    8181 
    8282        <category name="wcf.user.profile"> 
    83                 <item name="wcf.user.profile.lastvisitors.copyright"><![CDATA[<a href="http://www.mdman.de"><strong>Derniers visiteurs du profil&copy; 1.3.0</strong>, développé par MDMAN</a>]]></item> 
     83                <item name="wcf.user.profile.lastvisitors.copyright"><![CDATA[<a href="http://www.mdman.de"><strong>Profile last Visitors&copy; 1.3.1</strong>, developed by MDMAN</a>]]></item> 
    8484                 
    8585                <item name="wcf.user.profile.menu.link.profile.lastvisitor"><![CDATA[Autres visiteurs du profil]]></item> 
  • profile.lastvisitors/hr.xml

    r621 r658  
    8181 
    8282        <category name="wcf.user.profile"> 
    83                 <item name="wcf.user.profile.lastvisitors.copyright"><![CDATA[<a href="http://www.mdman.de"><strong>Zadnji Posjetitelji Profila PlugIn&copy; 1.3.0</strong>, napravljen od MDMAN</a>]]></item> 
     83                <item name="wcf.user.profile.lastvisitors.copyright"><![CDATA[<a href="http://www.mdman.de"><strong>Zadnji Posjetitelji Profila PlugIn&copy; 1.3.1</strong>, napravljen od MDMAN</a>]]></item> 
    8484                 
    8585                <item name="wcf.user.profile.menu.link.profile.lastvisitor"><![CDATA[Posjetitelji-Profila]]></item> 
  • profile.lastvisitors/package.xml

    r620 r658  
    1111                <packagedescription language="de"><![CDATA[Mit diesem PlugIn werden die letzten Besucher im Profil angezeigt.]]></packagedescription> 
    1212                <packagedescription language="de-informal"><![CDATA[Mit diesem PlugIn werden die letzten Besucher im Profil angezeigt.]]></packagedescription> 
    13                 <version>1.3.0</version> 
    14                 <date>2008-08-25</date> 
     13                <version>1.3.1</version> 
     14                <date>2008-09-21</date> 
    1515                <plugin>com.woltlab.wcf</plugin> 
    1616                <isunique>1</isunique> 
     
    2828         
    2929        <optionalpackages> 
    30                 <optionalpackage minversion="1.0.1" file="optional/de.mailman.wbb.portal.box.profileLastVisitor.1.0.1.tar">de.mailman.wbb.portal.box.profileLastVisitors</optionalpackage> 
     30                <optionalpackage minversion="1.0.2 pl 1" file="optional/de.mailman.wbb.portal.box.profileLastVisitor_1.0.2.pl1.tar.gz">de.mailman.wbb.portal.box.profileLastVisitors</optionalpackage> 
    3131        </optionalpackages> 
    3232 
     
    254254                <templates>templates.tar</templates> 
    255255        </instructions> 
     256         
     257        <instructions type="update" fromversion="1.3.0"> 
     258                <files>files.tar</files> 
     259                <languages languagecode="de">de.xml</languages> 
     260                <languages languagecode="de-informal">de-informal.xml</languages> 
     261                <languages languagecode="en">en.xml</languages> 
     262                <languages languagecode="fr">fr.xml</languages> 
     263                <languages languagecode="hr">hr.xml</languages> 
     264        </instructions> 
    256265</package>