betterpreview.xml
7.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
<?xml version="1.0" encoding="utf-8"?>
<extension version="3.4" type="plugin" group="system" method="upgrade">
<name>plg_system_betterpreview</name>
<description>PLG_SYSTEM_BETTERPREVIEW_DESC</description>
<version>6.1.0</version>
<creationDate>February 2018</creationDate>
<author>Regular Labs (Peter van Westen)</author>
<authorEmail>info@regularlabs.com</authorEmail>
<authorUrl>https://www.regularlabs.com</authorUrl>
<copyright>Copyright © 2018 Regular Labs - All Rights Reserved</copyright>
<license>http://www.gnu.org/licenses/gpl-2.0.html GNU/GPL</license>
<scriptfile>script.install.php</scriptfile>
<updateservers>
<server type="extension" priority="1" name="Regular Labs - Better Preview">
https://download.regularlabs.com/updates.xml?e=betterpreview&type=.xml
</server>
</updateservers>
<files>
<filename plugin="betterpreview">betterpreview.php</filename>
<filename>script.install.helper.php</filename>
<folder>language</folder>
<folder>src</folder>
<folder>vendor</folder>
</files>
<media folder="media" destination="betterpreview">
<folder>css</folder>
<folder>images</folder>
<folder>js</folder>
<folder>less</folder>
</media>
<config>
<fields name="params" addfieldpath="/libraries/regularlabs/fields">
<fieldset name="description">
<field name="@loadlanguage_regularlabs" type="rl_loadlanguage" extension="plg_system_regularlabs" />
<field name="@loadlanguage" type="rl_loadlanguage" extension="plg_system_betterpreview" />
<field name="@license" type="rl_license" extension="BETTER_PREVIEW" />
<field name="@version" type="rl_version" extension="BETTER_PREVIEW" />
<field name="@dependency" type="rl_dependency"
label="BP_THE_EDITOR_BUTTON"
file="/plugins/editors-xtd/betterpreview/betterpreview.php" />
<field name="@header" type="rl_header"
label="BETTER_PREVIEW"
description="BETTER_PREVIEW_DESC"
url="https://www.regularlabs.com/betterpreview" />
</fieldset>
<fieldset name="BP_SETTINGS_LINK">
<field name="display_title_link" type="radio" class="btn-group" default="1"
label="BP_DISPLAY_TITLE_LINK"
description="BP_DISPLAY_TITLE_LINK_DESC">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="display_status_link" type="radio" class="btn-group" default="1"
label="BP_DISPLAY_STATUS_LINK"
description="BP_DISPLAY_STATUS_LINK_DESC">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="@toggler_display_status_link_a" type="rl_toggler" param="display_status_link" value="1" />
<field name="reverse_status_link" type="radio" class="btn-group" default="1"
label="BP_REVERSE_STATUS_LINK"
description="BP_REVERSE_STATUS_LINK_DESC">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="@toggler_display_status_link_b" type="rl_toggler" />
<field name="@toggler_display_title_link_a" type="rl_toggler" param="display_title_link" value="1" />
<field name="@notice_show_link_type" type="rl_plaintext"
label="BP_SHOW_LINK_TYPE"
description="BP_SHOW_LINK_TYPE_DESC"
default="RL_ONLY_AVAILABLE_IN_PRO" />
<field name="@notice_show_url_details" type="rl_plaintext"
label="BP_SHOW_URL_DETAILS"
description="BP_SHOW_URL_DETAILS_DESC"
default="RL_ONLY_AVAILABLE_IN_PRO" />
<field name="@toggler_display_title_link_b" type="rl_toggler" />
</fieldset>
<fieldset name="BP_SETTINGS_PREVIEW">
<field name="display_editor_button" type="radio" class="btn-group" default="1"
label="RL_DISPLAY_EDITOR_BUTTON"
description="RL_DISPLAY_EDITOR_BUTTON_DESC">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="display_toolbar_button" type="radio" class="btn-group" default="1"
label="RL_DISPLAY_TOOLBAR_BUTTON"
description="RL_DISPLAY_TOOLBAR_BUTTON_DESC">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="button_text" type="text" default="Preview"
label="RL_BUTTON_TEXT"
description="RL_BUTTON_TEXT_DESC" />
<field name="button_icon" type="radio" class="btn-group" default="betterpreview"
label="RL_BUTTON_ICON"
description="RL_BUTTON_ICON_DESC">
<option value="betterpreview"><span class="icon-reglab icon-betterpreview"></span></option>
<option value="search"><span class="icon-search"></span></option>
<option value="eye"><span class="icon-eye"></span></option>
</field>
<field name="button_primary" type="radio" default="1" class="btn-group"
label="BP_BUTTON_PRIMARY"
description="BP_BUTTON_PRIMARY_DESC">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="preview_window_width" type="text" default="" size="5" class="input-mini"
label="BP_PREVIEW_WINDOW_WIDTH"
description="BP_PREVIEW_WINDOW_WIDTH_DESC" />
<!--field name="enable_frontend" type="radio" class="btn-group" default="1"
label="RL_ENABLE_IN_FRONTEND"
description="RL_ENABLE_IN_FRONTEND_DESC">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field-->
</fieldset>
<fieldset name="advanced">
<field name="index_timeout" type="text" default="24" size="5" class="input-mini"
label="BP_INDEX_TIMEOUT"
description="BP_INDEX_TIMEOUT_DESC" />
<field name="@purgesefs" type="rl_ajax" url="index.php?bp_purgesefs=1" text="BP_PURGE"
label="BP_PURGE_INDEX"
description="BP_PURGE_INDEX_DESC" />
<field name="purge_component_cache" type="radio" default="1" class="btn-group"
label="BP_PURGE_COMPONENT_CACHE"
description="BP_PURGE_COMPONENT_CACHE_DESC">
<option value="0">JNO</option>
<option value="1">JYES</option>
</field>
<field name="list_layout" type="radio" default="blog"
label="BP_OPEN_CATEGORIES_AS"
description="BP_OPEN_CATEGORIES_AS_DESC">
<option value="blog">BP_BLOG</option>
<option value="default">RL_LIST</option>
</field>
<field name="@toggler_comp_a" type="rl_toggler" param="list_layout" value="default" />
<field name="@text_comp" type="rl_plaintext"
description="<center><img src="../media/betterpreview/images/preview.gif" /></center>" />
<field name="@toggler_comp_b" type="rl_toggler" />
<field name="default_menu_id" type="menuitem" default="0"
label="BP_DEFAULT_MENU_ID"
description="BP_DEFAULT_MENU_ID_DESC">
<option value="-1">JNONE</option>
<option value="0">BP_DEFAULT_HOME_MENU</option>
</field>
<field name="disabled_components" type="rl_components" multiple="1" default="com_adagency" admin="1"
label="RL_DISABLE_ON_COMPONENTS"
description="RL_DISABLE_ON_COMPONENTS_DESC" />
</fieldset>
</fields>
</config>
</extension>