1 | <?php |
---|
2 | /** |
---|
3 | * Sistema Automatizado para la Planificación Estratégico-Situacional en la Administración Pública Venezolana |
---|
4 | * @file entes-planificadores-toolbar-admin.tpl.php |
---|
5 | * Drupal part Module to code ente planificador module |
---|
6 | * Copyright 2011 Sistema Automatizado para la Planificación Estratégico-Situacional en la Administración Pública Venezolana (CENDITEL) |
---|
7 | * |
---|
8 | * This program is free software; you can redistribute it and/or modify |
---|
9 | * it under the terms of the GNU General Public License as published by |
---|
10 | * the Free Software Foundation; either version 2 of the License, or |
---|
11 | * (at your option) any later version. |
---|
12 | * |
---|
13 | * This program is distributed in the hope that it will be useful, |
---|
14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
16 | * GNU General Public License for more details. |
---|
17 | * |
---|
18 | * You should have received a copy of the GNU General Public License |
---|
19 | * along with this program; if not, write to the Free Software |
---|
20 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA |
---|
21 | * |
---|
22 | * @author Cenditel Merida - Msc. Juan Vizcarrondo |
---|
23 | * @date 2012-03-07 // (año-mes-dia) |
---|
24 | * @version 0.2 // (0.2) |
---|
25 | * |
---|
26 | */ |
---|
27 | |
---|
28 | /** |
---|
29 | * @file |
---|
30 | * Theme implementation to display a toolbar admin. |
---|
31 | * |
---|
32 | * Available variables: |
---|
33 | * - $links: Lista de opciones del toolbar. |
---|
34 | */ |
---|
35 | ?> |
---|
36 | |
---|
37 | <div id="entes-planificadores-toolbar-admin-select"> |
---|
38 | <ul class=""entes-planificadores-toolbar-admin-select-list"> |
---|
39 | <?php foreach ($links as $link): ?> |
---|
40 | |
---|
41 | <?php |
---|
42 | print l( |
---|
43 | $link['icon'], |
---|
44 | $link['path'], |
---|
45 | array( |
---|
46 | 'html' => TRUE, |
---|
47 | 'attributes' => array( |
---|
48 | 'title' => $link['description'], |
---|
49 | 'alt' => $link['description'], |
---|
50 | 'class' => 'entes-planificadores-toolbar-admin-icon-link entes-planificadores-toolbar-admin-icon-link-' . $link['category'], |
---|
51 | ) |
---|
52 | ) |
---|
53 | ); |
---|
54 | ?> |
---|
55 | </li> |
---|
56 | <?php endforeach ?> |
---|
57 | </ul> |
---|
58 | </div> |
---|