echo $breakstring;
?>
<input type="hidden" name="exists[<?php echo $version['serviceid']; ?>]" value="1" />
-<?php if ($name == 'pf') { // see MDL-16269 ?>
- <input type="hidden" name="publish[<?php echo $version['serviceid']; ?>]" value="0" />
-<?php } else { ?>
<input type="checkbox" name="publish[<?php echo $version['serviceid']; ?>]" <?php echo (!empty($version['I_publish']))? 'checked="checked" ': '' ; ?>/>
<?php
print_string('publish','mnet');
print_string("enabled_for_all",'mnet',!empty($version['I_publish']));
}
echo '<br />';
-} ?>
+?>
<input type="checkbox" name="subscribe[<?php echo $version['serviceid']; ?>]" <?php echo (!empty($version['I_subscribe']))? 'checked="checked" ': '' ; ?>/>
<?php
print_string('subscribe','mnet');
<?php
-$string['err_nomnethosts'] = 'This plugin relies on Moodle Networking peers with SSO IDP published, and portfolio and SSO SP subscribed, as well as the mnet authentication plugin. Any instances of this plugin has been set to not visible until this is fixed - you will need to set them to visible again manually. They cannot be used before this happens.';
+$string['err_nomnethosts'] = 'This plugin relies on Moodle Networking peers with SSO IDP published, SSO SP subscribed, Portfolio services published <b>and</b> subscribed as well as the mnet authentication plugin. Any instances of this plugin has been set to not visible until this is fixed - you will need to set them to visible again manually. They cannot be used before this happens.';
$string['err_networkingoff'] = 'Moodle Networking is off entirely. Please enable it before trying to configure this pugin. Any instances of this plugin have been set to not visible until this is fixed - you will need to set them to visible again manully. They cannot be used until this happens';
-$string['err_invalidhost'] = 'This plugin is misconfigured to point to an invalid (or deleted) mnet host. This plugin relies on Moodle Networking peers with SSO IDP published, and portfolio and SSO_SP subscribed.';
+$string['err_invalidhost'] = 'This plugin is misconfigured to point to an invalid (or deleted) mnet host. This plugin relies on Moodle Networking peers with SSO IDP published, SSO_SP subscribed, and portfolio subscribed <b>and</b> published.';
$string['err_nomnetauth'] = 'The mnet authentication plugin is disabled, but is required for this service';
$string['failedtojump'] = 'Failed to start communication with remote server';
$string['failedtoping'] = 'Failed to start communication with remote server: $a';
$string['url'] = 'URL';
$string['pf_name'] = 'Portfolio services';
$string['pf_description'] = 'Allow users to push Moodle content to this host<br />'.
- 'Subscribe to this service to allow authenticated users in your site to push content to $a<br />' .
+ 'Subscribe to <b>and</b> publish this service to allow authenticated users in your site to push content to $a<br />' .
'<ul><li><em>Dependency</em>: You must also <strong>publish</strong> the SSO (Identify Provider) service to $a.</li>' .
'<li><em>Dependency</em>: You must also <strong>subscribe</strong> to the SSO (Service Provider) service on $a</li>' .
'<li><em>Dependency</em>: You must also enable the mnet authentication plugin.</li></ul><br />';
a.name = ? AND
s1.name = ? AND hs1.publish = ? AND
s2.name = ? AND hs2.subscribe = ? AND
- s3.name = ? AND hs3.subscribe = ?',
- array($CFG->mnet_localhost_id, 'mahara', 'sso_idp', 1, 'sso_sp', 1, 'pf', 1));;
+ s3.name = ? AND hs3.subscribe = ? AND
+ s3.name = ? AND hs3.publish = ?',
+ array($CFG->mnet_localhost_id, 'mahara', 'sso_idp', 1, 'sso_sp', 1, 'pf', 1, 'pf', 1));
if (empty($hosts)) { $hosts = array(); }
if (isset($this) && is_object($this)) {
$this->hosts = $hosts;