source: spip-zone/_plugins_/pgn4spip/branches/fonds/cfg_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: 8.2 KB
Line 
1<!--
2/**********************************************************************************
3 * @Subject cfg_pgn4spip.html describes the HTML file of the configuration for CFG
4 * @package pgn4spip: Embed pgn4web Chessboard plugin for SPIP 2.x
5 * @version 2.61.0
6 * @copyright copyright (c) 2012 Matt Chesstale
7 * @license GNU General Public License version 3
8 * @language HTML, SPIP 2 and CFG 1 configuration
9 * @resource lang\pgn4spip_en.php and lang\pgn4spip_fr.php
10 * @require      CFG 1.x plugin in SPIP 2.x: http://plugins.spip.net/cfg.html
11 *
12 * @history
13 * 2.61.0: Initial version for SPIP 2.1
14 * @Usage
15        http://localhost/spip/ecrire/?exec=admin_plugin
16        SPIP Configuration > Manage plugins
17
18        Click [x] to activate the plugin.
19        Click to the name "pgn4spip" to get help.
20
21        Click to the CFG icon on the right at the level of the name pgn4spip
22       
23 @ref           pgn4spip_options.php: read the configuration using the SPIP API
24 $valueFromConf = lire_config(PLUGIN_Name . '/cfg_' . $optShort, $valueByDefault);
25 **********************************************************************************/
26-->
27<style type="text/css">
28fieldset
29{
30<!--[if !IE 9]>
31        border-radius: 8px;
32        -webkit-border-radius: 8px;
33        -moz-border-radius: 8px;
34<![endif]-->
35}
36</style>
37[(#REM) icon = pgn4spip.png]
38[(#SET{logo, <img src='#DOSSIER_SQUELETTE/../pgn4spip.png' width='32' height='32' style="float:#LANG_RIGHT;" />})]
39
40#CACHE{0}
41
42<!-- descriptif=
43#GET{logo}
44<h4>Configure plugin</h4>
45-->
46<!-- titre=pgn4spip -->
47<!-- boite=<:pgn4spip:boxtitle:> -->
48
49<form method="post" action="#SELF">
50<div>[(#ENV{_cfg_}|form_hidden)]
51<fieldset><legend><:pgn4spip:module:></legend>
52<select name="cfg_l"> 
53        <option value="h" [(#CONFIG{pgn4spip/cfg_l, "h"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:horizontal:></option>
54        <option value="v" [(#CONFIG{pgn4spip/cfg_l, "h"}|=={"v"}|?{selected="selected",''})]><:pgn4spip:vertical:></option>
55</select>
56
57<input type="radio" name="cfg_isManual" value="" [checked="(#CONFIG{pgn4spip/cfg_isManual}|=={''}|?{'checked'})"] class="fondl" />
58<:pgn4spip:auto:>
59<input type="radio" name="cfg_isManual" value="manual" [checked="(#CONFIG{pgn4spip/cfg_isManual}|!={''}|?{'checked'})"] class="fondl" />
60<:pgn4spip:manual:><input type="text" name="cfg_height_site" value="[(#CONFIG{pgn4spip/cfg_height_site, 268})]" size="2"><:pgn4spip:pixels:>
61</fieldset>
62<fieldset><legend><:pgn4spip:chessboard:></legend>
63<table cellpadding="0" cellspacing="5">
64<tr><td><:pgn4spip:square:></td>
65        <td><:pgn4spip:white:></td>
66        <td><:pgn4spip:black:></td>
67        <td><div align="center"><:pgn4spip:focus:></div></td>
68        <td><div align="center"><:pgn4spip:border:></div></td>
69        <td><div align="center"><:pgn4spip:background:></div></td>
70</tr>
71<tr><td nowrap="nowrap"><input type="text" name="cfg_ss" value="[(#CONFIG{pgn4spip/cfg_ss, 26})]" size="1"><:pgn4spip:pixels:></td>
72        <td><input type="text" name="cfg_lch" value="[(#CONFIG{pgn4spip/cfg_lch, "F6F6F6"})]" size="5"/></td>
73        <td><input type="text" name="cfg_dch" value="[(#CONFIG{pgn4spip/cfg_dch, "E0E0E0"})]" size="5"/><br /></td>
74        <td><input type="text" name="cfg_hch" value="[(#CONFIG{pgn4spip/cfg_hch, "ABABAB"})]" size="5"/></td>
75        <td><input type="text" name="cfg_bbch" value="[(#CONFIG{pgn4spip/cfg_bbch, "E0E0E0"})]" size="5"/></td>
76        <td><input type="text" name="cfg_bch" value="[(#CONFIG{pgn4spip/cfg_bch, "F6F6F6"})]" size="5"/></td>
77</tr><td nowrap="nowrap"><label><:pgn4spip:piece:></label></td>
78        <td><input type="text" name="cfg_ps" value="[(#CONFIG{pgn4spip/cfg_ps, <:pgn4spip:default:>})]" size="5"></td>
79        <td><label><:pgn4spip:font:></label></td>
80        <td>
81        <select name="cfg_pf"> 
82                <option value="d" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"d"}|?{selected="selected",''})]><:pgn4spip:default:></option>
83                <option value="a" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"a"}|?{selected="selected",''})]><:pgn4spip:alpha:></option>
84                <option value="m" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"m"}|?{selected="selected",''})]><:pgn4spip:merida:></option>
85                <option value="u" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"u"}|?{selected="selected",''})]><:pgn4spip:ucsf:></option>
86                <option value="s" [(#CONFIG{pgn4spip/cfg_pf, "d"}|=={"s"}|?{selected="selected",''})]><:pgn4spip:svgchess:></option>
87        </select>
88        </td>
89<tr>
90</tr>
91</table>
92<:pgn4spip:squareclick:>
93</fieldset>
94<fieldset><legend><:pgn4spip:pgn:></legend>
95<table cellpadding="0" cellspacing="5">
96<tr><td><:pgn4spip:showmoves:></td>
97        <td><div align="center"><:pgn4spip:pgnheader:></div></td>
98        <td><div align="center"><:pgn4spip:pgnmove:></div></td>
99        <td><:pgn4spip:pgncomment:></td>
100        <td><div align="center"><:pgn4spip:pgnfocus:></div></td>
101        <td><div align="center"><:pgn4spip:pgndelay:></div></td>
102</tr>
103<tr><td>
104        <select name="cfg_md"> 
105                <option value="f" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"f"}|?{selected="selected",''})]><:pgn4spip:figurine:></option>
106                <option value="t" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"t"}|?{selected="selected",''})]><:pgn4spip:text:></option>
107                <option value="p" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"p"}|?{selected="selected",''})]><:pgn4spip:puzzle:></option>
108                <option value="h" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:hidden:></option>
109                <option value="l" [(#CONFIG{pgn4spip/cfg_md, "f"}|=={"l"}|?{selected="selected",''})]><:pgn4spip:live:></option>
110        </select>
111        </td>
112        <td><input type="text" name="cfg_fhch" value="[(#CONFIG{pgn4spip/cfg_fhch, "000000"})]" size="5"/></td>
113        <td><input type="text" name="cfg_fmch" value="[(#CONFIG{pgn4spip/cfg_fmch, "000000"})]" size="5"/></td>
114        <td><input type="text" name="cfg_fcch" value="[(#CONFIG{pgn4spip/cfg_fcch, "000080"})]" size="5"/><br /></td>
115        <td><input type="text" name="cfg_hmch" value="[(#CONFIG{pgn4spip/cfg_hmch, "E0E0E0"})]" size="5"/></td>
116        <td><input type="text" name="cfg_d" value="[(#CONFIG{pgn4spip/cfg_d, "3000"})]" size="5"/></td>
117</tr>
118<tr><td><:pgn4spip:ctrlbrowse:></td>
119        <td><div align="center"><:pgn4spip:ctrlarrow:></div></td>
120        <td><div align="center"><:pgn4spip:ctrlbckgrnd:></div></td>
121        <td>
122        <select name="cfg_cd"> 
123                <option value="n" [(#CONFIG{pgn4spip/cfg_cd, "n"}|=={"n"}|?{selected="selected",''})]><:pgn4spip:newline:></option>
124                <option value="i" [(#CONFIG{pgn4spip/cfg_cd, "n"}|=={"i"}|?{selected="selected",''})]><:pgn4spip:inline:></option>
125                <option value="h" [(#CONFIG{pgn4spip/cfg_cd, "n"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:hidden2:></option>
126        </select>
127        </td>
128        <td>
129        <select name="cfg_hm"> 
130                <option value="b" [(#CONFIG{pgn4spip/cfg_hm, "b"}|=={"b"}|?{selected="selected",''})]><:pgn4spip:focusborder:></option>
131                <option value="s" [(#CONFIG{pgn4spip/cfg_hm, "b"}|=={"s"}|?{selected="selected",''})]><:pgn4spip:focussquare:></option>
132                <option value="n" [(#CONFIG{pgn4spip/cfg_hm, "b"}|=={"n"}|?{selected="selected",''})]><:pgn4spip:none:></option>
133        </select>
134        </td>
135        <td><:pgn4spip:liverate:></td>
136</tr>
137<tr><td>
138        <select name="cfg_bd"> 
139                <option value="c" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"c"}|?{selected="selected",''})]><:pgn4spip:custom:></option>
140                <option value="s" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"s"}|?{selected="selected",''})]><:pgn4spip:standard:></option>
141                <option value="h" [(#CONFIG{pgn4spip/cfg_bd, "c"}|=={"h"}|?{selected="selected",''})]><:pgn4spip:hidden2:></option>
142        </select>
143        </td>
144        <td><input type="text" name="cfg_ctch" value="[(#CONFIG{pgn4spip/cfg_ctch, "696969"})]" size="5"/></td>
145        <td><input type="text" name="cfg_cbch" value="[(#CONFIG{pgn4spip/cfg_cbch, "F0F0F0"})]" size="5"/></td>
146        <td><:pgn4spip:autoplay:></td>
147        <td>
148        <select name="cfg_am"> 
149                <option value="n" [(#CONFIG{pgn4spip/cfg_am, "n"}|=={"n"}|?{selected="selected",''})]><:pgn4spip:none:></option>
150                <option value="g" [(#CONFIG{pgn4spip/cfg_am, "n"}|=={"g"}|?{selected="selected",''})]><:pgn4spip:game:></option>
151                <option value="l" [(#CONFIG{pgn4spip/cfg_am, "n"}|=={"l"}|?{selected="selected",''})]><:pgn4spip:loop:></option>
152        </select>
153        </td>
154        <td><input type="text" name="cfg_rm" value="[(#CONFIG{pgn4spip/cfg_rm, "1.0"})]" size="5"/></td>
155</tr>
156</table>
157</fieldset>
158<hr />
159<fieldset><:pgn4spip:conflocalpgn:>
160</fieldset>
161<input type="submit" name="_cfg_ok" value="<:cfg:ok:>" />
162<input type="reset" value="<:cfg:reset:>" />
163<input type="submit" name="_cfg_delete" value="<:cfg:supprimer:>" />
164</div>
165</form>
Note: See TracBrowser for help on using the repository browser.