<commit_before><? /** $Id$ */ ?>
<? defined('KOOWA') or die('Restricted access'); ?>

<form method="post" id="tags_tags_form">
	<table class="adminlist" style="clear: both;">
		<thead>
			<tr>
				<th>
					<?= @text('Tag')?>
				</th>
				<th>
					&nbsp;
				</th>
			</tr>
		</thead>
		<tbody>
			<? $m = 0; ?>
			<? foreach (@$tags as $tag) : ?>
			<tr class="<?php echo 'row'.$m; ?>">
				<td align="center">
					<?= $tag->name; ?>
				</td>
				<td align="center">
					<input type="button" class="tags_tag_button" rel="id=<?= $tag->tags_map_id; ?>&amp;tags_tag_id=<?= $tag->tags_tag_id; ?>&amp;action=delete" value="<?= @text('Remove') ?>" />
				</td>
			</tr>
			<? $m = (1 - $m); ?>
			<? endforeach; ?>

			<tr class="<?php echo 'row'.$m; ?>">
				<td align="center" colspan="2">
					<input name="name" value="" style="width: 80%"/>
				</td>
			</tr>

		</tbody>
	</table>

	<input type="hidden" name="row_id" value="<?= @$state->row_id ?>" />
	<input type="hidden" name="table_name" value="<?= @$state->table_name ?>" />
	<input type="hidden" name="format" value="ajax" />
	<input type="hidden" name="layout" value="ajax" />
	<input type="hidden" name="view" value="tags" />
	<input type="hidden" name="option" value="com_tags" />
</form><commit_msg>Controller add is now being called correctly.<commit_after><? /** $Id$ */ ?>
<? defined('KOOWA') or die('Restricted access'); ?>

<form method="post" id="tags_tags_form">
	<table class="adminlist" style="clear: both;">
		<thead>
			<tr>
				<th>
					<?= @text('Tag')?>
				</th>
				<th>
					&nbsp;
				</th>
			</tr>
		</thead>
		<tbody>
			<? $m = 0; ?>
			<? foreach (@$tags as $tag) : ?>
			<tr class="<?php echo 'row'.$m; ?>">
				<td align="center">
					<?= $tag->name; ?>
				</td>
				<td align="center">
					<input type="button" class="tags_tag_button" rel="id=<?= $tag->tags_map_id; ?>&amp;tags_tag_id=<?= $tag->tags_tag_id; ?>&amp;action=delete" value="<?= @text('Remove') ?>" />
				</td>
			</tr>
			<? $m = (1 - $m); ?>
			<? endforeach; ?>

			<tr class="<?php echo 'row'.$m; ?>">
				<td align="center" colspan="2">
					<input name="name" value="" style="width: 80%"/>
				</td>
			</tr>

		</tbody>
	</table>

	<input type="hidden" name="row_id" value="<?= @$state->row_id ?>" />
	<input type="hidden" name="table_name" value="<?= @$state->table_name ?>" />
	<input type="hidden" name="format" value="ajax" />
	<input type="hidden" name="layout" value="ajax" />
	<input type="hidden" name="view" value="tags" />
	<input type="hidden" name="option" value="com_tags" />
	<input type="hidden" name="action" value="add" />
</form>
{'fraction_non_alphanumeric': 0.26903941829314965, 'fraction_numerical': 0.003827018752391887, 'mean_word_length': 3.6265486725663716, 'pattern_counts': {'":': 0, '<': 98, '<?xml version=': 0, '>': 108, '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': '3871347', 'n_tokens_mistral': 1157, 'n_tokens_neox': 1002, 'n_words': 207}