Changeset 4

Show
Ignore:
Timestamp:
11/30/05 17:30:11 (3 years ago)
Author:
sven
Message:

importing elgg-0.1.1b

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/CHANGELOG

    r2 r4  
    11Elgg changelog 
     2 
     30.1.1b (2nd April 2005) 
     4----------------------- 
     5Fixed some template and password issues 
    26 
    370.1.1a (30th March 2005) 
  • devel/README

    r2 r4  
    1 Elgg (The Learning Landscape) version 0.1 alpha 
     1Elgg (The Learning Landscape) version 0.1.1b 
    22Copyright (C) 2004-2005 David Tosh and Ben Werdmuller 
    33 
     
    2323Copyright (C) 2004-2005 David Tosh and Ben Werdmuller 
    2424 
    25 Elgg 0.1 alpha is released under the GNU Public License (GPL), which 
     25Elgg 0.1.1b is released under the GNU Public License (GPL), which 
    2626is supplied in this distribution as LICENSE. 
    2727 
  • devel/includes.php

    r2 r4  
    1010                        define("url", ""); 
    1111                // Physical path to the files (eg /home/elggserver/httpdocs/) 
     12                // NB: **MUST** have a final slash at the end 
    1213                        define("path", ""); 
    1314                // Email address of the master admin (eg elgg-admin@bogton.edu) 
     
    1617        // Database config: 
    1718         
    18                 // Database server 
     19                // Database server (eg localhost) 
    1920                        define("db_server", ""); 
    2021                // Database username 
     
    5455         
    5556                run("init"); 
    56          
     57                
    5758?> 
  • devel/index.php

    r2 r4  
    44         
    55        echo run("templates:draw:page", array( 
    6                                         "ELGG"
     6                                        sitename
    77                                        run("templates:draw", array( 
    88                                                                                                        'contents' => run("content:mainindex"), 
  • devel/units/invite/invite_actions.php

    r2 r4  
    103103                                                                                                                                        } else { 
    104104                                                                                                                                                $name = addslashes($_REQUEST['join_name']); 
    105                                                                                                                                                 $password = addslashes(md5($_REQUEST['join_password'])); 
     105                                                                                                                                                $password = addslashes(md5($_REQUEST['join_password1'])); 
    106106                                                                                                                                                $details = $details[0]; 
    107107                                                                                                                                                $email = $details->email; 
  • devel/units/templates/default_template.php

    r2 r4  
    3030<table width="100%"  border="0" cellspacing="0" cellpadding="0" class="header"> 
    3131  <tr> 
    32         <td width="4%"><img src="/_templates/default/graphics/leaf.jpg" border="0"></td><td><a href="{{url}}" >{{title}}</a></td><td width="4%">&nbsp;</td> 
     32        <td width="4%"><img src="/_templates/default/graphics/leaf.jpg" width="71" height="50" alt="" border="0"></td><td><a href="{{url}}" >{{title}}</a></td><td width="4%">&nbsp;</td> 
    3333  </tr> 
    3434</table> 
     
    5555  <tr> 
    5656    <td colspan="5" align="center" valign="middle"> 
    57       Copyright &copy; 2004&nbsp;&nbsp; 
    58       <a href="/content/faq.php">FAQ</a>&nbsp;&nbsp;<a href="/content/privacy.php">Privacy Policy</a>&nbsp;&nbsp;<p>Powered by <a href="http://apcala.com">Apcala</a></p> 
     57        <p><a href="http://elgg.net/development/index.php"><img src="/_templates/default/graphics/elgg.powered.png" width="80" height="15" alt="Powered by Elgg" border="0" /></a></p> 
     58        <p> 
     59                Copyright &copy; 2004<br /> 
     60                <a href="/content/faq.php">FAQ</a> | <a href="/content/privacy.php">Privacy Policy</a> 
     61        </p> 
    5962</td> 
    6063  </tr> 
  • devel/units/templates/variables_substitute.php

    r2 r4  
    3131                                                                                $run_result = "<style><!--\n"; 
    3232                                                                                $run_result .= run("templates:draw",array( 
    33                                                                                                                                                                 'template' => $template_id
     33                                                                                                                                                                'template' => $_SESSION['template_id']
    3434                                                                                                                                                                'context' => 'css' 
    3535                                                                                                                                                                ) 
  • devel/units/users/function_log_on.php

    r2 r4  
    3838                        } else { 
    3939                                 
    40                                 $messages[] = "Unrecognised username or password. The system could not log you on, or you may not have activated your account."; 
     40                                $messages[] = "Unrecognised username or password. Username: $username, Password: $password. The system could not log you on, or you may not have activated your account."; 
    4141                                 
    4242                        } 
  • devel/units/users/userdetails_actions.php

    r2 r4  
    4646                                                                                                                        } else { 
    4747                                                                                                                                $messages[] = "Your password was updated."; 
    48                                                                                                                                 db_query("update users set password = '$password1' where ident = " . $_SESSION['userid']); 
     48                                                                                                                                db_query("update users set password = '".md5($password1)."' where ident = " . $_SESSION['userid']); 
    4949                                                                                                                        } 
    5050                                                                                                                } else {