1 | #SET{domid,_#ENV{mode}|concat{'_',#ENV{id,new}}} |
---|
2 | [ |
---|
3 | |
---|
4 | |
---|
5 | (#REM) Formulaire d'upload de fichier |
---|
6 | ]<div class='joindre_mode#GET{domid}' id='joindre_upload#GET{domid}'> |
---|
7 | <ul> |
---|
8 | <li class='editer_fichier_upload[ (#ENV**{erreurs}|table_valeur{fichier_upload}|oui)erreur]'> |
---|
9 | <label for='fichier_upload#GET{domid}'><:info_telecharger:></label>[ |
---|
10 | <span class='erreur_message'>(#ENV**{erreurs}|table_valeur{fichier_upload})</span> |
---|
11 | ]<input class='file multi' type="file" name="fichier_upload[]" value='#ENV{fichier_upload}' id="fichier_upload#GET{domid}" size='14' /> |
---|
12 | </li> |
---|
13 | </ul> |
---|
14 | <div class='sourceup'> |
---|
15 | <:medias:bouton_download_depuis:> |
---|
16 | <:medias:bouton_download_local:> |
---|
17 | [(#ENV{mediatheque,''}|oui) |
---|
18 | | <a href='#' onclick="if (jQuery('#joindre_media#GET{domid}').is(':hidden')) {jQuery('div.joindre_mode#GET{domid}:visible').slideUp('fast');jQuery('#joindre_media#GET{domid}').slideDown('fast');}return false;"><:medias:bouton_download_par_mediatheque:></a>] |
---|
19 | [(#ENV{proposer_ftp,''}|oui) |
---|
20 | | <a href='#' onclick="if (jQuery('#joindre_ftp#GET{domid}').is(':hidden')) {jQuery('div.joindre_mode#GET{domid}:visible').slideUp('fast');jQuery('#joindre_ftp#GET{domid}').slideDown('fast');}return false;"><:medias:bouton_download_par_ftp:></a>] |
---|
21 | | <a href='#' onclick="if (jQuery('#joindre_distant#GET{domid}').is(':hidden')) {jQuery('div.joindre_mode#GET{domid}:visible').slideUp('fast');jQuery('#joindre_distant#GET{domid}').slideDown('fast');}return false;"><:medias:bouton_download_sur_le_web:></a> |
---|
22 | </div> |
---|
23 | <p class='boutons'><input class='submit' type="submit" name="joindre_upload" value="<:medias:bouton_upload:>"/></p> |
---|
24 | </div>[ |
---|
25 | |
---|
26 | |
---|
27 | |
---|
28 | |
---|
29 | (#REM) Formulaire pour document dans mediatheque |
---|
30 | ][(#ENV{mediatheque,''}|oui) |
---|
31 | <div class='joindre_mode#GET{domid}' id='joindre_media#GET{domid}'> |
---|
32 | <ul> |
---|
33 | <li class='editer_refdoc_joindre[ (#ENV**{erreurs}|table_valeur{refdoc_joindre}|oui)erreur]'> |
---|
34 | <label for='refdoc_joindre#GET{domid}'><:medias:label_refdoc_joindre:></label>[ |
---|
35 | <span class='erreur_message'>(#ENV**{erreurs}|table_valeur{refdoc_joindre})</span> |
---|
36 | ]<input class='text' type="text" name="refdoc_joindre" value='#ENV{refdoc_joindre}' id="refdoc_joindre#GET{domid}"/> |
---|
37 | </li> |
---|
38 | </ul> |
---|
39 | <p class='boutons'><input class='submit' type="button" name="parcourir" value="<:medias:bouton_parcourir:>" |
---|
40 | onclick="jQuery.modalboxload( |
---|
41 | '#URL_ECRIRE{portfolio,selectfunc=mediaselect#GET{domid}}', |
---|
42 | {autoResize: true} |
---|
43 | );" |
---|
44 | /></p> |
---|
45 | <script type="text/javascript"> |
---|
46 | function mediaselect#GET{domid}(id){ |
---|
47 | jQuery.modalboxclose(); |
---|
48 | jQuery("#refdoc_joindre#GET{domid}").attr('value','doc'+id).focus(); |
---|
49 | }; |
---|
50 | </script> |
---|
51 | <div class='sourceup'> |
---|
52 | <:medias:bouton_download_depuis:> |
---|
53 | <a href='#' onclick="if (jQuery('#joindre_upload#GET{domid}').is(':hidden')) {jQuery('div.joindre_mode#GET{domid}:visible').slideUp('fast');jQuery('#joindre_upload#GET{domid}').slideDown('fast');}return false;"><:medias:bouton_download_local:></a> |
---|
54 | | <:medias:bouton_download_par_mediatheque:> |
---|
55 | [(#ENV{proposer_ftp,''}|oui) |
---|
56 | | <a href='#' onclick="if (jQuery('#joindre_ftp#GET{domid}').is(':hidden')) {jQuery('div.joindre_mode#GET{domid}:visible').slideUp('fast');jQuery('#joindre_ftp#GET{domid}').slideDown('fast');}return false;"><:medias:bouton_download_par_ftp:></a>] |
---|
57 | | <a href='#' onclick="if (jQuery('#joindre_distant#GET{domid}').is(':hidden')) {jQuery('div.joindre_mode#GET{domid}:visible').slideUp('fast');jQuery('#joindre_distant#GET{domid}').slideDown('fast');}return false;"><:medias:bouton_download_sur_le_web:></a> |
---|
58 | </div> |
---|
59 | <p class='boutons'><input class='submit' type="submit" name="joindre_mediatheque" value="<:medias:bouton_attacher_document:>"/></p> |
---|
60 | </div> |
---|
61 | ][ |
---|
62 | |
---|
63 | |
---|
64 | |
---|
65 | |
---|
66 | (#REM) Formulaire pour upload ftp |
---|
67 | ][(#ENV{proposer_ftp,''}|oui) |
---|
68 | <div class='joindre_mode#GET{domid}' id='joindre_ftp#GET{domid}'> |
---|
69 | [ |
---|
70 | <ul> |
---|
71 | <li class='editer_cheminftp[ (#ENV**{erreurs}|table_valeur{cheminftp}|oui)erreur]'> |
---|
72 | <label for='cheminftp#GET{domid}'>[(#VAL{info_selectionner_fichier}|_T{#ARRAY{upload,#ENV*{_dir_upload_ftp}}})]</label>[ |
---|
73 | <span class='erreur_message'>(#ENV**{erreurs}|table_valeur{cheminftp})</span> |
---|
74 | ]<select name='cheminftp' id='cheminftp#GET{domid}' size='1'> |
---|
75 | <option value=''>>></option> |
---|
76 | (#ENV*{_options_upload_ftp}) |
---|
77 | </select> |
---|
78 | </li> |
---|
79 | </ul>][(#ENV{_dir_upload_ftp}|et{#ENV{_options_upload_ftp}|non}|oui) |
---|
80 | <div class="infos"> |
---|
81 | [(#VAL{info_installer_ftp}|_T{#ARRAY{upload,#ENV*{_dir_upload_ftp}}})] #AIDER{ins_upload} |
---|
82 | </div> |
---|
83 | ] |
---|
84 | <div class='sourceup'> |
---|
85 | <:medias:bouton_download_depuis:> |
---|
86 | <a href='#' onclick="if (jQuery('#joindre_upload#GET{domid}').is(':hidden')) {jQuery('div.joindre_mode#GET{domid}:visible').slideUp('fast');jQuery('#joindre_upload#GET{domid}').slideDown('fast');}return false;"><:medias:bouton_download_local:></a> |
---|
87 | [(#ENV{mediatheque,''}|oui) |
---|
88 | | <a href='#' onclick="if (jQuery('#joindre_media#GET{domid}').is(':hidden')) {jQuery('div.joindre_mode#GET{domid}:visible').slideUp('fast');jQuery('#joindre_media#GET{domid}').slideDown('fast');}return false;"><:medias:bouton_download_par_mediatheque:></a>] |
---|
89 | | <:medias:bouton_download_par_ftp:> |
---|
90 | | <a href='#' onclick="if (jQuery('#joindre_distant#GET{domid}').is(':hidden')) {jQuery('div.joindre_mode#GET{domid}:visible').slideUp('fast');jQuery('#joindre_distant#GET{domid}').slideDown('fast');}return false;"><:medias:bouton_download_sur_le_web:></a> |
---|
91 | </div> |
---|
92 | [(#ENV*{_options_upload_ftp}|oui) |
---|
93 | <p class='boutons'><input class='submit' type="submit" name="joindre_ftp" value="<:bouton_choisir:>"/></p> |
---|
94 | ] |
---|
95 | </div> |
---|
96 | ][ |
---|
97 | |
---|
98 | |
---|
99 | |
---|
100 | |
---|
101 | (#REM) Formulaire pour document distant |
---|
102 | ]<div class='joindre_mode#GET{domid}' id='joindre_distant#GET{domid}'> |
---|
103 | <ul> |
---|
104 | <li class='editer_url[ (#ENV**{erreurs}|table_valeur{url}|oui)erreur]'> |
---|
105 | <label for='url#GET{domid}'><:info_referencer_doc_distant:></label>[ |
---|
106 | <span class='erreur_message'>(#ENV**{erreurs}|table_valeur{url})</span> |
---|
107 | ]<input class='text' type="text" name="url" value='#ENV{url}' id="url#GET{domid}"/> |
---|
108 | </li> |
---|
109 | </ul> |
---|
110 | <div class='sourceup'> |
---|
111 | <:medias:bouton_download_depuis:> |
---|
112 | <a href='#' onclick="if (jQuery('#joindre_upload#GET{domid}').is(':hidden')) {jQuery('div.joindre_mode#GET{domid}:visible').slideUp('fast');jQuery('#joindre_upload#GET{domid}').slideDown('fast');}return false;"><:medias:bouton_download_local:></a> |
---|
113 | [(#ENV{mediatheque,''}|oui) |
---|
114 | | <a href='#' onclick="if (jQuery('#joindre_media#GET{domid}').is(':hidden')) {jQuery('div.joindre_mode#GET{domid}:visible').slideUp('fast');jQuery('#joindre_media#GET{domid}').slideDown('fast');}return false;"><:medias:bouton_download_par_mediatheque:></a>] |
---|
115 | [(#ENV{proposer_ftp,''}|oui) |
---|
116 | | <a href='#' onclick="if (jQuery('#joindre_ftp#GET{domid}').is(':hidden')) {jQuery('div.joindre_mode#GET{domid}:visible').slideUp('fast');jQuery('#joindre_ftp#GET{domid}').slideDown('fast');}return false;"><:medias:bouton_download_par_ftp:></a>] |
---|
117 | | <:medias:bouton_download_sur_le_web:> |
---|
118 | </div> |
---|
119 | <p class='boutons'><input class='submit' type="submit" name="joindre_distant" value="<:bouton_choisir:>"/></p> |
---|
120 | </div>[ |
---|
121 | |
---|
122 | |
---|
123 | |
---|
124 | |
---|
125 | (#REM) Formulaire pour deballer un zip |
---|
126 | ][<ul><li class='fieldset deballer_zip'>(#ENV**{erreurs}|table_valeur{lister_contenu_archive})</li></ul>] |
---|
127 | |
---|
128 | <script type='text/javascript'>/*<!#EVAL{chr(91)}CDATA#EVAL{chr(91)}*/ |
---|
129 | setTimeout(function(){ |
---|
130 | if (window.jQuery){ |
---|
131 | jQuery(document).ready(function(){ |
---|
132 | [(#ENV{joindre_upload}|oui) |
---|
133 | jQuery('.joindre_mode#GET{domid}:not(#joindre_upload#GET{domid})').hide(); |
---|
134 | ] |
---|
135 | [(#ENV{joindre_mediatheque}|oui) |
---|
136 | jQuery('.joindre_mode#GET{domid}:not(#joindre_media#GET{domid})').hide(); |
---|
137 | ] |
---|
138 | [(#ENV{joindre_distant}|oui) |
---|
139 | jQuery('.joindre_mode#GET{domid}:not(#joindre_distant#GET{domid})').hide(); |
---|
140 | ] |
---|
141 | [(#ENV{joindre_ftp}|oui) |
---|
142 | jQuery('.joindre_mode#GET{domid}:not(#joindre_ftp#GET{domid})').hide(); |
---|
143 | ] |
---|
144 | if (jQuery('.joindre_mode#GET{domid}:visible').length>1) |
---|
145 | jQuery('.joindre_mode#GET{domid}:not(#joindre_upload#GET{domid})').hide(); |
---|
146 | }); |
---|
147 | } |
---|
148 | },10); |
---|
149 | /*#EVAL{chr(93)}[(#EVAL{chr(93)})]>*/</script> |
---|