Changeset 1679 in ExiteCMS for themes/PLi-Fusion/PLiTheme/php-files/themes/PLiTheme/templates/templates/_header.tpl
- Timestamp:
- 08/22/08 18:03:10 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
themes/PLi-Fusion/PLiTheme/php-files/themes/PLiTheme/templates/templates/_header.tpl
r1629 r1679 45 45 theme:'advanced', 46 46 language:'{/literal}{$settings.tinyMCE_locale}{literal}', 47 entities:' 60,lt,62,gt',47 entities:'34,quot,38,amp,60,lt,62,gt', 48 48 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', 52 55 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', 53 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", 54 64 theme_advanced_buttons1 : "bold,italic,underline,strikethrough,|,justifyleft,justifycenter,justifyright,justifyfull,|,styleselect,formatselect,fontselect,fontsizeselect", … … 66 76 invalid_elements:'script,object,applet,iframe', 67 77 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'78 78 }); 79 79 } … … 153 153 if (document.getElementById("new_posts_header")) { 154 154 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> "; 156 156 document.getElementById("new_posts_header").style.display = 'inline'; 157 157 } else { … … 171 171 if (document.getElementById("new_pm_header")) { 172 172 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> "; 174 174 document.getElementById("new_pm_header").style.display = 'inline'; 175 175 } else { … … 189 189 } 190 190 191 // wait 5 minutes, then check for messages192 msgtimerid = setTimeout("checkMessages()", 300000);191 // wait 15 seconds, then check for messages 192 msgtimerid = setTimeout("checkMessages()", 15000); 193 193 194 194 /* ]]> */
Note: See TracChangeset
for help on using the changeset viewer.
