Changeset 658
- Timestamp:
- 09/21/08 16:58:58 (5 years ago)
- Location:
- profile.lastvisitors
- Files:
-
- 8 modified
-
de-informal.xml (modified) (1 diff)
-
de.xml (modified) (1 diff)
-
en.xml (modified) (1 diff)
-
files/lib/page/MoreVisitorsPage.class.php (modified) (2 diffs)
-
files/lib/page/MoreVisitorsTabPage.class.php (modified) (3 diffs)
-
fr.xml (modified) (1 diff)
-
hr.xml (modified) (1 diff)
-
package.xml (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
profile.lastvisitors/de-informal.xml
r620 r658 81 81 82 82 <category name="wcf.user.profile"> 83 <item name="wcf.user.profile.lastvisitors.copyright"><![CDATA[<a href="http://www.mdman.de"><strong>Letzte Profilbesucher PlugIn© 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© 1.3.1</strong>, entwickelt von MDMAN</a>]]></item> 84 84 85 85 <item name="wcf.user.profile.menu.link.profile.lastvisitor"><![CDATA[Profil-Besucher]]></item> -
profile.lastvisitors/de.xml
r620 r658 81 81 82 82 <category name="wcf.user.profile"> 83 <item name="wcf.user.profile.lastvisitors.copyright"><![CDATA[<a href="http://www.mdman.de"><strong>Letzte Profilbesucher PlugIn© 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© 1.3.1</strong>, entwickelt von MDMAN</a>]]></item> 84 84 85 85 <item name="wcf.user.profile.menu.link.profile.lastvisitor"><![CDATA[Profil-Besucher]]></item> -
profile.lastvisitors/en.xml
r620 r658 81 81 82 82 <category name="wcf.user.profile"> 83 <item name="wcf.user.profile.lastvisitors.copyright"><![CDATA[<a href="http://www.mdman.de"><strong>Profile last Visitors© 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© 1.3.1</strong>, developed by MDMAN</a>]]></item> 84 84 85 85 <item name="wcf.user.profile.menu.link.profile.lastvisitor"><![CDATA[Profile visitors]]></item> -
profile.lastvisitors/files/lib/page/MoreVisitorsPage.class.php
r513 r658 17 17 public $visitorCount = 0; 18 18 19 /** 20 * @see Page::readParameters() 21 */ 19 22 public function readParameters() { 20 23 parent::readParameters(); 21 24 22 25 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(); 23 45 24 46 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')){ … … 49 71 } 50 72 73 /** 74 * @see Page::assignVariables() 75 */ 51 76 public function assignVariables() { 52 77 parent::assignVariables(); -
profile.lastvisitors/files/lib/page/MoreVisitorsTabPage.class.php
r513 r658 18 18 public $userID = 0; 19 19 20 /** 21 * @see Page::readParameters() 22 */ 20 23 public function readParameters() { 21 24 parent::readParameters(); 22 25 23 26 if (isset($_REQUEST['userID'])) $this->profileID = intval($_REQUEST['userID']); 27 } 28 29 /** 30 * @see Page::validate() 31 */ 32 public function validate() { 33 parent::validate(); 24 34 25 35 if ($this->profileID == 0) { … … 27 37 throw new IllegalLinkException(); 28 38 } 39 } 40 41 /** 42 * @see Page::readData() 43 */ 44 public function readData() { 45 parent::readData(); 29 46 30 47 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')){ … … 56 73 } 57 74 75 /** 76 * @see Page::assignVariables() 77 */ 58 78 public function assignVariables() { 59 79 parent::assignVariables(); -
profile.lastvisitors/fr.xml
r622 r658 81 81 82 82 <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© 1.3.0</strong>, développé parMDMAN</a>]]></item>83 <item name="wcf.user.profile.lastvisitors.copyright"><![CDATA[<a href="http://www.mdman.de"><strong>Profile last Visitors© 1.3.1</strong>, developed by MDMAN</a>]]></item> 84 84 85 85 <item name="wcf.user.profile.menu.link.profile.lastvisitor"><![CDATA[Autres visiteurs du profil]]></item> -
profile.lastvisitors/hr.xml
r621 r658 81 81 82 82 <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© 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© 1.3.1</strong>, napravljen od MDMAN</a>]]></item> 84 84 85 85 <item name="wcf.user.profile.menu.link.profile.lastvisitor"><![CDATA[Posjetitelji-Profila]]></item> -
profile.lastvisitors/package.xml
r620 r658 11 11 <packagedescription language="de"><![CDATA[Mit diesem PlugIn werden die letzten Besucher im Profil angezeigt.]]></packagedescription> 12 12 <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-0 8-25</date>13 <version>1.3.1</version> 14 <date>2008-09-21</date> 15 15 <plugin>com.woltlab.wcf</plugin> 16 16 <isunique>1</isunique> … … 28 28 29 29 <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> 31 31 </optionalpackages> 32 32 … … 254 254 <templates>templates.tar</templates> 255 255 </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> 256 265 </package>
