Eduardo Mozart de Oliveira 11 месяцев назад
Родитель
Сommit
66115e2dd9
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      inc/provider.class.php

+ 1 - 1
inc/provider.class.php

@@ -180,7 +180,7 @@ class PluginSinglesignonProvider extends CommonDBTM {
       echo "<td><input type='text' style='width:96%' name='scope' value='" . $this->getScope() . "' class='form-control'></td>";
       echo "<td><input type='text' style='width:96%' name='scope' value='" . $this->getScope() . "' class='form-control'></td>";
       echo "<td>" . __sso('Extra Options');
       echo "<td>" . __sso('Extra Options');
       echo "&nbsp;";
       echo "&nbsp;";
-      Html::showToolTip(nl2br(__sso('Allows you to specify custom parameters for the SSO provider <strong>Authorize URL</strong>. Example: <code>prompt=login</code> to force login or <code>prompt=select_account</code> to force account selection (supported URL settings may vary by provider). You can specify additional parameters with the "&" delimiter.')));
+      Html::showToolTip(nl2br(sprintf(__sso('Allows you to specify custom parameters for the SSO provider %s. Example: %s to force login or %s to force account selection (supported URL settings may vary by provider). You can specify additional parameters with the "&" delimiter.'), '<strong>' . __sso('Authorize URL') . '</strong>', '<code>prompt=login</code>', '<code>prompt=select_account</code>')));
       echo "</td>";
       echo "</td>";
       echo "<td><input type='text' style='width:96%' name='extra_options' value='" . $this->fields["extra_options"] . "' class='form-control'>";
       echo "<td><input type='text' style='width:96%' name='extra_options' value='" . $this->fields["extra_options"] . "' class='form-control'>";
       echo "</td>";
       echo "</td>";