1{* $Id$ *}
2
3<div class="media">
4	<div class="mr-4">
5		<span class="fa-stack fa-lg" style="width: 100px;" title="Configuration Wizard">
6			<i class="fas fa-cog fa-stack-2x"></i>
7			<i class="fas fa-flip-horizontal fa-magic fa-stack-1x ml-4 mt-4"></i>
8		</span>
9	</div>
10	<div class="media-body">
11		{icon name="admin_wysiwyg" size=3 iclass="adminWizardIconright"}
12		<h4 class="mt-0 mb-4">{tr}You can choose to use by default the 'Compatible' Wiki mode (content is saved in wiki syntax), or the HTML mode{/tr}.</h4>
13		<fieldset>
14			<legend>{tr}Wysiwyg editor{/tr}</legend>
15			{tr}Select the Wysiwyg editor mode{/tr}
16			<div class="row">
17				<div class="col-md-4">
18					<input type="radio" name="editorType" value="wiki" {if empty($editorType) || $editorType eq 'wiki'}checked="checked"{/if} /> {tr}Compatible Wiki mode{/tr}
19				</div>
20				<div class="col-md-8">{tr}Use wiki syntax for saved pages{/tr}.<br>
21					<p>
22						{tr}This is the most compatible with Tiki functionality and the most stable editor mode{/tr}.<br>
23						{tr}Tools and functions in the editor toolbar will be limited{/tr}.
24					</p>
25
26					<p>{preference name=wysiwyg_default}</p>
27				</div>
28			</div>
29			<div class="row">
30				<div class="col-md-4">
31					<input type="radio" name="editorType" value="html" {if $editorType eq 'html'}checked="checked"{/if} /> {tr}HTML mode{/tr}
32				</div>
33				<div class="col-md-8">
34					<p>
35						{tr}Use HTML syntax for saved pages{/tr}.<br>
36						{tr}Best compatibility with inline editing{/tr}. {tr}Loses some wiki related features, such as SlideShow, and has some problems with SEFURL{/tr}.<br>
37						{tr}Full editor toolbar{/tr}.
38					</p>
39
40					<p>{preference name=wysiwyg_optional}</p>
41				</div>
42			</div>
43			{preference name=wysiwyg_inline_editing}
44			<br>
45			<em>{tr}See also{/tr} <a href="tiki-admin.php?page=wysiwyg" target="_blank">{tr}Wysiwyg admin panel{/tr}</a></em>
46		</fieldset>
47	</div>
48</div>
49
50