Changeset 1706 in ExiteCMS


Ignore:
Timestamp:
08/27/08 22:48:36 (3 years ago)
Author:
hverton
Message:

Merged trunk revisions 1702:1705 into the PLi-Fusion branch

Location:
branches/PLi-Fusion
Files:
15 edited

Legend:

Unmodified
Added
Removed
  • branches/PLi-Fusion/administration/tools/language_pack_English.php

    r1666 r1706  
    25232523 
    25242524        $localestrings = array(); 
     2525        $localestrings['hot001'] = "Rich Text Editor"; 
     2526        $localestrings['hot002'] = "BBCode Editor"; 
     2527        $localestrings['hot003'] = "Font Color"; 
     2528        $localestrings['hot004'] = "Text Highlight Color"; 
     2529        $localestrings['hot005'] = "Font Face"; 
     2530        $localestrings['hot006'] = "Font Size"; 
     2531        $localestrings['hot007'] = "Insert your emotions to document"; 
     2532        $localestrings['hot008'] = "Insert WordArt to document"; 
     2533        $localestrings['hot009'] = "Insert ClipArt to document"; 
     2534        $localestrings['hot010'] = "View Calendar / World Clock"; 
     2535        $localestrings['hot011'] = "Upload your image files"; 
     2536        $localestrings['hot012'] = "Virtual Keyboard"; 
     2537        $localestrings['hot013'] = "Insert Forum Tags"; 
     2538        $localestrings['hot014'] = "Insert Symbol - Special characters"; 
     2539        $localestrings['hot015'] = "Please press key Command + V to paste text to editor."; 
     2540        $localestrings['hot016'] = "Enter Text Link"; 
     2541        $localestrings['hot017'] = "Write your text here. Click Cancel button or press Escape when you're done"; 
     2542        $localestrings['hot018'] = "Enter Flash URL"; 
     2543        $localestrings['hot019'] = "Enter Width number"; 
     2544        $localestrings['hot020'] = "Enter Height number"; 
     2545        $localestrings['hot021'] = "Enter a URL:"; 
     2546        $localestrings['hot022'] = "Enter Email Address:"; 
     2547        $localestrings['hot023'] = "Enter Image URL:"; 
     2548        $localestrings['hot024'] = "Spell check with IESpell"; 
     2549        $localestrings['hot025'] = "IESpell Tool has not installed.\n\nWould you like to download and install it now?\n\nClick OK button to open IESpell download page in new window"; 
     2550        $localestrings['hot026'] = "http://www.iespell.com/download.php"; 
     2551        $localestrings['hot027'] = "Sorry! Your browser can't load IESpell"; 
     2552        $localestrings['hot028'] = "Switch On/Off WYSIWYG Mode"; 
     2553        $localestrings['hot029'] = "Font Name"; 
     2554        $localestrings['hot030'] = "Font Size"; 
     2555        $localestrings['hot031'] = "Font Color"; 
     2556        $localestrings['hot032'] = "Highlight"; 
     2557        $localestrings['hot033'] = "Clear Formatting"; 
     2558        $localestrings['hot034'] = "Bold (Ctrl-B)"; 
     2559        $localestrings['hot035'] = "Italic (Ctrl-I)"; 
     2560        $localestrings['hot036'] = "Underline (Ctrl-U)"; 
     2561        $localestrings['hot037'] = "Align Text Left"; 
     2562        $localestrings['hot038'] = "Center"; 
     2563        $localestrings['hot039'] = "Align Text Right"; 
     2564        $localestrings['hot040'] = "Justify"; 
     2565        $localestrings['hot041'] = "Break (Shift Enter)"; 
     2566        $localestrings['hot042'] = "Bullets"; 
     2567        $localestrings['hot043'] = "Numbering"; 
     2568        $localestrings['hot044'] = "Decrease Indent"; 
     2569        $localestrings['hot045'] = "Increase Indent"; 
     2570        $localestrings['hot046'] = "Decrease Editor Size"; 
     2571        $localestrings['hot047'] = "Increase Editor Size"; 
     2572        $localestrings['hot048'] = "Wrap in [quote][/quote]"; 
     2573        $localestrings['hot049'] = "Wrap in [code][/code]"; 
     2574        $localestrings['hot050'] = "Wrap in [php][/php]"; 
     2575        $localestrings['hot051'] = "Wrap in [html][/html]"; 
     2576        $localestrings['hot052'] = "View More Tags [xxx][/xxx]"; 
     2577        $localestrings['hot053'] = "Insert Flash"; 
     2578        $localestrings['hot054'] = "Insert YouTube Video"; 
     2579        $localestrings['hot055'] = "Enter YouTube video ID from the URL (v=XXXXXXXX)"; 
     2580        $localestrings['hot056'] = "XXXXXXXX"; 
     2581        $localestrings['hot057'] = "Insert Google Video"; 
     2582        $localestrings['hot058'] = "Enter Google Video URL"; 
     2583        $localestrings['hot059'] = "http://video.google.com/videoplay?docid=XXXXXXXXXXXXXX&hl=en"; 
     2584        $localestrings['hot060'] = "Insert Yahoo Video"; 
     2585        $localestrings['hot061'] = "Enter Yahoo Add to Site Code"; 
     2586        $localestrings['hot062'] = "<embed src='http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player...........' type='application/x-shockwave-flash' width='425' height='350'></embed>"; 
     2587        $localestrings['hot063'] = "Insert Table"; 
     2588        $localestrings['hot064'] = "Cut (Ctrl-X)"; 
     2589        $localestrings['hot065'] = "Copy (Ctrl-C)"; 
     2590        $localestrings['hot066'] = "Paste (Ctrl-V)"; 
     2591        $localestrings['hot067'] = "Undo (Ctrl-Z)"; 
     2592        $localestrings['hot068'] = "Redo (Ctrl-Y)"; 
     2593        $localestrings['hot069'] = "Insert Hyperlink (Ctrl-K)"; 
     2594        $localestrings['hot070'] = "Insert Email Link"; 
     2595        $localestrings['hot071'] = "Remove Hyperlink"; 
     2596        $localestrings['hot072'] = "View Calendar / World Clock"; 
     2597        $localestrings['hot073'] = "Insert Image"; 
     2598        $localestrings['hot074'] = "Insert Clipart"; 
     2599        $localestrings['hot075'] = "Insert WordArt"; 
     2600        $localestrings['hot076'] = "Insert your emotions"; 
     2601        $localestrings['hot077'] = "Upload your own Photo"; 
     2602        $localestrings['hot078'] = "Strikethrough"; 
     2603        $localestrings['hot079'] = "Subscript"; 
     2604        $localestrings['hot080'] = "Superscript"; 
     2605        $localestrings['hot081'] = "Horizontal Line"; 
     2606        $localestrings['hot082'] = "Insert Symbol"; 
     2607        $localestrings['hot083'] = "Open Virtual Keyboard"; 
     2608        $localestrings['hot084'] = "View/Edit HTML source code"; 
     2609        $localestrings['hot085'] = "Delete All"; 
     2610        $localestrings['hot086'] = "Switch On/Off WYSIWYG Mode"; 
     2611        $localestrings['hot087'] = "Fonts"; 
     2612        $localestrings['hot088'] = "Size"; 
     2613        $localestrings['hot089'] = "Color"; 
     2614        $localestrings['hot090'] = "HiLight"; 
     2615        load_localestrings($localestrings, LP_LOCALE, "hoteditor", $step); 
     2616 
     2617        $localestrings = array(); 
    25252618        $localestrings['400'] = "Articles"; 
    25262619        $localestrings['401'] = "No Article Categories defined"; 
     
    34233516if (!defined('LP_CHARSET')) define('LP_CHARSET', "iso-8859-1"); 
    34243517if (!defined('LP_VERSION')) define('LP_VERSION', "7.10"); 
    3425 if (!defined('LP_DATE')) define('LP_DATE', "1219343691"); 
    3426 $lp_date = "1219343691"; 
     3518if (!defined('LP_DATE')) define('LP_DATE', "1219869155"); 
     3519$lp_date = "1219869155"; 
    34273520 
    34283521/*---------------------------------------------------+ 
  • branches/PLi-Fusion/administration/tools/language_pack_Nederlands.php

    r1666 r1706  
    25232523 
    25242524        $localestrings = array(); 
     2525        $localestrings['hot001'] = "Rich Text Editor"; 
     2526        $localestrings['hot002'] = "BBCode Editor"; 
     2527        $localestrings['hot003'] = "Tekstkleur"; 
     2528        $localestrings['hot004'] = "Tekst achtergrondkleur"; 
     2529        $localestrings['hot005'] = "Lettertype"; 
     2530        $localestrings['hot006'] = "Letter formaat"; 
     2531        $localestrings['hot007'] = "Emoticon aan de tekst toevoegen"; 
     2532        $localestrings['hot008'] = "WordArt aan de tekst toevoegen"; 
     2533        $localestrings['hot009'] = "ClipArt aan de tekst toevoegen"; 
     2534        $localestrings['hot010'] = "Kalender / Wereld klok bekijken"; 
     2535        $localestrings['hot011'] = "Plaatjes uploaden"; 
     2536        $localestrings['hot012'] = "Virtueel toetsenbord"; 
     2537        $localestrings['hot013'] = "Forum labels invoegen"; 
     2538        $localestrings['hot014'] = "Speciale characters en symbolen"; 
     2539        $localestrings['hot015'] = "Druk op de Command + V toets om de tekst te plakken."; 
     2540        $localestrings['hot016'] = "Tekst link invoeren"; 
     2541        $localestrings['hot017'] = "Schrijf u tekst hier. Druk op de Cancel knop of de Escape toets wanneer u klaar bent"; 
     2542        $localestrings['hot018'] = "Geef een Flash URL in:"; 
     2543        $localestrings['hot019'] = "Breedte in pixels"; 
     2544        $localestrings['hot020'] = "Hoogte in pixels"; 
     2545        $localestrings['hot021'] = "Geef een URL in:"; 
     2546        $localestrings['hot022'] = "Geef een Email adres in:"; 
     2547        $localestrings['hot023'] = "Geef een URL naar een plaatje in:"; 
     2548        $localestrings['hot024'] = "Spelling controleren met IESpell"; 
     2549        $localestrings['hot025'] = "IESpell is niet geinstalleerd.\n\nWilt u deze nu downloaden en installeren?\n\nKlik op de OK knop om de IESpell download pagina te openen"; 
     2550        $localestrings['hot026'] = "http://www.iespell.com/download.php"; 
     2551        $localestrings['hot027'] = "Sorry! Uw browser kan IESpell niet laden"; 
     2552        $localestrings['hot028'] = "WYSIWYG Modus Aan/Uit schakelen"; 
     2553        $localestrings['hot029'] = "Naam lettertype"; 
     2554        $localestrings['hot030'] = "Letter formaat"; 
     2555        $localestrings['hot031'] = "Letter kleur"; 
     2556        $localestrings['hot032'] = "Achtergrondkleur"; 
     2557        $localestrings['hot033'] = "Formattering wissen"; 
     2558        $localestrings['hot034'] = "Vet (Ctrl-B)"; 
     2559        $localestrings['hot035'] = "Schuin (Ctrl-I)"; 
     2560        $localestrings['hot036'] = "Onderlijnen (Ctrl-U)"; 
     2561        $localestrings['hot037'] = "Tekst links uitlijnen"; 
     2562        $localestrings['hot038'] = "Tekst centeren"; 
     2563        $localestrings['hot039'] = "Tekst rechts uitlijnen"; 
     2564        $localestrings['hot040'] = "Tekst uitvullen"; 
     2565        $localestrings['hot041'] = "Nieuw regel (Shift Enter)"; 
     2566        $localestrings['hot042'] = "Punten"; 
     2567        $localestrings['hot043'] = "Nummering"; 
     2568        $localestrings['hot044'] = "Indentatie verminderen"; 
     2569        $localestrings['hot045'] = "Indentatie vermeerderen"; 
     2570        $localestrings['hot046'] = "Invoerveld verkleinen"; 
     2571        $localestrings['hot047'] = "Invoerveld vergroten"; 
     2572        $localestrings['hot048'] = "Met [quote][/quote] omsluiten"; 
     2573        $localestrings['hot049'] = "Met [code][/code] omsluiten"; 
     2574        $localestrings['hot050'] = "Met [php][/php] omsluiten"; 
     2575        $localestrings['hot051'] = "Met [html][/html] omsluiten"; 
     2576        $localestrings['hot052'] = "Meer labels [xxx][/xxx] bekijken"; 
     2577        $localestrings['hot053'] = "Flash invoegen"; 
     2578        $localestrings['hot054'] = "YouTube Video invoegen"; 
     2579        $localestrings['hot055'] = "Geef het YouTube video ID uit de URL (v=XXXXXXXX)"; 
     2580        $localestrings['hot056'] = "XXXXXXXX"; 
     2581        $localestrings['hot057'] = "Google Video invoegen"; 
     2582        $localestrings['hot058'] = "Geef de Google Video URL"; 
     2583        $localestrings['hot059'] = "http://video.google.com/videoplay?docid=XXXXXXXXXXXXXX&hl=en"; 
     2584        $localestrings['hot060'] = "Yahoo Video invoegen"; 
     2585        $localestrings['hot061'] = "Geef de Yahoo 'Add to Site Code'"; 
     2586        $localestrings['hot062'] = "<embed src='http://us.i1.yimg.com/cosmos.bcst.yahoo.com/player...........' type='application/x-shockwave-flash' width='425' height='350'></embed>"; 
     2587        $localestrings['hot063'] = "Tabel invoegen"; 
     2588        $localestrings['hot064'] = "Knippen (Ctrl-X)"; 
     2589        $localestrings['hot065'] = "Kopieeren (Ctrl-C)"; 
     2590        $localestrings['hot066'] = "Plakken (Ctrl-V)"; 
     2591        $localestrings['hot067'] = "Ongedaan maken (Ctrl-Z)"; 
     2592        $localestrings['hot068'] = "Herdoen (Ctrl-Y)"; 
     2593        $localestrings['hot069'] = "Hyperlink invoegen (Ctrl-K)"; 
     2594        $localestrings['hot070'] = "Email Link invoegen"; 
     2595        $localestrings['hot071'] = "Hyperlink verwijderen"; 
     2596        $localestrings['hot072'] = "Kalender / wereld klok bekijken"; 
     2597        $localestrings['hot073'] = "Plaatje invoegen"; 
     2598        $localestrings['hot074'] = "Clipart invoegen"; 
     2599        $localestrings['hot075'] = "WordArt invoegen"; 
     2600        $localestrings['hot076'] = "Emotions invoegen"; 
     2601        $localestrings['hot077'] = "Een plaatje uploaden"; 
     2602        $localestrings['hot078'] = "Doorstrepen"; 
     2603        $localestrings['hot079'] = "Subscript"; 
     2604        $localestrings['hot080'] = "Superscript"; 
     2605        $localestrings['hot081'] = "Horizontale lijn"; 
     2606        $localestrings['hot082'] = "Symbool invoegen"; 
     2607        $localestrings['hot083'] = "Open virtueel toetsenbord"; 
     2608        $localestrings['hot084'] = "HTML source code bekijken/aanpassen"; 
     2609        $localestrings['hot085'] = "Alles verwijderen"; 
     2610        $localestrings['hot086'] = "WYSIWYG Modus Aan/Uit schakelen"; 
     2611        $localestrings['hot087'] = "Lettertype"; 
     2612        $localestrings['hot088'] = "Grootte"; 
     2613        $localestrings['hot089'] = "Kleur"; 
     2614        $localestrings['hot090'] = "Achtergrond"; 
     2615        load_localestrings($localestrings, LP_LOCALE, "hoteditor", $step); 
     2616 
     2617        $localestrings = array(); 
    25252618        $localestrings['400'] = "Artikelen"; 
    25262619        $localestrings['401'] = "Geen artikel categorieen gedefineerd"; 
     
    34233516if (!defined('LP_CHARSET')) define('LP_CHARSET', "iso-8859-1"); 
    34243517if (!defined('LP_VERSION')) define('LP_VERSION', "7.10"); 
    3425 if (!defined('LP_DATE')) define('LP_DATE', "1219343694"); 
    3426 $lp_date = "1219343694"; 
     3518if (!defined('LP_DATE')) define('LP_DATE', "1219869158"); 
     3519$lp_date = "1219869158"; 
    34273520 
    34283521/*---------------------------------------------------+ 
  • branches/PLi-Fusion/edit_profile.php

    r1666 r1706  
    276276 
    277277// define the search body panel variables 
    278 $template_panels[] = array('type' => 'body', 'name' => 'edit_profile', 'template' => 'main.edit_profile.tpl', 'locale' => array("main.members-profile", "main.user_fields")); 
     278$template_panels[] = array('type' => 'body', 'name' => 'edit_profile', 'template' => 'main.edit_profile.tpl', 'locale' => array("main.members-profile", "main.user_fields", "hoteditor")); 
    279279$template_variables['edit_profile'] = $variables; 
    280280 
  • branches/PLi-Fusion/files/locales/en.main.global.php

    r1666 r1706  
    33// locale       : English 
    44// locale name  : main.global 
    5 // generated on : Thu Aug 21 2008, 20:58:38 CEST 
     5// generated on : Wed Aug 27 2008, 22:45:12 CEST 
    66// ---------------------------------------------------------- 
    77$locale['001'] = "Navigation"; 
  • branches/PLi-Fusion/files/locales/en.main.setup.php

    r1666 r1706  
    33// locale       : English 
    44// locale name  : main.setup 
    5 // generated on : Thu Aug 21 2008, 20:34:51 CEST 
     5// generated on : Wed Aug 27 2008, 22:32:35 CEST 
    66// translators  : ExiteCMS team,WanWizard 
    77// ---------------------------------------------------------- 
  • branches/PLi-Fusion/files/locales/nl.main.global.php

    r1666 r1706  
    11<?php 
    22// ---------------------------------------------------------- 
    3 // locale       : English 
     3// locale       : Nederlands 
    44// locale name  : main.global 
    5 // generated on : Thu Aug 21 2008, 20:34:54 CEST 
    6 // translators  : ExiteCMS team,WanWizard 
     5// generated on : Wed Aug 27 2008, 22:46:13 CEST 
    76// ---------------------------------------------------------- 
    87$locale['001'] = "Navigatie"; 
  • branches/PLi-Fusion/files/locales/nl.main.setup.php

    r1666 r1706  
    33// locale       : English 
    44// locale name  : main.setup 
    5 // generated on : Thu Aug 21 2008, 20:34:54 CEST 
     5// generated on : Wed Aug 27 2008, 22:32:38 CEST 
    66// translators  : ExiteCMS team,WanWizard 
    77// ---------------------------------------------------------- 
  • branches/PLi-Fusion/forum/post.php

    r1666 r1706  
    10211021            $variables['attachtypes'] = str_replace(',', ' ', $settings['attachtypes']); 
    10221022            // define the panel 
    1023             $template_panels[] = array('type' => 'body', 'name' => 'forum.post', 'title' => $title, 'template' => 'forum.post.tpl', 'locale' => array("forum.main", "forum.post", "admin.forum_polls")); 
     1023            $template_panels[] = array('type' => 'body', 'name' => 'forum.post', 'title' => $title, 'template' => 'forum.post.tpl', 'locale' => array("forum.main", "forum.post", "admin.forum_polls", "hoteditor")); 
    10241024            $template_variables['forum.post'] = $variables; 
    10251025            break; 
  • branches/PLi-Fusion/forum/viewthread.php

    r1702 r1706  
    559559 
    560560// define the search body panel variables 
    561 $template_panels[] = array('type' => 'body', 'name' => 'forum.viewthread', 'template' => 'forum.viewthread.tpl', 'locale' => array("forum.main","admin.forum_polls")); 
     561$template_panels[] = array('type' => 'body', 'name' => 'forum.viewthread', 'template' => 'forum.viewthread.tpl', 'locale' => array("forum.main","admin.forum_polls", "hoteditor")); 
    562562$template_variables['forum.viewthread'] = $variables; 
    563563 
  • branches/PLi-Fusion/includes/ajax.response.php

    r1668 r1706  
    1111+----------------------------------------------------*/ 
    1212require "core_functions.php"; 
     13 
     14// make sure the page isn't cached 
     15header("Cache-Control: no-cache, no-store, must-revalidate"); 
     16header("Pragma: no-cache"); 
    1317 
    1418// get the request field, sanitize it, and check it's availability 
  • branches/PLi-Fusion/includes/templates/forum.post.tpl

    r1691 r1706  
    8686                                </select> 
    8787                            {else} 
    88                                 <style type='text/css'>@import url({$smarty.const.THEME}hoteditor/style.css);</style> 
    89                                 <input type='hidden' id='message' name='message' value='{$message}' /> 
    90                                 <script language="javascript" type="text/javascript"> 
    91                                     var hoteditor_path = "{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/"; 
    92                                     var hoteditor_theme_path = "{$smarty.const.THEME}hoteditor"; 
    93                                     var hoteditor_reply_to = "{$orgauthor|default:""}"; 
    94                                 </script> 
    95                                 <script language="javascript" type="text/javascript" src="{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/editor__0001.js?version=4.2"></script>              
    96                                 {literal} 
    97                                 <script language="javascript" type="text/javascript"> 
    98                                     var getdata = document.getElementById("message").value; 
    99                                     Instantiate("max","editor", getdata , "100%", "250px"); 
    100                                      
    101                                     //For Vietnamese User. Edit file editor.js to enable vietnamese keyboard 
    102                                     if(enable_vietnamese_keyboard==1){ 
    103                                         document.write("<script language=\"JavaScript\" type=\"text/javascript\" src={/literal}{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/avim.js{literal}><\/script>"); 
    104                                         var hoteditor_avim_method = hot_readCookie("hoteditor_avim_method");var him_auto_checked="";var him_telex_checked="";var him_vni_checked="";var him_viqr_checked="";var him_viqr2_checked="";var him_off_checked="";if(hoteditor_avim_method=="0"){him_auto_checked="checked";}else if(hoteditor_avim_method=="1"){him_telex_checked="checked";}else if(hoteditor_avim_method=="2"){him_vni_checked="checked";}else if(hoteditor_avim_method=="3"){him_viqr_checked="checked";}else if(hoteditor_avim_method=="4"){him_viqr2_checked="checked";}else if(hoteditor_avim_method=="-1"){him_off_checked="checked";} 
    105                                         document.write("<div style='width:100%;text-align:center;font-family:Verdana;font-size:11px;'><input "+him_auto_checked+" id=him_auto onclick=setMethod(0); type=radio name=viet_method> Auto :: <input "+him_telex_checked+" id=him_telex onclick=setMethod(1); type=radio name=viet_method> Telex :: <input "+him_vni_checked+" id=him_vni onclick=setMethod(2); type=radio name=viet_method> VNI :: <input "+him_viqr_checked+" id=him_viqr onclick=setMethod(3); type=radio name=viet_method> VIQR :: <input "+him_viqr2_checked+" id=him_viqr2 onclick=setMethod(4); type=radio name=viet_method> VIQR* :: <input "+him_off_checked+" id=him_off onclick=setMethod(-1); type=radio name=viet_method> Off<br><img src="+styles_folder_path+"/vietnamese_symbol.gif></div>"); 
    106                                     } 
    107  
    108                                     if(enable_vietnamese_keyboard==1){ 
    109                                         var hoteditor_avim_method = hot_readCookie("hoteditor_avim_method");var him_auto_checked;var him_telex_checked;var him_vni_checked;var him_viqr_checked;var him_viqr2_checked;var him_off_checked;if(hoteditor_avim_method=="0"){him_auto_checked="checked";}else if(hoteditor_avim_method=="1"){him_telex_checked="checked";}else if(hoteditor_avim_method=="2"){him_vni_checked="checked";}else if(hoteditor_avim_method=="3"){him_viqr_checked="checked";}else if(hoteditor_avim_method=="4"){him_viqr2_checked="checked";}else if(hoteditor_avim_method=="-1"){him_off_checked="checked";} 
    110                                         document.write("<script language=\"JavaScript\" type=\"text/javascript\" src={/literal}{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/avim.js{literal}><\/script><div style='width:100%;text-align:center;font-family:Verdana;font-size:11px;'><input "+him_auto_checked+" id=him_auto onclick=setMethod(0); type=radio name=viet_method> Auto :: <input "+him_telex_checked+" id=him_telex onclick=setMethod(1); type=radio name=viet_method> Telex :: <input "+him_vni_checked+" id=him_vni onclick=setMethod(2); type=radio name=viet_method> VNI :: <input "+him_viqr_checked+" id=him_viqr onclick=setMethod(3); type=radio name=viet_method> VIQR :: <input "+him_viqr2_checked+" id=him_viqr2 onclick=setMethod(4); type=radio name=viet_method> VIQR* :: <input "+him_off_checked+" id=him_off onclick=setMethod(-1); type=radio name=viet_method> Off</div>"); 
    111                                     } 
    112                                     function get_hoteditor_data(){ 
    113                                         setCodeOutput(); 
    114                                         var bbcode_output=document.getElementById("hoteditor_bbcode_ouput_editor").value;//Output to BBCode 
    115                                         document.getElementById("message").value = bbcode_output; 
    116                                     }                    
    117                                 </script> 
    118                                 {/literal} 
     88                                {include file="_bbcode_editor.tpl" name="message" id="message" author=$orgauthor message=$message width="100%" height="250px"} 
    11989                            {/if} 
    12090                        </td> 
  • branches/PLi-Fusion/includes/templates/forum.viewthread.tpl

    r1703 r1706  
    283283            {else} 
    284284            <td align='left' class='tbl1'> 
    285                 <style type='text/css'>@import url({$smarty.const.THEME}hoteditor/style.css);</style> 
    286                 <input type='hidden' id='message' name='message' value='' /> 
    287                 <script language="javascript" type="text/javascript"> 
    288                     var hoteditor_path = "{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/"; 
    289                     var hoteditor_theme_path = "{$smarty.const.THEME}hoteditor"; 
    290                     var hoteditor_reply_to = ""; 
    291                 </script> 
    292                 <script language="javascript" type="text/javascript" src="{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/editor__0001.js?version=4.2"></script>              
    293                 {literal} 
    294                 <script language="javascript" type="text/javascript"> 
    295                     var getdata = document.getElementById("message").value; 
    296                     Instantiate("max","editor", getdata , "100%", "150px"); 
    297                      
    298                     //For Vietnamese User. Edit file editor.js to enable vietnamese keyboard 
    299                     if(enable_vietnamese_keyboard==1){ 
    300                         document.write("<script language=\"JavaScript\" type=\"text/javascript\" src={/literal}{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/avim.js{literal}><\/script>"); 
    301                         var hoteditor_avim_method = hot_readCookie("hoteditor_avim_method");var him_auto_checked="";var him_telex_checked="";var him_vni_checked="";var him_viqr_checked="";var him_viqr2_checked="";var him_off_checked="";if(hoteditor_avim_method=="0"){him_auto_checked="checked";}else if(hoteditor_avim_method=="1"){him_telex_checked="checked";}else if(hoteditor_avim_method=="2"){him_vni_checked="checked";}else if(hoteditor_avim_method=="3"){him_viqr_checked="checked";}else if(hoteditor_avim_method=="4"){him_viqr2_checked="checked";}else if(hoteditor_avim_method=="-1"){him_off_checked="checked";} 
    302                         document.write("<div style='width:100%;text-align:center;font-family:Verdana;font-size:11px;'><input "+him_auto_checked+" id=him_auto onclick=setMethod(0); type=radio name=viet_method> Auto :: <input "+him_telex_checked+" id=him_telex onclick=setMethod(1); type=radio name=viet_method> Telex :: <input "+him_vni_checked+" id=him_vni onclick=setMethod(2); type=radio name=viet_method> VNI :: <input "+him_viqr_checked+" id=him_viqr onclick=setMethod(3); type=radio name=viet_method> VIQR :: <input "+him_viqr2_checked+" id=him_viqr2 onclick=setMethod(4); type=radio name=viet_method> VIQR* :: <input "+him_off_checked+" id=him_off onclick=setMethod(-1); type=radio name=viet_method> Off<br><img src="+styles_folder_path+"/vietnamese_symbol.gif></div>"); 
    303                     } 
    304  
    305                     if(enable_vietnamese_keyboard==1){ 
    306                         var hoteditor_avim_method = hot_readCookie("hoteditor_avim_method");var him_auto_checked;var him_telex_checked;var him_vni_checked;var him_viqr_checked;var him_viqr2_checked;var him_off_checked;if(hoteditor_avim_method=="0"){him_auto_checked="checked";}else if(hoteditor_avim_method=="1"){him_telex_checked="checked";}else if(hoteditor_avim_method=="2"){him_vni_checked="checked";}else if(hoteditor_avim_method=="3"){him_viqr_checked="checked";}else if(hoteditor_avim_method=="4"){him_viqr2_checked="checked";}else if(hoteditor_avim_method=="-1"){him_off_checked="checked";} 
    307                         document.write("<script language=\"JavaScript\" type=\"text/javascript\" src={/literal}{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/avim.js{literal}><\/script><div style='width:100%;text-align:center;font-family:Verdana;font-size:11px;'><input "+him_auto_checked+" id=him_auto onclick=setMethod(0); type=radio name=viet_method> Auto :: <input "+him_telex_checked+" id=him_telex onclick=setMethod(1); type=radio name=viet_method> Telex :: <input "+him_vni_checked+" id=him_vni onclick=setMethod(2); type=radio name=viet_method> VNI :: <input "+him_viqr_checked+" id=him_viqr onclick=setMethod(3); type=radio name=viet_method> VIQR :: <input "+him_viqr2_checked+" id=him_viqr2 onclick=setMethod(4); type=radio name=viet_method> VIQR* :: <input "+him_off_checked+" id=him_off onclick=setMethod(-1); type=radio name=viet_method> Off</div>"); 
    308                     } 
    309                     function get_hoteditor_data(){ 
    310                         setCodeOutput(); 
    311                         var bbcode_output=document.getElementById("hoteditor_bbcode_ouput_editor").value;//Output to BBCode 
    312                         document.getElementById("message").value = bbcode_output; 
    313                     }                    
    314                 </script> 
    315                 {/literal} 
     285                {include file="_bbcode_editor.tpl" name="message" id="message" author="" message="" width="100%" height="150px"} 
    316286            {/if} 
    317287            </td> 
  • branches/PLi-Fusion/includes/templates/main.edit_profile.tpl

    r1702 r1706  
    278278                    <input type='button' value='small' class='button' style='width:40px;' onclick="addText('user_sig', '[small]', '[/small]');" /> 
    279279                {else} 
    280                     <style type='text/css'>@import url({$smarty.const.THEME}hoteditor/style.css);</style> 
    281                     <input type='hidden' id='user_sig' name='user_sig' value='{$this_userdata.user_sig}' /> 
    282                     <script language="javascript" type="text/javascript"> 
    283                         var hoteditor_path = "{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/"; 
    284                         var hoteditor_theme_path = "{$smarty.const.THEME}hoteditor"; 
    285                         var hoteditor_reply_to = ""; 
    286                     </script> 
    287                     <script language="javascript" type="text/javascript" src="{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/editor__0001.js?version=4.2"></script>              
    288                     {literal} 
    289280                    <script language="javascript" type="text/javascript"> 
    290281                        // non-standard toolbars for this editor instance 
    291                         toolbar1 ="SPACE,btFont_Name,btFont_Size,btFont_Color,btHighlight"; 
    292                         toolbar2 ="SPACE,btRemove_Format,SPACE,btBold,btItalic,btUnderline,SPACE,btAlign_Left,btCenter,btAlign_Right,SPACE,btStrikethrough,btSubscript,btSuperscript,btHorizontal"; 
    293                         toolbar3 ="SPACE,btHyperlink,btHyperlink_Email,btInsert_Image,btEmotions"; 
     282                        var toolbar1 ="SPACE,btFont_Name,btFont_Size,btFont_Color,btHighlight"; 
     283                        var toolbar2 ="SPACE,btRemove_Format,SPACE,btBold,btItalic,btUnderline,SPACE,btAlign_Left,btCenter,btAlign_Right,SPACE,btStrikethrough,btSubscript,btSuperscript,btHorizontal"; 
     284                        var toolbar3 ="SPACE,btHyperlink,btHyperlink_Email,btInsert_Image,btEmotions"; 
    294285 
    295                         textarea_toolbar1 ="SPACE,btFont_Name,btFont_Size,btFont_Color,btHighlight"; 
    296                         textarea_toolbar2 ="SPACE,btRemove_Format,SPACE,btBold,btItalic,btUnderline,SPACE,btAlign_Left,btCenter,btAlign_Right,SPACE,btStrikethrough,btSubscript,btSuperscript,btHorizontal"; 
    297                         textarea_toolbar3 ="SPACE,btHyperlink,btHyperlink_Email,btInsert_Image,btEmotions"; 
    298  
    299                         var getdata = document.getElementById("user_sig").value; 
    300                         Instantiate("max","editor", getdata , "250px", "200px"); 
    301                          
    302                         //For Vietnamese User. Edit file editor.js to enable vietnamese keyboard 
    303                         if(enable_vietnamese_keyboard==1){ 
    304                             document.write("<script language=\"JavaScript\" type=\"text/javascript\" src={/literal}{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/avim.js{literal}><\/script>"); 
    305                             var hoteditor_avim_method = hot_readCookie("hoteditor_avim_method");var him_auto_checked="";var him_telex_checked="";var him_vni_checked="";var him_viqr_checked="";var him_viqr2_checked="";var him_off_checked="";if(hoteditor_avim_method=="0"){him_auto_checked="checked";}else if(hoteditor_avim_method=="1"){him_telex_checked="checked";}else if(hoteditor_avim_method=="2"){him_vni_checked="checked";}else if(hoteditor_avim_method=="3"){him_viqr_checked="checked";}else if(hoteditor_avim_method=="4"){him_viqr2_checked="checked";}else if(hoteditor_avim_method=="-1"){him_off_checked="checked";} 
    306                             document.write("<div style='width:100%;text-align:center;font-family:Verdana;font-size:11px;'><input "+him_auto_checked+" id=him_auto onclick=setMethod(0); type=radio name=viet_method> Auto :: <input "+him_telex_checked+" id=him_telex onclick=setMethod(1); type=radio name=viet_method> Telex :: <input "+him_vni_checked+" id=him_vni onclick=setMethod(2); type=radio name=viet_method> VNI :: <input "+him_viqr_checked+" id=him_viqr onclick=setMethod(3); type=radio name=viet_method> VIQR :: <input "+him_viqr2_checked+" id=him_viqr2 onclick=setMethod(4); type=radio name=viet_method> VIQR* :: <input "+him_off_checked+" id=him_off onclick=setMethod(-1); type=radio name=viet_method> Off<br><img src="+styles_folder_path+"/vietnamese_symbol.gif></div>"); 
    307                         } 
    308  
    309                         if(enable_vietnamese_keyboard==1){ 
    310                             var hoteditor_avim_method = hot_readCookie("hoteditor_avim_method");var him_auto_checked;var him_telex_checked;var him_vni_checked;var him_viqr_checked;var him_viqr2_checked;var him_off_checked;if(hoteditor_avim_method=="0"){him_auto_checked="checked";}else if(hoteditor_avim_method=="1"){him_telex_checked="checked";}else if(hoteditor_avim_method=="2"){him_vni_checked="checked";}else if(hoteditor_avim_method=="3"){him_viqr_checked="checked";}else if(hoteditor_avim_method=="4"){him_viqr2_checked="checked";}else if(hoteditor_avim_method=="-1"){him_off_checked="checked";} 
    311                             document.write("<script language=\"JavaScript\" type=\"text/javascript\" src={/literal}{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/avim.js{literal}><\/script><div style='width:100%;text-align:center;font-family:Verdana;font-size:11px;'><input "+him_auto_checked+" id=him_auto onclick=setMethod(0); type=radio name=viet_method> Auto :: <input "+him_telex_checked+" id=him_telex onclick=setMethod(1); type=radio name=viet_method> Telex :: <input "+him_vni_checked+" id=him_vni onclick=setMethod(2); type=radio name=viet_method> VNI :: <input "+him_viqr_checked+" id=him_viqr onclick=setMethod(3); type=radio name=viet_method> VIQR :: <input "+him_viqr2_checked+" id=him_viqr2 onclick=setMethod(4); type=radio name=viet_method> VIQR* :: <input "+him_off_checked+" id=him_off onclick=setMethod(-1); type=radio name=viet_method> Off</div>"); 
    312                         } 
    313                         function get_hoteditor_data(){ 
    314                             setCodeOutput(); 
    315                             var bbcode_output=document.getElementById("hoteditor_bbcode_ouput_editor").value;//Output to BBCode 
    316                             document.getElementById("user_sig").value = bbcode_output; 
    317                         }                    
     286                        var textarea_toolbar1 ="SPACE,btFont_Name,btFont_Size,btFont_Color,btHighlight"; 
     287                        var textarea_toolbar2 ="SPACE,btRemove_Format,SPACE,btBold,btItalic,btUnderline,SPACE,btAlign_Left,btCenter,btAlign_Right,SPACE,btStrikethrough,btSubscript,btSuperscript,btHorizontal"; 
     288                        var textarea_toolbar3 ="SPACE,btHyperlink,btHyperlink_Email,btInsert_Image,btEmotions"; 
    318289                    </script> 
    319                     {/literal} 
     290                    {include file="_bbcode_editor.tpl" name="user_sig" id="user_sig" author="" message=$this_userdata.user_sig width="250px" height="200px"} 
    320291                {/if} 
    321292            </td> 
  • branches/PLi-Fusion/includes/templates/main.pm.post.tpl

    r1702 r1706  
    128128                    <textarea name='message' cols='80' rows='15' class='textbox' style='width:100%; height:{math equation="x/4" x=$smarty.const.BROWSER_HEIGHT format="%u"}px;'>{$message}</textarea> 
    129129                {else} 
    130                     <style type='text/css'>@import url({$smarty.const.THEME}hoteditor/style.css);</style> 
    131                     <input type='hidden' id='message' name='message' value='{$message}' /> 
    132                     <script language="javascript" type="text/javascript"> 
    133                         var hoteditor_path = "{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/"; 
    134                         var hoteditor_theme_path = "{$smarty.const.THEME}hoteditor"; 
    135                         var hoteditor_reply_to = "{$orgauthor|default:""}"; 
    136                     </script> 
    137                     <script language="javascript" type="text/javascript" src="{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/editor__0001.js?version=4.2"></script>              
    138                     {literal} 
    139                     <script language="javascript" type="text/javascript"> 
    140                         var getdata = document.getElementById("message").value; 
    141                         Instantiate("max","editor", getdata , "100%", "250px"); 
    142                          
    143                         //For Vietnamese User. Edit file editor.js to enable vietnamese keyboard 
    144                         if(enable_vietnamese_keyboard==1){ 
    145                             document.write("<script language=\"JavaScript\" type=\"text/javascript\" src={/literal}{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/avim.js{literal}><\/script>"); 
    146                             var hoteditor_avim_method = hot_readCookie("hoteditor_avim_method");var him_auto_checked="";var him_telex_checked="";var him_vni_checked="";var him_viqr_checked="";var him_viqr2_checked="";var him_off_checked="";if(hoteditor_avim_method=="0"){him_auto_checked="checked";}else if(hoteditor_avim_method=="1"){him_telex_checked="checked";}else if(hoteditor_avim_method=="2"){him_vni_checked="checked";}else if(hoteditor_avim_method=="3"){him_viqr_checked="checked";}else if(hoteditor_avim_method=="4"){him_viqr2_checked="checked";}else if(hoteditor_avim_method=="-1"){him_off_checked="checked";} 
    147                             document.write("<div style='width:100%;text-align:center;font-family:Verdana;font-size:11px;'><input "+him_auto_checked+" id=him_auto onclick=setMethod(0); type=radio name=viet_method> Auto :: <input "+him_telex_checked+" id=him_telex onclick=setMethod(1); type=radio name=viet_method> Telex :: <input "+him_vni_checked+" id=him_vni onclick=setMethod(2); type=radio name=viet_method> VNI :: <input "+him_viqr_checked+" id=him_viqr onclick=setMethod(3); type=radio name=viet_method> VIQR :: <input "+him_viqr2_checked+" id=him_viqr2 onclick=setMethod(4); type=radio name=viet_method> VIQR* :: <input "+him_off_checked+" id=him_off onclick=setMethod(-1); type=radio name=viet_method> Off<br><img src="+styles_folder_path+"/vietnamese_symbol.gif></div>"); 
    148                         } 
    149  
    150                         if(enable_vietnamese_keyboard==1){ 
    151                             var hoteditor_avim_method = hot_readCookie("hoteditor_avim_method");var him_auto_checked;var him_telex_checked;var him_vni_checked;var him_viqr_checked;var him_viqr2_checked;var him_off_checked;if(hoteditor_avim_method=="0"){him_auto_checked="checked";}else if(hoteditor_avim_method=="1"){him_telex_checked="checked";}else if(hoteditor_avim_method=="2"){him_vni_checked="checked";}else if(hoteditor_avim_method=="3"){him_viqr_checked="checked";}else if(hoteditor_avim_method=="4"){him_viqr2_checked="checked";}else if(hoteditor_avim_method=="-1"){him_off_checked="checked";} 
    152                             document.write("<script language=\"JavaScript\" type=\"text/javascript\" src={/literal}{$smarty.const.INCLUDES}jscripts/hoteditor-4.2/avim.js{literal}><\/script><div style='width:100%;text-align:center;font-family:Verdana;font-size:11px;'><input "+him_auto_checked+" id=him_auto onclick=setMethod(0); type=radio name=viet_method> Auto :: <input "+him_telex_checked+" id=him_telex onclick=setMethod(1); type=radio name=viet_method> Telex :: <input "+him_vni_checked+" id=him_vni onclick=setMethod(2); type=radio name=viet_method> VNI :: <input "+him_viqr_checked+" id=him_viqr onclick=setMethod(3); type=radio name=viet_method> VIQR :: <input "+him_viqr2_checked+" id=him_viqr2 onclick=setMethod(4); type=radio name=viet_method> VIQR* :: <input "+him_off_checked+" id=him_off onclick=setMethod(-1); type=radio name=viet_method> Off</div>"); 
    153                         } 
    154                         function get_hoteditor_data(){ 
    155                             setCodeOutput(); 
    156                             var bbcode_output=document.getElementById("hoteditor_bbcode_ouput_editor").value;//Output to BBCode 
    157                             document.getElementById("message").value = bbcode_output; 
    158                         }                    
    159                     </script> 
    160                     {/literal} 
     130                    {include file="_bbcode_editor.tpl" name="message" id="message" author=$orgauthor message=$message width="100%" height="250px"} 
    161131                {/if} 
    162132            </td> 
  • branches/PLi-Fusion/pm.php

    r1702 r1706  
    10411041 
    10421042    // define the panel and assign the template variables 
    1043     $template_panels[] = array('type' => 'body', 'name' => 'pm.post', 'title' => $title, 'template' => 'main.pm.post.tpl', 'locale' => "main.pm"); 
     1043    $template_panels[] = array('type' => 'body', 'name' => 'pm.post', 'title' => $title, 'template' => 'main.pm.post.tpl', 'locale' => array("main.pm", "hoteditor")); 
    10441044    $template_variables['pm.post'] = $variables; 
    10451045 
Note: See TracChangeset for help on using the changeset viewer.