<commit_before><?php $this->partial ('aside_configure'); ?>

<div class="post">
	<a href="<?php echo _url ('index', 'index'); ?>"><?php echo Minz_Translate::t ('back_to_rss_feeds'); ?></a>

	<form method="post" action="<?php echo _url ('configure', 'sharing'); ?>"
		data-simple='<div class="form-group"><label class="group-name">##label##</label><div class="group-controls"><a href="#" class="share remove btn btn-attention"><?php echo FreshRSS_Themes::icon('close'); ?></a>
			<input type="hidden" id="share_##key##_type" name="share[##key##][type]" value="##type##" /></div></div>'
		data-advanced='<div class="form-group"><label class="group-name">##label##</label><div class="group-controls">
			<input type="hidden" id="share_##key##_type" name="share[##key##][type]" value="##type##" />
			<div class="stick">
			<input type="text" id="share_##key##_name" name="share[##key##][name]" class="extend" value="" placeholder="<?php echo Minz_Translate::t ('share_name'); ?>" size="64" />
			<input type="url" id="share_##key##_url" name="share[##key##][url]" class="extend" value="" placeholder="<?php echo Minz_Translate::t ('share_url'); ?>" size="64" />
			<a href="#" class="share remove btn btn-attention"><?php echo FreshRSS_Themes::icon('close'); ?></a></div>
			<a target="_blank" class="btn" href="##help##"><?php echo FreshRSS_Themes::icon('help'); ?></a>
			</div></div>'>
		<legend><?php echo Minz_Translate::t ('sharing'); ?></legend>
		<?php foreach ($this->conf->sharing as $key => $sharing): ?>
			<?php $share = $this->conf->shares[$sharing['type']]; ?>
			<div class="form-group">
				<label class="group-name">
					<?php echo Minz_Translate::t ($sharing['type']); ?>
				</label>
				<div class="group-controls">
					<input type='hidden' id='share_<?php echo $key;?>_type' name="share[<?php echo $key;?>][type]" value='<?php echo $sharing['type']?>' />
					<?php if ($share['form'] === 'advanced'){ ?>
						<div class="stick">
							<input type="text" id="share_<?php echo $key;?>_name" name="share[<?php echo $key;?>][name]" class="extend" value="<?php echo $sharing['name']?>" placeholder="<?php echo Minz_Translate::t ('share_name'); ?>" size="64" />
							<input type="url" id="share_<?php echo $key;?>_url" name="share[<?php echo $key;?>][url]" class="extend" value="<?php echo $sharing['url']?>" placeholder="<?php echo Minz_Translate::t ('share_url'); ?>" size="64" />
							<a href='#' class='share remove btn btn-attention'><?php echo FreshRSS_Themes::icon('close'); ?></a>
						</div>

						<a target="_blank" class="btn" href="<?php echo $share['help']?>"><?php echo FreshRSS_Themes::icon('help'); ?></a>
					<?php } else { ?>
					<a href='#' class='share remove btn btn-attention'><?php echo FreshRSS_Themes::icon('close'); ?></a>
					<?php } ?><commit_msg>Add titles for help buttons (sharing configuration)<commit_after><?php $this->partial ('aside_configure'); ?>

<div class="post">
	<a href="<?php echo _url ('index', 'index'); ?>"><?php echo Minz_Translate::t ('back_to_rss_feeds'); ?></a>

	<form method="post" action="<?php echo _url ('configure', 'sharing'); ?>"
		data-simple='<div class="form-group"><label class="group-name">##label##</label><div class="group-controls"><a href="#" class="share remove btn btn-attention"><?php echo FreshRSS_Themes::icon('close'); ?></a>
			<input type="hidden" id="share_##key##_type" name="share[##key##][type]" value="##type##" /></div></div>'
		data-advanced='<div class="form-group"><label class="group-name">##label##</label><div class="group-controls">
			<input type="hidden" id="share_##key##_type" name="share[##key##][type]" value="##type##" />
			<div class="stick">
			<input type="text" id="share_##key##_name" name="share[##key##][name]" class="extend" value="" placeholder="<?php echo Minz_Translate::t ('share_name'); ?>" size="64" />
			<input type="url" id="share_##key##_url" name="share[##key##][url]" class="extend" value="" placeholder="<?php echo Minz_Translate::t ('share_url'); ?>" size="64" />
			<a href="#" class="share remove btn btn-attention"><?php echo FreshRSS_Themes::icon('close'); ?></a></div>
			<a target="_blank" class="btn" title="<?php echo Minz_Translate::t('more_information'); ?>" href="##help##"><?php echo FreshRSS_Themes::icon('help'); ?></a>
			</div></div>'>
		<legend><?php echo Minz_Translate::t ('sharing'); ?></legend>
		<?php foreach ($this->conf->sharing as $key => $sharing): ?>
			<?php $share = $this->conf->shares[$sharing['type']]; ?>
			<div class="form-group">
				<label class="group-name">
					<?php echo Minz_Translate::t ($sharing['type']); ?>
				</label>
				<div class="group-controls">
					<input type='hidden' id='share_<?php echo $key;?>_type' name="share[<?php echo $key;?>][type]" value='<?php echo $sharing['type']?>' />
					<?php if ($share['form'] === 'advanced'){ ?>
						<div class="stick">
							<input type="text" id="share_<?php echo $key;?>_name" name="share[<?php echo $key;?>][name]" class="extend" value="<?php echo $sharing['name']?>" placeholder="<?php echo Minz_Translate::t ('share_name'); ?>" size="64" />
							<input type="url" id="share_<?php echo $key;?>_url" name="share[<?php echo $key;?>][url]" class="extend" value="<?php echo $sharing['url']?>" placeholder="<?php echo Minz_Translate::t ('share_url'); ?>" size="64" />
							<a href='#' class='share remove btn btn-attention'><?php echo FreshRSS_Themes::icon('close'); ?></a>
						</div>

						<a target="_blank" class="btn" title="<?php echo Minz_Translate::t('more_information'); ?>" href="<?php echo $share['help']?>"><?php echo FreshRSS_Themes::icon('help'); ?></a>
					<?php } else { ?>
					<a href='#' class='share remove btn btn-attention'><?php echo FreshRSS_Themes::icon('close'); ?></a>
					<?php } ?>
{'fraction_non_alphanumeric': 0.2640527411519778, 'fraction_numerical': 0.002775850104094379, 'mean_word_length': 6.269861286254729, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 0, '>': 169, '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': '2115602', 'n_tokens_mistral': 2126, 'n_tokens_neox': 1931, 'n_words': 408}