- Patch #8679 by asimmonds: fixed spelling mistakes.
parent
1b46d7fcfe
commit
efed4cfc70
|
@ -179,7 +179,7 @@ function menu_set_location($location) {
|
|||
* Execute the handler associated with the active menu item.
|
||||
*
|
||||
* This is called early in the page request. The active menu item is at
|
||||
* this point determined excusively by the URL. The handler that is called
|
||||
* this point determined exclusively by the URL. The handler that is called
|
||||
* here may, as a side effect, change the active menu item so that later
|
||||
* menu functions (that display the menus and breadcrumbs, for example)
|
||||
* act as if the user were in a different location on the site.
|
||||
|
|
|
@ -24,7 +24,7 @@ function aggregator_help($section) {
|
|||
<li><strong>URL</strong> -- Here you\'ll enter the fully-qualified URL for the feed for the site you want to subscribe to.</li>
|
||||
<li><strong>Update interval</strong> -- The update interval is how often Drupal will automatically access the RSS URL for the site for fresh content. The 1 hour default is typically the minimum you will want to use. Accessing another site\'s RSS page more frequently can be considered impolite. After all, it does require the other site\'s server handle your requests. To use this feature cron.php must be called regularly, otherwise, you\'ll have to manually update feeds one at a time within the news aggregation administration section by using <a href="%update-items">update items</a>.</li>
|
||||
<li><strong>Latest items block</strong> -- The number of items selected here will determine how many of the latest items from the feed will appear in a block which may be enabled and placed in the <a href="%block">blocks</a> administration page.</li>
|
||||
<li><strong>Automatically file items</strong> -- As items are recieved from a feed they will be put in the checked categories.</li>
|
||||
<li><strong>Automatically file items</strong> -- As items are received from a feed they will be put in the checked categories.</li>
|
||||
</ul>
|
||||
<p>Once you submit your new feed, check to see if it is working properly. Select <a href="%update-items">update items</a> on the <a href="%admin-news">aggregation page</a>. If you do not see any items listed for that feed, edit the feed and make sure that the URL was entered correctly.</p>
|
||||
<h3>Adding categories</h3>
|
||||
|
@ -59,7 +59,7 @@ function aggregator_help($section) {
|
|||
case 'admin/settings/aggregator':
|
||||
return t('These settings control the display of aggregated content.');
|
||||
case 'admin/aggregator':
|
||||
return t('Several web sites, especially news related sites, syndicate parts of their site\'s content for other web sites to display. Usually, the syndicated content includes the latest headlines with a direct link to that story on the remote site. Some syndicated content also includes a description of the headline. The standard method of syndication is using the XML based Rich Site Summary (RSS) or Resource Description Framework (RDF). To get a feed to work you <strong>must</strong> have <a href=\"%cron\">cron</a> working. To display the feed or categoty in a block you must decide how many items to show by editing the feed or block and turn on the <a href="%block">feed\'s block</a>.', array('%block' => url('admin/block'), '%cron' => url('admin/help', NULL, 'cron')));
|
||||
return t('Several web sites, especially news related sites, syndicate parts of their site\'s content for other web sites to display. Usually, the syndicated content includes the latest headlines with a direct link to that story on the remote site. Some syndicated content also includes a description of the headline. The standard method of syndication is using the XML based Rich Site Summary (RSS) or Resource Description Framework (RDF). To get a feed to work you <strong>must</strong> have <a href=\"%cron\">cron</a> working. To display the feed or category in a block you must decide how many items to show by editing the feed or block and turn on the <a href="%block">feed\'s block</a>.', array('%block' => url('admin/block'), '%cron' => url('admin/help', NULL, 'cron')));
|
||||
case 'admin/aggregator/add/feed':
|
||||
return t('Add a site that has an RSS/RDF feed. The URL is the full path to the RSS feed file. For the feed to update automatically you must run "cron.php". If you already have a feed with the URL you are planning to use, the system will not accept another feed with the same URL.');
|
||||
case 'admin/aggregator/add/category':
|
||||
|
|
|
@ -24,7 +24,7 @@ function aggregator_help($section) {
|
|||
<li><strong>URL</strong> -- Here you\'ll enter the fully-qualified URL for the feed for the site you want to subscribe to.</li>
|
||||
<li><strong>Update interval</strong> -- The update interval is how often Drupal will automatically access the RSS URL for the site for fresh content. The 1 hour default is typically the minimum you will want to use. Accessing another site\'s RSS page more frequently can be considered impolite. After all, it does require the other site\'s server handle your requests. To use this feature cron.php must be called regularly, otherwise, you\'ll have to manually update feeds one at a time within the news aggregation administration section by using <a href="%update-items">update items</a>.</li>
|
||||
<li><strong>Latest items block</strong> -- The number of items selected here will determine how many of the latest items from the feed will appear in a block which may be enabled and placed in the <a href="%block">blocks</a> administration page.</li>
|
||||
<li><strong>Automatically file items</strong> -- As items are recieved from a feed they will be put in the checked categories.</li>
|
||||
<li><strong>Automatically file items</strong> -- As items are received from a feed they will be put in the checked categories.</li>
|
||||
</ul>
|
||||
<p>Once you submit your new feed, check to see if it is working properly. Select <a href="%update-items">update items</a> on the <a href="%admin-news">aggregation page</a>. If you do not see any items listed for that feed, edit the feed and make sure that the URL was entered correctly.</p>
|
||||
<h3>Adding categories</h3>
|
||||
|
@ -59,7 +59,7 @@ function aggregator_help($section) {
|
|||
case 'admin/settings/aggregator':
|
||||
return t('These settings control the display of aggregated content.');
|
||||
case 'admin/aggregator':
|
||||
return t('Several web sites, especially news related sites, syndicate parts of their site\'s content for other web sites to display. Usually, the syndicated content includes the latest headlines with a direct link to that story on the remote site. Some syndicated content also includes a description of the headline. The standard method of syndication is using the XML based Rich Site Summary (RSS) or Resource Description Framework (RDF). To get a feed to work you <strong>must</strong> have <a href=\"%cron\">cron</a> working. To display the feed or categoty in a block you must decide how many items to show by editing the feed or block and turn on the <a href="%block">feed\'s block</a>.', array('%block' => url('admin/block'), '%cron' => url('admin/help', NULL, 'cron')));
|
||||
return t('Several web sites, especially news related sites, syndicate parts of their site\'s content for other web sites to display. Usually, the syndicated content includes the latest headlines with a direct link to that story on the remote site. Some syndicated content also includes a description of the headline. The standard method of syndication is using the XML based Rich Site Summary (RSS) or Resource Description Framework (RDF). To get a feed to work you <strong>must</strong> have <a href=\"%cron\">cron</a> working. To display the feed or category in a block you must decide how many items to show by editing the feed or block and turn on the <a href="%block">feed\'s block</a>.', array('%block' => url('admin/block'), '%cron' => url('admin/help', NULL, 'cron')));
|
||||
case 'admin/aggregator/add/feed':
|
||||
return t('Add a site that has an RSS/RDF feed. The URL is the full path to the RSS feed file. For the feed to update automatically you must run "cron.php". If you already have a feed with the URL you are planning to use, the system will not accept another feed with the same URL.');
|
||||
case 'admin/aggregator/add/category':
|
||||
|
|
|
@ -80,11 +80,11 @@ function comment_help($section) {
|
|||
case 'admin/settings/comment': // TODO: THIS IS NEVER USED
|
||||
return t("If you get a lot of comments, you can enable comment moderation. Once moderation is enabled, users can vote on a comment based on dropdown menus. <a href=\"%votes\">Votes</a> sets up the names in the dropdown menu, and the order in which they appear, using weights. <a href=\"%matrix\">Matrix</a> sets up the value of each user's vote, and <a href=\"%threshhold\">threshhold</a> sets up the levels at which a comment will be displayed.", array('%votes' => url('admin/settings/comment/votes'), '%matrix' => url('admin/settings/comment/matrix'), '%threshhold' => url('admin/settings/comment/thresholds')));
|
||||
case 'admin/settings/comment/votes':
|
||||
return t('Here is where you set up the name of each type of vote. "Weight" lets you set the order of the drop down menu. Click <strong>edit</strong> to edit a current vote weight.<br />Notes: <ul><li>you can have more than one type with the same name. The system does not protect you from this.</li><li>To <strong>delete</strong> a name/weight combiniation go to the <strong>edit</strong> area.</li></ul>');
|
||||
return t('Here is where you set up the name of each type of vote. "Weight" lets you set the order of the drop down menu. Click <strong>edit</strong> to edit a current vote weight.<br />Notes: <ul><li>you can have more than one type with the same name. The system does not protect you from this.</li><li>To <strong>delete</strong> a name/weight combination go to the <strong>edit</strong> area.</li></ul>');
|
||||
case 'admin/settings/comment/matrix':
|
||||
return t("Here is where you assign a value to each item in the dropdown menu. This value is added to the vote total, which is then divided by the number of users who have voted and rounded off to the nearest integer.<br />Notes:<ul><li>In order to use comment moderation, every text box on this page should be populated.</li><li>You must assign the <strong>moderate comments</strong> permission to at least one role in order to use this page.</li><li>Every box not filled in will have a value of zero, which will have the effect of <strong>lowering</strong> a comments over all score.</li></ul>");
|
||||
case 'admin/settings/comment/thresholds':
|
||||
return t("<em>Optional</em> Here you can setup the name and minimum \"cut off\" score to help your users hide comments that they don't want too see. These thresholds appear in the Comment Control Panel. Click \"edit\" to edit the values of an already exsisting threashold. To <strong>delete</strong> a threshold click on \"edit\".");
|
||||
return t("<em>Optional</em> Here you can setup the name and minimum \"cut off\" score to help your users hide comments that they don't want too see. These thresholds appear in the Comment Control Panel. Click \"edit\" to edit the values of an already existing threshold. To <strong>delete</strong> a threshold click on \"edit\".");
|
||||
case 'admin/settings/comment/roles':
|
||||
return t("Here you can setup the <strong>initial</strong> vote value of a comment posted by each user role. This value is used before any other users vote on the comment.<br />Note: Blank entries are valued at zero");
|
||||
case 'admin/comment/search':
|
||||
|
|
|
@ -80,11 +80,11 @@ function comment_help($section) {
|
|||
case 'admin/settings/comment': // TODO: THIS IS NEVER USED
|
||||
return t("If you get a lot of comments, you can enable comment moderation. Once moderation is enabled, users can vote on a comment based on dropdown menus. <a href=\"%votes\">Votes</a> sets up the names in the dropdown menu, and the order in which they appear, using weights. <a href=\"%matrix\">Matrix</a> sets up the value of each user's vote, and <a href=\"%threshhold\">threshhold</a> sets up the levels at which a comment will be displayed.", array('%votes' => url('admin/settings/comment/votes'), '%matrix' => url('admin/settings/comment/matrix'), '%threshhold' => url('admin/settings/comment/thresholds')));
|
||||
case 'admin/settings/comment/votes':
|
||||
return t('Here is where you set up the name of each type of vote. "Weight" lets you set the order of the drop down menu. Click <strong>edit</strong> to edit a current vote weight.<br />Notes: <ul><li>you can have more than one type with the same name. The system does not protect you from this.</li><li>To <strong>delete</strong> a name/weight combiniation go to the <strong>edit</strong> area.</li></ul>');
|
||||
return t('Here is where you set up the name of each type of vote. "Weight" lets you set the order of the drop down menu. Click <strong>edit</strong> to edit a current vote weight.<br />Notes: <ul><li>you can have more than one type with the same name. The system does not protect you from this.</li><li>To <strong>delete</strong> a name/weight combination go to the <strong>edit</strong> area.</li></ul>');
|
||||
case 'admin/settings/comment/matrix':
|
||||
return t("Here is where you assign a value to each item in the dropdown menu. This value is added to the vote total, which is then divided by the number of users who have voted and rounded off to the nearest integer.<br />Notes:<ul><li>In order to use comment moderation, every text box on this page should be populated.</li><li>You must assign the <strong>moderate comments</strong> permission to at least one role in order to use this page.</li><li>Every box not filled in will have a value of zero, which will have the effect of <strong>lowering</strong> a comments over all score.</li></ul>");
|
||||
case 'admin/settings/comment/thresholds':
|
||||
return t("<em>Optional</em> Here you can setup the name and minimum \"cut off\" score to help your users hide comments that they don't want too see. These thresholds appear in the Comment Control Panel. Click \"edit\" to edit the values of an already exsisting threashold. To <strong>delete</strong> a threshold click on \"edit\".");
|
||||
return t("<em>Optional</em> Here you can setup the name and minimum \"cut off\" score to help your users hide comments that they don't want too see. These thresholds appear in the Comment Control Panel. Click \"edit\" to edit the values of an already existing threshold. To <strong>delete</strong> a threshold click on \"edit\".");
|
||||
case 'admin/settings/comment/roles':
|
||||
return t("Here you can setup the <strong>initial</strong> vote value of a comment posted by each user role. This value is used before any other users vote on the comment.<br />Note: Blank entries are valued at zero");
|
||||
case 'admin/comment/search':
|
||||
|
|
|
@ -197,18 +197,20 @@ function check_output($text) {
|
|||
* Perform the default filters, preventing malicious HTML from being displayed.
|
||||
*/
|
||||
function filter_default($text) {
|
||||
if (variable_get('filter_html', FILTER_HTML_DONOTHING) == FILTER_HTML_STRIP) {
|
||||
// Allow users to enter HTML, but filter it
|
||||
$text = strip_tags($text, variable_get('allowed_html', ''));
|
||||
if (variable_get('filter_style', FILTER_STYLE_STRIP)) {
|
||||
$text = preg_replace('/\Wstyle\s*=[^>]+?>/i', '>', $text);
|
||||
if (!user_access('bypass html filter')) {
|
||||
if (variable_get('filter_html', FILTER_HTML_DONOTHING) == FILTER_HTML_STRIP) {
|
||||
// Allow users to enter HTML, but filter it
|
||||
$text = strip_tags($text, variable_get('allowed_html', ''));
|
||||
if (variable_get('filter_style', FILTER_STYLE_STRIP)) {
|
||||
$text = preg_replace('/\Wstyle\s*=[^>]+?>/i', '>', $text);
|
||||
}
|
||||
$text = preg_replace('/\Won[a-z]+\s*=[^>]+?>/i', '>', $text);
|
||||
}
|
||||
$text = preg_replace('/\Won[a-z]+\s*=[^>]+?>/i', '>', $text);
|
||||
}
|
||||
|
||||
if (variable_get('filter_html', FILTER_HTML_DONOTHING) == FILTER_HTML_ESCAPE) {
|
||||
// Escape HTML
|
||||
$text = htmlspecialchars($text);
|
||||
if (variable_get('filter_html', FILTER_HTML_DONOTHING) == FILTER_HTML_ESCAPE) {
|
||||
// Escape HTML
|
||||
$text = htmlspecialchars($text);
|
||||
}
|
||||
}
|
||||
|
||||
return trim($text);
|
||||
|
|
|
@ -197,18 +197,20 @@ function check_output($text) {
|
|||
* Perform the default filters, preventing malicious HTML from being displayed.
|
||||
*/
|
||||
function filter_default($text) {
|
||||
if (variable_get('filter_html', FILTER_HTML_DONOTHING) == FILTER_HTML_STRIP) {
|
||||
// Allow users to enter HTML, but filter it
|
||||
$text = strip_tags($text, variable_get('allowed_html', ''));
|
||||
if (variable_get('filter_style', FILTER_STYLE_STRIP)) {
|
||||
$text = preg_replace('/\Wstyle\s*=[^>]+?>/i', '>', $text);
|
||||
if (!user_access('bypass html filter')) {
|
||||
if (variable_get('filter_html', FILTER_HTML_DONOTHING) == FILTER_HTML_STRIP) {
|
||||
// Allow users to enter HTML, but filter it
|
||||
$text = strip_tags($text, variable_get('allowed_html', ''));
|
||||
if (variable_get('filter_style', FILTER_STYLE_STRIP)) {
|
||||
$text = preg_replace('/\Wstyle\s*=[^>]+?>/i', '>', $text);
|
||||
}
|
||||
$text = preg_replace('/\Won[a-z]+\s*=[^>]+?>/i', '>', $text);
|
||||
}
|
||||
$text = preg_replace('/\Won[a-z]+\s*=[^>]+?>/i', '>', $text);
|
||||
}
|
||||
|
||||
if (variable_get('filter_html', FILTER_HTML_DONOTHING) == FILTER_HTML_ESCAPE) {
|
||||
// Escape HTML
|
||||
$text = htmlspecialchars($text);
|
||||
if (variable_get('filter_html', FILTER_HTML_DONOTHING) == FILTER_HTML_ESCAPE) {
|
||||
// Escape HTML
|
||||
$text = htmlspecialchars($text);
|
||||
}
|
||||
}
|
||||
|
||||
return trim($text);
|
||||
|
|
|
@ -29,7 +29,7 @@ function node_help($section = 'admin/help#node') {
|
|||
<dt>Votes</dt><dd>If you are moderating a node this counts how many votes the node has gotten. Once a node gets a certain number of vote it will either be approved or dropped.
|
||||
<dt>Score</dt><dd>The score of the node is gotten by the votes it is given.</dd>
|
||||
<dt>Users</dt><dd>The list of users who have voted on a moderated node.</dd>
|
||||
<dt>Published</dt><dd>When using Drupal's moderation system a node remains unpublished -- unavaliable to non-moderators -- until it is marked Published.</dd></dl>
|
||||
<dt>Published</dt><dd>When using Drupal's moderation system a node remains unpublished -- unavailable to non-moderators -- until it is marked Published.</dd></dl>
|
||||
<p>Now that you know what is in a node, here are some of the types of nodes available.</p>", array("%teaser" => url("admin/settings/node")));
|
||||
|
||||
if ($mod == 'admin') {
|
||||
|
|
|
@ -29,7 +29,7 @@ function node_help($section = 'admin/help#node') {
|
|||
<dt>Votes</dt><dd>If you are moderating a node this counts how many votes the node has gotten. Once a node gets a certain number of vote it will either be approved or dropped.
|
||||
<dt>Score</dt><dd>The score of the node is gotten by the votes it is given.</dd>
|
||||
<dt>Users</dt><dd>The list of users who have voted on a moderated node.</dd>
|
||||
<dt>Published</dt><dd>When using Drupal's moderation system a node remains unpublished -- unavaliable to non-moderators -- until it is marked Published.</dd></dl>
|
||||
<dt>Published</dt><dd>When using Drupal's moderation system a node remains unpublished -- unavailable to non-moderators -- until it is marked Published.</dd></dl>
|
||||
<p>Now that you know what is in a node, here are some of the types of nodes available.</p>", array("%teaser" => url("admin/settings/node")));
|
||||
|
||||
if ($mod == 'admin') {
|
||||
|
|
|
@ -62,7 +62,7 @@ function throttle_help($section) {
|
|||
case 'admin/modules#description':
|
||||
return t('Allows configuration of congestion control auto-throttle mechanism.');
|
||||
case 'admin/modules/throttle':
|
||||
return t('If your site gets linked to by a popular website, or otherwise comes under a "Denial of Service" (DoS) attack, your webserver might become overwhelmed. This module provides a mechanism for automatically detecting a surge in incoming traffic. This mechanism is utilized by other Drupal models to automatically optimize their performance by temporarily disabling CPU-intensive functionality. To use the auto-throttle, the access log must be enabled. It is advised that you carefully read the explainations below and then properly tune this module based on your site\'s requirements and your webserver\'s capabilities.', array('%access' => url('admin/modules/statistics')));
|
||||
return t('If your site gets linked to by a popular website, or otherwise comes under a "Denial of Service" (DoS) attack, your webserver might become overwhelmed. This module provides a mechanism for automatically detecting a surge in incoming traffic. This mechanism is utilized by other Drupal models to automatically optimize their performance by temporarily disabling CPU-intensive functionality. To use the auto-throttle, the access log must be enabled. It is advised that you carefully read the explanations below and then properly tune this module based on your site\'s requirements and your webserver\'s capabilities.', array('%access' => url('admin/modules/statistics')));
|
||||
case 'admin/help#throttle':
|
||||
return t("
|
||||
<h3>Introduction</h3>
|
||||
|
|
|
@ -62,7 +62,7 @@ function throttle_help($section) {
|
|||
case 'admin/modules#description':
|
||||
return t('Allows configuration of congestion control auto-throttle mechanism.');
|
||||
case 'admin/modules/throttle':
|
||||
return t('If your site gets linked to by a popular website, or otherwise comes under a "Denial of Service" (DoS) attack, your webserver might become overwhelmed. This module provides a mechanism for automatically detecting a surge in incoming traffic. This mechanism is utilized by other Drupal models to automatically optimize their performance by temporarily disabling CPU-intensive functionality. To use the auto-throttle, the access log must be enabled. It is advised that you carefully read the explainations below and then properly tune this module based on your site\'s requirements and your webserver\'s capabilities.', array('%access' => url('admin/modules/statistics')));
|
||||
return t('If your site gets linked to by a popular website, or otherwise comes under a "Denial of Service" (DoS) attack, your webserver might become overwhelmed. This module provides a mechanism for automatically detecting a surge in incoming traffic. This mechanism is utilized by other Drupal models to automatically optimize their performance by temporarily disabling CPU-intensive functionality. To use the auto-throttle, the access log must be enabled. It is advised that you carefully read the explanations below and then properly tune this module based on your site\'s requirements and your webserver\'s capabilities.', array('%access' => url('admin/modules/statistics')));
|
||||
case 'admin/help#throttle':
|
||||
return t("
|
||||
<h3>Introduction</h3>
|
||||
|
|
|
@ -1752,7 +1752,7 @@ function user_help($section) {
|
|||
<h3>Distributed authentication<a id=\"da\"></a></h3>
|
||||
<p>One of the more tedious moments in visiting a new website is filling out the registration form. The reg form provides helpful information to the website owner, but not much value for the user. The value for the end user is usually the ability to post a messages or receive personalized news, etc. Distributed authentication (DA) gives the user what they want without having to fill out the reg form. Removing this obstacle yields more registered and active users for the website.</p>
|
||||
<p>DA enables a new user to input a username and password into the login box and immediately be recognized, even if that user never registered on your site. This works because Drupal knows how to communicate with external registration databases. For example, lets say that your new user 'Joe' is already a registered member of Delphi Forums. If your Drupal has the delphi module installed, then Drupal will inform Joe on the registration and login screens that he may login with his Delphi ID instead of registering with your Drupal instance. Joe likes that idea, and logs in with a username of joe@remote.delphiforums.com and his usual Delphi password. Drupal then communicates with remote.delphiforums.com (usually using <a href=\"%xml\">XML</a>, <a href=\"%http-post\">HTTP-POST</a>, or <a href=\"%soap\">SOAP</a>) behind the scenes and asks "is this password for username=joe?" If Delphi replies yes, then Drupal will create a new local account for joe and log joe into it. Joe may keep on logging into your Drupal instance in the same manner, and he will be logged into the same joe@remote.delphiforums.com account.</p>
|
||||
<p>One key element of DA is the 'authmap' table, which maps a user's authname (e.g. joe@remote.delphiforums.com) to his local UID (i.e. user identification number). This map is checked whenever a user successfully logs into an external authentication source. Once Drupal knows that the current user is definately joe@remote.delphiforums.com (because Delphi says so), he looks up Joe's UID and logs Joe into that account.</p>
|
||||
<p>One key element of DA is the 'authmap' table, which maps a user's authname (e.g. joe@remote.delphiforums.com) to his local UID (i.e. user identification number). This map is checked whenever a user successfully logs into an external authentication source. Once Drupal knows that the current user is definitely joe@remote.delphiforums.com (because Delphi says so), he looks up Joe's UID and logs Joe into that account.</p>
|
||||
<p>To disable distributed authentication, simply <a href=\"%dis-module\">disable</a> or remove all DA modules. For a virgin install, that means removing/disabling the jabber module and the drupal module.</p>
|
||||
<p>Drupal is setup so that it is very easy to add support for any external authentication source. You currently have the following authentication modules installed ...</p>
|
||||
%module-list");
|
||||
|
|
|
@ -1752,7 +1752,7 @@ function user_help($section) {
|
|||
<h3>Distributed authentication<a id=\"da\"></a></h3>
|
||||
<p>One of the more tedious moments in visiting a new website is filling out the registration form. The reg form provides helpful information to the website owner, but not much value for the user. The value for the end user is usually the ability to post a messages or receive personalized news, etc. Distributed authentication (DA) gives the user what they want without having to fill out the reg form. Removing this obstacle yields more registered and active users for the website.</p>
|
||||
<p>DA enables a new user to input a username and password into the login box and immediately be recognized, even if that user never registered on your site. This works because Drupal knows how to communicate with external registration databases. For example, lets say that your new user 'Joe' is already a registered member of Delphi Forums. If your Drupal has the delphi module installed, then Drupal will inform Joe on the registration and login screens that he may login with his Delphi ID instead of registering with your Drupal instance. Joe likes that idea, and logs in with a username of joe@remote.delphiforums.com and his usual Delphi password. Drupal then communicates with remote.delphiforums.com (usually using <a href=\"%xml\">XML</a>, <a href=\"%http-post\">HTTP-POST</a>, or <a href=\"%soap\">SOAP</a>) behind the scenes and asks "is this password for username=joe?" If Delphi replies yes, then Drupal will create a new local account for joe and log joe into it. Joe may keep on logging into your Drupal instance in the same manner, and he will be logged into the same joe@remote.delphiforums.com account.</p>
|
||||
<p>One key element of DA is the 'authmap' table, which maps a user's authname (e.g. joe@remote.delphiforums.com) to his local UID (i.e. user identification number). This map is checked whenever a user successfully logs into an external authentication source. Once Drupal knows that the current user is definately joe@remote.delphiforums.com (because Delphi says so), he looks up Joe's UID and logs Joe into that account.</p>
|
||||
<p>One key element of DA is the 'authmap' table, which maps a user's authname (e.g. joe@remote.delphiforums.com) to his local UID (i.e. user identification number). This map is checked whenever a user successfully logs into an external authentication source. Once Drupal knows that the current user is definitely joe@remote.delphiforums.com (because Delphi says so), he looks up Joe's UID and logs Joe into that account.</p>
|
||||
<p>To disable distributed authentication, simply <a href=\"%dis-module\">disable</a> or remove all DA modules. For a virgin install, that means removing/disabling the jabber module and the drupal module.</p>
|
||||
<p>Drupal is setup so that it is very easy to add support for any external authentication source. You currently have the following authentication modules installed ...</p>
|
||||
%module-list");
|
||||
|
|
Loading…
Reference in New Issue