* Reformat list of profiles in a table

* Make table sortable
This commit is contained in:
Zach Copley
2011-03-03 21:12:24 -08:00
parent 8cde66a8ed
commit f157c523fd
7 changed files with 326 additions and 7 deletions

View File

@@ -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: