Skip to content

Commit

Permalink
Remove search page
Browse files Browse the repository at this point in the history
The Google CSE was disabled quite some time ago...

Signed-off-by: Michal Čihař <michal@cihar.com>
  • Loading branch information
nijel committed Jul 26, 2016
1 parent 883a675 commit 92720e9
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 39 deletions.
1 change: 0 additions & 1 deletion pmaweb/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ <h1><a href="{% url 'home' %}" rel="home"><span id="logo">phpMyAdmin</span></a>
<li>Copyright &copy; 2003 - {{ current_year }} <span class="vcard"><a class="url org fn" href="{% url 'team' %}">phpMyAdmin contributors</a><a href="mailto:developers@phpmyadmin.net" class="email"></a></span></li>
<li><a href="{% url 'license' %}" rel="license">License</a></li>
<li><a href="{% url 'donate' %}" rel="payment" title="Support phpMyAdmin by donating money!">Donate</a></li>
<li><a href="{% url 'search' %}" title="Search for phpMyAdmin related questions">Search</a></li>
<li><a href="{% url 'about-website' %}" title="Information about website">About</a></li>
<li class="logo"><a href="https://google.com/+phpmyadmin"><i class="fa fa-google-plus-square"></i></a></li>
<li class="logo"><a href="https://twitter.com/phpmya"><i class="fa fa-twitter-square"></i></a></li>
Expand Down
29 changes: 0 additions & 29 deletions pmaweb/templates/search.html

This file was deleted.

15 changes: 7 additions & 8 deletions pmaweb/urls.py
Original file line number Diff line number Diff line change
Expand Up @@ -221,14 +221,6 @@
),
name='donate'
),
url(
r'^search/$',
PMAView.as_view(
template_name='search.html',
title='Search',
),
name='search'
),
url(
r'^about-website/$',
PMAView.as_view(
Expand Down Expand Up @@ -471,6 +463,13 @@
permanent=True,
)
),
url(
r'^search/$',
RedirectView.as_view(
pattern_name='home',
permanent=True,
)
),
url(
r'^home_page/sitemap\.xml$',
RedirectView.as_view(
Expand Down
2 changes: 1 addition & 1 deletion pmaweb/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@
'stats': 'team',
'sitemap': 'home',
'gophp5': 'home',
'search': 'home',

# Alive pages
'15-years': '15-years',
Expand All @@ -52,7 +53,6 @@
'index': 'home',
'license': 'license',
'news': 'news',
'search': 'search',
'sponsors': 'sponsors',
'support': 'support',
'team': 'team',
Expand Down

0 comments on commit 92720e9

Please sign in to comment.