source: spip-zone/_plugins_/pgn4spip/branches/formulaires/configurer_pgn4spip.html @ 90061

Last change on this file since 90061 was 90061, checked in by jack@…, 6 years ago

Avant de tout casser on passe le trunk dans "branches"

File size: 9.5 KB
Line 
1<!--
2/**********************************************************************************
3 * @Subject configurer_pgn4spip.html describes the HTML file of the configuration for SPIP 3
4 * @package pgn4spip: Embed pgn4web Chessboard plugin for SPIP 3.x
5 * @version 2.61.0
6 * @copyright copyright (c) 2012 Matt Chesstale
7 * @license GNU General Public License version 3
8 * @language HTML, CSS and SPIP 3
9 * @resource lang\pgn4spip_en.php and lang\pgn4spip_fr.php
10 *
11 * @history
12 * 2.61.0: Initial version for SPIP 3
13 * @Usage
14        http://localhost/spip/ecrire/?exec=admin_plugin
15        SPIP Configuration > Manage plugins
16
17        Click [x] to activate the plugin.
18        Click to the name "pgn4spip" to get help.
19
20        Screen capture to configure the plugin:
21        Doc\SPIP3\ListPluginsFr.jpg: List of plugins with SPIP 3.0.4 in French
22        Doc\SPIP3\ListPluginsEn.jpg: List of plugins with SPIP 3.0.4 in English
23
24        Doc\SPIP3\ConfigFr.jpg: configuration of pgn4spip in French
25        Doc\SPIP3\ConfigEn.jpg: configuration of pgn4spip in English
26
27 * @Design      associated with configurer_pgn4spip.php to save or reinit the configuration
28 *                      CFG 3 for SPIP 3 is NOT used
29 * @ref
30 http://zone.spip.org/trac/spip-zone/browser/_plugins_/porte_plume_extras/enluminures_typographiques_v3/formulaires/configurer_typoenluminee.html
31 plugins-dist\mediabox\formulaires\configurer_mediabox.html
32 **********************************************************************************/
33-->
34<style type="text/css">
35table.spip td, td, .formulaire_spip ul
36{
37        padding-top:0px;
38        padding-bottom:0px;
39}
40.formulaire_spip ul
41{
42        margin-left: 0px;
43        margin-right: 0px;
44}
45.formulaire_spip li
46{
47        margin-top: 1px;
48        margin-bottom: 1px;
49}
50.formulaire_spip fieldset, .formulaire_spip legend
51{
52        margin: 1px;
53        padding-top: 1px;
54        padding-bottom: 1px;
55        border-radius: 8px;
56        border:solid 1px #ccc;
57        -webkit-border-radius: 8px;
58        -moz-border-radius: 8px;
59}
60hr
61{
62        margin-top:0px;
63        margin-bottom:0px;
64}
65.formulaire_spip li label, .formulaire_spip li.gauche label
66{
67        width: auto;
68        margin-left:0px;
69}
70.formulaire_spip textarea
71{
72        font-family:Verdana,Geneva,helvetica,sans;
73        font-size:11px;
74        line-height:normal;
75}
76</style>
77<div class="formulaire_spip formulaire_configurer formulaire_#FORM">
78[<p class="reponse_formulaire reponse_formulaire_ok">(#ENV*{message_ok})</p>]
79[<p class="reponse_formulaire reponse_formulaire_erreur">(#ENV*{message_erreur})</p>]
80
81<form method="post" action="#ENV{action}">
82<div style="font-size:11px;">
83#ACTION_FORMULAIRE{#ENV{action}}
84<ul>
85<li class="fieldset">
86<fieldset style="height: 56px;"><legend><:pgn4spip:module:></legend>
87<table cellpadding="0" cellspacing="5">
88<tr><td>
89        <select name="cfg_l"> 
90                <option value="h" [(#CONFIG{pgn4spip/cfg_l, "h"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:horizontal:></option>
91                <option value="v" [(#CONFIG{pgn4spip/cfg_l, "h"}|=={"v"}|?{selected="selected",''})]><:pgn4spip:vertical:></option>
92        </select>
93        </td>
94        <td>
95        <input type="radio" name="cfg_isManual" value="" [checked="(#CONFIG{pgn4spip/cfg_isManual}|=={''}|?{'checked'})"] class="fondl" />
96        <:pgn4spip:auto:>
97        <input type="radio" name="cfg_isManual" value="manual" [checked="(#CONFIG{pgn4spip/cfg_isManual}|!={''}|?{'checked'})"] class="fondl" />
98        <:pgn4spip:manual:><input type="text" name="cfg_height_site" value="[(#CONFIG{pgn4spip/cfg_height_site, 268})]" size="2"><:pgn4spip:pixels:>
99        </td>
100</tr>
101</table>
102</fieldset>
103</li>
104<li class="fieldset">
105<fieldset style="height: 130px;"><legend><:pgn4spip:chessboard:></legend>
106<table cellpadding="0" cellspacing="5">
107<tr><td><:pgn4spip:square:></td>
108        <td><:pgn4spip:white:></td>
109        <td><:pgn4spip:black:></td>
110        <td><div align="center"><:pgn4spip:focus:></div></td>
111        <td><div align="center"><:pgn4spip:border:></div></td>
112        <td><div align="center"><:pgn4spip:background:></div></td>
113</tr>
114<tr><td nowrap="nowrap"><input type="text" name="cfg_ss" value="[(#CONFIG{pgn4spip/cfg_ss, 26})]" size="1"><:pgn4spip:pixels:></td>
115        <td><input type="text" name="cfg_lch" value="[(#CONFIG{pgn4spip/cfg_lch, "F6F6F6"})]" size="5"/></td>
116        <td><input type="text" name="cfg_dch" value="[(#CONFIG{pgn4spip/cfg_dch, "E0E0E0"})]" size="5"/><br /></td>
117        <td><input type="text" name="cfg_hch" value="[(#CONFIG{pgn4spip/cfg_hch, "ABABAB"})]" size="5"/></td>
118        <td><input type="text" name="cfg_bbch" value="[(#CONFIG{pgn4spip/cfg_bbch, "E0E0E0"})]" size="5"/></td>
119        <td><input type="text" name="cfg_bch" value="[(#CONFIG{pgn4spip/cfg_bch, "F6F6F6"})]" size="5"/></td>
120</tr>
121<tr><td nowrap="nowrap" style="vertical-align:middle;"><label><:pgn4spip:piece:></label></td>
122        <td><input type="text" name="cfg_ps" value="[(#CONFIG{pgn4spip/cfg_ps, <:pgn4spip:default:>})]" size="5"></td>
123        <td style="vertical-align:middle;"><label><:pgn4spip:font:></label></td>
124        <td>
125        <select name="cfg_pf"> 
126                <option value="d" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"d"}|?{selected="selected",''})]><:pgn4spip:default:></option>
127                <option value="a" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"a"}|?{selected="selected",''})]><:pgn4spip:alpha:></option>
128                <option value="m" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"m"}|?{selected="selected",''})]><:pgn4spip:merida:></option>
129                <option value="u" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"u"}|?{selected="selected",''})]><:pgn4spip:ucsf:></option>
130                <option value="s" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"s"}|?{selected="selected",''})]><:pgn4spip:svgchess:></option>
131        </select>
132        </td>
133</tr>
134<tr><td colspan="6"><:pgn4spip:squareclick:></td></tr>
135</table>
136</fieldset>
137</li>
138<li class="fieldset">
139<fieldset style="height: 124px;"><legend><:pgn4spip:pgn:></legend>
140<table cellpadding="0" cellspacing="5">
141<tr><td><:pgn4spip:showmoves:></td>
142        <td><div align="center"><:pgn4spip:pgnheader:></div></td>
143        <td><div align="center"><:pgn4spip:pgnmove:></div></td>
144        <td><:pgn4spip:pgncomment:></td>
145        <td><div align="center"><:pgn4spip:pgnfocus:></div></td>
146        <td><div align="center"><:pgn4spip:pgndelay:></div></td>
147</tr>
148<tr><td>
149        <select name="cfg_md"> 
150                <option value="f" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"f"}|?{selected="selected",''})]><:pgn4spip:figurine:></option>
151                <option value="t" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"t"}|?{selected="selected",''})]><:pgn4spip:text:></option>
152                <option value="p" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"p"}|?{selected="selected",''})]><:pgn4spip:puzzle:></option>
153                <option value="h" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:hidden:></option>
154                <option value="l" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"l"}|?{selected="selected",''})]><:pgn4spip:live:></option>
155        </select>
156        </td>
157        <td><input type="text" name="cfg_fhch" value="[(#CONFIG{pgn4spip/cfg_fhch, "000000"})]" size="5"/></td>
158        <td><input type="text" name="cfg_fmch" value="[(#CONFIG{pgn4spip/cfg_fmch, "000000"})]" size="5"/></td>
159        <td><input type="text" name="cfg_fcch" value="[(#CONFIG{pgn4spip/cfg_fcch, "000080"})]" size="5"/><br /></td>
160        <td><input type="text" name="cfg_hmch" value="[(#CONFIG{pgn4spip/cfg_hmch, "E0E0E0"})]" size="5"/></td>
161        <td><input type="text" name="cfg_d" value="[(#CONFIG{pgn4spip/cfg_d, "3000"})]" size="5"/></td>
162</tr>
163<tr><td><:pgn4spip:ctrlbrowse:></td>
164        <td><div align="center"><:pgn4spip:ctrlarrow:></div></td>
165        <td><div align="center"><:pgn4spip:ctrlbckgrnd:></div></td>
166        <td>
167        <select name="cfg_cd"> 
168                <option value="n" [(#CONFIG{pgn4spip/cfg_cd, "n"}|=={"n"}|?{selected="selected",''})]><:pgn4spip:newline:></option>
169                <option value="i" [(#CONFIG{pgn4spip/cfg_cd, "n"}|=={"i"}|?{selected="selected",''})]><:pgn4spip:inline:></option>
170                <option value="h" [(#CONFIG{pgn4spip/cfg_cd, "n"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:hidden2:></option>
171        </select>
172        </td>
173        <td>
174        <select name="cfg_hm"> 
175                <option value="b" [(#CONFIG{pgn4spip/cfg_hm, "b"}|=={"b"}|?{selected="selected",''})]><:pgn4spip:focusborder:></option>
176                <option value="s" [(#CONFIG{pgn4spip/cfg_hm, "b"}|=={"s"}|?{selected="selected",''})]><:pgn4spip:focussquare:></option>
177                <option value="n" [(#CONFIG{pgn4spip/cfg_hm, "b"}|=={"n"}|?{selected="selected",''})]><:pgn4spip:none:></option>
178        </select>
179        </td>
180        <td><:pgn4spip:liverate:></td>
181</tr>
182<tr><td>
183        <select name="cfg_bd"> 
184                <option value="c" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"c"}|?{selected="selected",''})]><:pgn4spip:custom:></option>
185                <option value="s" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"s"}|?{selected="selected",''})]><:pgn4spip:standard:></option>
186                <option value="h" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:hidden2:></option>
187        </select>
188        </td>
189        <td><input type="text" name="cfg_ctch" value="[(#CONFIG{pgn4spip/cfg_ctch, "696969"})]" size="5"/></td>
190        <td><input type="text" name="cfg_cbch" value="[(#CONFIG{pgn4spip/cfg_cbch, "F0F0F0"})]" size="5"/></td>
191        <td><:pgn4spip:autoplay:></td>
192        <td>
193        <select name="cfg_am"> 
194                <option value="n" [(#CONFIG{pgn4spip/cfg_am, "n"}|=={"n"}|?{selected="selected",''})]><:pgn4spip:none:></option>
195                <option value="g" [(#CONFIG{pgn4spip/cfg_am, "n"}|=={"g"}|?{selected="selected",''})]><:pgn4spip:game:></option>
196                <option value="l" [(#CONFIG{pgn4spip/cfg_am, "n"}|=={"l"}|?{selected="selected",''})]><:pgn4spip:loop:></option>
197        </select>
198        </td>
199        <td><input type="text" name="cfg_rm" value="[(#CONFIG{pgn4spip/cfg_rm, "1.0"})]" size="5"/></td>
200</tr>
201</table>
202</fieldset>
203</li>
204<hr />
205<li class="fieldset">
206<fieldset><:pgn4spip:conflocalpgn:>
207</fieldset>
208</li>
209</ul>
210<p class="boutons">
211        <input type="submit" name="enregistrer" class="submit" value="<:pgn4spip:ok:>" />
212        <input type="submit" name="reinit" class="submit" value="<:pgn4spip:reinit:>" />
213</p>
214</div>
215</form>
216</div>
Note: See TracBrowser for help on using the repository browser.