Deduplicate template code and do not translate the links
parent
b432ea29c9
commit
4172ba48d4
@ -0,0 +1,11 @@
|
||||
<noscript>
|
||||
<div id="nojavascript">
|
||||
<div>
|
||||
<?php print_unescaped(str_replace(
|
||||
['{linkstart}', '{linkend}'],
|
||||
['<a href="http://enable-javascript.com/" target="_blank" rel="noreferrer">', '</a>'],
|
||||
$l->t('This application requires JavaScript for correct operation. Please {linkstart}enable JavaScript{linkend} and reload the page.')
|
||||
)); ?>
|
||||
</div>
|
||||
</div>
|
||||
</noscript>
|
||||
@ -0,0 +1,19 @@
|
||||
<?php if (OC_Util::getEditionString() === ''): ?>
|
||||
<p>
|
||||
<?php print_unescaped(str_replace(
|
||||
[
|
||||
'{communityopen}',
|
||||
'{githubopen}',
|
||||
'{licenseopen}',
|
||||
'{linkclose}',
|
||||
],
|
||||
[
|
||||
'<a href="https://owncloud.org/contact" target="_blank" rel="noreferrer">',
|
||||
'<a href="https://github.com/owncloud" target="_blank" rel="noreferrer">',
|
||||
'<a href="https://www.gnu.org/licenses/agpl-3.0.html" target="_blank" rel="noreferrer">',
|
||||
'</a>',
|
||||
],
|
||||
$l->t('Developed by the {communityopen}ownCloud community{linkclose}, the {githubopen}source code{linkclose} is licensed under the {licenseopen}<abbr title="Affero General Public License">AGPL</abbr>{linkclose}.')
|
||||
)); ?>
|
||||
</p>
|
||||
<?php endif; ?>
|
||||
Loading…
Reference in New Issue