Commit | Line | Data |
---|---|---|
51ff3226 | 1 | <?php |
2 | function add_ubik_friend() { | |
3 | $params['node_creator']=UBIK_ID; | |
4 | $params['node_parent']=1419407; | |
5 | $params['node_name']="ahoj"; | |
6 | $params['template_id']=8; | |
7 | $params['external_link']="session://friend"; | |
8 | $params['node_content']=$_POST["f_text"]; | |
9 | ||
10 | $params['node_content']=addslashes($params['node_content']); | |
11 | nodes::addNode($params); | |
12 | } | |
13 | ?> |