Merge pull request #130 from tobiasd/statusnet
SN: add the hint about the / to the admin panel config screen
This commit is contained in:
commit
60219ede31
|
@ -758,7 +758,7 @@ function statusnet_plugin_admin(&$a, &$o){
|
||||||
foreach($sites as $id=>$s){
|
foreach($sites as $id=>$s){
|
||||||
$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'], t("Base API Path \x28remember the trailing /\x29") ),
|
||||||
'secret' => Array("secret[$id]", "Secret", $s['consumersecret'], ""),
|
'secret' => Array("secret[$id]", "Secret", $s['consumersecret'], ""),
|
||||||
'key' => Array("key[$id]", "Key", $s['consumerkey'], ""),
|
'key' => Array("key[$id]", "Key", $s['consumerkey'], ""),
|
||||||
'applicationname' => Array("applicationname[$id]", "Application name", $s['applicationname'], ""),
|
'applicationname' => Array("applicationname[$id]", "Application name", $s['applicationname'], ""),
|
||||||
|
@ -770,7 +770,7 @@ function statusnet_plugin_admin(&$a, &$o){
|
||||||
$id++;
|
$id++;
|
||||||
$sitesform[] = Array(
|
$sitesform[] = Array(
|
||||||
'sitename' => Array("sitename[$id]", t("Site name"), "", ""),
|
'sitename' => Array("sitename[$id]", t("Site name"), "", ""),
|
||||||
'apiurl' => Array("apiurl[$id]", t("API URL"), "", ""),
|
'apiurl' => Array("apiurl[$id]", "Api url", $s['apiurl'], t("Base API Path \x28remember the trailing /\x29") ),
|
||||||
'secret' => Array("secret[$id]", t("Consumer Secret"), "", ""),
|
'secret' => Array("secret[$id]", t("Consumer Secret"), "", ""),
|
||||||
'key' => Array("key[$id]", t("Consumer Key"), "", ""),
|
'key' => Array("key[$id]", t("Consumer Key"), "", ""),
|
||||||
'applicationname' => Array("applicationname[$id]", t("Application name"), "", ""),
|
'applicationname' => Array("applicationname[$id]", t("Application name"), "", ""),
|
||||||
|
|
Loading…
Reference in a new issue