]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
start changing default theme to work with new HTML
authorEvan Prodromou <evan@prodromou.name>
Thu, 12 Jun 2008 01:58:58 +0000 (21:58 -0400)
committerEvan Prodromou <evan@prodromou.name>
Thu, 12 Jun 2008 01:58:58 +0000 (21:58 -0400)
darcs-hash:20080612015858-84dde-28a67b8a2204cd23ef2fe78ffa19ca1ded13887f.gz

actions/updateprofile.php
doc/roadmap
theme/default/display.css

index ffbcc81c88ab50c39e84cb2e631104d205ffd66c..5e6166c5e10c8cdb8d22c81f17246a370aff0208 100644 (file)
@@ -22,6 +22,17 @@ if (!defined('LACONICA')) { exit(1); }
 class UpdateprofileAction extends Action {
        function handle($args) {
                parent::handle($args);
-               common_server_error(_t('Not yet implemented.'));
+               try {
+                       $req = OAuthRequest::from_request();
+                       # Note: server-to-server function!
+                       $server = omb_oauth_server();
+                       list($consumer, $token) = $server->verify_request($req);
+                       if ($this->update_profile($req, $consumer, $token)) {
+                               print "omb_version=".OMB_VERSION_01;
+                       }
+               } catch (OAuthException $e) {
+                       common_server_error($e->getMessage());
+                       return;
+               }
        }
 }
index c89f265b91d217373ff5b3fc7418039322e833d6..a3e72583397df26eb537134a26dfab6152b72754 100644 (file)
@@ -128,9 +128,9 @@ First public release (theoretically). Added distributed subscriptions,
 - only local notices in public RSS
 + graphic refresh on all
 + graphic refresh on avatar
-- graphic refresh on doc
++ graphic refresh on doc
 + graphic refresh on login
-- graphic refresh on newnotice
++ graphic refresh on newnotice
 + graphic refresh on password
 + graphic refresh on profilesettings
 + graphic refresh on public
index 9db1cffedbd68c4be840969cd45fb2791fb08c8f..f1f1f1c9864d1cfaeba1b8373084f531403d6144 100644 (file)
@@ -259,7 +259,7 @@ a:hover img {
    on the content.  The background is then applied to #content.\r
  **************************************************************/\r
 \r
-#wrapper {\r
+#wrap {\r
   width: 589px;\r
   height: 100%;\r
   margin: 0 auto;\r