get_image_link fix
[mirrors/Kyberia-bloodline.git] / wwwroot / inc / eventz / configure_node_name.inc
CommitLineData
51ff3226 1<?php\r
2function configure_node_name() {\r
3 global $db,$error,$node;\r
4 $node_id=$node['node_id'];\r
5 $user_id=$_SESSION['user_id'];\r
6\r
7 if (($node['node_permission']=='owner') || ($node['node_permission']=='master')) {\r
8 $node_name = mysql_real_escape_string($_POST['node_name']);\r
9 $test=$node_name.'[Locked_OUT]';\r
10\r
11 if(!empty($node_id)) {\r
12 if($node_id == $user_id) {\r
13 $node_name=strip_tags($node_name);\r
14\r
15//$validation = strpos($node_name, "'"); \r
16//if ($validation) {$error="Nepouzivaj ten otrasny znak '. co si myslis ze ludi to bude bavit pisat ti takto postu?";return false;}\r
17\r
18