2 +--------------------------------------------------------------------+
3 | CiviCRM version 4.4 |
4 +--------------------------------------------------------------------+
5 +--------------------------------------------------------------------+
6 | This file is a part of CiviCRM. |
8 | CiviCRM is free software; you can copy, modify, and distribute it |
9 | under the terms of the GNU Affero General Public License |
10 | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. |
12 | CiviCRM is distributed in the hope that it will be useful, but |
13 | WITHOUT ANY WARRANTY; without even the implied warranty of |
14 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. |
15 | See the GNU Affero General Public License for more details. |
17 | You should have received a copy of the GNU Affero General Public |
18 | License and the CiviCRM Licensing Exception along |
19 | with this program; if not, contact CiviCRM LLC |
20 | at info[AT]civicrm[DOT]org. If you have questions about the |
21 | GNU Affero General Public License or the licensing of CiviCRM, |
22 | see the CiviCRM license FAQ at http://civicrm.org/licensing |
23 +--------------------------------------------------------------------+
25 <div class="block-civicrm crm-container">
26 <div id="crm-create-new-wrapper">
27 <a id="crm-create-new-link" class="button" href="#"><span><div class="icon dropdown-icon"></div>{ts}Create New{/ts}</span></a>
28 <div id="crm-create-new-list" class="ac_results">
29 <div class="crm-create-new-list-inner">
31 {foreach from=$shortCuts item=short}
32 <li><a href="{$short.url}" class="crm-{$short.ref}">{$short.title}</a></li>
39 <div class='clear'></div>
43 cj('body').click(function() {
44 cj('#crm-create-new-list').hide();
47 cj('#crm-create-new-list').click(function(event){
48 event.stopPropagation();
51 cj('#crm-create-new-list li').hover(
52 function(){ cj(this).addClass('ac_over');},
53 function(){ cj(this).removeClass('ac_over');}
56 cj('#crm-create-new-link').click(function(event) {
57 cj('#crm-create-new-list').toggle();
58 event.stopPropagation();