mirror of
https://codeberg.org/streams/streams.git
synced 2024-09-19 22:15:15 +00:00
There was no pdl for mod_thing; add one because it's only a link away from profile creation and remains on that page until you go elsewhere and new members may need help to find their way out
This commit is contained in:
parent
c3920116f2
commit
ca1022675c
2 changed files with 12 additions and 0 deletions
|
@ -20,6 +20,11 @@ class Thing extends \Zotlabs\Web\Controller {
|
||||||
|
|
||||||
$channel = \App::get_channel();
|
$channel = \App::get_channel();
|
||||||
|
|
||||||
|
if($_SERVER['REQUEST_METHOD'] === 'GET' && argc() < 2) {
|
||||||
|
profile_load($channel['channel_address']);
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
$term_hash = (($_REQUEST['term_hash']) ? $_REQUEST['term_hash'] : '');
|
$term_hash = (($_REQUEST['term_hash']) ? $_REQUEST['term_hash'] : '');
|
||||||
|
|
||||||
$name = escape_tags($_REQUEST['term']);
|
$name = escape_tags($_REQUEST['term']);
|
||||||
|
|
7
view/pdl/mod_thing.pdl
Normal file
7
view/pdl/mod_thing.pdl
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
[region=aside]
|
||||||
|
[widget=fullprofile][/widget]
|
||||||
|
[/region]
|
||||||
|
[region=right_aside]
|
||||||
|
[widget=notifications][/widget]
|
||||||
|
[widget=newmember][/widget]
|
||||||
|
[/region]
|
Loading…
Reference in a new issue