includeTemplate($GLOBALS['top_include']); $accessPublic = ''; $accessShared = ''; $accessPrivate = ''; switch ($row['bStatus']) { case 0 : $accessPublic = ' selected="selected"'; break; case 1 : $accessShared = ' selected="selected"'; break; case 2 : $accessPrivate = ' selected="selected"'; break; } function jsEscTitle($title) { return addcslashes($title, "'"); } function jsEscTitleDouble($title) { return addcslashes(addcslashes($title, "'"), "'\\"); } function fixOperaButtonName($name) { //yes, opera has problems with double quotes in button names return str_replace('"', "''", $name); } if (is_array($row['tags'])) { $row['tags'] = implode(', ', $row['tags']); } $ajaxUrl = ROOT . 'ajax/' . ( ($GLOBALS['adminsAreAdvisedTagsFromOtherAdmins'] && $currentUser->isAdmin()) ? 'getadmintags' : 'getcontacttags' ) . '.php'; ?>