/[cvs]/nfo/site/htdocs/netfraggle.php
ViewVC logotype

Diff of /nfo/site/htdocs/netfraggle.php

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.6 by joko, Tue Aug 31 16:43:35 2004 UTC revision 1.7 by joko, Fri Sep 3 22:43:47 2004 UTC
# Line 65  function nfo_get_content($params) { Line 65  function nfo_get_content($params) {
65  }  }
66    
67  function nfo_list_topics($params) {  function nfo_list_topics($params) {
68    nfo_debug_clean();    #nfo_debug_clean();
69    #nfo_debug_write($params);    #nfo_debug_write($params);
70    #nfo_debug_write("list_topics");    #nfo_debug_write("list_topics");
71    $meta = $params->getParam(0);    $meta = $params->getParam(0);
# Line 74  function nfo_list_topics($params) { Line 74  function nfo_list_topics($params) {
74    $type = $type->scalarval();    $type = $type->scalarval();
75    #nfo_debug_write("$type");    #nfo_debug_write("$type");
76    $res = cms_getindex($type);    $res = cms_getindex($type);
77    nfo_debug_write($res);    #nfo_debug_write($res);
78    $newentries = array();    $newentries = array();
79    $tmp = new XML_RPC_Value();    $tmp = new XML_RPC_Value();
80    foreach ($res as $entry) {    foreach ($res as $entry) {
# Line 106  function nfo_authenticate($params) { Line 106  function nfo_authenticate($params) {
106    $pass = $pass->scalarval();    $pass = $pass->scalarval();
107    $common_sessiondata['userdata']['name'] = $user;    $common_sessiondata['userdata']['name'] = $user;
108    $common_sessiondata['userdata']['password'] = $pass;    $common_sessiondata['userdata']['password'] = $pass;
109    nfo_debug_write($common_sessiondata);    #nfo_debug_write($common_sessiondata);
110    $retval = common_checkauthorisation();    $retval = common_checkauthorisation();
111    return new XML_RPC_Response(new XML_RPC_Value($retval, 'boolean'));    return new XML_RPC_Response(new XML_RPC_Value($retval, 'boolean'));
112  }  }

Legend:
Removed from v.1.6  
changed lines
  Added in v.1.7

MailToCvsAdmin">MailToCvsAdmin
ViewVC Help
Powered by ViewVC 1.1.26 RSS 2.0 feed