mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:00:17 +00:00
Merge pull request #14036 from MrPetovan/bug/deprecated
Add `'$VERSION'` template variable to make Friendica version available in templates
This commit is contained in:
commit
449464a2b1
38 changed files with 127 additions and 137 deletions
|
@ -332,7 +332,6 @@ class Conversation
|
||||||
$tpl = Renderer::getMarkupTemplate('jot-header.tpl');
|
$tpl = Renderer::getMarkupTemplate('jot-header.tpl');
|
||||||
$this->page['htmlhead'] .= Renderer::replaceMacros($tpl, [
|
$this->page['htmlhead'] .= Renderer::replaceMacros($tpl, [
|
||||||
'$newpost' => 'true',
|
'$newpost' => 'true',
|
||||||
'$baseurl' => $this->baseURL,
|
|
||||||
'$geotag' => $geotag,
|
'$geotag' => $geotag,
|
||||||
'$nickname' => $x['nickname'],
|
'$nickname' => $x['nickname'],
|
||||||
'$ispublic' => $this->l10n->t('Visible to <strong>everybody</strong>'),
|
'$ispublic' => $this->l10n->t('Visible to <strong>everybody</strong>'),
|
||||||
|
@ -405,7 +404,6 @@ class Conversation
|
||||||
'$posttype' => $notes_cid ? ItemModel::PT_PERSONAL_NOTE : ItemModel::PT_ARTICLE,
|
'$posttype' => $notes_cid ? ItemModel::PT_PERSONAL_NOTE : ItemModel::PT_ARTICLE,
|
||||||
'$content' => $x['content'] ?? '',
|
'$content' => $x['content'] ?? '',
|
||||||
'$post_id' => $x['post_id'] ?? '',
|
'$post_id' => $x['post_id'] ?? '',
|
||||||
'$baseurl' => $this->baseURL,
|
|
||||||
'$defloc' => $x['default_location'],
|
'$defloc' => $x['default_location'],
|
||||||
'$visitor' => $x['visitor'],
|
'$visitor' => $x['visitor'],
|
||||||
'$pvisit' => $notes_cid ? 'none' : $x['visitor'],
|
'$pvisit' => $notes_cid ? 'none' : $x['visitor'],
|
||||||
|
@ -591,7 +589,6 @@ class Conversation
|
||||||
}
|
}
|
||||||
|
|
||||||
$o = Renderer::replaceMacros($page_template, [
|
$o = Renderer::replaceMacros($page_template, [
|
||||||
'$baseurl' => $this->baseURL,
|
|
||||||
'$return_path' => $this->args->getQueryString(),
|
'$return_path' => $this->args->getQueryString(),
|
||||||
'$live_update' => $live_update_div,
|
'$live_update' => $live_update_div,
|
||||||
'$remove' => $this->l10n->t('remove'),
|
'$remove' => $this->l10n->t('remove'),
|
||||||
|
|
|
@ -75,8 +75,11 @@ class Renderer
|
||||||
{
|
{
|
||||||
DI::profiler()->startRecording('rendering');
|
DI::profiler()->startRecording('rendering');
|
||||||
|
|
||||||
// pass $baseurl to all templates if it isn't set
|
// Default template variables
|
||||||
$vars = array_merge(['$baseurl' => DI::baseUrl(), '$APP' => DI::app()], $vars);
|
$vars = array_merge([
|
||||||
|
'$baseurl' => DI::baseUrl(),
|
||||||
|
'$VERSION' => \Friendica\App::VERSION,
|
||||||
|
], $vars);
|
||||||
|
|
||||||
$t = self::getTemplateEngine();
|
$t = self::getTemplateEngine();
|
||||||
|
|
||||||
|
|
|
@ -221,7 +221,6 @@ class Federation extends BaseAdmin
|
||||||
'$page' => DI::l10n()->t('Federation Statistics'),
|
'$page' => DI::l10n()->t('Federation Statistics'),
|
||||||
'$intro' => $intro,
|
'$intro' => $intro,
|
||||||
'$counts' => $counts,
|
'$counts' => $counts,
|
||||||
'$version' => App::VERSION,
|
|
||||||
'$legendtext' => DI::l10n()->tt('Currently this node is aware of %2$s node (%3$s active users last month, %4$s active users last six months, %5$s registered users in total) from the following platforms:', 'Currently this node is aware of %2$s nodes (%3$s active users last month, %4$s active users last six months, %5$s registered users in total) from the following platforms:', $total, number_format($total), number_format($month), number_format($halfyear), number_format($users)),
|
'$legendtext' => DI::l10n()->tt('Currently this node is aware of %2$s node (%3$s active users last month, %4$s active users last six months, %5$s registered users in total) from the following platforms:', 'Currently this node is aware of %2$s nodes (%3$s active users last month, %4$s active users last six months, %5$s registered users in total) from the following platforms:', $total, number_format($total), number_format($month), number_format($halfyear), number_format($users)),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -196,7 +196,7 @@ class Summary extends BaseAdmin
|
||||||
'$title' => DI::l10n()->t('Administration'),
|
'$title' => DI::l10n()->t('Administration'),
|
||||||
'$page' => DI::l10n()->t('Summary'),
|
'$page' => DI::l10n()->t('Summary'),
|
||||||
'$queues' => $queues,
|
'$queues' => $queues,
|
||||||
'$version' => [DI::l10n()->t('Version'), App::VERSION],
|
'$version_label' => DI::l10n()->t('Version'),
|
||||||
'$platform' => App::PLATFORM,
|
'$platform' => App::PLATFORM,
|
||||||
'$codename' => App::CODENAME,
|
'$codename' => App::CODENAME,
|
||||||
'$build' => DI::config()->get('system', 'build'),
|
'$build' => DI::config()->get('system', 'build'),
|
||||||
|
|
|
@ -124,8 +124,6 @@ class Contact extends BaseModeration
|
||||||
'$form_security_token' => self::getFormSecurityToken('moderation_contactblock'),
|
'$form_security_token' => self::getFormSecurityToken('moderation_contactblock'),
|
||||||
|
|
||||||
// values //
|
// values //
|
||||||
'$baseurl' => $this->baseUrl,
|
|
||||||
|
|
||||||
'$contacts' => $contacts,
|
'$contacts' => $contacts,
|
||||||
'$total_contacts' => $this->tt('%s total blocked contact', '%s total blocked contacts', $total),
|
'$total_contacts' => $this->tt('%s total blocked contact', '%s total blocked contacts', $total),
|
||||||
'$paginate' => $pager->renderFull($total),
|
'$paginate' => $pager->renderFull($total),
|
||||||
|
|
|
@ -138,7 +138,6 @@ class Add extends BaseModeration
|
||||||
'$newreason' => ['reason', $this->t('Block reason'), $request['reason'] ?? '', $this->t('The reason why you blocked this server domain pattern. This reason will be shown publicly in the server information page.'), $this->t('Required'), '', ''],
|
'$newreason' => ['reason', $this->t('Block reason'), $request['reason'] ?? '', $this->t('The reason why you blocked this server domain pattern. This reason will be shown publicly in the server information page.'), $this->t('Required'), '', ''],
|
||||||
'$pattern' => $pattern,
|
'$pattern' => $pattern,
|
||||||
'$gservers' => $gservers,
|
'$gservers' => $gservers,
|
||||||
'$baseurl' => $this->baseUrl,
|
|
||||||
'$form_security_token' => self::getFormSecurityToken('moderation_blocklist_add')
|
'$form_security_token' => self::getFormSecurityToken('moderation_blocklist_add')
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -130,7 +130,6 @@ class Import extends \Friendica\Module\BaseModeration
|
||||||
'$mode_append' => ['mode', $this->t('Append'), 'append', $this->t('Imports patterns from the file that weren\'t already existing in the current blocklist.'), 'checked="checked"'],
|
'$mode_append' => ['mode', $this->t('Append'), 'append', $this->t('Imports patterns from the file that weren\'t already existing in the current blocklist.'), 'checked="checked"'],
|
||||||
'$mode_replace' => ['mode', $this->t('Replace'), 'replace', $this->t('Replaces the current blocklist by the imported patterns.')],
|
'$mode_replace' => ['mode', $this->t('Replace'), 'replace', $this->t('Replaces the current blocklist by the imported patterns.')],
|
||||||
'$blocklist' => $this->blocklist,
|
'$blocklist' => $this->blocklist,
|
||||||
'$baseurl' => $this->baseUrl,
|
|
||||||
'$form_security_token' => self::getFormSecurityToken('moderation_blocklist_import')
|
'$form_security_token' => self::getFormSecurityToken('moderation_blocklist_import')
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
|
@ -115,7 +115,6 @@ class Index extends BaseModeration
|
||||||
'$listfile' => ['listfile', $this->t('Server domain pattern blocklist CSV file'), '', '', $this->t('Required'), '', 'file'],
|
'$listfile' => ['listfile', $this->t('Server domain pattern blocklist CSV file'), '', '', $this->t('Required'), '', 'file'],
|
||||||
'$newdomain' => ['pattern', $this->t('Server Domain Pattern'), '', $this->t('The domain pattern of the new server to add to the blocklist. Do not include the protocol.'), $this->t('Required'), '', ''],
|
'$newdomain' => ['pattern', $this->t('Server Domain Pattern'), '', $this->t('The domain pattern of the new server to add to the blocklist. Do not include the protocol.'), $this->t('Required'), '', ''],
|
||||||
'$entries' => $blocklistform,
|
'$entries' => $blocklistform,
|
||||||
'$baseurl' => $this->baseUrl,
|
|
||||||
|
|
||||||
'$form_security_token' => self::getFormSecurityToken('moderation_blocklist'),
|
'$form_security_token' => self::getFormSecurityToken('moderation_blocklist'),
|
||||||
'$form_security_token_import' => self::getFormSecurityToken('moderation_blocklist_import'),
|
'$form_security_token_import' => self::getFormSecurityToken('moderation_blocklist_import'),
|
||||||
|
|
|
@ -95,8 +95,6 @@ class Reports extends BaseModeration
|
||||||
'$th_reports' => [$this->t('Created'), $this->t('Photo'), $this->t('Name'), $this->t('Comment'), $this->t('Category')],
|
'$th_reports' => [$this->t('Created'), $this->t('Photo'), $this->t('Name'), $this->t('Comment'), $this->t('Category')],
|
||||||
|
|
||||||
// values //
|
// values //
|
||||||
'$baseurl' => $this->baseUrl,
|
|
||||||
|
|
||||||
'$reports' => $reports,
|
'$reports' => $reports,
|
||||||
'$total_reports' => $this->tt('%s total report', '%s total reports', $total),
|
'$total_reports' => $this->tt('%s total report', '%s total reports', $total),
|
||||||
'$paginate' => $pager->renderFull($total),
|
'$paginate' => $pager->renderFull($total),
|
||||||
|
|
|
@ -150,7 +150,6 @@ class Active extends BaseUsers
|
||||||
'$form_security_token' => self::getFormSecurityToken('moderation_users_active'),
|
'$form_security_token' => self::getFormSecurityToken('moderation_users_active'),
|
||||||
|
|
||||||
// values //
|
// values //
|
||||||
'$baseurl' => $this->baseUrl,
|
|
||||||
'$query_string' => $this->args->getQueryString(),
|
'$query_string' => $this->args->getQueryString(),
|
||||||
|
|
||||||
'$users' => $users,
|
'$users' => $users,
|
||||||
|
|
|
@ -228,7 +228,6 @@ class Channels extends BaseSettings
|
||||||
'confirm_delete' => $this->t('Delete entry from the channel list?'),
|
'confirm_delete' => $this->t('Delete entry from the channel list?'),
|
||||||
],
|
],
|
||||||
'$entries' => $channels,
|
'$entries' => $channels,
|
||||||
'$baseurl' => $this->baseUrl,
|
|
||||||
|
|
||||||
'$form_security_token' => self::getFormSecurityToken('settings_channels'),
|
'$form_security_token' => self::getFormSecurityToken('settings_channels'),
|
||||||
]);
|
]);
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<script src="{{$baseurl}}/view/asset/Chart-js/dist/Chart.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script src="{{$baseurl}}/view/asset/Chart-js/dist/Chart.min.js?v={{$VERSION}}"></script>
|
||||||
<div id="adminpage">
|
<div id="adminpage">
|
||||||
<h1>{{$title}} - {{$page}}</h1>
|
<h1>{{$title}} - {{$page}}</h1>
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@
|
||||||
<ul class="federation-stats">
|
<ul class="federation-stats">
|
||||||
{{foreach $c[1] as $v}}
|
{{foreach $c[1] as $v}}
|
||||||
<li>
|
<li>
|
||||||
{{if ($c[0]['platform']==='Friendica' and $version===$v['version']) }}
|
{{if $c[0]['platform'] === 'Friendica' && $VERSION === $v['version']}}
|
||||||
<span class="version-match">{{$v['version']}}</span>
|
<span class="version-match">{{$v['version']}}</span>
|
||||||
{{else}}
|
{{else}}
|
||||||
{{$v['version']}}
|
{{$v['version']}}
|
||||||
|
|
|
@ -16,16 +16,16 @@
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>{{$addons.0}}</dt>
|
<dt>{{$addons.0}}</dt>
|
||||||
|
|
||||||
{{foreach $addons.1 as $p}}
|
{{foreach $addons.1 as $p}}
|
||||||
<dd><a href="{{$baseurl}}/admin/addons/{{$p}}/">{{$p}}</a></dd>
|
<dd><a href="{{$baseurl}}/admin/addons/{{$p}}/">{{$p}}</a></dd>
|
||||||
{{/foreach}}
|
{{/foreach}}
|
||||||
|
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
<dt>{{$version.0}}</dt>
|
<dt>{{$version_label}}</dt>
|
||||||
<dd> {{$platform}} '{{$codename}}' {{$version.1}} - {{$build}}</dt>
|
<dd> {{$platform}} '{{$codename}}' {{$VERSION}} - {{$build}}</dt>
|
||||||
</dl>
|
</dl>
|
||||||
|
|
||||||
<dl>
|
<dl>
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<link rel="stylesheet" type="text/css" href="{{$baseurl}}/view/asset/fullcalendar/dist/fullcalendar.min.css?v={{constant('\Friendica\App::VERSION')}}" />
|
<link rel="stylesheet" type="text/css" href="{{$baseurl}}/view/asset/fullcalendar/dist/fullcalendar.min.css?v={{$VERSION}}" />
|
||||||
<link rel="stylesheet" type="text/css" href="{{$baseurl}}/view/asset/fullcalendar/dist/fullcalendar.print.min.css?v={{constant('\Friendica\App::VERSION')}}" media="print" />
|
<link rel="stylesheet" type="text/css" href="{{$baseurl}}/view/asset/fullcalendar/dist/fullcalendar.print.min.css?v={{$VERSION}}" media="print" />
|
||||||
<script type="text/javascript" src="{{$baseurl}}/view/asset/moment/min/moment-with-locales.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="{{$baseurl}}/view/asset/moment/min/moment-with-locales.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/view/asset/fullcalendar/dist/fullcalendar.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="{{$baseurl}}/view/asset/fullcalendar/dist/fullcalendar.min.js?v={{$VERSION}}"></script>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
function showEvent(eventid) {
|
function showEvent(eventid) {
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||||
<base href="{{$baseurl}}/" />
|
<base href="{{$baseurl}}/" />
|
||||||
<meta name="generator" content="{{$generator}}" />
|
<meta name="generator" content="{{$generator}}" />
|
||||||
<link rel="stylesheet" href="view/global.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="all" />
|
<link rel="stylesheet" href="view/global.css?v={{$VERSION}}" type="text/css" media="all" />
|
||||||
<link rel="stylesheet" href="view/asset/jquery-colorbox/example5/colorbox.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="screen" />
|
<link rel="stylesheet" href="view/asset/jquery-colorbox/example5/colorbox.css?v={{$VERSION}}" type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="view/asset/jgrowl/jquery.jgrowl.min.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="screen" />
|
<link rel="stylesheet" href="view/asset/jgrowl/jquery.jgrowl.min.css?v={{$VERSION}}" type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="view/asset/jquery-datetimepicker/build/jquery.datetimepicker.min.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="screen" />
|
<link rel="stylesheet" href="view/asset/jquery-datetimepicker/build/jquery.datetimepicker.min.css?v={{$VERSION}}" type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="view/asset/perfect-scrollbar/dist/css/perfect-scrollbar.min.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="screen" />
|
<link rel="stylesheet" href="view/asset/perfect-scrollbar/dist/css/perfect-scrollbar.min.css?v={{$VERSION}}" type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="view/js/fancybox/jquery.fancybox.min.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="screen" />
|
<link rel="stylesheet" href="view/js/fancybox/jquery.fancybox.min.css?v={{$VERSION}}" type="text/css" media="screen" />
|
||||||
|
|
||||||
{{foreach $stylesheets as $stylesheetUrl => $media}}
|
{{foreach $stylesheets as $stylesheetUrl => $media}}
|
||||||
<link rel="stylesheet" href="{{$stylesheetUrl}}" type="text/css" media="{{$media}}" />
|
<link rel="stylesheet" href="{{$stylesheetUrl}}" type="text/css" media="{{$media}}" />
|
||||||
|
@ -30,23 +30,23 @@
|
||||||
title="Search in Friendica" />
|
title="Search in Friendica" />
|
||||||
|
|
||||||
<!--[if IE]>
|
<!--[if IE]>
|
||||||
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js?v={{$VERSION}}"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<script type="text/javascript" src="view/js/modernizr.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/modernizr.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/asset/jquery/dist/jquery.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/asset/jquery/dist/jquery.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/js/jquery.textinputs.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/jquery.textinputs.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/asset/textcomplete/dist/textcomplete.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/asset/textcomplete/dist/textcomplete.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/js/autocomplete.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/autocomplete.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/asset/jquery-colorbox/jquery.colorbox-min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/asset/jquery-colorbox/jquery.colorbox-min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/asset/jgrowl/jquery.jgrowl.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/asset/jgrowl/jquery.jgrowl.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/asset/perfect-scrollbar/dist/js/perfect-scrollbar.jquery.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/asset/perfect-scrollbar/dist/js/perfect-scrollbar.jquery.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/asset/imagesloaded/imagesloaded.pkgd.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/asset/imagesloaded/imagesloaded.pkgd.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/asset/base64/base64.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/asset/base64/base64.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/asset/dompurify/dist/purify.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/asset/dompurify/dist/purify.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/js/fancybox/jquery.fancybox.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/fancybox/jquery.fancybox.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/js/fancybox/fancybox.config.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/fancybox/fancybox.config.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/js/vanillaEmojiPicker/vanillaEmojiPicker.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/vanillaEmojiPicker/vanillaEmojiPicker.min.js?v={{$VERSION}}"></script>
|
||||||
<script>
|
<script>
|
||||||
window.onload = function(){
|
window.onload = function(){
|
||||||
new EmojiPicker({
|
new EmojiPicker({
|
||||||
|
@ -68,7 +68,7 @@ window.onload = function(){
|
||||||
const updateInterval = {{$update_interval}};
|
const updateInterval = {{$update_interval}};
|
||||||
const localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
|
const localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="view/js/main.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/main.js?v={{$VERSION}}"></script>
|
||||||
<script>
|
<script>
|
||||||
// Lifted from https://css-tricks.com/snippets/jquery/move-cursor-to-end-of-textarea-or-input/
|
// Lifted from https://css-tricks.com/snippets/jquery/move-cursor-to-end-of-textarea-or-input/
|
||||||
jQuery.fn.putCursorAtEnd = function() {
|
jQuery.fn.putCursorAtEnd = function() {
|
||||||
|
|
|
@ -45,7 +45,7 @@ function enableOnUser(){
|
||||||
}
|
}
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js?v={{$VERSION}}"></script>
|
||||||
<script>
|
<script>
|
||||||
var ispublic = '{{$ispublic nofilter}}';
|
var ispublic = '{{$ispublic nofilter}}';
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<!--
|
<!--
|
||||||
This is the template used by mod/fbrowser.php
|
This is the template used by mod/fbrowser.php
|
||||||
-->
|
-->
|
||||||
<script type="text/javascript" src="view/js/ajaxupload.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/ajaxupload.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/js/module/media/browser.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/module/media/browser.js?v={{$VERSION}}"></script>
|
||||||
<script>
|
<script>
|
||||||
$(function() {
|
$(function() {
|
||||||
Browser.init("{{$nickname}}", "{{$type}}");
|
Browser.init("{{$nickname}}", "{{$type}}");
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
<script language="javascript" type="text/javascript">
|
<script language="javascript" type="text/javascript">
|
||||||
$("#prvmail-text").editor_autocomplete(baseurl + '/search/acl');
|
$("#prvmail-text").editor_autocomplete(baseurl + '/search/acl');
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="view/js/ajaxupload.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/ajaxupload.js?v={{$VERSION}}"></script>
|
||||||
<script>
|
<script>
|
||||||
$(document).ready(function() {
|
$(document).ready(function() {
|
||||||
var uploader = new window.AjaxUpload(
|
var uploader = new window.AjaxUpload(
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
<script type="text/javascript" src="view/js/country.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/country.js?v={{$VERSION}}"></script>
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
<script type="text/javascript" src="view/asset/cropperjs/dist/cropper.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/asset/cropperjs/dist/cropper.min.js?v={{$VERSION}}"></script>
|
||||||
<link rel="stylesheet" href="view/asset/cropperjs/dist/cropper.min.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" />
|
<link rel="stylesheet" href="view/asset/cropperjs/dist/cropper.min.css?v={{$VERSION}}" type="text/css" />
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="screen"/>
|
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{$VERSION}}" type="text/css" media="screen"/>
|
||||||
|
|
||||||
<div id="adminpage" class="adminpage generic-page-wrapper">
|
<div id="adminpage" class="adminpage generic-page-wrapper">
|
||||||
<h1>{{$title}} - {{$page}}</h1>
|
<h1>{{$title}} - {{$page}}</h1>
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="screen"/>
|
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{$VERSION}}" type="text/css" media="screen"/>
|
||||||
|
|
||||||
<div id="adminpage" class="adminpage generic-page-wrapper">
|
<div id="adminpage" class="adminpage generic-page-wrapper">
|
||||||
<h1>{{$title}} - {{$page}}</h1>
|
<h1>{{$title}} - {{$page}}</h1>
|
||||||
|
|
|
@ -31,8 +31,8 @@
|
||||||
{{* The Friendica version. *}}
|
{{* The Friendica version. *}}
|
||||||
<div id="admin-summary-version" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 admin-summary">
|
<div id="admin-summary-version" class="col-lg-12 col-md-12 col-sm-12 col-xs-12 admin-summary">
|
||||||
<hr class="admin-summary-separator">
|
<hr class="admin-summary-separator">
|
||||||
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 admin-summary-label-name text-muted">{{$version.0}}</div>
|
<div class="col-lg-4 col-md-4 col-sm-4 col-xs-12 admin-summary-label-name text-muted">{{$version_label}}</div>
|
||||||
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 admin-summary-entry">{{$platform}} '{{$codename}}' {{$version.1}} - {{$build}}</div>
|
<div class="col-lg-8 col-md-8 col-sm-8 col-xs-12 admin-summary-entry">{{$platform}} '{{$codename}}' {{$VERSION}} - {{$build}}</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{* Server Settings. *}}
|
{{* Server Settings. *}}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
<script type="text/javascript" src="view/theme/frio/js/mod_events.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/theme/frio/js/mod_events.js?v={{$VERSION}}"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
// pass php translation strings to js variables/arrays so we can make use of it in js files
|
// pass php translation strings to js variables/arrays so we can make use of it in js files
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
add or remove contacts to the contact circle.
|
add or remove contacts to the contact circle.
|
||||||
*}}
|
*}}
|
||||||
|
|
||||||
<script type="text/javascript" src="view/theme/frio/js/mod_circle.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/theme/frio/js/mod_circle.js?v={{$VERSION}}"></script>
|
||||||
|
|
||||||
<div class="generic-page-wrapper">
|
<div class="generic-page-wrapper">
|
||||||
{{if $editable == 1}}
|
{{if $editable == 1}}
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
|
|
||||||
<script type="text/javascript" src="view/theme/frio/js/mod_contacts.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/theme/frio/js/mod_contacts.js?v={{$VERSION}}"></script>
|
||||||
|
|
|
@ -6,56 +6,56 @@
|
||||||
<meta name="viewport" content="initial-scale=1.0">
|
<meta name="viewport" content="initial-scale=1.0">
|
||||||
|
|
||||||
{{* All needed css files - Note: css must be inserted before js files *}}
|
{{* All needed css files - Note: css must be inserted before js files *}}
|
||||||
<link rel="stylesheet" href="view/global.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="all" />
|
<link rel="stylesheet" href="view/global.css?v={{$VERSION}}" type="text/css" media="all" />
|
||||||
<link rel="stylesheet" href="view/asset/jquery-colorbox/example5/colorbox.css?v={{constant('\Friendica\App::VERSION')}}"
|
<link rel="stylesheet" href="view/asset/jquery-colorbox/example5/colorbox.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="view/asset/jgrowl/jquery.jgrowl.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
<link rel="stylesheet" href="view/asset/jgrowl/jquery.jgrowl.min.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="view/asset/jquery-datetimepicker/build/jquery.datetimepicker.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
href="view/asset/jquery-datetimepicker/build/jquery.datetimepicker.min.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="view/asset/perfect-scrollbar/dist/css/perfect-scrollbar.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
href="view/asset/perfect-scrollbar/dist/css/perfect-scrollbar.min.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
|
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="view/theme/frio/frameworks/bootstrap/css/bootstrap.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
href="view/theme/frio/frameworks/bootstrap/css/bootstrap.min.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="view/theme/frio/frameworks/bootstrap/css/bootstrap-theme.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
href="view/theme/frio/frameworks/bootstrap/css/bootstrap-theme.min.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="view/asset/fork-awesome/css/fork-awesome.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
<link rel="stylesheet" href="view/asset/fork-awesome/css/fork-awesome.min.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="view/theme/frio/frameworks/jasny/css/jasny-bootstrap.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
href="view/theme/frio/frameworks/jasny/css/jasny-bootstrap.min.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="view/theme/frio/frameworks/bootstrap-select/css/bootstrap-select.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
href="view/theme/frio/frameworks/bootstrap-select/css/bootstrap-select.min.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="view/theme/frio/frameworks/ekko-lightbox/ekko-lightbox.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
href="view/theme/frio/frameworks/ekko-lightbox/ekko-lightbox.min.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="view/theme/frio/frameworks/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css?v={{constant('\Friendica\App::VERSION')}}"
|
href="view/theme/frio/frameworks/awesome-bootstrap-checkbox/awesome-bootstrap-checkbox.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="view/theme/frio/frameworks/justifiedGallery/justifiedGallery.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
href="view/theme/frio/frameworks/justifiedGallery/justifiedGallery.min.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="view/theme/frio/frameworks/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
href="view/theme/frio/frameworks/bootstrap-colorpicker/css/bootstrap-colorpicker.min.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
<link rel="stylesheet"
|
<link rel="stylesheet"
|
||||||
href="view/theme/frio/frameworks/bootstrap-toggle/css/bootstrap-toggle.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
href="view/theme/frio/frameworks/bootstrap-toggle/css/bootstrap-toggle.min.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="view/theme/frio/font/open_sans/open-sans.css?v={{constant('\Friendica\App::VERSION')}}"
|
<link rel="stylesheet" href="view/theme/frio/font/open_sans/open-sans.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
<link rel="stylesheet" href="view/js/fancybox/jquery.fancybox.min.css?v={{constant('\Friendica\App::VERSION')}}"
|
<link rel="stylesheet" href="view/js/fancybox/jquery.fancybox.min.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
|
|
||||||
{{* own css files *}}
|
{{* own css files *}}
|
||||||
<link rel="stylesheet" href="view/theme/frio/css/hovercard.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css"
|
<link rel="stylesheet" href="view/theme/frio/css/hovercard.css?v={{$VERSION}}" type="text/css"
|
||||||
media="screen" />
|
media="screen" />
|
||||||
<link rel="stylesheet" href="view/theme/frio/css/font-awesome.custom.css?v={{constant('\Friendica\App::VERSION')}}"
|
<link rel="stylesheet" href="view/theme/frio/css/font-awesome.custom.css?v={{$VERSION}}"
|
||||||
type="text/css" media="screen" />
|
type="text/css" media="screen" />
|
||||||
|
|
||||||
{{foreach $stylesheets as $stylesheetUrl => $media}}
|
{{foreach $stylesheets as $stylesheetUrl => $media}}
|
||||||
|
@ -81,74 +81,74 @@
|
||||||
|
|
||||||
{{* The js files we use *}}
|
{{* The js files we use *}}
|
||||||
<!--[if IE]>
|
<!--[if IE]>
|
||||||
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="https://html5shiv.googlecode.com/svn/trunk/html5.js?v={{$VERSION}}"></script>
|
||||||
<![endif]-->
|
<![endif]-->
|
||||||
<script type="text/javascript" src="view/js/modernizr.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/modernizr.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/asset/jquery/dist/jquery.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
<script type="text/javascript" src="view/asset/jquery/dist/jquery.min.js?v={{$VERSION}}">
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="view/js/jquery.textinputs.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/jquery.textinputs.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/asset/textcomplete/dist/textcomplete.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
src="view/asset/textcomplete/dist/textcomplete.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/js/autocomplete.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/autocomplete.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/asset/jquery-colorbox/jquery.colorbox-min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
src="view/asset/jquery-colorbox/jquery.colorbox-min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/asset/jgrowl/jquery.jgrowl.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
<script type="text/javascript" src="view/asset/jgrowl/jquery.jgrowl.min.js?v={{$VERSION}}">
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
src="view/asset/jquery-datetimepicker/build/jquery.datetimepicker.full.min.js?v={{$VERSION}}">
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/asset/perfect-scrollbar/dist/js/perfect-scrollbar.jquery.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
src="view/asset/perfect-scrollbar/dist/js/perfect-scrollbar.jquery.min.js?v={{$VERSION}}">
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/asset/imagesloaded/imagesloaded.pkgd.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
src="view/asset/imagesloaded/imagesloaded.pkgd.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/asset/base64/base64.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/asset/base64/base64.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/asset/dompurify/dist/purify.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
<script type="text/javascript" src="view/asset/dompurify/dist/purify.min.js?v={{$VERSION}}">
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
const updateInterval = {{$update_interval}};
|
const updateInterval = {{$update_interval}};
|
||||||
const localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
|
const localUser = {{if $local_user}}{{$local_user}}{{else}}false{{/if}};
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript" src="view/js/main.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/main.js?v={{$VERSION}}"></script>
|
||||||
|
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/theme/frio/frameworks/bootstrap/js/bootstrap.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
src="view/theme/frio/frameworks/bootstrap/js/bootstrap.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/theme/frio/frameworks/jasny/js/jasny-bootstrap.custom.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
src="view/theme/frio/frameworks/jasny/js/jasny-bootstrap.custom.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/theme/frio/frameworks/bootstrap-select/js/bootstrap-select.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
src="view/theme/frio/frameworks/bootstrap-select/js/bootstrap-select.min.js?v={{$VERSION}}">
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/theme/frio/frameworks/ekko-lightbox/ekko-lightbox.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
src="view/theme/frio/frameworks/ekko-lightbox/ekko-lightbox.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/theme/frio/frameworks/justifiedGallery/jquery.justifiedGallery.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
src="view/theme/frio/frameworks/justifiedGallery/jquery.justifiedGallery.min.js?v={{$VERSION}}">
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/theme/frio/frameworks/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js?v={{constant('\Friendica\App::VERSION')}}">
|
src="view/theme/frio/frameworks/bootstrap-colorpicker/js/bootstrap-colorpicker.min.js?v={{$VERSION}}">
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/theme/frio/frameworks/flexMenu/flexmenu.custom.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
src="view/theme/frio/frameworks/flexMenu/flexmenu.custom.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/theme/frio/frameworks/jquery-scrollspy/jquery-scrollspy.js?v={{constant('\Friendica\App::VERSION')}}">
|
src="view/theme/frio/frameworks/jquery-scrollspy/jquery-scrollspy.js?v={{$VERSION}}">
|
||||||
</script>
|
</script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/theme/frio/frameworks/autosize/autosize.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
src="view/theme/frio/frameworks/autosize/autosize.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript"
|
<script type="text/javascript"
|
||||||
src="view/theme/frio/frameworks/sticky-kit/jquery.sticky-kit.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
src="view/theme/frio/frameworks/sticky-kit/jquery.sticky-kit.min.js?v={{$VERSION}}"></script>
|
||||||
|
|
||||||
{{* own js files *}}
|
{{* own js files *}}
|
||||||
<script type="text/javascript" src="view/theme/frio/js/theme.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/theme/frio/js/theme.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/theme/frio/js/modal.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/theme/frio/js/modal.js?v={{$VERSION}}"></script>
|
||||||
{{if ! $block_public}}
|
{{if ! $block_public}}
|
||||||
<script type="text/javascript" src="view/theme/frio/js/hovercard.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/theme/frio/js/hovercard.js?v={{$VERSION}}"></script>
|
||||||
{{/if}}
|
{{/if}}
|
||||||
<script type="text/javascript" src="view/theme/frio/js/textedit.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/theme/frio/js/textedit.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="vendor/enyo/dropzone/dist/min/dropzone.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="vendor/enyo/dropzone/dist/min/dropzone.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/js/dropzone-factory.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/dropzone-factory.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript"> const dzFactory = new DzFactory({{$max_imagesize}});</script>
|
<script type="text/javascript"> const dzFactory = new DzFactory({{$max_imagesize}});</script>
|
||||||
<script type="text/javascript" src="view/js/fancybox/jquery.fancybox.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/fancybox/jquery.fancybox.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/js/fancybox/fancybox.config.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/fancybox/fancybox.config.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="view/js/vanillaEmojiPicker/vanillaEmojiPicker.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/js/vanillaEmojiPicker/vanillaEmojiPicker.min.js?v={{$VERSION}}"></script>
|
||||||
<script>
|
<script>
|
||||||
window.onload = function(){
|
window.onload = function(){
|
||||||
new EmojiPicker({
|
new EmojiPicker({
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
|
|
||||||
<script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/view/js/linkPreview.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="{{$baseurl}}/view/js/linkPreview.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/view/theme/frio/js/jot.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="{{$baseurl}}/view/theme/frio/js/jot.js?v={{$VERSION}}"></script>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var editor = false;
|
var editor = false;
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script type="text/javascript" src="view/theme/frio/js/mod_admin.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/theme/frio/js/mod_admin.js?v={{$VERSION}}"></script>
|
||||||
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="screen"/>
|
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{$VERSION}}" type="text/css" media="screen"/>
|
||||||
|
|
||||||
<div id="admin-contactblock" class="adminpage generic-page-wrapper">
|
<div id="admin-contactblock" class="adminpage generic-page-wrapper">
|
||||||
<h1>{{$title}} - {{$page}}</h1>
|
<h1>{{$title}} - {{$page}}</h1>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script type="text/javascript" src="view/theme/frio/js/mod_admin.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/theme/frio/js/mod_admin.js?v={{$VERSION}}"></script>
|
||||||
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="screen"/>
|
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{$VERSION}}" type="text/css" media="screen"/>
|
||||||
|
|
||||||
<div id="admin-users" class="adminpage generic-page-wrapper">
|
<div id="admin-users" class="adminpage generic-page-wrapper">
|
||||||
<h1>{{$title}} - {{$page}} ({{$count}})</h1>
|
<h1>{{$title}} - {{$page}} ({{$count}})</h1>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script type="text/javascript" src="view/theme/frio/js/mod_admin.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/theme/frio/js/mod_admin.js?v={{$VERSION}}"></script>
|
||||||
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="screen"/>
|
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{$VERSION}}" type="text/css" media="screen"/>
|
||||||
|
|
||||||
<div id="admin-users-blocked" class="adminpage generic-page-wrapper">
|
<div id="admin-users-blocked" class="adminpage generic-page-wrapper">
|
||||||
<h1>{{$title}} - {{$page}} ({{$count}})</h1>
|
<h1>{{$title}} - {{$page}} ({{$count}})</h1>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script type="text/javascript" src="view/theme/frio/js/mod_admin.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/theme/frio/js/mod_admin.js?v={{$VERSION}}"></script>
|
||||||
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="screen"/>
|
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{$VERSION}}" type="text/css" media="screen"/>
|
||||||
|
|
||||||
<div id="admin-users" class="adminpage generic-page-wrapper">
|
<div id="admin-users" class="adminpage generic-page-wrapper">
|
||||||
<h1>{{$title}} - {{$page}} ({{$count}})</h1>
|
<h1>{{$title}} - {{$page}} ({{$count}})</h1>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script type="text/javascript" src="view/theme/frio/js/mod_admin.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/theme/frio/js/mod_admin.js?v={{$VERSION}}"></script>
|
||||||
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="screen"/>
|
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{$VERSION}}" type="text/css" media="screen"/>
|
||||||
|
|
||||||
<div id="admin-users" class="adminpage generic-page-wrapper">
|
<div id="admin-users" class="adminpage generic-page-wrapper">
|
||||||
<h1>{{$title}} - {{$page}} ({{$count}})</h1>
|
<h1>{{$title}} - {{$page}} ({{$count}})</h1>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script type="text/javascript" src="view/theme/frio/js/mod_admin.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/theme/frio/js/mod_admin.js?v={{$VERSION}}"></script>
|
||||||
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{constant('\Friendica\App::VERSION')}}" type="text/css" media="screen"/>
|
<link rel="stylesheet" href="view/theme/frio/css/mod_admin.css?v={{$VERSION}}" type="text/css" media="screen"/>
|
||||||
|
|
||||||
<div id="admin-users" class="adminpage generic-page-wrapper">
|
<div id="admin-users" class="adminpage generic-page-wrapper">
|
||||||
<h1>{{$title}} - {{$page}} ({{$count}})</h1>
|
<h1>{{$title}} - {{$page}} ({{$count}})</h1>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script type="text/javascript" src="../../frameworks/jquery-color/jquery.color.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="../../frameworks/jquery-color/jquery.color.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="../../js/mod_notifications.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="../../js/mod_notifications.js?v={{$VERSION}}"></script>
|
||||||
|
|
||||||
<div class="generic-page-wrapper">
|
<div class="generic-page-wrapper">
|
||||||
{{include file="section_title.tpl" title=$header}}
|
{{include file="section_title.tpl" title=$header}}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
|
|
||||||
<script type="text/javascript" src="view/theme/frio/js/mod_photos.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="view/theme/frio/js/mod_photos.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var ispublic = "{{$ispublic nofilter}}";
|
var ispublic = "{{$ispublic nofilter}}";
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
<script src="{{$baseurl}}/view/theme/frio/js/jquery.tools.min.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script src="{{$baseurl}}/view/theme/frio/js/jquery.tools.min.js?v={{$VERSION}}"></script>
|
||||||
<script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js?v={{constant('\Friendica\App::VERSION')}}"></script>
|
<script type="text/javascript" src="{{$baseurl}}/view/js/ajaxupload.js?v={{$VERSION}}"></script>
|
||||||
|
|
||||||
<div class="form-group field select">
|
<div class="form-group field select">
|
||||||
<label for="id_{{$scheme.0}}">{{$scheme.1}}</label>
|
<label for="id_{{$scheme.0}}">{{$scheme.1}}</label>
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
{{if !$update}}<script type="text/javascript" src="view/theme/frio/frameworks/jquery-color/jquery.color.js?v={{constant('\Friendica\App::VERSION')}}"></script>{{/if}}
|
{{if !$update}}<script type="text/javascript" src="view/theme/frio/frameworks/jquery-color/jquery.color.js?v={{$VERSION}}"></script>{{/if}}
|
||||||
{{if $mode == display}}<script type="text/javascript" src="view/theme/frio/js/mod_display.js?v={{constant('\Friendica\App::VERSION')}}"></script>{{/if}}
|
{{if $mode == display}}<script type="text/javascript" src="view/theme/frio/js/mod_display.js?v={{$VERSION}}"></script>{{/if}}
|
||||||
{{$live_update nofilter}}
|
{{$live_update nofilter}}
|
||||||
{{foreach $threads as $thread}}
|
{{foreach $threads as $thread}}
|
||||||
<hr class="sr-only" />
|
<hr class="sr-only" />
|
||||||
|
|
Loading…
Reference in a new issue