Skip to content
This repository has been archived by the owner on Jan 20, 2024. It is now read-only.

Commit

Permalink
Removed articles foundation and added search foundation
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchisari authored and The Appleseed Project committed Dec 28, 2010
1 parent 0b32b9a commit e2b725c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 13 deletions.
13 changes: 3 additions & 10 deletions foundations/default/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -70,16 +70,6 @@ routes[join/(.*)]="login/login.php?Invite=$1"
[frontpage]
routes[/]="frontpage/frontpage.php"

[articles]
routes[/articles/]="articles/articles.php"
routes[/articles/(\d+)]="articles/articles.php?Page=$1"
routes[/articles/submit/]="articles/articles.php"
routes[/articles/queue/]="articles/queue.php"
routes[/articles/queue/(\d+)]="articles/queue.php?Page=$1"
routes[/articles/edit/(\d+)]="articles/queue.php?Article=$1"

routes[/article/(.*)]="articles/articles.php?Article=$1"

[page]
routes[profile/(.*)/page]="profile/page.php?Username=$1"
routes[profile/(.*)/page/(.*)]="profile/page.php?Username=$1&Identifier=$2"
Expand Down Expand Up @@ -180,6 +170,9 @@ routes[/api/(.*)/(.*)]="/system/interface.php?Component=$1&Method=$2"
routes[/api/(.*)]="/system/interface.php?Component=$1"
routes[/api]="/system/interface.php"

[search]
routes[/search/(.*)]="/search/search.php"

[pages]
;Pages route should be last, to catch anything that wasn't already caught.
;routes[(.*)]="/pages/pages.php"
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<meta charset="utf-8" />

<!-- Title -->
<title><?php echo __("Frontpage | Appleseed"); ?></title>
<title><?php echo __("Search | Appleseed"); ?></title>

<!-- Links -->
<?php $zApp->Theme->UseStyles (); ?>
Expand Down Expand Up @@ -60,9 +60,9 @@

<div id="appleseed-frontpage-main" class="grid_16">
<div id="appleseed-frontpage-info" class="grid_4 alpha">
<?php $zApp->Components->Go ( "login", "login", "login" ); ?>
<?php $zApp->Components->Go ( "login", "login", "login", array ( 'noredirect' => true ) ); ?>

<?php $zApp->Components->Go ( "login", "login", "remote" ); ?>
<?php $zApp->Components->Go ( "login", "login", "remote", array ( 'noredirect' => true ) ); ?>

<?php $zApp->Components->Go ( "appleseed", "appleseed", "donate" ); ?>

Expand Down

0 comments on commit e2b725c

Please sign in to comment.