Commit | Line | Data |
---|---|---|
7266e09b CW |
1 | {* |
2 | +--------------------------------------------------------------------+ | |
3 | | CiviCRM version 4.6 | | |
4 | +--------------------------------------------------------------------+ | |
5 | | Copyright CiviCRM LLC (c) 2004-2015 | | |
6 | +--------------------------------------------------------------------+ | |
7 | | This file is a part of CiviCRM. | | |
8 | | | | |
9 | | CiviCRM is free software; you can copy, modify, and distribute it | | |
10 | | under the terms of the GNU Affero General Public License | | |
11 | | Version 3, 19 November 2007 and the CiviCRM Licensing Exception. | | |
12 | | | | |
13 | | CiviCRM is distributed in the hope that it will be useful, but | | |
14 | | WITHOUT ANY WARRANTY; without even the implied warranty of | | |
15 | | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. | | |
16 | | See the GNU Affero General Public License for more details. | | |
17 | | | | |
18 | | You should have received a copy of the GNU Affero General Public | | |
19 | | License and the CiviCRM Licensing Exception along | | |
20 | | with this program; if not, contact CiviCRM LLC | | |
21 | | at info[AT]civicrm[DOT]org. If you have questions about the | | |
22 | | GNU Affero General Public License or the licensing of CiviCRM, | | |
23 | | see the CiviCRM license FAQ at http://civicrm.org/licensing | | |
24 | +--------------------------------------------------------------------+ | |
25 | *} | |
26 | <style>{literal} | |
27 | .select2-results .ui-icon, | |
28 | .select2-container .ui-icon, | |
29 | .select2-results img, | |
30 | .select2-container img { | |
31 | display: inline-block; | |
32 | position: relative; | |
33 | top: 2px; | |
34 | } | |
35 | #toolbarModifierWrapper .toolbar button:last-child, | |
36 | #toolbarModifierWrapper .toolbar button[data-group=config] { | |
37 | display: none; | |
38 | } | |
39 | {/literal}</style> | |
40 | {* Force the custom config file to reload by appending a new query string *} | |
41 | <script type="text/javascript"> | |
42 | {if $configUrl}CKEDITOR.config.customConfig = '{$configUrl}?{php}print str_replace(array(' ', '.'), array('', '='), microtime());{/php}'{/if}; | |
43 | </script> | |
44 | ||
45 | <form method="post" action="{crmURL}" id="toolbarModifierForm"> | |
46 | <div class="crm-block crm-form-block"> | |
47 | <label for="skin">{ts}Skin{/ts}</label> | |
48 | <select id="skin" name="skin" class="crm-select2 eight config-param"> | |
49 | {foreach from=$skins item='s'} | |
50 | <option value="{$s}" {if $s == $skin}selected{/if}>{$s|ucfirst}</option> | |
51 | {/foreach} | |
52 | </select> | |
53 | | |
54 | <label for="extraPlugins">{ts}Plugins{/ts}</label> | |
55 | <input id="extraPlugins" name="extraPlugins" class="huge config-param" value="{$extraPlugins}" placeholder="{ts}Select optional extra features{/ts}"> | |
56 | </div> | |
57 | ||
58 | <div class="editors-container"> | |
59 | <div id="editor-basic"></div> | |
60 | <div id="editor-advanced"></div> | |
61 | </div> | |
62 | ||
63 | <div class="configurator"> | |
64 | <div> | |
65 | <div id="toolbarModifierWrapper" class="active"></div> | |
66 | </div> | |
67 | </div> | |
68 | ||
69 | <div class="crm-submit-buttons"> | |
70 | <span class="crm-button crm-icon-button"> | |
71 | <span class="crm-button-icon ui-icon-check"> </span> <input type="submit" value="{ts}Save{/ts}" name="save" class="crm-form-submit" accesskey="S"/> | |
72 | </span> | |
73 | <span class="crm-button crm-icon-button"> | |
74 | <span class="crm-button-icon ui-icon-cancel"> </span> <input type="submit" value="{ts}Revert to Default{/ts}" name="revert" class="crm-form-submit" onclick="return confirm('{$revertConfirm}');"/> | |
75 | </span> | |
76 | </div> | |
77 | </form> |