mirror of
https://github.com/Mibew/mibew.git
synced 2025-02-07 16:24:43 +03:00
Remove separate license page
This commit is contained in:
parent
0c00a697ec
commit
1fae58c350
@ -97,10 +97,6 @@ js_translation:
|
|||||||
defaults:
|
defaults:
|
||||||
_controller: Mibew\Controller\Localization\JsTranslationController::indexAction
|
_controller: Mibew\Controller\Localization\JsTranslationController::indexAction
|
||||||
|
|
||||||
license:
|
|
||||||
path: /license
|
|
||||||
defaults: { _controller: Mibew\Controller\LicenseController::indexAction }
|
|
||||||
|
|
||||||
widget_gateway:
|
widget_gateway:
|
||||||
path: /widget
|
path: /widget
|
||||||
defaults: { _controller: Mibew\Controller\WidgetController::indexAction }
|
defaults: { _controller: Mibew\Controller\WidgetController::indexAction }
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
<?php
|
|
||||||
/*
|
|
||||||
* This file is a part of Mibew Messenger.
|
|
||||||
*
|
|
||||||
* Copyright 2005-2014 the original author or authors.
|
|
||||||
*
|
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
||||||
* you may not use this file except in compliance with the License.
|
|
||||||
* You may obtain a copy of the License at
|
|
||||||
*
|
|
||||||
* http://www.apache.org/licenses/LICENSE-2.0
|
|
||||||
*
|
|
||||||
* Unless required by applicable law or agreed to in writing, software
|
|
||||||
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
* See the License for the specific language governing permissions and
|
|
||||||
* limitations under the License.
|
|
||||||
*/
|
|
||||||
|
|
||||||
namespace Mibew\Controller;
|
|
||||||
|
|
||||||
use Symfony\Component\HttpFoundation\Request;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Serve license info page
|
|
||||||
*/
|
|
||||||
class LicenseController extends AbstractController
|
|
||||||
{
|
|
||||||
/**
|
|
||||||
* Generates a page with license info.
|
|
||||||
*
|
|
||||||
* @param Request $request
|
|
||||||
* @return string Rendered page content
|
|
||||||
*/
|
|
||||||
public function indexAction(Request $request)
|
|
||||||
{
|
|
||||||
return $this->render(
|
|
||||||
'license',
|
|
||||||
array(
|
|
||||||
'title' => getlocal("License"),
|
|
||||||
'no_right_menu' => true,
|
|
||||||
'fixedwrap' => true,
|
|
||||||
'show_small_login' => true,
|
|
||||||
)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
}
|
|
@ -1,21 +0,0 @@
|
|||||||
{{#extends "_layout"}}
|
|
||||||
{{#override "content"}}
|
|
||||||
<p>Copyright 2005-2014 the original author or authors.</p>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<p>Licensed under the <b>Apache License, Version 2.0</b> (the "License").</p>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<p>You may obtain a copy of the License at <a href="http://www.apache.org/licenses/LICENSE-2.0">http://www.apache.org/licenses/LICENSE-2.0</a></p>
|
|
||||||
|
|
||||||
<br/>
|
|
||||||
|
|
||||||
<p>Unless required by applicable law or agreed to in writing, software
|
|
||||||
distributed under the License is distributed on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
||||||
See the License for the specific language governing permissions and
|
|
||||||
limitations under the License.</p>
|
|
||||||
{{/override}}
|
|
||||||
{{/extends}}
|
|
Loading…
Reference in New Issue
Block a user