<commit_before><div class="attachments index">
	<h2><?php echo $title_for_layout; ?></h2>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Attachment'), array('action'=>'add', 'editor' => 1)); ?></li>
		</ul>
	</div>

	<table cellpadding="0" cellspacing="0">
	<?php
		$tableHeaders = $this->Html->tableHeaders(array(
			$this->Paginator->sort('id'),
			'&nbsp;',
			$this->Paginator->sort('title'),
			'&nbsp;',
			__('URL'),
			__('Actions'),
		));
		echo $tableHeaders;

		$rows = array();
		foreach ($attachments as $attachment) {
			$actions  = $this->Html->link(__('Edit'), array(
				'controller' => 'attachments',
				'action' => 'edit',
				$attachment['Node']['id'],
			));
			$actions .= ' ' . $this->Form->postLink(__('Delete'), array(
				'controller' => 'attachments',
				'action' => 'delete',
				$attachment['Node']['id'],
			), null, __('Are you sure?'));

			$mimeType = explode('/', $attachment['Node']['mime_type']);
			$mimeType = $mimeType['0'];
			if ($mimeType == 'image') {
				$thumbnail = $this->Html->link($this->Image->resize($attachment['Node']['path'], 100, 200), '#', array(
					'onclick' => "selectURL('".$attachment['Node']['slug']."');",
					'escape' => false,
				));
			} else {
				$thumbnail = $this->Html->image('/img/icons/page_white.png') . ' ' . $attachment['Node']['mime_type'] . ' (' . $this->Filemanager->filename2ext($attachment['Node']['slug']) . ')';
				$thumbnail = $this->Html->link($thumbnail, '#', array(
					'onclick' => "selectURL('".$attachment['Node']['slug']."');",
					'escape' => false,
				));
			}

			$insertCode = $this->Html->link(__('Insert'), '#', array('onclick' => 'selectURL("'.$attachment['Node']['slug'].'", "'.$attachment['Node']['title'].'", "'.$attachment['Node']['excerpt'].'" );'));<commit_msg>adding space between '.' operator<commit_after><div class="attachments index">
	<h2><?php echo $title_for_layout; ?></h2>

	<div class="actions">
		<ul>
			<li><?php echo $this->Html->link(__('New Attachment'), array('action'=>'add', 'editor' => 1)); ?></li>
		</ul>
	</div>

	<table cellpadding="0" cellspacing="0">
	<?php
		$tableHeaders = $this->Html->tableHeaders(array(
			$this->Paginator->sort('id'),
			'&nbsp;',
			$this->Paginator->sort('title'),
			'&nbsp;',
			__('URL'),
			__('Actions'),
		));
		echo $tableHeaders;

		$rows = array();
		foreach ($attachments as $attachment) {
			$actions  = $this->Html->link(__('Edit'), array(
				'controller' => 'attachments',
				'action' => 'edit',
				$attachment['Node']['id'],
			));
			$actions .= ' ' . $this->Form->postLink(__('Delete'), array(
				'controller' => 'attachments',
				'action' => 'delete',
				$attachment['Node']['id'],
			), null, __('Are you sure?'));

			$mimeType = explode('/', $attachment['Node']['mime_type']);
			$mimeType = $mimeType['0'];
			if ($mimeType == 'image') {
				$thumbnail = $this->Html->link($this->Image->resize($attachment['Node']['path'], 100, 200), '#', array(
					'onclick' => "selectURL('" . $attachment['Node']['slug'] . "');",
					'escape' => false,
				));
			} else {
				$thumbnail = $this->Html->image('/img/icons/page_white.png') . ' ' . $attachment['Node']['mime_type'] . ' (' . $this->Filemanager->filename2ext($attachment['Node']['slug']) . ')';
				$thumbnail = $this->Html->link($thumbnail, '#', array(
					'onclick' => "selectURL('" . $attachment['Node']['slug'] . "');",
					'escape' => false,
				));
			}

			$insertCode = $this->Html->link(__('Insert'), '#', array('onclick' => 'selectURL("' . $attachment['Node']['slug'] . '", "' . $attachment['Node']['title'] . '", "' . $attachment['Node']['excerpt'] . '" );'));
{'fraction_non_alphanumeric': 0.2834796926454446, 'fraction_numerical': 0.007135016465422613, 'mean_word_length': 4.282608695652174, 'pattern_counts': {'":': 0, '<': 29, '<?xml version=': 0, '>': 97, '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': '4647924', 'n_tokens_mistral': 1435, 'n_tokens_neox': 1239, 'n_words': 196}