Ignore:
Timestamp:
Dec 4, 2013, 9:50:16 PM (11 years ago)
Author:
chronos
Message:
  • Modified: Search page generalized as dynamic configurable list. Other modules can register their search ability.
  • Modified: If sarch is invoked on some module then filter is added to table. Filter have to be disabled to view all items again.
  • Added: Shoutbox can be searched.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/User/User.php

    r622 r626  
    2929        'Title' => T('Translators'),
    3030        'Hint' => 'Seznam registrovaných uživatelů',
    31         'Link' => $this->System->Link('/userlist.php?action=nofilter'),
     31        'Link' => $this->System->Link('/userlist.php'),
    3232        'Permission' => LICENCE_ANONYMOUS,
    3333        'Icon' => '',
    3434    ), 0);
     35    if(array_key_exists('Search', $this->System->ModuleManager->Modules))
     36      $this->System->ModuleManager->Modules['Search']->RegisterSearch('user',
     37      T('Translators'), array('Name'), '`User`', $this->System->Link('/userlist.php?search='));
    3538        }
    3639       
Note: See TracChangeset for help on using the changeset viewer.