17 |
17 |
18 <!-- CSS --> |
18 <!-- CSS --> |
19 <link rel="stylesheet" href="<?php echo(registry_url('blueprint-screen','css'));?>" type="text/css" media="screen, projection"/> |
19 <link rel="stylesheet" href="<?php echo(registry_url('blueprint-screen','css'));?>" type="text/css" media="screen, projection"/> |
20 <link rel="stylesheet" href="<?php echo(registry_url('blueprint-print','css'));?>" type="text/css" media="print"/> |
20 <link rel="stylesheet" href="<?php echo(registry_url('blueprint-print','css'));?>" type="text/css" media="print"/> |
21 <!--[if lt IE 8]><link rel="stylesheet" href="<?php echo(registry_url('blueprint-ie','css'));?>" type="text/css" media="screen, projection"><![endif]--> |
21 <!--[if lt IE 8]><link rel="stylesheet" href="<?php echo(registry_url('blueprint-ie','css'));?>" type="text/css" media="screen, projection"><![endif]--> |
22 <link rel="stylesheet" href="<?php echo(registry_url('blueprint-plugins-fancy-type','css'));?>" type="text/css" media="screen, projection"/> |
22 <link rel="stylesheet" href="<?php echo(registry_url('blueprint-plugins-fancy-type','css'));?>" type="text/css" media="screen, projection"/> |
23 <link rel="stylesheet" href="<?php echo(registry_url('custom','css'));?>" type="text/css" media="screen, projection"/> |
23 <link rel="stylesheet" href="<?php echo(registry_url('custom','css'));?>" type="text/css" media="screen, projection"/> |
24 <link rel="stylesheet" href="<?php echo(registry_url('jquery-te','css'));?>" type="text/css" media="screen, projection"/> |
24 <link rel="stylesheet" href="<?php echo(registry_url('jquery-te','css'));?>" type="text/css" media="screen, projection"/> |
25 |
25 |
26 <!-- JAVASCRIPT --> |
26 <!-- JAVASCRIPT --> |
27 <script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script> |
27 <script type="text/javascript" src="<?php echo(registry_url('jquery','js'))?>"></script> |
28 <script type="text/javascript" src="<?php echo(registry_url('underscore','js'))?>"></script> |
28 <script type="text/javascript" src="<?php echo(registry_url('underscore','js'))?>"></script> |
29 <script type="text/javascript" src="<?php echo(registry_url('jquery-te','js'))?>"></script> |
29 <script type="text/javascript" src="<?php echo(registry_url('jquery-tinymce','js'))?>"></script> |
30 |
|
31 <script type="text/javascript"> |
30 <script type="text/javascript"> |
32 $(function() { |
31 $(function() { |
33 $("textarea").jqte(); |
32 $("textarea").tinymce({ |
34 }); |
33 script_url : '<?php echo(registry_url('tinymce','js'))?>', |
|
34 menubar:false, |
|
35 toolbar: "undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link unlink | code preview", |
|
36 resize: true, |
|
37 valid_styles : { '*' : 'color,font-size,font-weight,font-style,text-decoration' }, |
|
38 paste_use_dialog : true, |
|
39 paste_auto_cleanup_on_paste : true, |
|
40 plugins: "code, preview, link, paste", |
|
41 }); |
|
42 }); |
35 </script> |
43 </script> |
36 </head> |
44 </head> |
37 <body> |
45 <body> |
38 <div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div> |
46 <div id="sendUsFeedBack"><a href="<?php echo($C_feedback_form_url); ?>" target="_blank"><img src="<?php echo(URL_ROOT); ?>images/sendusfeedback.png"></a></div> |
39 <div class="container"> |
47 <div class="container"> |
40 <img src="images/ENMI_2010_logo.gif" class="logo"> |
48 <img src="images/ENMI_2010_logo.gif" class="logo"> |
41 <ul class="menu"> |
49 <ul class="menu"> |
42 <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>" class="menuLink"> |
50 <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>" class="menuLink"> |
43 <?php print $translate->_("Accueil"); ?></a></li> |
51 <?php print $translate->_("Accueil"); ?></a></li> |
44 <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>about.php" class="menuLink"> |
52 <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>about.php" class="menuLink"> |
45 <?php print $translate->_("A propos"); ?></a></li> |
53 <?php print $translate->_("A propos"); ?></a></li> |
46 <li ><a href="mailto:contact@iri.centrepompidou.fr" class="menuLink" > |
54 <li ><a href="mailto:contact@iri.centrepompidou.fr" class="menuLink" > |
47 <?php print $translate->_("Contact"); ?></a></li> |
55 <?php print $translate->_("Contact"); ?></a></li> |
48 </ul> |
56 </ul> |
49 <ul class="menu"> |
57 <ul class="menu"> |
50 <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>archives.php" class="menuLink"> |
58 <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>archives.php" class="menuLink"> |
51 <?php print $translate->_("Archives"); ?></a></li> |
59 <?php print $translate->_("Archives"); ?></a></li> |
52 <?php |
60 <?php |
53 if($_SESSION['auth']) { ?> |
61 if($_SESSION['auth']) { ?> |
54 <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>logout.php" class="menuLink"> |
62 <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>logout.php" class="menuLink"> |
55 <?php print $translate->_("Logout"); ?></a></li> |
63 <?php print $translate->_("Logout"); ?></a></li> |
56 <?php |
64 <?php |
57 } |
65 } |
58 ?> |
66 ?> |
59 </ul> |
67 </ul> |
60 |
68 |
61 |
69 |
62 <ul class="menu lang" > |
70 <ul class="menu lang" > |
63 <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>event_form.php?lang=ja_JP" class="menuLink" > |
71 <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>event_form.php?lang=ja_JP" class="menuLink" > |
64 <img src='images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> /> |
72 <img src='images/flag_jp.gif'<?php if($actual!="ja_JP"){echo("style='opacity: .5;'"); } ?> /> |
65 <?php print $translate->_("Japonais"); ?></a></li> |
73 <?php print $translate->_("Japonais"); ?></a></li> |
66 <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>event_form.php?lang=fr" class="menuLink"> |
74 <li class="menuUnderline"><a href="<?php echo(URL_ROOT); ?>event_form.php?lang=fr" class="menuLink"> |
67 <img src='images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> /> |
75 <img src='images/flag_fr.gif' <?php if($actual!="fr"){echo("style='opacity: .5;'"); } ?> /> |
68 <?php print $translate->_("Français"); ?></a></li> |
76 <?php print $translate->_("Français"); ?></a></li> |
69 <li ><a href="<?php echo(URL_ROOT); ?>event_form.php?lang=en" class="menuLink"> |
77 <li ><a href="<?php echo(URL_ROOT); ?>event_form.php?lang=en" class="menuLink"> |
70 <img src='images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> /> |
78 <img src='images/flag_en.gif' <?php if($actual!="en"){echo("style='opacity: .5;'"); } ?> /> |
71 <?php print $translate->_("Anglais"); ?></a></li> |
79 <?php print $translate->_("Anglais"); ?></a></li> |
72 </ul> |
80 </ul> |
73 </div> |
81 </div> |
74 <div class="container"> |
82 <div class="container"> |
75 <?php |
83 <?php |
76 if(!isset($user_data) || isset($user_data['error'])) { |
84 if(!isset($user_data) || isset($user_data['error'])) { |
77 print "<div class=\"error-message\"><h2>".$user_data['error']."</h2></div>"; |
85 print "<div class=\"error-message\"><h2>".$user_data['error']."</h2></div>"; |
78 } |
86 } |
79 else { |
87 else { |
80 ?> |
88 ?> |
81 <form id="event-form" method="post" enctype="multipart/form-data" action="./event_process.php"> |
89 <form id="event-form" method="post" enctype="multipart/form-data" action="./event_process.php"> |
82 <fieldset id="event-fields"> |
90 <fieldset id="event-fields"> |
83 <div class="event-field"> |
91 <div class="event-field"> |
84 <label for="title"><?php print $translate->_("title"); ?>*</label> |
92 <label for="title"><?php print $translate->_("title"); ?>*</label> |
85 <input type="text" id="title" name="title" /> |
93 <input type="text" id="title" name="title" /> |
86 <div class="event-field-help"><?php print $translate->_("title_help"); ?></div> |
94 <div class="event-field-help"><?php print $translate->_("title_help"); ?></div> |
87 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>attention-1314-01-notion-attention/client.php?highlight=%23event-title" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
95 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>attention-1314-01-notion-attention/client.php?highlight=%23event-title" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
88 </div> |
96 </div> |
89 <div class="event-field"> |
97 <div class="event-field"> |
90 <label for="hashtag"><?php print $translate->_("hashtag"); ?></label> |
98 <label for="hashtag"><?php print $translate->_("hashtag"); ?></label> |
91 <input type="text" id="hashtag" name="hashtag" alt="format: #hastag"/> |
99 <input type="text" id="hashtag" name="hashtag" alt="format: #hastag"/> |
92 <div class="event-field-help"><?php print $translate->_("hashtag_help"); ?></div> |
100 <div class="event-field-help"><?php print $translate->_("hashtag_help"); ?></div> |
93 </div> |
101 </div> |
94 <div class="event-field"> |
102 <div class="event-field"> |
95 <label for="abstract"><?php print $translate->_("abstract");?></label> |
103 <label for="abstract"><?php print $translate->_("abstract");?></label> |
96 <textarea name="abstract" id="abstract"></textarea> |
104 <textarea name="abstract" id="abstract"></textarea> |
97 <div class="event-field-help"><?php print $translate->_("abstract_help"); ?></div> |
105 <div class="event-field-help"><?php print $translate->_("abstract_help"); ?></div> |
98 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>index.php?highlight=%23event-abstract" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
106 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>index.php?highlight=%23event-abstract" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
99 </div> |
107 </div> |
100 <div class="event-field"> |
108 <div class="event-field"> |
101 <label for="description"><?php print $translate->_("description");?></label> |
109 <label for="description"><?php print $translate->_("description");?></label> |
102 <textarea name="description" id="description"></textarea> |
110 <textarea name="description" id="description"></textarea> |
103 <div class="event-field-help"><?php print $translate->_("description_help"); ?></div> |
111 <div class="event-field-help"><?php print $translate->_("description_help"); ?></div> |
104 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>attention-1314-01-notion-attention/client.php?highlight=%23event-description" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
112 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>attention-1314-01-notion-attention/client.php?highlight=%23event-description" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
105 </div> |
113 </div> |
106 <div class="event-field"> |
114 <div class="event-field"> |
107 <label for="link"><?php print $translate->_("link");?></label> |
115 <label for="link"><?php print $translate->_("link");?></label> |
108 <input type="text" name="link" id="link"/> |
116 <input type="text" name="link" id="link"/> |
109 <div class="event-field-help"><?php print $translate->_("link_help"); ?></div> |
117 <div class="event-field-help"><?php print $translate->_("link_help"); ?></div> |
110 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>attention-1314-01-notion-attention/client.php?highlight=%23event-link" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
118 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>attention-1314-01-notion-attention/client.php?highlight=%23event-link" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
111 </div> |
119 </div> |
112 <div class="event-field"> |
120 <div class="event-field"> |
113 <label for="islive"><?php print $translate->_("islive");?></label> |
121 <label for="islive"><?php print $translate->_("islive");?></label> |
114 <input type="hidden" name="islive" value="__FALSE__"/> |
122 <input type="hidden" name="islive" value="__FALSE__"/> |
115 <input type="checkbox" name="islive" id="islive" value="__TRUE__"/> |
123 <input type="checkbox" name="islive" id="islive" value="__TRUE__"/> |
116 <div class="event-field-help"><?php print $translate->_("islive_help"); ?></div> |
124 <div class="event-field-help"><?php print $translate->_("islive_help"); ?></div> |
117 </div> |
125 </div> |
118 <div class="event-field"> |
126 <div class="event-field"> |
119 <label for="islive_embed"><?php print $translate->_("islive_embed");?></label> |
127 <label for="islive_embed"><?php print $translate->_("islive_embed");?></label> |
120 <input type="text" name="islive_embed" id="islive_embed"/> |
128 <input type="text" name="islive_embed" id="islive_embed"/> |
121 <div class="event-field-help"><?php print $translate->_("islive_embed_help"); ?></div> |
129 <div class="event-field-help"><?php print $translate->_("islive_embed_help"); ?></div> |
122 </div> |
130 </div> |
123 <div class="event-field"> |
131 <div class="event-field"> |
124 <label for="keywords"><?php print $translate->_("keywords");?></label> |
132 <label for="keywords"><?php print $translate->_("keywords");?></label> |
125 <input type="text" name="keywords" id="keywords"/> |
133 <input type="text" name="keywords" id="keywords"/> |
126 <div class="event-field-help"><?php print $translate->_("keywords_help"); ?></div> |
134 <div class="event-field-help"><?php print $translate->_("keywords_help"); ?></div> |
127 </div> |
135 </div> |
128 <div class="event-field"> |
136 <div class="event-field"> |
129 <label for="partenaires"><?php print $translate->_("partenaires");?></label> |
137 <label for="partenaires"><?php print $translate->_("partenaires");?></label> |
130 <textarea name="partenaires" id="partenaires"></textarea> |
138 <textarea name="partenaires" id="partenaires"></textarea> |
131 <div class="event-field-help"><?php print $translate->_("partenaires_help"); ?></div> |
139 <div class="event-field-help"><?php print $translate->_("partenaires_help"); ?></div> |
132 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>attention-1314-01-notion-attention/client.php?highlight=%23event-partenaires" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
140 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>attention-1314-01-notion-attention/client.php?highlight=%23event-partenaires" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
133 </div> |
141 </div> |
134 <div class="event-field"> |
142 <div class="event-field"> |
135 <label for="client_visual"><?php print $translate->_("client_visual");?></label> |
143 <label for="client_visual"><?php print $translate->_("client_visual");?></label> |
136 <input type="file" name="client_visual" id="client_visual"/> |
144 <input type="file" name="client_visual" id="client_visual"/> |
137 <div class="event-field-help"><?php print $translate->_("client_visual_help"); ?></div> |
145 <div class="event-field-help"><?php print $translate->_("client_visual_help"); ?></div> |
138 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>attention-1314-01-notion-attention/client.php?highlight=%23vlWrap&highlight_effect=pulsate" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
146 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>attention-1314-01-notion-attention/client.php?highlight=%23vlWrap&highlight_effect=pulsate" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
139 </div> |
147 </div> |
140 <div class="event-field"> |
148 <div class="event-field"> |
141 <label for="head_logo"><?php print $translate->_("head_logo");?></label> |
149 <label for="head_logo"><?php print $translate->_("head_logo");?></label> |
142 <input type="file" name="head_logo" id="head_logo" /> |
150 <input type="file" name="head_logo" id="head_logo" /> |
143 <div class="event-field-help"><?php print $translate->_("head_logo_help"); ?></div> |
151 <div class="event-field-help"><?php print $translate->_("head_logo_help"); ?></div> |
144 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>attention-1314-01-notion-attention/client.php?highlight=%23headlogo" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
152 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>attention-1314-01-notion-attention/client.php?highlight=%23headlogo" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
145 </div> |
153 </div> |
146 <div class="event-field"> |
154 <div class="event-field"> |
147 <label for="slide_background"><?php print $translate->_("slide_background");?></label> |
155 <label for="slide_background"><?php print $translate->_("slide_background");?></label> |
148 <input type="file" name="slide_background" id="slide_background"/> |
156 <input type="file" name="slide_background" id="slide_background"/> |
149 <div class="event-field-help"><?php print $translate->_("slide_background_help"); ?></div> |
157 <div class="event-field-help"><?php print $translate->_("slide_background_help"); ?></div> |
150 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>index.php?highlight=.slider&highlight_effect=pulsate" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
158 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>index.php?highlight=.slider&highlight_effect=pulsate" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
151 </div> |
159 </div> |
152 <div class="event-field"> |
160 <div class="event-field"> |
153 <label for="archive_img"><?php print $translate->_("archive_img");?></label> |
161 <label for="archive_img"><?php print $translate->_("archive_img");?></label> |
154 <input type="file" name="archive_img" id="archive_img" /> |
162 <input type="file" name="archive_img" id="archive_img" /> |
155 <div class="event-field-help"><?php print $translate->_("archive_img_help"); ?></div> |
163 <div class="event-field-help"><?php print $translate->_("archive_img_help"); ?></div> |
156 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>archives.php?highlight=.AVBimg&highlight_effect=pulsate" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
164 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>archives.php?highlight=.AVBimg&highlight_effect=pulsate" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
157 </div> |
165 </div> |
158 <div class="event-field"> |
166 <div class="event-field"> |
159 <label for="archive_title"><?php print $translate->_("archive_title");?></label> |
167 <label for="archive_title"><?php print $translate->_("archive_title");?></label> |
160 <input type="text" name="archive_title" id="archive_title"/> |
168 <input type="text" name="archive_title" id="archive_title"/> |
161 <div class="event-field-help"><?php print $translate->_("archive_title_help"); ?></div> |
169 <div class="event-field-help"><?php print $translate->_("archive_title_help"); ?></div> |
162 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>index.php?highlight=.AVBtitle" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
170 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>index.php?highlight=.AVBtitle" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
163 </div> |
171 </div> |
164 <div class="event-field"> |
172 <div class="event-field"> |
165 <label for="archive_description"><?php print $translate->_("archive_description");?></label> |
173 <label for="archive_description"><?php print $translate->_("archive_description");?></label> |
166 <textarea name="archive_description" id="archive_description"></textarea> |
174 <textarea name="archive_description" id="archive_description"></textarea> |
167 <div class="event-field-help"><?php print $translate->_("archive_description_help"); ?></div> |
175 <div class="event-field-help"><?php print $translate->_("archive_description_help"); ?></div> |
168 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>index.php?highlight=.AVBtext" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
176 <div class="event-field-example"><a href="<?php echo(URL_ROOT); ?>index.php?highlight=.AVBtext" target="_blank"><?php print $translate->_("Event_example"); ?></a></div> |
169 </div> |
177 </div> |
170 </fieldset> |
178 </fieldset> |
171 <input type="submit" /> |
179 <input type="submit" /> |
172 </form> |
180 </form> |
173 <?php |
181 <?php |
174 } |
182 } |
175 ?> |
183 ?> |
176 </div> |
184 </div> |
177 </body> |
185 </body> |
178 </html> |
186 </html> |