Revert "Ensure properly encoded popup title", fix PHP instead
[infodrom.org/service.infodrom.org] / src / Infodrom / calendar / index.wml
index c15d24d..7c63676 100644 (file)
@@ -255,7 +255,6 @@ div.popup_body div#log div.row0
 </select>
 
 <protect><script type="text/javascript">
-var POPUP_TITLE_COMMENT = '<?php echo utf8_encode('Bemerkung hinzuf├╝gen'); ?>';
 function menu_close()
 {
     $('div#menu').hide();
@@ -320,7 +319,7 @@ function add_comment()
                    '<textarea name="comment" style="width: 296px; height:65px;"></textarea>',
                    '<div style="text-align: center; margin-top: 5px;"><input type="submit" value="Speichern"></div>',
                    '</form>'];
-       commentwindow = new Popup(POPUP_TITLE_COMMENT, '300px', false, html.join(''));
+       commentwindow = new Popup('Bemerkung hinzuf├╝gen', '300px', false, html.join(''));
        commentwindow.centerPopup();
        $('form#comment input[type="submit"]').click(function(e){
            $.invoke('Calendar_Item/AddLog', $('form#comment').serialize(), function(data){