<commit_before><?php
	function print_folder(OC_News_Folder $folder, $depth){
		$l = new OC_l10n('news');

		echo '<ul style="margin-left:' . 10*$depth . 'px;"> <li class="folder_list" >' .
			'<div class="collapsable" >' . strtoupper($folder->getName()) .
                        ( ($depth != 0) ? '<button class="svg action" id="feeds_delete" onClick="(News.Folder.delete(' . $folder->getId(). '))" title="' . $l->t('Delete folder') . '">' : '' ) . '</button>' .
                        '<button class="svg action" id="feeds_edit" title="' . $l->t('Rename folder') . '"></button>' .
                        '</div>';
		echo '<ul>';
		$children = $folder->getChildren();
		foreach($children as $child) {
			if ($child instanceOf OC_News_Folder){
				print_folder($child, $depth+1);<commit_msg>hides rename Everything folder<commit_after><?php
	function print_folder(OC_News_Folder $folder, $depth){
		$l = new OC_l10n('news');

		echo '<ul style="margin-left:' . 10*$depth . 'px;"> <li class="folder_list" >' .
			'<div class="collapsable" >' . strtoupper($folder->getName()) .
                        ( ($depth != 0) ? '<button class="svg action" id="feeds_delete" onClick="(News.Folder.delete(' . $folder->getId(). '))" title="' . $l->t('Delete folder') . '"></button>' . 
				'<button class="svg action" id="feeds_edit" title="' . $l->t('Rename folder') . '"></button>': '' ) .
                        '</div>';
		echo '<ul>';
		$children = $folder->getChildren();
		foreach($children as $child) {
			if ($child instanceOf OC_News_Folder){
				print_folder($child, $depth+1);
{'fraction_non_alphanumeric': 0.2249683143219265, 'fraction_numerical': 0.0076045627376425855, 'mean_word_length': 3.233243967828418, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 31, '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': '4706025', 'n_tokens_mistral': 561, 'n_tokens_neox': 514, 'n_words': 106}