projects
/
dotclear.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Support https in blog URLs
[dotclear.git]
/
widget.auth.php
diff --git
a/widget.auth.php
b/widget.auth.php
index
7095862
..
985ee53
100644
(file)
--- a/
widget.auth.php
+++ b/
widget.auth.php
@@
-1,10
+1,10
@@
<?php
class xorgAuthWidget {
<?php
class xorgAuthWidget {
- public static function behavior_initWidgets(
&
$w) {
+ public static function behavior_initWidgets($w) {
$w->create('XorgAuth', __('Auth. X.org'), array('xorgAuthWidget', 'widget'));
}
$w->create('XorgAuth', __('Auth. X.org'), array('xorgAuthWidget', 'widget'));
}
- static public function widget(
&
$w) {
+ static public function widget($w) {
global $core;
$name = @$core->auth->getInfo('user_displayname');
if ($name) {
global $core;
$name = @$core->auth->getInfo('user_displayname');
if ($name) {