1 | {include file='include/autosize.inc.tpl'} |
---|
2 | {combine_script id='jquery.cluetip' load='async' require='jquery' path='themes/default/js/plugins/jquery.cluetip.js'} |
---|
3 | |
---|
4 | {footer_script require='jquery.cluetip'} |
---|
5 | jQuery().ready(function(){ldelim} |
---|
6 | jQuery('.cluetip').cluetip({ldelim} |
---|
7 | width: 400, |
---|
8 | splitTitle: '|' |
---|
9 | }); |
---|
10 | }); |
---|
11 | {/footer_script} |
---|
12 | |
---|
13 | <div class="titrePage"> |
---|
14 | <h2>{'py_title'|@translate}</h2> |
---|
15 | </div> |
---|
16 | |
---|
17 | <form name="add_page" method="post" action="{$pywaie_F_ACTION}" class="properties" ENCTYPE="multipart/form-data"> |
---|
18 | <fieldset> |
---|
19 | <legend>{'py_addvideo'|@translate}</legend> |
---|
20 | <table> |
---|
21 | <tr> |
---|
22 | <td></td> |
---|
23 | <td>{'Name'|@translate} *</td> |
---|
24 | <td> |
---|
25 | <input type="text" size="55" maxlength="50" value="{$PYWAIE_ADD_NAME}" name="pywaie_add_name"/></td> |
---|
26 | </tr> |
---|
27 | <tr> |
---|
28 | <td><img class="cluetip" src="{$ICON_INFOBULLE}" alt="" title="{'py_url'|@translate}|{'pybulle_reference'|@translate}"></td> |
---|
29 | <td>{'py_url'|@translate} *</td> |
---|
30 | <td> |
---|
31 | <input type="text" size="55" value="{$PYWAIE_ADD_URL}" name="pywaie_add_url" /></td> |
---|
32 | </tr> |
---|
33 | <tr> |
---|
34 | <td><img class="cluetip" src="{$ICON_INFOBULLE}" alt="" title="{'py_parent'|@translate}|{'pybulle_categorie'|@translate}"></td> |
---|
35 | <td>{'py_parent'|@translate} *</td> |
---|
36 | <td> |
---|
37 | {html_options name="parent" options=$category_option_parent selected=$category_option_parent_selected} |
---|
38 | </td> |
---|
39 | </tr> |
---|
40 | |
---|
41 | <tr> |
---|
42 | <td colspan="3"><br><hr></td> |
---|
43 | </tr> |
---|
44 | |
---|
45 | <tr> |
---|
46 | <td><img class="cluetip" src="{$ICON_INFOBULLE}" alt="" title="{'py_thumb'|@translate}|{'pybulle_miniature'|@translate}"></td> |
---|
47 | <td>{'py_thumb'|@translate}</td> |
---|
48 | </tr> |
---|
49 | |
---|
50 | <tr> |
---|
51 | <td></td> |
---|
52 | <td colspan="2"> |
---|
53 | <input type="radio" name="thumbnail" value="no_thumb" {$no_thumb_CHECKED}><i> {'py_no_thumb'|@translate}</i></td> |
---|
54 | </tr> |
---|
55 | <tr> |
---|
56 | <td></td> |
---|
57 | <td colspan="2"> |
---|
58 | <input type="radio" name="thumbnail" value="thumb_from_server" {$thumb_from_server_CHECKED}> <i>{'py_thumb_from_server'|@translate}</i></td> |
---|
59 | </tr> |
---|
60 | <tr> |
---|
61 | <td></td> |
---|
62 | <td colspan="2"> |
---|
63 | <input type="radio" name="thumbnail" id="thumb_from_user" value="thumb_from_user" {$thumb_from_user_CHECKED}> <i>{'py_thumb_from_user'|@translate} </i> |
---|
64 | <input name="picture" type="file" value="" size="20" onmousedown="document.getElementById('thumb_from_user').checked = true;"/></td> |
---|
65 | </tr> |
---|
66 | <tr> |
---|
67 | <td><br></td> |
---|
68 | <td colspan="2"><br> |
---|
69 | <table style="text-align:left;"> |
---|
70 | <tr> |
---|
71 | <td colspan="3"><input type="checkbox" name="add_band" value="on" id="add_band" {$ADD_BAND}> {'py_add_band'|@translate}</td> |
---|
72 | </tr> |
---|
73 | <tr> |
---|
74 | <td><input type="checkbox" name="thumb_resize" value="on" id="thumb_resize" {$THUMB_RESIZE}> {'py_thumb_resize'|@translate} : </td> |
---|
75 | <td><input type="text" size="3" maxlength="3" value="{$DEFAULT_THUMB_W}" name="thumb_width" onmousedown="document.getElementById('thumb_resize').checked = true;"/> </td> |
---|
76 | <td><i>{'maximum width'|@translate}</i></td> |
---|
77 | </tr> |
---|
78 | <tr> |
---|
79 | <td></td> |
---|
80 | <td><input type="text" size="3" maxlength="3" value="{$DEFAULT_THUMB_H}" name="thumb_hight" onmousedown="document.getElementById('thumb_resize').checked = true;"/> </td> |
---|
81 | <td><i>{'maximum height'|@translate}</i></td> |
---|
82 | </tr> |
---|
83 | </table> |
---|
84 | </td> |
---|
85 | </tr> |
---|
86 | <tr> |
---|
87 | <td colspan="3"><br><hr></td> |
---|
88 | </tr> |
---|
89 | |
---|
90 | <tr> |
---|
91 | <td></td> |
---|
92 | <td>{'py_width'|@translate}</td> |
---|
93 | <td> |
---|
94 | <input type="text" size="3" maxlength="3" value="{$PYWAIE_ADD_W}" name="pywaie_add_w" /></td> |
---|
95 | </tr> |
---|
96 | <tr> |
---|
97 | <td></td> |
---|
98 | <td>{'py_height'|@translate}</td> |
---|
99 | <td> |
---|
100 | <input type="text" size="3" maxlength="3" value="{$PYWAIE_ADD_H}" name="pywaie_add_h" /></td> |
---|
101 | </tr> |
---|
102 | <tr> |
---|
103 | <td><img class="cluetip" src="{$ICON_INFOBULLE}" alt="" title="{'py_start'|@translate}|{'pybulle_start'|@translate}"></td> |
---|
104 | <td>{'py_start'|@translate}</td> |
---|
105 | <td> |
---|
106 | <input type="text" size="3" maxlength="4" value="{$PYWAIE_ADD_START}" name="pywaie_add_start" /></td> |
---|
107 | </tr> |
---|
108 | |
---|
109 | <tr> |
---|
110 | <td colspan="3"><br><hr></td> |
---|
111 | </tr> |
---|
112 | <tr> |
---|
113 | <td></td> |
---|
114 | <td>{'Author'|@translate}</td> |
---|
115 | <td> |
---|
116 | <input type="text" size="30" name="author" value="{$AUTHOR}" /></td> |
---|
117 | </tr> |
---|
118 | |
---|
119 | <tr> |
---|
120 | <td></td> |
---|
121 | <td>{'Description'|@translate}</td> |
---|
122 | <td> |
---|
123 | <textarea rows="4" cols="42" name="comment">{$COMMENT}</textarea></td> |
---|
124 | </tr> |
---|
125 | |
---|
126 | |
---|
127 | </table> |
---|
128 | <br /> |
---|
129 | <div style="text-align:center;"> |
---|
130 | <input class="submit" type="submit" value="{'Submit'|@translate}" name="submit_add" /></div> |
---|
131 | <div style="text-align:right;">* {'py_*'|@translate}</div> |
---|
132 | </fieldset> |
---|
133 | </form> |
---|
134 | <br /> |
---|