Merge pull request #124 from tobiasd/master
little typo in variable names for the admin interface
This commit is contained in:
commit
6056a6314b
1 changed files with 4 additions and 4 deletions
|
@ -367,8 +367,8 @@ function statusnet_plugin_admin_post(&$a){
|
||||||
$sites[] = Array(
|
$sites[] = Array(
|
||||||
'sitename' => $sitename,
|
'sitename' => $sitename,
|
||||||
'apiurl' => $apiurl,
|
'apiurl' => $apiurl,
|
||||||
'secret' => $secret,
|
'consumersecret' => $secret,
|
||||||
'key' => $key
|
'consumerkey' => $key
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -386,8 +386,8 @@ function statusnet_plugin_admin(&$a, &$o){
|
||||||
$sitesform[] = Array(
|
$sitesform[] = Array(
|
||||||
'sitename' => Array("sitename[$id]", "Site name", $s['sitename'], ""),
|
'sitename' => Array("sitename[$id]", "Site name", $s['sitename'], ""),
|
||||||
'apiurl' => Array("apiurl[$id]", "Api url", $s['apiurl'], ""),
|
'apiurl' => Array("apiurl[$id]", "Api url", $s['apiurl'], ""),
|
||||||
'secret' => Array("secret[$id]", "Secret", $s['secret'], ""),
|
'secret' => Array("secret[$id]", "Secret", $s['consumersecret'], ""),
|
||||||
'key' => Array("key[$id]", "Key", $s['key'], ""),
|
'key' => Array("key[$id]", "Key", $s['consumerkey'], ""),
|
||||||
'delete' => Array("delete[$id]", "Delete", False , "Check to delete this preset"),
|
'delete' => Array("delete[$id]", "Delete", False , "Check to delete this preset"),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue