]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
require once for settings actions
authorEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 17:54:16 +0000 (13:54 -0400)
committerEvan Prodromou <evan@prodromou.name>
Sat, 17 May 2008 17:54:16 +0000 (13:54 -0400)
darcs-hash:20080517175416-84dde-b83a41de70a48671e0a251c645cf67b81c54bda6.gz

actions/avatar.php
actions/password.php
actions/profilesettings.php
actions/register.php
doc/TODO

index 851ef23f4a257915a9b89ce6a2fbc68836f49066..8a4557f3827c519af870827f82bd55dadd5fb67f 100644 (file)
@@ -19,6 +19,8 @@
 
 if (!defined('LACONICA')) { exit(1); }
 
+require_once(INSTALLDIR.'/lib/settingsaction.php');
+
 class AvatarAction extends SettingsAction {
 
        function show_form($msg=NULL, $success=false) {
index c9869f1778dd2111b6f7569b333dfaa442d9bd4f..c5ab28ee973e8708b656542808f87045bb06ccd2 100644 (file)
@@ -19,6 +19,8 @@
 
 if (!defined('LACONICA')) { exit(1); }
 
+require_once(INSTALLDIR.'/lib/settingsaction.php');
+
 class PasswordAction extends SettingsAction {
        
        function show_form($msg=NULL, $success=false) {
index ae060dd9086e50f82fd3a2704a130998605be724..7779379b12018de7dba784ff63355fc8d2911a38 100644 (file)
@@ -19,6 +19,8 @@
 
 if (!defined('LACONICA')) { exit(1); }
 
+require_once(INSTALLDIR.'/lib/settingsaction.php');
+
 class ProfilesettingsAction extends SettingsAction {
        
        function show_form($msg=NULL, $success=false) {
index 2b41b6a77a7451d64105090124a5e6fd8237dc6c..a6cdbb51b9c37aec076c6a701cee4626d7d91dbe 100644 (file)
@@ -52,7 +52,7 @@ class RegisterAction extends Action {
                        $this->show_form(_t('Passwords don\'t match.'));
                } else if ($this->register_user($nickname, $password, $email)) {
                        common_set_user($nickname);
-                       common_redirect(common_local_url('settings'));
+                       common_redirect(common_local_url('profilesettings'));
                } else {
                        $this->show_form(_t('Invalid username or password.'));
                }
index c02832ca90ab1d1b0f5688180a4f487f5aba80fd..281f5b1dfd5c94ada10a20bd36c9fea8da1e0bec 100644 (file)
--- a/doc/TODO
+++ b/doc/TODO
@@ -49,6 +49,7 @@
 - site logo
 - theme per site
 - theme per profile
+- email confirmation for registration
 - release 0.2
 - content negotiation for interface language
 - content negotiation for content type