MDL-30170 MNet peers administration - various usability improvements
commite0eb0af048c729813f0c2f5b0e1854b482223a3b
authorDavid Mudrak <david@moodle.com>
Thu, 15 Dec 2011 20:26:45 +0000 (15 21:26 +0100)
committerDavid Mudrak <david@moodle.com>
Thu, 15 Dec 2011 20:48:20 +0000 (15 21:48 +0100)
treea8a7d28d197db44d977b1f5a6f1369492076e9d4
parent9e710a2c8750d1434252b0d8f02d267b5737dd8e
MDL-30170 MNet peers administration - various usability improvements

While fixing MDL-30170, the following tiny usability details were
improved along the way:

* the maximum length of the peer site title and the hostname is now
  validated (this was actually a real bug as the default value is pre-loaded
  from the peer) so the admin gets a nice validation error instead of
  the database write exception when trying to register a host with a
  longer site title.
* hard-coded English string 'All Hosts' is now localized
* the hostname link in the list of MNet peers leads to the peer itself
admin/mnet/peer_forms.php
admin/mnet/peers.php
admin/settings/mnet.php
lang/en/mnet.php