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

Commit

Permalink
Just watched "The Social Network". Renamed "Wall" to "Page".
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelchisari authored and The Appleseed Project committed Oct 2, 2010
1 parent 7b70109 commit 672ab5e
Show file tree
Hide file tree
Showing 5 changed files with 8 additions and 8 deletions.
File renamed without changes.
10 changes: 5 additions & 5 deletions components/wall/wall.php → components/page/page.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,14 @@
// Restrict direct access
defined( 'APPLESEED' ) or die( 'Direct Access Denied' );

/** Wall Component
/** Page Component
*
* Wall Component Entry Class
* Page Component Entry Class
*
* @package Appleseed.Components
* @subpackage Wall
* @subpackage Page
*/
class cWall extends cComponent {
class cPage extends cComponent {

/**
* Constructor
Expand All @@ -33,7 +33,7 @@ public function AddToProfileTabs ( $pData = null ) {

$return = array ();

$return[] = array ( 'id' => 'wall', 'title' => 'Wall Tab', 'link' => '/wall/' );
$return[] = array ( 'id' => 'page', 'title' => 'Page Tab', 'link' => '/page/' );

return ( $return );
}
Expand Down
2 changes: 1 addition & 1 deletion components/profile/languages/en-US/profile.lang
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[tabs]
NEWS_TAB="News"
FRIENDS_TAB="Friends"
WALL_TAB="Wall"
PAGE_TAB="Page"
INFO_TAB="Info"
JOURNAL_TAB="Journal"
PHOTOS_TAB="Photos"
Expand Down
2 changes: 1 addition & 1 deletion components/profile/profile.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
enabled="true"

default_tab="info"
tabs_ordering="newsfeed mail options wall info friends journal photos events groups"
tabs_ordering="newsfeed mail options page info friends journal photos events groups"

maximum_tabs=10
2 changes: 1 addition & 1 deletion foundations/default/default.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ enabled="true"
; clear=routes debug

; Routes
;routes[profile/]="profile/wall.php"
;routes[profile/]="profile/page.php"
;routes[profile/(.*)/messages]="profile/messages.php"

routes[login/]="login/login.php"
Expand Down

0 comments on commit 672ab5e

Please sign in to comment.