<commit_before><?php

$this->extend('/Common/admin_edit');

$this->Html->addCrumb('', '/admin', array('icon' => $this->Theme->getIcon('home')))
	->addCrumb(__d('croogo', 'Settings'), array('plugin' => 'settings', 'controller' => 'settings', 'action' => 'index'))
	->addCrumb($prefix, '/' . $this->request->url);

$this->append('form-start', $this->Form->create('Setting', array(
	'url' => array(
		'controller' => 'settings',
		'action' => 'prefix',
		$prefix,
	),
	'class' => 'protected-form',
)));

$this->append('tab-heading');
	echo $this->Croogo->adminTab($prefix, '#settings-main');
	echo $this->Croogo->adminTabs();
$this->end();

$this->append('tab-content');

	echo $this->Html->tabStart('settings-main');
		$i = 0;
		foreach ($settings as $setting) :
			if (!empty($setting['Params']['tab'])) {
				continue;
			}
			$keyE = explode('.', $setting['Setting']['key']);
			$keyTitle = Inflector::humanize($keyE['1']);<commit_msg>Since some $prefix might have been translated, pass it through __d()<commit_after><?php

$this->extend('/Common/admin_edit');

$this->Html->addCrumb('', '/admin', array('icon' => $this->Theme->getIcon('home')))
	->addCrumb(__d('croogo', 'Settings'), array('plugin' => 'settings', 'controller' => 'settings', 'action' => 'index'))
	->addCrumb(__d('croogo', $prefix), '/' . $this->request->url);

$this->append('form-start', $this->Form->create('Setting', array(
	'url' => array(
		'controller' => 'settings',
		'action' => 'prefix',
		$prefix,
	),
	'class' => 'protected-form',
)));

$this->append('tab-heading');
	echo $this->Croogo->adminTab($prefix, '#settings-main');
	echo $this->Croogo->adminTabs();
$this->end();

$this->append('tab-content');

	echo $this->Html->tabStart('settings-main');
		$i = 0;
		foreach ($settings as $setting) :
			if (!empty($setting['Params']['tab'])) {
				continue;
			}
			$keyE = explode('.', $setting['Setting']['key']);
			$keyTitle = Inflector::humanize($keyE['1']);
{'fraction_non_alphanumeric': 0.2713697219361483, 'fraction_numerical': 0.0020597322348094747, 'mean_word_length': 5.5641891891891895, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 61, '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': '6631884', 'n_tokens_mistral': 707, 'n_tokens_neox': 668, 'n_words': 114}