| 2097 | | * @version 1.0 |
| 2098 | | * |
| 2099 | | * @access public |
| 2100 | | * @uses Wakka::getCount() |
| | 2097 | * @version 1.2 |
| | 2098 | * |
| | 2099 | * NOTE: v. 1.0 -> 1.1 |
| | 2100 | * - name changed from ExistsPage() to existsPage() !!! |
| | 2101 | * - added $prefix param so it can be used from installer |
| | 2102 | * - added $current param so it checks by default for a current page only |
| | 2103 | * The version 1.1 of this method was introduced in 1.1.6.4, lasted in 1.1.6.5 but |
| | 2104 | * the new parameters added to the method are removed again since 1.1.7 for efficiency. |
| | 2105 | * @access public |
| | 2106 | * |
| | 2107 | * NOTE: v. 1.1 -> 1.2 |
| | 2108 | * - removed $prefix, $dblink and $active parameters (back to the 1.0 version) |
| | 2109 | * |
| | 2110 | * @uses Wakka::getCount() |
| 4005 | | #$formatted_user = ($this->ExistsPage($username) && ($link == 1)) ? $this->Link($username,'','','','','Open user profile for '.$username,'user') : '<span class="user">'.$username.'</span>'; // @@@ #i18n |
| 4006 | | $formatted_user = ($this->ExistsPage($username) && ((bool) $link)) ? $this->Link($username,'','','','','Open user profile for '.$username,'user') : '<span class="user">'.$username.'</span>'; // @@@ #i18n |
| | 4015 | #$formatted_user = ($this->existsPage($username) && ($link == 1)) ? $this->Link($username,'','','','','Open user profile for '.$username,'user') : '<span class="user">'.$username.'</span>'; // @@@ #i18n |
| | 4016 | $formatted_user = ($this->existsPage($username) && ((bool) $link)) ? $this->Link($username,'','','','','Open user profile for '.$username,'user') : '<span class="user">'.$username.'</span>'; // @@@ #i18n |