mirror of
https://github.com/friendica/friendica
synced 2026-04-16 12:27:48 +02:00
lots of little stuff
This commit is contained in:
parent
a42c9616f9
commit
7a21a000a2
9 changed files with 88 additions and 21 deletions
|
|
@ -1,6 +1,8 @@
|
|||
<?php
|
||||
function edit_contact(&$a,$contact_id) {
|
||||
|
||||
function contacts_init(&$a) {
|
||||
require_once('include/group.php');
|
||||
$a->page['aside'] .= group_side();
|
||||
}
|
||||
|
||||
function contacts_post(&$a) {
|
||||
|
|
@ -12,8 +14,7 @@ function contacts_post(&$a) {
|
|||
$contact_id = intval($a->argv[1]);
|
||||
if(! $contact_id)
|
||||
return;
|
||||
dbg(2);
|
||||
print_r($_POST);
|
||||
|
||||
$orig_record = q("SELECT * FROM `contact` WHERE `id` = %d AND `uid` = %d LIMIT 1",
|
||||
intval($contact_id),
|
||||
intval($_SESSION['uid'])
|
||||
|
|
@ -60,14 +61,6 @@ print_r($_POST);
|
|||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
function contacts_content(&$a) {
|
||||
|
||||
if(! local_user()) {
|
||||
|
|
@ -75,8 +68,6 @@ function contacts_content(&$a) {
|
|||
return;
|
||||
}
|
||||
|
||||
|
||||
|
||||
if($a->argc == 3) {
|
||||
|
||||
$contact_id = intval($a->argv[1]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue