You are here

function syntaxhighlighter_install in Syntax Highlighter 6

Same name and namespace in other branches
  1. 8 syntaxhighlighter.install \syntaxhighlighter_install()
  2. 6.2 syntaxhighlighter.install \syntaxhighlighter_install()
  3. 7.2 syntaxhighlighter.install \syntaxhighlighter_install()
  4. 7 syntaxhighlighter.install \syntaxhighlighter_install()

@file Syntax highlighter module installation file.

File

./syntaxhighlighter.install, line 8
Syntax highlighter module installation file.

Code

function syntaxhighlighter_install() {
  $t = get_t();
  drupal_set_message($t('You must <a href="!link">turn on the Syntaxhighlighter filter</a> in an input format for syntax highlight code using that format.', array(
    '!link' => url('admin/settings/filters'),
  )), 'status');
  drupal_set_message($t('Then <a href="!link">configure the Syntax Highlighter module</a>.', array(
    '!link' => url('admin/settings/syntaxhighlighter'),
  )), 'status');
  drupal_set_message($t('See <a href="!link">the Syntaxhighlighter module README.txt file</a> for instructions.', array(
    '!link' => url(drupal_get_path('module', 'syntaxhighlighter') . '/README.txt'),
  )));
}