/[drupal]/contributions/modules/nodewords/nodewords.module
ViewVC logotype

Diff of /contributions/modules/nodewords/nodewords.module

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.57.2.252 by kiam, Thu Nov 26 18:01:22 2009 UTC revision 1.57.2.253 by kiam, Thu Nov 26 22:24:53 2009 UTC
# Line 1  Line 1 
1  <?php  <?php
2  // $Id: nodewords.module,v 1.57.2.251 2009/11/25 09:51:49 kiam Exp $  // $Id: nodewords.module,v 1.57.2.252 2009/11/26 18:01:22 kiam Exp $
3    
4  /**  /**
5   * @file   * @file
# Line 1150  function nodewords_unique($text, $separa Line 1150  function nodewords_unique($text, $separa
1150   ****************************************************************************/   ****************************************************************************/
1151    
1152  /**  /**
1153   * Show the requirement errors reported from nodewords_requirements().   * Check the enabled modules, and verify if there are modules implementing meta
1154   * The function is an adaption of drupal_check_module(), and it is called in   * tags supported by nodewords.module.
1155   * the module settings pages.   *
1156     * @return
1157     *   TRUE if there are modules implementing meta tags.
1158   */   */
1159  function _nodewords_check_enabled_modules() {  function _nodewords_check_enabled_modules() {
1160      $result = TRUE;
1161    if (user_access('administer site configuration')) {    if (user_access('administer site configuration')) {
1162      if (!count(module_implements('nodewords_api'))) {      if (!count(module_implements('nodewords_api'))) {
1163        drupal_set_message(        drupal_set_message(
# Line 1164  function _nodewords_check_enabled_module Line 1167  function _nodewords_check_enabled_module
1167          ),          ),
1168          'error'          'error'
1169        );        );
1170    
1171          $result = FALSE;
1172      }      }
1173    
1174      if (module_exists('nodewords_bypath')) {      if (module_exists('nodewords_bypath')) {

Legend:
Removed from v.1.57.2.252  
changed lines
  Added in v.1.57.2.253

  ViewVC Help
Powered by ViewVC 1.1.3