Commit e515a66b authored by jcnventura's avatar jcnventura

Issue #1130062: Place the module admin link in the User Interface block.

parent 3183f351
......@@ -42,7 +42,7 @@ CONFIGURATION
comments via the "Show printer-friendly version link in individual
comments" checkbox. (default: disabled)
Administer > Configuration > Printer, e-mail and PDF versions (admin/config/print)
Administer > Configuration > Printer, e-mail and PDF versions (admin/config/user-interface/print)
This is where all the module-specific configuration options can be set.
- To modify the template of printer friendly pages, simply edit the
......
......@@ -6,4 +6,4 @@ files[] = print.module
files[] = print.admin.inc
files[] = print.pages.inc
files[] = print.install
configure = admin/config/print
configure = admin/config/user-interface/print
......@@ -13,7 +13,7 @@
function print_install() {
$t = get_t();
drupal_set_message($t('Printer-friendly Page settings are available under !link',
array( '!link' => l($t('Administer > Configuration > Printer, e-mail and PDF versions'), 'admin/config/print' ) )
array( '!link' => l($t('Administer > Configuration > Printer, e-mail and PDF versions'), 'admin/config/user-interface/print' ) )
));
}
......
......@@ -173,7 +173,7 @@ function print_menu() {
$items[PRINT_PATH . '/' . PRINT_PATH] = array(
'access callback' => FALSE,
);
$items['admin/config/print'] = array(
$items['admin/config/user-interface/print'] = array(
'title' => 'Printer, e-mail and PDF versions',
'description' => 'Adds a printer-friendly version link to content and administrative pages.',
'page callback' => 'drupal_get_form',
......@@ -181,17 +181,17 @@ function print_menu() {
'access arguments' => array('administer print'),
'file' => 'print.admin.inc',
);
$items['admin/config/print/html'] = array(
$items['admin/config/user-interface/print/html'] = array(
'title' => 'Web page',
'weight' => 1,
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/config/print/html/options'] = array(
$items['admin/config/user-interface/print/html/options'] = array(
'title' => 'Options',
'weight' => 1,
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/config/print/html/strings'] = array(
$items['admin/config/user-interface/print/html/strings'] = array(
'title' => 'Text strings',
'page callback' => 'drupal_get_form',
'page arguments' => array('print_html_strings_settings'),
......@@ -200,7 +200,7 @@ function print_menu() {
'type' => MENU_LOCAL_TASK,
'file' => 'print.admin.inc',
);
$items['admin/config/print/common'] = array(
$items['admin/config/user-interface/print/common'] = array(
'title' => 'Settings',
'page callback' => 'drupal_get_form',
'page arguments' => array('print_main_settings'),
......@@ -209,12 +209,12 @@ function print_menu() {
'type' => MENU_LOCAL_TASK,
'file' => 'print.admin.inc',
);
$items['admin/config/print/common/options'] = array(
$items['admin/config/user-interface/print/common/options'] = array(
'title' => 'Options',
'weight' => 1,
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/config/print/common/strings'] = array(
$items['admin/config/user-interface/print/common/strings'] = array(
'title' => 'Text strings',
'page callback' => 'drupal_get_form',
'page arguments' => array('print_main_strings_settings'),
......
......@@ -7,4 +7,4 @@ files[] = print_mail.module
files[] = print_mail.inc
files[] = print_mail.admin.inc
files[] = print_mail.install
configure = admin/config/print/email
configure = admin/config/user-interface/print/email
......@@ -73,7 +73,7 @@ function print_mail_menu() {
$items[PRINTMAIL_PATH . '/' . PRINTMAIL_PATH] = array(
'access callback' => FALSE,
);
$items['admin/config/print/email'] = array(
$items['admin/config/user-interface/print/email'] = array(
'title' => 'e-mail',
'page callback' => 'drupal_get_form',
'page arguments' => array('print_mail_settings'),
......@@ -82,12 +82,12 @@ function print_mail_menu() {
'type' => MENU_LOCAL_TASK,
'file' => 'print_mail.admin.inc',
);
$items['admin/config/print/email/options'] = array(
$items['admin/config/user-interface/print/email/options'] = array(
'title' => 'Options',
'weight' => 1,
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/config/print/email/strings'] = array(
$items['admin/config/user-interface/print/email/strings'] = array(
'title' => 'Text strings',
'page callback' => 'drupal_get_form',
'page arguments' => array('print_mail_strings_settings'),
......
......@@ -7,4 +7,4 @@ files[] = print_pdf.module
files[] = print_pdf.admin.inc
files[] = print_pdf.pages.inc
files[] = print_pdf.install
configure = admin/config/print/pdf
configure = admin/config/user-interface/print/pdf
......@@ -99,7 +99,7 @@ function print_pdf_menu() {
$items[PRINTPDF_PATH . '/' . PRINTPDF_PATH] = array(
'access callback' => FALSE,
);
$items['admin/config/print/pdf'] = array(
$items['admin/config/user-interface/print/pdf'] = array(
'title' => 'PDF',
'page callback' => 'drupal_get_form',
'page arguments' => array('print_pdf_settings'),
......@@ -108,12 +108,12 @@ function print_pdf_menu() {
'type' => MENU_LOCAL_TASK,
'file' => 'print_pdf.admin.inc',
);
$items['admin/config/print/pdf/options'] = array(
$items['admin/config/user-interface/print/pdf/options'] = array(
'title' => 'Options',
'weight' => 1,
'type' => MENU_DEFAULT_LOCAL_TASK,
);
$items['admin/config/print/pdf/strings'] = array(
$items['admin/config/user-interface/print/pdf/strings'] = array(
'title' => 'Text strings',
'page callback' => 'drupal_get_form',
'page arguments' => array('print_pdf_strings_settings'),
......@@ -170,7 +170,7 @@ function print_pdf_requirements($phase) {
$requirements['print_pdf_tool'] = array(
'title' => $t('PDF generation library'),
'value' => $t('No PDF tool selected'),
'description' => $t('Please configure it in the <a href="@url">PDF settings page</a>.', array('@url' => url('admin/config/print/pdf'))),
'description' => $t('Please configure it in the <a href="@url">PDF settings page</a>.', array('@url' => url('admin/config/user-interface/print/pdf'))),
'severity' => REQUIREMENT_ERROR,
);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment