aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorMarek Laane <bald@smail.ee>2014-10-12 10:54:11 +0300
committerMarek Laane <bald@smail.ee>2014-10-12 10:54:11 +0300
commita0b2d09125d7911656fe4cb286f20643c4432281 (patch)
tree4b825dc642cb6eb9a060e54bf8d69288fbee4904 /apps
parente32d8242187534c387106ff344201c42ff6afb44 (diff)
downloadwww-a0b2d09125d7911656fe4cb286f20643c4432281.tar
www-a0b2d09125d7911656fe4cb286f20643c4432281.tar.gz
www-a0b2d09125d7911656fe4cb286f20643c4432281.tar.bz2
www-a0b2d09125d7911656fe4cb286f20643c4432281.tar.xz
www-a0b2d09125d7911656fe4cb286f20643c4432281.zip
Updated Estonian translation
Diffstat (limited to 'apps')
-rw-r--r--apps/MGA_Downloads/MGA_Downloads_app.php29
-rw-r--r--apps/error/error_app.php47
-rw-r--r--apps/error/templates/404.tpl28
3 files changed, 0 insertions, 104 deletions
diff --git a/apps/MGA_Downloads/MGA_Downloads_app.php b/apps/MGA_Downloads/MGA_Downloads_app.php
deleted file mode 100644
index ff064518d..000000000
--- a/apps/MGA_Downloads/MGA_Downloads_app.php
+++ /dev/null
@@ -1,29 +0,0 @@
-<?php
-/**
- *
- * PHP version 5.4
- *
- * @category Mageia
- * @package Mageia\Web\www
- * @author rda <rda@mageia.org>
- * @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2+
- * @link http://www.mageia.org/
- *
-*/
-
-class MGA_Downloads extends Pinq_App
-{
- function __construct($controller, $options)
- {
- $this->_control = $controller;
- $this->_options = $options;
- }
-
- function run()
- {
- return array(
- 'headers' => array(),
- 'body' => 'test app'
- );
- }
-} \ No newline at end of file
diff --git a/apps/error/error_app.php b/apps/error/error_app.php
deleted file mode 100644
index dc1d64cb2..000000000
--- a/apps/error/error_app.php
+++ /dev/null
@@ -1,47 +0,0 @@
-<?php
-/**
- *
- * PHP version 5.4
- *
- * @category Mageia
- * @package Mageia\Web\www
- * @author rda <rda@mageia.org>
- * @license http://www.gnu.org/licenses/gpl-2.0.html GPL-2+
- * @link http://www.mageia.org/
- *
-*/
-
-class Error extends Pinq_App
-{
- public function __construct($controller, $options)
- {
- $this->_control = $controller;
- $this->_options = $options;
- }
-
- public function run()
- {
- if ($this->_options['code'] == 404) {
- return $this->_error_404();
- }
- }
-
- private function _error_404()
- {
- define('HLANG', true);
- require 'langs.php'; // needs absolute path in some form to be link depth independent
- _lang_load($locale, '404');
-
- ob_start();
- include 'templates/404.tpl';
-
- return array(
- 'headers' => array(
- 'Mageia-Test: 1',
- 'HTTP/1.0 404 Not Found',
- 'Status: 404 Not Found'
- ),
- 'body' => ob_get_clean()
- );
- }
-} \ No newline at end of file
diff --git a/apps/error/templates/404.tpl b/apps/error/templates/404.tpl
deleted file mode 100644
index bec36f06a..000000000
--- a/apps/error/templates/404.tpl
+++ /dev/null
@@ -1,28 +0,0 @@
-<!DOCTYPE html>
-<html dir="ltr" lang="<?php echo $locale; ?>">
-<head>
- <meta charset="utf-8">
- <title><?php _e('Sorry, we could not find this page.')?></title>
- <meta http-equiv="expires" content="0">
- <meta name="robots" content="noindex, nofollow">
- <meta name="author" content="Mageia">
- <link rel="stylesheet" type="text/css" href="/g/style/all.css">
- <?php include 'analytics.php'; ?>
-</head>
-<body>
- <?php echo $hsnav; ?>
- <h1 id="mgnavt"><?php _e('Sorry, we could not find this page.')?></h1>
- <div id="doc" class="yui-t7">
- <div id="bd" role="main">
- <div class="yui-g">
- <div class="para values">
- <ul class="hl"><?php
- _h('Try searching it on <a href="%s">mageia.org site map</a>,', array('/map/'), 'li');
- _h('or try to <a href="%s">search with Google</a>.', array('https://www.google.com/?q=site:mageia.org'), 'li');
- ?></ul>
- </div>
- </div>
- </div>
- </div>
-</body>
-</html>