Changeset 4
- Timestamp:
- 11/30/05 17:30:11 (3 years ago)
- Files:
-
- devel/CHANGELOG (modified) (1 diff)
- devel/README (modified) (2 diffs)
- devel/_templates/default/graphics/elgg.powered.png (added)
- devel/_templates/default/graphics/leaf.jpg (added)
- devel/includes.php (modified) (3 diffs)
- devel/index.php (modified) (1 diff)
- devel/info.php (added)
- devel/thisisatest.php (added)
- devel/units/invite/invite_actions.php (modified) (1 diff)
- devel/units/templates/default_template.php (modified) (2 diffs)
- devel/units/templates/variables_substitute.php (modified) (1 diff)
- devel/units/users/function_log_on.php (modified) (1 diff)
- devel/units/users/userdetails_actions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
devel/CHANGELOG
r2 r4 1 1 Elgg changelog 2 3 0.1.1b (2nd April 2005) 4 ----------------------- 5 Fixed some template and password issues 2 6 3 7 0.1.1a (30th March 2005) devel/README
r2 r4 1 Elgg (The Learning Landscape) version 0.1 alpha1 Elgg (The Learning Landscape) version 0.1.1b 2 2 Copyright (C) 2004-2005 David Tosh and Ben Werdmuller 3 3 … … 23 23 Copyright (C) 2004-2005 David Tosh and Ben Werdmuller 24 24 25 Elgg 0.1 alphais released under the GNU Public License (GPL), which25 Elgg 0.1.1b is released under the GNU Public License (GPL), which 26 26 is supplied in this distribution as LICENSE. 27 27 devel/includes.php
r2 r4 10 10 define("url", ""); 11 11 // Physical path to the files (eg /home/elggserver/httpdocs/) 12 // NB: **MUST** have a final slash at the end 12 13 define("path", ""); 13 14 // Email address of the master admin (eg elgg-admin@bogton.edu) … … 16 17 // Database config: 17 18 18 // Database server 19 // Database server (eg localhost) 19 20 define("db_server", ""); 20 21 // Database username … … 54 55 55 56 run("init"); 56 57 57 58 ?> devel/index.php
r2 r4 4 4 5 5 echo run("templates:draw:page", array( 6 "ELGG",6 sitename, 7 7 run("templates:draw", array( 8 8 'contents' => run("content:mainindex"), devel/units/invite/invite_actions.php
r2 r4 103 103 } else { 104 104 $name = addslashes($_REQUEST['join_name']); 105 $password = addslashes(md5($_REQUEST['join_password ']));105 $password = addslashes(md5($_REQUEST['join_password1'])); 106 106 $details = $details[0]; 107 107 $email = $details->email; devel/units/templates/default_template.php
r2 r4 30 30 <table width="100%" border="0" cellspacing="0" cellpadding="0" class="header"> 31 31 <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%"> </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%"> </td> 33 33 </tr> 34 34 </table> … … 55 55 <tr> 56 56 <td colspan="5" align="center" valign="middle"> 57 Copyright © 2004 58 <a href="/content/faq.php">FAQ</a> <a href="/content/privacy.php">Privacy Policy</a> <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 © 2004<br /> 60 <a href="/content/faq.php">FAQ</a> | <a href="/content/privacy.php">Privacy Policy</a> 61 </p> 59 62 </td> 60 63 </tr> devel/units/templates/variables_substitute.php
r2 r4 31 31 $run_result = "<style><!--\n"; 32 32 $run_result .= run("templates:draw",array( 33 'template' => $ template_id,33 'template' => $_SESSION['template_id'], 34 34 'context' => 'css' 35 35 ) devel/units/users/function_log_on.php
r2 r4 38 38 } else { 39 39 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."; 41 41 42 42 } devel/units/users/userdetails_actions.php
r2 r4 46 46 } else { 47 47 $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']); 49 49 } 50 50 } else {
