]> gitweb.fluxo.info Git - lorea/elgg.git/commitdiff
Pulling in MORE changes that weren't in the patch. Apparently I fail at patching.
authorbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 3 Mar 2010 22:40:32 +0000 (22:40 +0000)
committerbrettp <brettp@36083f99-b078-4883-b0ff-0f9b5a30f544>
Wed, 3 Mar 2010 22:40:32 +0000 (22:40 +0000)
git-svn-id: http://code.elgg.org/elgg/trunk@5265 36083f99-b078-4883-b0ff-0f9b5a30f544

index.php
languages/en.php
settings/plugins.php
settings/statistics.php
settings/user.php

index 0fa5526d7f101cd82388498debda73943430eb1c..f289fe20bc793b48155775845d4cfb26b7e5e21b 100644 (file)
--- a/index.php
+++ b/index.php
 /**
  * Start the Elgg engine
  */
-define('externalpage',true);
+define('externalpage', TRUE);
 require_once(dirname(__FILE__) . "/engine/start.php");
 
 if (!trigger_plugin_hook('index', 'system', null, FALSE)) {
-       /**
-        * Check to see if user is logged in, if not display login form
-        **/
-
        if (isloggedin()) {
                forward('pg/dashboard/');
        }
 
-       //Load the front page
-       global $CONFIG;
-       $title = elgg_view_title(elgg_echo('content:latest'));
-       set_context('search');
-       $content = elgg_list_registered_entities(array('limit' => 10, 'full_view' => FALSE, 'allowed_types' => array('object','group')));
-       set_context('main');
+       /*
+       River dashboard should respond to the index:system plugin hook instead of
+       being hard-coded here.
+       if(is_plugin_enabled('riverdashboard')){
+               $title = elgg_view_title(elgg_echo('content:latest'));
+               set_context('search');
+               $content = elgg_list_registered_entities(array('limit' => 10, 'full_view' => FALSE, 'allowed_types' => array('object','group')));
+               set_context('main');
+       }
+       */
+       
        global $autofeed;
        $autofeed = FALSE;
-       $content = elgg_view_layout('two_column_left_sidebar', '', $title . $content, elgg_view("account/forms/login"));
+       $content = elgg_view_layout('one_column_with_sidebar', elgg_view('account/forms/login'), $title . $content);
        page_draw(null, $content);
 }
index 04910b927c419667d5ee33ea2b0b60801647407e..1e2984b0de14287fe5428b088a321f72822126e4 100644 (file)
@@ -1,8 +1,8 @@
 <?php
 /**
- * Activity viewer
+ * Core English Lange
  *
- * @package Elgg
+ * @package ElggLanguage
  * @subpackage Core
  * @author Curverider Ltd
  * @link http://elgg.org/
@@ -259,7 +259,7 @@ To remove a widget drag it back to the <b>Widget gallery</b>.",
  * Friends
  */
 
-       'friends' => "Friends",
+       'friends' => "My Friends",
        'friends:yours' => "Your friends",
        'friends:owned' => "%s's friends",
        'friend:add' => "Add friend",
@@ -384,8 +384,8 @@ To remove a widget drag it back to the <b>Widget gallery</b>.",
 
        'account' => "Account",
        'settings' => "Settings",
-       'tools' => "Tools",
-       'tools:yours' => "Your tools",
+       'tools' => "My stuff",
+       'tools:yours' => "My tools",
 
        'register' => "Register",
        'registerok' => "You have successfully registered for %s.",
@@ -411,7 +411,7 @@ To remove a widget drag it back to the <b>Widget gallery</b>.",
        'item:object:reported_content' => "Reported items",
 
        'user:set:name' => "Account name settings",
-       'user:name:label' => "Your name",
+       'user:name:label' => "My display name",
        'user:name:success' => "Successfully changed your name on the system.",
        'user:name:fail' => "Could not change your name on the system.  Please make sure your name isn't too long and try again.",
 
index 219302ebce6f5a7be093d47b56f42d36517ff8e5..d26f626f7ec83f0f7857d0189cfcd98bb594aa56 100644 (file)
@@ -20,4 +20,4 @@ if ((!page_owner_entity()) || (!page_owner_entity()->canEdit())) {
 }
 
 // Display main admin menu
-page_draw(elgg_echo("usersettings:plugins"),elgg_view_layout('two_column_left_sidebar','',elgg_view_title(elgg_echo("usersettings:plugins")) . elgg_view("usersettings/plugins", array('installed_plugins' => get_installed_plugins()))));
+page_draw(elgg_echo("usersettings:plugins"),elgg_view_layout('one_column_with_sidebar', '', elgg_view_title(elgg_echo("usersettings:plugins")) . elgg_view("usersettings/plugins", array('installed_plugins' => get_installed_plugins()))));
index f0bbcfe6361f18dc07de91851530422a3a36f18b..48bf46a043ded5d4fc18d05dab75a30a06f63153 100644 (file)
@@ -20,4 +20,4 @@ if ((!page_owner_entity()) || (!page_owner_entity()->canEdit())) {
 }
 
 // Display main admin menu
-page_draw(elgg_echo("usersettings:statistics"),elgg_view_layout('two_column_left_sidebar','',elgg_view_title(elgg_echo("usersettings:statistics")) . elgg_view("usersettings/statistics")));
\ No newline at end of file
+page_draw(elgg_echo("usersettings:statistics"),elgg_view_layout('one_column_with_sidebar','',elgg_view_title(elgg_echo("usersettings:statistics")) . elgg_view("usersettings/statistics")));
\ No newline at end of file
index ae9dd5061ce4aef05edc5dbf2b80dded99ba8ac4..8bfdc87fa792dcbffced123ec5512347f9069498 100644 (file)
@@ -22,5 +22,5 @@ if ((!page_owner_entity()) || (!page_owner_entity()->canEdit())) {
 // Display main admin menu
 page_draw(
        elgg_echo("usersettings:user"),
-       elgg_view_layout("two_column_left_sidebar", '', elgg_view_title(elgg_echo('usersettings:user')) . elgg_view("usersettings/form"))
+       elgg_view_layout("one_column_with_sidebar", '', elgg_view_title(elgg_echo('usersettings:user')) . elgg_view("usersettings/form"))
 );
\ No newline at end of file