Changeset 1677 in ExiteCMS


Ignore:
Timestamp:
08/22/08 18:02:57 (3 years ago)
Author:
hverton
Message:

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

Location:
themes/PLi-Fusion/PLiXmas/php-files/themes/PLiXmas
Files:
1 added
2 edited

Legend:

Unmodified
Added
Removed
  • themes/PLi-Fusion/PLiXmas/php-files/themes/PLiXmas/exitecms.css

    r1589 r1677  
    150150.quote                  { color:#000; background-color:#fff; padding:2px; margin:5px 20px 5px 20px; border:1px #bbbbbb solid; } 
    151151 
    152                         /* code sections within the message body */ 
    153 .codecontainer          { width:480px; overflow:hidden; position:relative; z-index:1; } 
    154 .codeblock              { width:480px; background-color:#fff; } 
    155 .codenr                 { font-family:monospace; font-size:1em; border:1px #bbb solid; border-right:0px; background-color:#ddd; padding: 0px 5px 0px 5px; vertical-align:top; text-align:right; width:1px; white-space:nowrap; } 
    156 .code                   { font-family:monospace; border: 1px #bbb solid; padding: 0px 5px 0px 5px; white-space:nowrap; } 
     152                        /* code sections within the message body (note: total number of px for padding+margin must remain the same, the code expects this!!!) */ 
     153.codeblock_source       { width:250px; margin-left:10px; border:1px #bbb solid; background-color:#fff; padding:0px; white-space:nowrap; overflow-x:auto; } 
     154.codeblock_cmds         { width:240px; margin-left:10px; border:1px #bbb solid; background-color:#fff; padding:0px 5px 0px 5px; border-top:0px; text-align:right; } 
    157155 
    158156                        /* thumbnail caption in the message body */ 
  • themes/PLi-Fusion/PLiXmas/php-files/themes/PLiXmas/templates/templates/_header.tpl

    r1631 r1677  
    4444            editor_deselector:'textbox', 
    4545            theme:'advanced', 
    46             language:'{/literal}{$settings.locale_code}{literal}', 
    47             entities:'60,lt,62,gt', 
     46            language:'{/literal}{$settings.tinyMCE_locale}{literal}', 
     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', 
    53             plugins : "style,layer,table,save,advhr,advimage,advlink,emotions,iespell,insertdatetime,preview,zoom,media,searchreplace,print,contextmenu,paste,directionality,fullscreen,noneditable,visualchars,nonbreaking,xhtmlxtras", 
     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', 
     63            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", 
    55             theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,image,cleanup,help,code|,forecolor,backcolor", 
     65            theme_advanced_buttons2 : "cut,copy,paste,pastetext,pasteword,|,search,replace,|,bullist,numlist,|,outdent,indent,|,undo,redo,|,link,unlink,anchor,|,image,ibrowser,cleanup,help,code,|,forecolor,backcolor", 
    5666            theme_advanced_buttons3 : "tablecontrols,|,hr,removeformat,visualaid,|,sub,sup,|,charmap,media,advhr,|,ltr,rtl,|,fullscreen", 
    5767            theme_advanced_buttons4 : "insertlayer,moveforward,movebackward,absolute,|,styleprops,|,cite,abbr,acronym,del,ins,attribs,|,visualchars,nonbreaking,|,insertdate,inserttime", 
     
    6070            theme_advanced_path_location:'none', 
    6171            theme_advanced_toolbar_location:'top', 
    62             content_css:'{/literal}{$smarty.const.THEME}{literal}styles.css', 
     72            content_css:'{/literal}{$smarty.const.THEME}{literal}editor_content.css', 
    6373            external_image_list_url:'{/literal}{$smarty.const.IMAGES}{literal}imagelist.js', 
    6474            plugin_insertdate_dateFormat:'%d-%m-%Y', 
     
    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 secconds, then check for messages 
     192msgtimerid = setTimeout("checkMessages()", 15000); 
    193193 
    194194/* ]]> */ 
Note: See TracChangeset for help on using the changeset viewer.