SN: add the hint about the / to the admin panel config screen

pull/130/head
Tobias Diekershoff 2013-06-14 20:08:10 +02:00
parent e3fd76f1db
commit bd0468303b
1 changed files with 2 additions and 2 deletions

View File

@ -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"), "", ""),