<commit_before><?php
// $Id: /cvsroot/tikiwiki/tiki/tiki-list_users.php,v 1.10 2007-10-12 07:55:28 nyloth Exp $

// Initialization
require_once('tiki-setup.php');
include_once ('lib/userprefs/userprefslib.php');

if($prefs['feature_friends'] != 'y') {
  $smarty->assign('msg',tra("This feature is disabled"));
  $smarty->display("error.tpl");
  die;  
}

if($tiki_p_list_users != 'y') {
	$smarty->assign('errortype', 401);
    $smarty->assign('msg',tra("You do not have permission to use this feature"));
    $smarty->display("error.tpl");
    die;
}<commit_msg>[FIX] display the name of the missing feature: shoukld be nice to replace with the info in features.csv - any volunteer?<commit_after><?php
// $Id: /cvsroot/tikiwiki/tiki/tiki-list_users.php,v 1.10 2007-10-12 07:55:28 nyloth Exp $

// Initialization
require_once('tiki-setup.php');
include_once ('lib/userprefs/userprefslib.php');

if($prefs['feature_friends'] != 'y') {
  $smarty->assign('msg',tra('This feature is disabled').': feature_friends');
  $smarty->display("error.tpl");
  die;  
}

if($tiki_p_list_users != 'y') {
	$smarty->assign('errortype', 401);
    $smarty->assign('msg',tra("You do not have permission to use this feature"));
    $smarty->display("error.tpl");
    die;
}
{'fraction_non_alphanumeric': 0.19344524380495604, 'fraction_numerical': 0.0319744204636291, 'mean_word_length': 4.990430622009569, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 13, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5768510', 'n_tokens_mistral': 492, 'n_tokens_neox': 461, 'n_words': 90}