Remove separate license page

This commit is contained in:
Dmitriy Simushev 2014-12-23 14:45:14 +00:00
parent 0c00a697ec
commit 1fae58c350
3 changed files with 0 additions and 72 deletions

View File

@ -97,10 +97,6 @@ js_translation:
defaults:
_controller: Mibew\Controller\Localization\JsTranslationController::indexAction
license:
path: /license
defaults: { _controller: Mibew\Controller\LicenseController::indexAction }
widget_gateway:
path: /widget
defaults: { _controller: Mibew\Controller\WidgetController::indexAction }

View File

@ -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,
)
);
}
}

View File

@ -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}}