Show
Ignore:
Timestamp:
04/28/05 14:17:51 (8 years ago)
Author:
fproulx
Message:

2005-04-28 Fran�ois Proulx <francois.proulx@…>

  • Added check in MainUI toolbar so that it won't show "NOT logged in ?" message when connect to a real hotspot ( not virtual )
    • This message confused many users ( they clicked and got the virtual login instead ! )
  • Hide adminstration features ( statistics, hotspot creation, network wide content etc...) from all but Super admins
  • Fixed getAllLocativeArtisticContent in Node.php added is_persistent check
  • Added $associate_existing_content parameter to processNewContentUI to allows reuse for existing content ( in ContentGroup? )
  • Fixed bug in FlickrPhotoStream? delete ( missing return from parent )
  • Added security check in all content classes ( ProcessAdminUI )
Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/wifidog/classes/Node.php

    r588 r593  
    445445        global $db; 
    446446        $retval = array (); 
    447         $sql = "SELECT * FROM content_group WHERE is_artistic_content = true AND is_locative_content = true"; 
     447        $sql = "SELECT * FROM content_group JOIN content ON (content.content_id = content_group.content_group_id) WHERE is_persistent = true AND is_artistic_content = true AND is_locative_content = true"; 
    448448        $db->ExecSql($sql, $content_rows, false); 
    449449        if ($content_rows != null)