Merge pull request #9674 from MrPetovan/bug/9673-general-information
Add general information header translation to admin site template
This commit is contained in:
commit
13c7224789
|
@ -594,6 +594,7 @@ class Site extends BaseAdmin
|
||||||
return Renderer::replaceMacros($t, [
|
return Renderer::replaceMacros($t, [
|
||||||
'$title' => DI::l10n()->t('Administration'),
|
'$title' => DI::l10n()->t('Administration'),
|
||||||
'$page' => DI::l10n()->t('Site'),
|
'$page' => DI::l10n()->t('Site'),
|
||||||
|
'$general_info' => DI::l10n()->t('General Information'),
|
||||||
'$submit' => DI::l10n()->t('Save Settings'),
|
'$submit' => DI::l10n()->t('Save Settings'),
|
||||||
'$republish' => DI::l10n()->t('Republish users to directory'),
|
'$republish' => DI::l10n()->t('Republish users to directory'),
|
||||||
'$registration' => DI::l10n()->t('Registration'),
|
'$registration' => DI::l10n()->t('Registration'),
|
||||||
|
|
15883
view/lang/C/messages.po
15883
view/lang/C/messages.po
File diff suppressed because it is too large
Load Diff
|
@ -12,6 +12,7 @@
|
||||||
<form action="{{$baseurl}}/admin/site" method="post">
|
<form action="{{$baseurl}}/admin/site" method="post">
|
||||||
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
<input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
|
||||||
|
|
||||||
|
<h2>{{$general_info}}</h2>
|
||||||
{{include file="field_input.tpl" field=$sitename}}
|
{{include file="field_input.tpl" field=$sitename}}
|
||||||
{{include file="field_input.tpl" field=$sender_email}}
|
{{include file="field_input.tpl" field=$sender_email}}
|
||||||
{{include file="field_input.tpl" field=$system_actor_name}}
|
{{include file="field_input.tpl" field=$system_actor_name}}
|
||||||
|
|
|
@ -25,15 +25,12 @@
|
||||||
<form action="{{$baseurl}}/admin/site" method="post">
|
<form action="{{$baseurl}}/admin/site" method="post">
|
||||||
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
<input type="hidden" name="form_security_token" value="{{$form_security_token}}">
|
||||||
<input type="hidden" name="active_panel" value="">
|
<input type="hidden" name="active_panel" value="">
|
||||||
<!--
|
{{* General Information *}}
|
||||||
/*
|
|
||||||
* General Information
|
|
||||||
*/ -->
|
|
||||||
<div class="panel">
|
<div class="panel">
|
||||||
<div class="section-subtitle-wrapper panel-heading" role="tab" id="admin-settings-general">
|
<div class="section-subtitle-wrapper panel-heading" role="tab" id="admin-settings-general">
|
||||||
<h2>
|
<h2>
|
||||||
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-general-collapse" aria-expanded="false" aria-controls="admin-settings-general-collapse">
|
<a class="accordion-toggle collapsed" data-toggle="collapse" data-parent="#admin-settings" href="#admin-settings-general-collapse" aria-expanded="false" aria-controls="admin-settings-general-collapse">
|
||||||
General Information
|
{{$general_info}}
|
||||||
</a>
|
</a>
|
||||||
</h2>
|
</h2>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user