diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2011-06-22 14:51:14 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2011-06-22 14:51:14 +0000 |
commit | 34adb20d0ffe996bf454ade33ff02fef70968730 (patch) | |
tree | 2f095b0449a67150469b6baaaebbb67471126f63 /h-source/Application/Models/UsersModel.php | |
parent | dcbc21e9680c54adc831b71cd1d22d3e680e03b0 (diff) |
anonymous users can now insert devices, automatically set as hidden (to be approved)
Diffstat (limited to 'h-source/Application/Models/UsersModel.php')
-rwxr-xr-x | h-source/Application/Models/UsersModel.php | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/h-source/Application/Models/UsersModel.php b/h-source/Application/Models/UsersModel.php index d4ef745..0d84bb4 100755 --- a/h-source/Application/Models/UsersModel.php +++ b/h-source/Application/Models/UsersModel.php @@ -88,7 +88,7 @@ class UsersModel extends Model_Map } else { - return "__"; + return "<i>__anonymous__</i>"; } } } @@ -97,7 +97,8 @@ class UsersModel extends Model_Map { if (strstr($user,'__')) { - return str_replace('__',null,$user); + return $user; +// return str_replace('__',null,$user); } else { |