Ignore:
Timestamp:
08/22/08 18:03:10 (4 years ago)
Author:
hverton
Message:

added a dummy hoteditor logo\nupdated the codeblock css tags\nfixed tinymce v3 settings incompatibility

File:
1 edited

Legend:

Unmodified
Added
Removed
  • themes/PLi-Fusion/PLiTheme/php-files/themes/PLiTheme/templates/templates/_header.tpl

    r1629 r1679  
    4545            theme:'advanced', 
    4646            language:'{/literal}{$settings.tinyMCE_locale}{literal}', 
    47             entities:'60,lt,62,gt', 
     47            entities:'34,quot,38,amp,60,lt,62,gt', 
    4848            document_base_url:'{/literal}{$settings.siteurl}{literal}', 
    49             relative_urls:'false', 
    50             convert_newlines_to_brs:'true', 
    51             force_br_newlines:'true', 
     49            relative_urls:'true', 
     50            apply_source_formatting:'false', 
     51            inline_styles:'true', 
     52            convert_newlines_to_brs:'false', 
     53            convert_fonts_to_spans:'true', 
     54            force_br_newlines:'false', 
    5255            force_p_newlines:'false', 
     56            remove_linebreaks:'true', 
     57            forced_root_block:'', 
     58            fix_list_elements:'false', 
     59            fix_table_elements:'true', 
     60            fix_nesting:'false', 
     61            cleanup:'true', 
     62            cleanup_on_startup:'false', 
    5363            plugins : "style,layer,table,save,advhr,advimage,ibrowser,advlink,emotions,iespell,insertdatetime,preview,zoom,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras", 
    5464            theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect", 
     
    6676            invalid_elements:'script,object,applet,iframe', 
    6777            extended_valid_elements:'a[name|href|target|title|onclick],img[class|src|border=0|alt|title|hspace|vspace|width|height|align|onmouseover|onmouseout|name],hr[class|width|size|noshade],font[face|size|color|style],span[class|align|style]' 
    68             }); 
    69         } 
    70         function simple() { 
    71             tinyMCE.init({ 
    72             mode:'textareas', 
    73             theme:'simple', 
    74             language:'{/literal}{$settings.locale_code}{literal}', 
    75             convert_newlines_to_brs:'true', 
    76             force_br_newlines:'true', 
    77             force_p_newlines:'false' 
    7878            }); 
    7979        } 
     
    153153    if (document.getElementById("new_posts_header")) { 
    154154        if (newmsg > 0) { 
    155             document.getElementById("new_posts_header").innerHTML = "<a href='{/literal}{$smarty.const.BASEDIR}{literal}modules/forum_threads_list_panel/new_posts.php'><img src='{/literal}{$smarty.const.THEME}{literal}images/newposts.gif' height='9' alt='{/literal}{$locale.028}{literal}' /></a>"; 
     155            document.getElementById("new_posts_header").innerHTML = "<a href='{/literal}{$smarty.const.BASEDIR}{literal}modules/forum_threads_list_panel/new_posts.php'><img src='{/literal}{$smarty.const.THEME}{literal}images/newposts.gif' height='9' alt='{/literal}{$locale.028}{literal}' /></a>&nbsp;"; 
    156156            document.getElementById("new_posts_header").style.display = 'inline'; 
    157157        } else { 
     
    171171    if (document.getElementById("new_pm_header")) { 
    172172        if (newpm > 0) { 
    173             document.getElementById("new_pm_header").innerHTML = "<a href='{/literal}{$smarty.const.BASEDIR}{literal}pm.php?action=show_new'><img src='{/literal}{$smarty.const.THEME}{literal}images/newmsgs.gif' height='9' alt='' /></a>"; 
     173            document.getElementById("new_pm_header").innerHTML = "<a href='{/literal}{$smarty.const.BASEDIR}{literal}pm.php?action=show_new'><img src='{/literal}{$smarty.const.THEME}{literal}images/newmsgs.gif' height='9' alt='' /></a>&nbsp;"; 
    174174            document.getElementById("new_pm_header").style.display = 'inline'; 
    175175        } else { 
     
    189189} 
    190190 
    191 // wait 5 minutes, then check for messages 
    192 msgtimerid = setTimeout("checkMessages()", 300000); 
     191// wait 15 seconds, then check for messages 
     192msgtimerid = setTimeout("checkMessages()", 15000); 
    193193 
    194194/* ]]> */ 
Note: See TracChangeset for help on using the changeset viewer.