advanced profile
This commit is contained in:
parent
30a88a41e5
commit
b9bbe0cec2
4 changed files with 332 additions and 1 deletions
|
@ -98,6 +98,11 @@ function profile_content(&$a) {
|
|||
require_once("include/bbcode.php");
|
||||
require_once('include/security.php');
|
||||
|
||||
$tab = 'posts';
|
||||
|
||||
if(x($_GET,'tab'))
|
||||
$tab = notags(trim($_GET['tab']));
|
||||
|
||||
// $tpl = file_get_contents('view/profile_tabs.tpl');
|
||||
|
||||
|
||||
|
@ -111,7 +116,12 @@ function profile_content(&$a) {
|
|||
$contact_id = $r[0]['id'];
|
||||
}
|
||||
|
||||
if($tab == 'profile') {
|
||||
|
||||
require_once('view/profile_advanced.php');
|
||||
|
||||
return $o;
|
||||
}
|
||||
if(can_write_wall($a,$a->profile['profile_uid'])) {
|
||||
$tpl = file_get_contents('view/jot-header.tpl');
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue