Changeset 678
- Timestamp:
- 10/05/08 23:36:45 (5 years ago)
- Location:
- profile.lastvisitors
- Files:
-
- 1 added
- 1 removed
- 13 modified
-
de-informal.xml (modified) (1 diff)
-
de.xml (modified) (1 diff)
-
en.xml (modified) (1 diff)
-
files/lib/page/MoreVisitorsPage.class.php (modified) (1 diff)
-
files/lib/page/MoreVisitorsTabPage.class.php (modified) (1 diff)
-
files/lib/system/event/listener/ProfilelastVisitorsListener.class.php (modified) (1 diff)
-
fr.xml (modified) (1 diff)
-
hr.xml (modified) (1 diff)
-
optional/de.mailman.wbb.portal.box.profileLastVisitor_1.0.2.pl.2.tar (deleted)
-
optional/de.mailman.wbb.portal.box.profileLastVisitor_1.0.3.tar (added)
-
package.xml (modified) (5 diffs)
-
templates/moreVisitors.tpl (modified) (2 diffs)
-
templates/moreVisitorsTab.tpl (modified) (2 diffs)
-
templates/profilelastVisitor.tpl (modified) (2 diffs)
-
templates/profilelastVisitorSmall.tpl (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
profile.lastvisitors/de-informal.xml
r677 r678 68 68 <item name="wcf.user.option.profile.lastvisitor.visitor"><![CDATA[Besucher/Username]]></item> 69 69 <item name="wcf.user.option.profile.lastvisitor.time"><![CDATA[Besuchszeitpunkt]]></item> 70 <item name="wcf.user.option.profile.lastvisitor.name"><![CDATA[ »<a href="index.php?page=User&userID={$besucher ->userID}"> {$besucher->username}</a>« ]]></item>70 <item name="wcf.user.option.profile.lastvisitor.name"><![CDATA[ »<a href="index.php?page=User&userID={$besucher["userID"]}"> {$besucher["username"]}</a>« ]]></item> 71 71 <item name="wcf.user.option.profile.lastvisitor.allusers"><![CDATA[weitere Besucher anzeigen]]></item> 72 72 <item name="wcf.user.option.profile.lastvisitor.moretitle"><![CDATA[weitere Besucher des Profils von »{$user["username"]}«]]></item> -
profile.lastvisitors/de.xml
r677 r678 68 68 <item name="wcf.user.option.profile.lastvisitor.visitor"><![CDATA[Besucher/Username]]></item> 69 69 <item name="wcf.user.option.profile.lastvisitor.time"><![CDATA[Besuchszeitpunkt]]></item> 70 <item name="wcf.user.option.profile.lastvisitor.name"><![CDATA[ »<a href="index.php?page=User&userID={$besucher ->userID}"> {$besucher->username}</a>« ]]></item>70 <item name="wcf.user.option.profile.lastvisitor.name"><![CDATA[ »<a href="index.php?page=User&userID={$besucher["userID"]}"> {$besucher["username"]}</a>« ]]></item> 71 71 <item name="wcf.user.option.profile.lastvisitor.allusers"><![CDATA[weitere Besucher anzeigen]]></item> 72 72 <item name="wcf.user.option.profile.lastvisitor.moretitle"><![CDATA[weitere Besucher des Profils von »{$user["username"]}«]]></item> -
profile.lastvisitors/en.xml
r677 r678 68 68 <item name="wcf.user.option.profile.lastvisitor.visitor"><![CDATA[Username]]></item> 69 69 <item name="wcf.user.option.profile.lastvisitor.time"><![CDATA[Time]]></item> 70 <item name="wcf.user.option.profile.lastvisitor.name"><![CDATA[ »<a href="index.php?page=User&userID={$besucher ->userID}"> {$besucher->username}</a>« ]]></item>70 <item name="wcf.user.option.profile.lastvisitor.name"><![CDATA[ »<a href="index.php?page=User&userID={$besucher["userID"]}"> {$besucher["username"]}</a>« ]]></item> 71 71 <item name="wcf.user.option.profile.lastvisitor.allusers"><![CDATA[more visitors]]></item> 72 72 <item name="wcf.user.option.profile.lastvisitor.moretitle"><![CDATA[More visitors of {$user["username"]}'s profile]]></item> -
profile.lastvisitors/files/lib/page/MoreVisitorsPage.class.php
r677 r678 56 56 $result = WCF::getDB()->sendQuery($sql); 57 57 while ($row = WCF::getDB()->fetchArray($result)) { 58 $this->visitors[] = new DatabaseObject($row);58 $this->visitors[] = $row; 59 59 } 60 60 -
profile.lastvisitors/files/lib/page/MoreVisitorsTabPage.class.php
r677 r678 57 57 $result = WCF::getDB()->sendQuery($sql); 58 58 while ($row = WCF::getDB()->fetchArray($result)) { 59 $this->visitors[] = new DatabaseObject($row);59 $this->visitors[] = $row; 60 60 } 61 61 -
profile.lastvisitors/files/lib/system/event/listener/ProfilelastVisitorsListener.class.php
r677 r678 38 38 39 39 while ($row = WCF::getDB()->fetchArray($result)) { 40 $this->visitors[] = new DatabaseObject($row);40 $this->visitors[] = $row; 41 41 } 42 42 if(count($this->visitors) > 0) $this->visitorCount = count($this->visitors); -
profile.lastvisitors/fr.xml
r677 r678 68 68 <item name="wcf.user.option.profile.lastvisitor.visitor"><![CDATA[Nom dâutilisateur]]></item> 69 69 <item name="wcf.user.option.profile.lastvisitor.time"><![CDATA[Date]]></item> 70 <item name="wcf.user.option.profile.lastvisitor.name"><![CDATA[  »<a href="index.php?page=User&userID={$besucher->userID}"> {$besucher->username}</a>«]]></item>70 <item name="wcf.user.option.profile.lastvisitor.name"><![CDATA[ « <a href="index.php?page=User&userID={$besucher["userID"]}"> {$besucher["username"]}</a> » ]]></item> 71 71 <item name="wcf.user.option.profile.lastvisitor.allusers"><![CDATA[Autres visiteurs enregistrés]]></item> 72 72 <item name="wcf.user.option.profile.lastvisitor.moretitle"><![CDATA[Autres visiteurs du profil de « {$user["username"]} »]]></item> -
profile.lastvisitors/hr.xml
r677 r678 68 68 <item name="wcf.user.option.profile.lastvisitor.visitor"><![CDATA[Posjetitelj/Korisnicko ime]]></item> 69 69 <item name="wcf.user.option.profile.lastvisitor.time"><![CDATA[Vrijeme posjeta]]></item> 70 <item name="wcf.user.option.profile.lastvisitor.name"><![CDATA[ »<a href="index.php?page=User&userID={$besucher ->userID}"> {$besucher->username}</a>« ]]></item>70 <item name="wcf.user.option.profile.lastvisitor.name"><![CDATA[ »<a href="index.php?page=User&userID={$besucher["userID"]}"> {$besucher["username"]}</a>« ]]></item> 71 71 <item name="wcf.user.option.profile.lastvisitor.allusers"><![CDATA[vise posjetitelja prikazati]]></item> 72 72 <item name="wcf.user.option.profile.lastvisitor.moretitle"><![CDATA[ostali posjetitelji korisnickog profila »{$user["username"]}«]]></item> -
profile.lastvisitors/package.xml
r677 r678 12 12 <packagedescription language="de-informal"><![CDATA[Mit diesem PlugIn werden die letzten Besucher im Profil angezeigt.]]></packagedescription> 13 13 <version>1.3.2</version> 14 <date>2008-10-0 4</date>14 <date>2008-10-05</date> 15 15 <plugin>com.woltlab.wcf</plugin> 16 16 <isunique>1</isunique> … … 28 28 29 29 <optionalpackages> 30 <optionalpackage minversion="1.0. 2 pl 2" file="optional/de.mailman.wbb.portal.box.profileLastVisitor_1.0.2.pl.2.tar">de.mailman.wbb.portal.box.profileLastVisitors</optionalpackage>30 <optionalpackage minversion="1.0.3" file="optional/de.mailman.wbb.portal.box.profileLastVisitor_1.0.3.tar">de.mailman.wbb.portal.box.profileLastVisitors</optionalpackage> 31 31 </optionalpackages> 32 32 … … 238 238 239 239 <instructions type="update" fromversion="1.2.2"> 240 <files>files.tar</files>241 240 <languages languagecode="de">de.xml</languages> 242 241 <languages languagecode="de-informal">de-informal.xml</languages> … … 248 247 249 248 <instructions type="update" fromversion="1.2.3"> 250 <files>files.tar</files>251 249 <languages languagecode="de">de.xml</languages> 252 250 <languages languagecode="de-informal">de-informal.xml</languages> … … 264 262 <languages languagecode="fr">fr.xml</languages> 265 263 <languages languagecode="hr">hr.xml</languages> 266 <templates>templates.tar</templates>267 264 </instructions> 268 265 269 266 <instructions type="update" fromversion="1.3.1"> 270 <files>files.tar</files> 271 <languages languagecode="de">de.xml</languages> 272 <languages languagecode="de-informal">de-informal.xml</languages> 273 <languages languagecode="en">en.xml</languages> 274 <languages languagecode="fr">fr.xml</languages> 275 <languages languagecode="hr">hr.xml</languages> 276 <templates>templates.tar</templates> 267 <languages languagecode="de">de.xml</languages> 268 <languages languagecode="de-informal">de-informal.xml</languages> 269 <languages languagecode="en">en.xml</languages> 270 <languages languagecode="fr">fr.xml</languages> 271 <languages languagecode="hr">hr.xml</languages> 277 272 </instructions> 278 273 279 274 <instructions type="update" fromversion="1.3.1 pl 1"> 280 <files>files.tar</files> 281 <languages languagecode="de">de.xml</languages> 282 <languages languagecode="de-informal">de-informal.xml</languages> 283 <languages languagecode="en">en.xml</languages> 284 <languages languagecode="fr">fr.xml</languages> 285 <languages languagecode="hr">hr.xml</languages> 286 <templates>templates.tar</templates> 275 <languages languagecode="de">de.xml</languages> 276 <languages languagecode="de-informal">de-informal.xml</languages> 277 <languages languagecode="en">en.xml</languages> 278 <languages languagecode="fr">fr.xml</languages> 279 <languages languagecode="hr">hr.xml</languages> 287 280 </instructions> 288 281 </package> -
profile.lastvisitors/templates/moreVisitors.tpl
r677 r678 52 52 {foreach from=$visitors item=user} 53 53 <div class="{cycle}"> 54 <div class="fieldTitle"><a href="index.php?page=User&userID={$user ->userID}">{$user->username}</a>55 {if $user ->lastActivityTime > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->invisible != 1 || $user->lastActivityTime> TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->getPermission('admin.general.canViewInvisible') == 1}54 <div class="fieldTitle"><a href="index.php?page=User&userID={$user.userID}">{$user.username}</a> 55 {if $user["lastActivityTime"] > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->invisible != 1 || $user["lastActivityTime"] > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->getPermission('admin.general.canViewInvisible') == 1} 56 56 <img src="{@RELATIVE_WCF_DIR}icon/onlineS.png" alt="" title="{lang}wcf.user.option.profile.lastvisitor.online{/lang}" /> 57 57 {elseif SHOW_LASTVISITOR_ONLINE == 1} … … 59 59 {/if} 60 60 </div> 61 <div class="fieldValue">{@$user ->time|time}</div>61 <div class="fieldValue">{@$user.time|time}</div> 62 62 </div> 63 63 {/foreach} -
profile.lastvisitors/templates/moreVisitorsTab.tpl
r677 r678 96 96 {foreach from=$visitors item='user'} 97 97 <div class="{cycle}"> 98 <div class="fieldTitle"><a href="index.php?page=User&userID={$user ->userID}{@SID_ARG_2ND}">{$user->username}</a>99 {if $user ->lastActivityTime > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->invisible != 1 || $user->lastActivityTime> TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->getPermission('admin.general.canViewInvisible') == 1}98 <div class="fieldTitle"><a href="index.php?page=User&userID={$user.userID}{@SID_ARG_2ND}">{$user.username}</a> 99 {if $user["lastActivityTime"] > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->invisible != 1 || $user["lastActivityTime"] > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->getPermission('admin.general.canViewInvisible') == 1} 100 100 <img src="{@RELATIVE_WCF_DIR}icon/onlineS.png" alt="" title="{lang}wcf.user.option.profile.lastvisitor.online{/lang}" /> 101 101 {elseif SHOW_LASTVISITOR_ONLINE == 1} … … 103 103 {/if} 104 104 </div> 105 <div class="fieldValue">{@$user ->time|time}</div>105 <div class="fieldValue">{@$user.time|time}</div> 106 106 </div> 107 107 {/foreach} -
profile.lastvisitors/templates/profilelastVisitor.tpl
r677 r678 14 14 {foreach from=$visitors item=$besucher} 15 15 <div class="{cycle}"> 16 <div class="fieldTitle"><a href="index.php?page=User&userID={$besucher ->userID}">{$besucher->username}</a>17 {if $besucher ->lastActivityTime > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->invisible != 1 || $besucher->lastActivityTime> TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->getPermission('admin.general.canViewInvisible') == 1}16 <div class="fieldTitle"><a href="index.php?page=User&userID={$besucher["userID"]}">{$besucher["username"]}</a> 17 {if $besucher["lastActivityTime"] > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->invisible != 1 || $besucher["lastActivityTime"] > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->getPermission('admin.general.canViewInvisible') == 1} 18 18 <img src="{@RELATIVE_WCF_DIR}icon/onlineS.png" alt="" title="{lang}wcf.user.option.profile.lastvisitor.online{/lang}" /> 19 19 {elseif SHOW_LASTVISITOR_ONLINE == 1} … … 21 21 {/if} 22 22 </div> 23 <div class="fieldValue">{@$besucher ->time|time}</div>23 <div class="fieldValue">{@$besucher["time"]|time}</div> 24 24 </div> 25 25 {/foreach} -
profile.lastvisitors/templates/profilelastVisitorSmall.tpl
r677 r678 9 9 <ul> 10 10 {foreach from=$visitors item=$besucher} 11 <li><a href="index.php?page=User&userID={$besucher ->userID}">12 {if $besucher ->lastActivityTime > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->invisible != 1 || $besucher->lastActivityTime> TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->getPermission('admin.general.canViewInvisible') == 1}11 <li><a href="index.php?page=User&userID={$besucher["userID"]}"> 12 {if $besucher["lastActivityTime"] > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->invisible != 1 || $besucher["lastActivityTime"] > TIME_NOW - USER_ONLINE_TIMEOUT && SHOW_LASTVISITOR_ONLINE == 1 && $this->user->getPermission('admin.general.canViewInvisible') == 1} 13 13 <img src="{@RELATIVE_WCF_DIR}icon/onlineS.png" alt="" title="{lang}wcf.user.option.profile.lastvisitor.online{/lang}" /> 14 14 {elseif SHOW_LASTVISITOR_ONLINE == 1} 15 15 <img src="{@RELATIVE_WCF_DIR}icon/offlineS.png" alt="" title="{lang}wcf.user.option.profile.lastvisitor.offline{/lang}" /> 16 16 {/if} 17 {$besucher ->username}{if SHOW_LASTVISITOR_TIME == 1}<br /><span style="font-size:0.8em"> {@$besucher->time|time}</span>{/if}</a></li>17 {$besucher["username"]}{if SHOW_LASTVISITOR_TIME == 1}<br /><span style="font-size:0.8em"> {@$besucher["time"]|time}</span>{/if}</a></li> 18 18 {/foreach} 19 19 {if SHOW_LASTVISITOR_MOREVISITORS == 1 && $visitorCount >= SHOW_LASTVISITOR_AMOUNT}
