diff --git a/doc/bbcode.html b/doc/bbcode.html
index 7183f50c1..a24dd8b5d 100644
--- a/doc/bbcode.html
+++ b/doc/bbcode.html
@@ -7,7 +7,7 @@
[u]underlined[/u] - underlined
[s]strike[/s] - strike
[color=red]red[/color] - red
-[url=https://www.redmatrix.me]Red Matrix[/url] Red Matrix
+[url=https://redmatrix.me]Red Matrix[/url] Red Matrix
[img]https://redmatrix.me/images/default_profile_photos/rainbow_man/48.jpg[/img] 
[code]code[/code] code
[quote]quote[/quote] quote
diff --git a/include/taxonomy.php b/include/taxonomy.php
index 65d082bb0..7887f7687 100644
--- a/include/taxonomy.php
+++ b/include/taxonomy.php
@@ -217,16 +217,19 @@ function tagblock($link,$uid,$count = 0,$authors = '',$flags = 0,$restrict = 0,$
}
function dir_tagblock($link,$r) {
- $o = '';
- $tab = 0;
+ $o = '';
+ $tab = 0;
- if($r) {
- $o = '';
- }
return $o;
}
diff --git a/include/widgets.php b/include/widgets.php
index 2591a9d09..5e2285de7 100644
--- a/include/widgets.php
+++ b/include/widgets.php
@@ -1,5 +1,8 @@
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);
+}
\ No newline at end of file
diff --git a/mod/directory.php b/mod/directory.php
index 92fb36ea7..c5495bc01 100644
--- a/mod/directory.php
+++ b/mod/directory.php
@@ -8,7 +8,7 @@ function directory_init(&$a) {
$a->set_pager_itemspage(80);
}
-
+/*
function directory_aside(&$a) {
if((get_config('system','block_public')) && (! local_user()) && (! remote_user())) {
@@ -23,7 +23,7 @@ function directory_aside(&$a) {
$a->set_widget('dir_sort_order',dir_sort_links());
}
-
+*/
function directory_content(&$a) {
@@ -210,9 +210,11 @@ function directory_content(&$a) {
}
if($j['keywords']) {
- $a->set_widget('dirtagblock',dir_tagblock(z_root() . '/directory',$j['keywords']));
+ $a->data['directory_keywords'] = $j['keywords'];
+
+// $a->set_widget('dirtagblock',dir_tagblock(z_root() . '/directory',$j['keywords']));
}
- $a->set_widget('suggest',widget_suggestions(array()));
+// $a->set_widget('suggest',widget_suggestions(array()));
// logger('mod_directory: entries: ' . print_r($entries,true), LOGGER_DATA);
diff --git a/view/pdl/mod_directory.pdl b/view/pdl/mod_directory.pdl
new file mode 100644
index 000000000..0bc8ed936
--- /dev/null
+++ b/view/pdl/mod_directory.pdl
@@ -0,0 +1,7 @@
+[region=aside]
+[widget=findpeople][/widget]
+[widget=dirsafemode][/widget]
+[widget=dirsort][/widget]
+[widget=dirtags][/widget]
+[widget=suggestions][/widget]
+[/region]