/[drupal]/contributions/modules/admin_links/admin_links.admin.inc
ViewVC logotype

Contents of /contributions/modules/admin_links/admin_links.admin.inc

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


Revision 1.2 - (show annotations) (download) (as text)
Mon Nov 3 22:19:19 2008 UTC (12 months, 3 weeks ago) by davereid
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +32 -0 lines
File MIME type: text/x-php
- New files sync to HEAD
1 <?php
2 // $Id: admin_links.admin.inc,v 1.1.2.4 2008/11/03 03:16:16 davereid Exp $
3
4 /**
5 * @file
6 * Admin page callbacks for the admin_links module.
7 */
8
9 /**
10 * Administration settings form.
11 *
12 * @see system_settings_form()
13 */
14 function admin_links_settings_form() {
15 $form['admin_links_edit'] = array(
16 '#type' => 'checkbox',
17 '#title' => t('Add edit link to node teasers.'),
18 '#default_value' => admin_links_var('admin_links_edit'),
19 );
20 $form['admin_links_delete'] = array(
21 '#type' => 'checkbox',
22 '#title' => t('Add delete link to node teasers.'),
23 '#default_value' => admin_links_var('admin_links_delete'),
24 );
25 $form['admin_links_universaledit'] = array(
26 '#type' => 'checkbox',
27 '#title' => t('Add support for the <a href="@ueb">Universal Edit Button</a> on editable content.', array('@ueb' => 'http://universaleditbutton.org/')),
28 '#default_value' => admin_links_var('admin_links_universaledit'),
29 );
30
31 return system_settings_form($form);
32 }

  ViewVC Help
Powered by ViewVC 1.1.2