comparison popups.api.php @ 1:4215c43e74eb

Popups: Mise à jour en version alpha6
author Franck Deroche <franck@defr.org>
date Fri, 31 Dec 2010 13:44:00 +0100
parents 76f9b43738f2
children
comparison
equal deleted inserted replaced
0:76f9b43738f2 1:4215c43e74eb
1 <?php 1 <?php
2 // $Id: popups.api.php,v 1.1.4.2 2009/03/05 19:52:48 starbow Exp $ 2 // $Id: popups.api.php,v 1.1.4.3 2010/12/10 02:09:16 drewish Exp $
3 3
4 /** 4 /**
5 * @file 5 * @file
6 * Provides hook documentation for the Popups API. 6 * Provides hook documentation for the Popups API.
7 */ 7 */
10 * Creates the rule registry for the popups. 10 * Creates the rule registry for the popups.
11 */ 11 */
12 function hook_popups() { 12 function hook_popups() {
13 $popups = array(); 13 $popups = array();
14 $popups['admin/content/taxonomy'] = array( 14 $popups['admin/content/taxonomy'] = array(
15 // Act on the first primary tab. 15 // Act on the first primary tab.
16 'div#tabs-wrapper a:eq(1)', 16 'div#tabs-wrapper a:eq(1)',
17 // Act on the 2nd column link in the table. 17 // Act on the 2nd column link in the table.
18 'table td:nth-child(2) a' => array( 18 'table td:nth-child(2) a' => array(
19 // Don't update the original page. 19 // Don't update the original page.
20 'noUpdate' => TRUE, 20 'noUpdate' => TRUE,