<commit_before><input type="hidden" name="dir" value="<?php p($_['dir']) ?>" id="dir">
<input type="hidden" name="downloadURL" value="<?php p($_['downloadURL']) ?>" id="downloadURL">
<input type="hidden" name="filename" value="<?php p($_['filename']) ?>" id="filename">
<input type="hidden" name="mimetype" value="<?php p($_['mimetype']) ?>" id="mimetype">
<header><div id="header">
	<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" title="" id="owncloud"><img class="svg"
		src="<?php print_unescaped(image_path('', 'logo-wide.svg')); ?>" alt="ownCloud" /></a>
	<div class="header-right">
	<?php if (isset($_['folder'])): ?>
		<span id="details"><?php p($l->t('%s shared the folder %s with you',
			array($_['displayName'], $_['fileTarget']))) ?></span>
	<?php else: ?>
		<span id="details"><?php p($l->t('%s shared the file %s with you',
			array($_['displayName'], $_['fileTarget']))) ?></span>
	<?php endif; ?>
		<?php if (!isset($_['folder']) || $_['allowZipDownload']): ?>
			<a href="<?php p($_['downloadURL']); ?>" class="button" id="download"><img
				class="svg" alt="Download" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>"
				/><?php p($l->t('Download'))?></a>
		<?php endif; ?>
	</div>
</div></header>
<div id="preview">
	<?php if (isset($_['folder'])): ?>
		<?php print_unescaped($_['folder']); ?>
	<?php else: ?>
		<?php if (substr($_['mimetype'], 0, strpos($_['mimetype'], '/')) == 'image'): ?>
			<div id="imgframe">
				<img src="<?php p($_['downloadURL']); ?>" />
			</div>
		<?php elseif (substr($_['mimetype'], 0, strpos($_['mimetype'], '/')) == 'video'): ?>
			<div id="imgframe">
				<video tabindex="0" controls="" autoplay="">
				<source src="<?php p($_['downloadURL']); ?>" type="<?php p($_['mimetype']); ?>" />
				</video>
			</div>
		<?php else: ?>
		<ul id="noPreview">
			<li class="error">
				<?php p($l->t('No preview available for').' '.$_['fileTarget']); ?><br />
				<a href="<?php p($_['downloadURL']); ?>" id="download"><img class="svg" alt="Download"
					src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>"
					/><?php p($l->t('Download'))?></a>
			</li>
		</ul>
		<?php endif; ?>
	<?php endif; ?>
</div>
<footer><p class="info"><a href="http://owncloud.org/">ownCloud</a> &ndash;
<?php p($l->t('web services under your control')); ?></p></footer><commit_msg>make pub link share footer aware of different owncloud editions<commit_after><input type="hidden" name="dir" value="<?php p($_['dir']) ?>" id="dir">
<input type="hidden" name="downloadURL" value="<?php p($_['downloadURL']) ?>" id="downloadURL">
<input type="hidden" name="filename" value="<?php p($_['filename']) ?>" id="filename">
<input type="hidden" name="mimetype" value="<?php p($_['mimetype']) ?>" id="mimetype">
<header><div id="header">
	<a href="<?php print_unescaped(link_to('', 'index.php')); ?>" title="" id="owncloud"><img class="svg"
		src="<?php print_unescaped(image_path('', 'logo-wide.svg')); ?>" alt="ownCloud" /></a>
	<div class="header-right">
	<?php if (isset($_['folder'])): ?>
		<span id="details"><?php p($l->t('%s shared the folder %s with you',
			array($_['displayName'], $_['fileTarget']))) ?></span>
	<?php else: ?>
		<span id="details"><?php p($l->t('%s shared the file %s with you',
			array($_['displayName'], $_['fileTarget']))) ?></span>
	<?php endif; ?>
		<?php if (!isset($_['folder']) || $_['allowZipDownload']): ?>
			<a href="<?php p($_['downloadURL']); ?>" class="button" id="download"><img
				class="svg" alt="Download" src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>"
				/><?php p($l->t('Download'))?></a>
		<?php endif; ?>
	</div>
</div></header>
<div id="preview">
	<?php if (isset($_['folder'])): ?>
		<?php print_unescaped($_['folder']); ?>
	<?php else: ?>
		<?php if (substr($_['mimetype'], 0, strpos($_['mimetype'], '/')) == 'image'): ?>
			<div id="imgframe">
				<img src="<?php p($_['downloadURL']); ?>" />
			</div>
		<?php elseif (substr($_['mimetype'], 0, strpos($_['mimetype'], '/')) == 'video'): ?>
			<div id="imgframe">
				<video tabindex="0" controls="" autoplay="">
				<source src="<?php p($_['downloadURL']); ?>" type="<?php p($_['mimetype']); ?>" />
				</video>
			</div>
		<?php else: ?>
		<ul id="noPreview">
			<li class="error">
				<?php p($l->t('No preview available for').' '.$_['fileTarget']); ?><br />
				<a href="<?php p($_['downloadURL']); ?>" id="download"><img class="svg" alt="Download"
					src="<?php print_unescaped(OCP\image_path("core", "actions/download.svg")); ?>"
					/><?php p($l->t('Download'))?></a>
			</li>
		</ul>
		<?php endif; ?>
	<?php endif; ?>
</div>
<footer><p class="info"><a href="<?php p(OC_Defaults::getBaseUrl()); ?>"><?php p(OC_Defaults::getEntity()) ?></a> &ndash;
<?php p(OC_Defaults::getSlogan()); ?></p></footer>
{'fraction_non_alphanumeric': 0.30099296648738105, 'fraction_numerical': 0.0012412081092263137, 'mean_word_length': 5.7622377622377625, 'pattern_counts': {'":': 0, '<': 157, '<?xml version=': 0, '>': 168, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 32, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3939168', 'n_tokens_mistral': 1821, 'n_tokens_neox': 1711, 'n_words': 354}