* Reformat list of profiles in a table
* Make table sortable
This commit is contained in:
@@ -55,7 +55,6 @@ class DirectoryPlugin extends Plugin
|
||||
*/
|
||||
function initialize()
|
||||
{
|
||||
$this->dir = dirname(__FILE__);
|
||||
return true;
|
||||
}
|
||||
|
||||
@@ -82,14 +81,20 @@ class DirectoryPlugin extends Plugin
|
||||
{
|
||||
// common_debug("class = $cls");
|
||||
|
||||
$dir = dirname(__FILE__);
|
||||
|
||||
switch ($cls)
|
||||
{
|
||||
case 'UserdirectoryAction':
|
||||
include_once $this->dir
|
||||
include_once $dir
|
||||
. '/actions/' . strtolower(mb_substr($cls, 0, -6)) . '.php';
|
||||
return false;
|
||||
case 'AlphaNav':
|
||||
include_once $this->dir
|
||||
include_once $dir
|
||||
. '/lib/' . strtolower($cls) . '.php';
|
||||
return false;
|
||||
case 'SortableSubscriptionList':
|
||||
include_once $dir
|
||||
. '/lib/' . strtolower($cls) . '.php';
|
||||
return false;
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user