~stefanor/drupal/sr

« back to all changes in this revision

Viewing changes to modules/xmlsitemap/xmlsitemap_menu/xmlsitemap_menu.install

  • Committer: Stefano Rivera
  • Date: 2009-02-03 13:46:19 UTC
  • Revision ID: stefano@rivera.za.net-20090203134619-qtah2mm7178s3gla
Updated:
* swfobject to 2.0 (jquery_media)
* path_redirect beta1
* xmlsitemap update

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?php
2
 
// $Id: xmlsitemap_menu.install,v 1.1.4.14 2008/12/24 20:04:39 kiam Exp $
 
2
// $Id: xmlsitemap_menu.install,v 1.1.4.15 2009/01/31 10:38:00 kiam Exp $
3
3
 
4
4
/**
5
5
 * @file
15
15
 */
16
16
function xmlsitemap_menu_install() {
17
17
  if (db_result(db_query("SELECT menu_name FROM {menu_custom} WHERE menu_name = 'menu-xmlsitemap'")) != 'menu-xmlsitemap') {
18
 
    db_query("INSERT INTO {menu_custom} (menu_name, title, description) VALUES ('menu-xmlsitemap', '%s', '%s')", t('XML Sitemap'), t('The menu from where <em>XML Sitemap: Menu</em> looks for the menus to add to the sitemap.'));
 
18
    db_query("INSERT INTO {menu_custom} (menu_name, title, description) VALUES ('menu-xmlsitemap', '%s', '%s')",
 
19
      array(
 
20
        t('XML Sitemap'),
 
21
        t('The menu from where <em>XML Sitemap: Menu</em> looks for the menus to add to the sitemap.'),
 
22
      )
 
23
    );
19
24
    menu_rebuild();
20
25
  }
21
26
}