comanchify mod_directory. Two modules remaining. Actually three because message needs to be split.
This commit is contained in:
@@ -1,5 +1,8 @@
|
||||
<?php /** @file */
|
||||
|
||||
require_once('include/dir_fns.php');
|
||||
require_once('include/contact_widgets.php');
|
||||
|
||||
|
||||
function widget_profile($args) {
|
||||
$a = get_app();
|
||||
@@ -549,3 +552,19 @@ function widget_vcard($arr) {
|
||||
return vcard_from_xchan('',get_app()->get_observer());
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* The following directory widgets are only useful on the directory page
|
||||
*/
|
||||
|
||||
function widget_dirsafemode($arr) {
|
||||
return dir_safe_mode();
|
||||
}
|
||||
|
||||
function widget_dirsort($arr) {
|
||||
return dir_sort_links();
|
||||
}
|
||||
|
||||
function widget_dirtags($arr) {
|
||||
return dir_tagblock(z_root() . '/directory',null);
|
||||
}
|
Reference in New Issue
Block a user