| 1 |
<?php |
<?php |
| 2 |
// $Id: foaf.module,v 1.9 2005/06/13 10:39:53 walkah Exp $ |
// $Id: foaf.module,v 1.10 2005/08/18 03:16:57 walkah Exp $ |
| 3 |
|
|
| 4 |
/** |
/** |
| 5 |
* Implements hook_help |
* Implements hook_help |
| 6 |
*/ |
*/ |
| 7 |
function foaf_help($section) { |
function foaf_help($section) { |
| 8 |
switch ($section) { |
switch ($section) { |
| 9 |
|
case 'admin/help#foaf': |
| 10 |
|
$output = '<p>'. t('FOAF, or <em>Friend of a Friend,</em> refers to a set of <em>social networking</em> standards and tools for online sharing and searching of user profile information. Users will find this useful if they want to make a list of their friends and be able to export or import their list among social networking applications.') .'</p>'; |
| 11 |
|
$output .= '<p>'. t('The FOAF module allows users to export FOAF documents based on their profile information. It also allows users to import profile information from external FOAF files, and even includes an option to let profiles auto sync when using distributed authentication. The FOAF module can export your buddy list if the buddy list module is enabled. You can download FOAF files in the view tab of a user profile if FOAF is enabled.') .'</p>'; |
| 12 |
|
$output .= t('<p>You can</p> |
| 13 |
|
<ul> |
| 14 |
|
<li>read the <a href="%external-http-en-wikipedia-org-wiki-FOAF" title = "explanation of FOAF from wikipedia the free encyclopedia">FOAF wikipedia explanation</a>.</li> |
| 15 |
|
<li>read the <a href="http://www.socialtext.net/foafnet/index.cgi?basic_specs" title = "a programmers level description of this social networking standard">FOAFNet specificiation</a>.</li> |
| 16 |
|
<li>view <a href="%profile"> user profiles</a> and select a user to see their FOAF file.</li> |
| 17 |
|
<li>enable the buddy list module at <a href="%admin-modules" > administrator >> modules</a>.</li> |
| 18 |
|
', array('%external-http-en-wikipedia-org-wiki-FOAF' => 'http://en.wikipedia.org/wiki/FOAF', '%external-http-www-socialtext-net-foafnet-index-cgi' => 'http://www.socialtext.net/foafnet/index.cgi?basic_specs', '%profile' => url('profile'), '%admin-modules' => url('admin/modules'))) .'</ul>'; |
| 19 |
|
$output .= '<p>'. t('For more information please read the configuration and customization handbook <a href="%foaf">FOAF page</a>.', array('%foaf' => 'http://www.drupal.org/handbook/modules/foaf/')) .'</p>'; |
| 20 |
|
return $output; |
| 21 |
case 'admin/modules#description': |
case 'admin/modules#description': |
| 22 |
return t('Allows <acronym title="Friend of a Friend">FOAF</acronym> import / export'); |
return t('Allows <acronym title="Friend of a Friend">FOAF</acronym> import / export'); |
|
case 'admin/help#foaf': |
|
|
return t(' |
|
|
<p>FOAF, or "Friend of a Friend," refers to a set of "social networking" standards and tools for online sharing and searching of user profile information. Users will find this useful if they want to make a list of their friends and be able to export or import their list among social networking applications.</p> |
|
|
<p>The FOAF module allows users to export FOAF documents based on their profile information. It also allows users to import profile information from external FOAF files, and even includes an option to let profiles auto sync when using distributed authentication. The FOAF module can export your buddy list if the buddy list module is enabled. You can download FOAF files in the view tab of a user profile if FOAF is enabled.</p> |
|
|
<p>You can</p> |
|
|
<ul> |
|
|
<li>read the <a href = "http://en.wikipedia.org/wiki/FOAF" title = "FOAF wikipedia explanation">FOAF wikipedia explanation</a>.</li> |
|
|
<li>read the <a href = "http://www.socialtext.net/foafnet/index.cgi?basic_specs" title = "FOAFNet specification">FOAFNet specificiation</a>.</li> |
|
|
<li>view <a href = " http://test.bryght.com/FOAF" title = " FOAF module example 2">FOAF module example</a>.</li> |
|
|
<li>view <a href = "%userprofiles" title = "user profiles"> user profiles</a> and select a user to see their FOAF file.</li> |
|
|
<li>enable the buddy list module at <a href = "%administermodules" title = "administer modules"> administrator >> modules</a>.</li> |
|
|
</ul> |
|
|
<p>For more information, read the configuration and customization handbook <a href="http://drupal.org/handbook/modules/Foaf" title="Foaf page"> Foaf page</a></p>', |
|
|
array('%userprofiles' => url('/profile'), '%administermodules' => url('/admin/modules')) |
|
|
); |
|
| 23 |
} |
} |
| 24 |
} |
} |
| 25 |
|
|