- الرئيسية
- ما الجديد !
-
الصفحات▼
الصفحات
أهلا وسهلا بك زائرنا الكريم في منتدى دعم PBBoard الرسمي، لكي تتمكن من المشاركة ومشاهدة جميع أقسام المنتدى وكافة الميزات ، يجب عليك إنشاء حساب جديد بالتسجيل بالضغط هنا أو تسجيل الدخول اضغط هنا إذا كنت عضواً .
مشكلة في متصفح فايرفوكس
-
-
[مجابه] مشكلة في متصفح فايرفوكس07-06-2015 12:12 صباحاً
-
Mohamdمعلومات الكاتبعضو
- انضم في :
- 01-03-2015
- رقم العضوية :
- 5920
- المشاركات :
- 20
- الجنس:
- تاريخ الميلاد :
- 11-9-2015
- قوة السمعة:
- 0
- موقعي:
- زيارة موقعي
-
هذا محتوى قالب ( editor_js )
CODE<script type="text/javascript" src="look/ckeditor/ckeditor.js"></script> <script type="text/javascript"> //<![CDATA[ var l_youtube="{$lang['l_youtube']}"; var l_phpcode="{$lang['l_phpcode']}"; var l_quote="{$lang['l_quote']}"; CKEDITOR.editorConfig = function( config ) { config.language = "{$_CONF['info_row']['content_language']}"; // config.uiColor = '#AADC6E'; config.smiley_path= 'look/images/smiles/'; config.contentsLangDirection = "{$_CONF['info_row']['content_dir']}"; config.defaultLanguage = "{$_CONF['info_row']['content_language']}"; config.extraPlugins = 'code,quote,Jsvk,youtube'; config.removePlugins = 'contextmenu,liststyle,tabletools'; config.enterMode = CKEDITOR.ENTER_BR; }; //]]> </script> <script type="text/javascript"> //<![CDATA[ function AddSmileyIcon(text){ CKEDITOR.instances.text.insertHtml(' <img src="'+ text +'" />').value += text; } function AddText(text){ CKEDITOR.instances.text.insertHtml(text).value += text; } function Addthrough(text,filename){ CKEDITOR.instances.text.insertHtml(' <a href="'+ text +'" />'+ filename +'</a>'); } //]]> </script> <script type="text/javascript" src="includes/js/IEprompt.js"></script> <script type='text/javascript'> //<![CDATA[ {if {$_CONF['info_row']['content_language']} != 'ar'} function iePrompt(str){ var settings = "dialogWidth: 290px; dialogHeight: 160px; center: yes; edge: raised; scroll: no; status: no;"; return window.showModalDialog("includes/js/iePrompt_en.htm", str, settings); } {else} function iePrompt(str){ var settings = "dialogWidth: 290px; dialogHeight: 160px; center: yes; edge: raised; scroll: no; status: no;"; return window.showModalDialog("includes/js/iePrompt_ar.htm", str, settings); } {/if} function cbPrompt(str){ try { if(window.showModalDialog){ return iePrompt(str); } else { return prompt(str, ""); } } catch (e) { return iePrompt(str); } } //]]> </script> <table border="0" width="100%" cellpadding="0" style="border-collapse: collapse"> <tr> <td valign="top"> <textarea cols="50" id="text" name="text" rows="5"> {$text} {$send_text} {$GetReplyInfo} {$GetSubjectInfo} {$prev} {$quote} {$Sign} {template}multi_quote{/template} </textarea> </td> <td> <?php if($PowerBB->_CONF['template']['while']['Custom_bbcodesList']){?> <fieldset> <legend><font class="smallfont" dir="rtl">{$lang['custom_bbcodes_mor']} BBcode</font></legend> {Des::while}{Custom_bbcodesList} {if {$Custom_bbcodesList['bbcode_useoption']} == '1'} <img src="{$Custom_bbcodesList['bbcode_switch']}" onclick="Custom_bbcodes_option('{$Custom_bbcodesList['bbcode_tag']}');" onmouseover="overIcon(this)" onmouseout="outIcon(this)" title="{$Custom_bbcodesList['bbcode_desc']}" border="0" class="editorbutton" /> {else} <img src="{$Custom_bbcodesList['bbcode_switch']}" onclick="Custom_bbcodes('{$Custom_bbcodesList['bbcode_tag']}');" title="{$Custom_bbcodesList['bbcode_desc']}" border="0" class="editorbutton" /> {/if} <script type='text/javascript'> /** * Retrieve HTML presentation of the current selected range, require editor * to be focused first. */ function getSelectedHtml(editor) { var selection = editor.getSelection(); if( selection ) { var bookmarks = selection.createBookmarks(), range = selection.getRanges()[ 0 ], fragment = range.clone().cloneContents(); selection.selectBookmarks( bookmarks ); var retval = "", childList = fragment.getChildren(), childCount = childList.count(); for ( var i = 0; i < childCount; i++ ) { var child = childList.getItem( i ); retval += ( child.getOuterHtml? child.getOuterHtml() : child.getText() ); } return retval; } }; //<![CDATA[ function Custom_bbcodes(bbcode_tag){ // add Custom bbcodes var editor = CKEDITOR.instances.text; editor.insertHtml('['+bbcode_tag+']' + getSelectedHtml(editor) + '[/'+bbcode_tag+']'); } function Custom_bbcodes_option(bbcode_tag,option){ var option = cbPrompt(bbcode_tag, ''); if(option){ var editor = CKEDITOR.instances.text; editor.insertHtml('['+bbcode_tag+'='+option+']' + getSelectedHtml(editor) + '[/'+bbcode_tag+']'); } } //]]> </script> {/Des::while} </fieldset> {/if} <fieldset> <legend>{$lang['smiles']}</legend> <?php $t=0; ?> <table width="100%" border="0" cellpadding="0" cellspacing="1"> <tr valign="top"> {Des::while}{SmileRows} <?php if($t== $PowerBB->_CONF['template']['_CONF']['info_row']['smil_columns_number']){ $t=0; echo "</tr><tr>"; }?> <td width="10%"> <a href="javascript:void(0)"> <img src="{$SmileRows['smile_path']}" OnClick="AddSmileyIcon('{$SmileRows['smile_path']}');" alt="{$SmileRows['smile_path']}" border="0" /> </a> </td> <?php $t=$t+1;?> {/Des::while} </tr> </table> <div align="center" class="smallfont"> <a href="javascript:void(0)" OnClick="javascript:window.open('index.php?page=smile&all=1','Legends','width=250,height=550,resizable=yes,scrollbars=yes')"> <strong><u>{$lang['All_Smiles']}</u></strong> <img border="0" onClick="cmd_allsmiles()" alt="{$lang['All_Smiles']}" src="{$image_path}/menu_open.gif" /> </a> </div> </fieldset> </td> </tr> </table> <script type="text/javascript"> //<![CDATA[ CKEDITOR.replace('text', { toolbar : [ ['RemoveFormat'], ['Maximize', 'NewPage'], ['Paste', 'Copy'], ['Font','FontSize'], ['TextColor','BGColor'], ['NumberedList','BulletedList'], ['SelectAll'], ['Undo','Redo'], '/', ['Bold', 'Italic','Underline','Strike'], ['JustifyRight','JustifyCenter','JustifyLeft','JustifyBlock'], ['Flash','-','Image','-', 'Smiley','-','rplayer','youtube'], ['Link', 'Unlink'], ['Table','Templates'], ['Find','Replace'], '/', ['BidiRtl','BidiLtr'], ['Superscript','Subscript'], ['HorizontalRule'], ['Quote','Code'], ['Outdent', 'Indent','Jsvk','keystrokeHandler'] ], smiley_images : [ {Des::while}{SmlList}<?php $PowerBB->_CONF['template']['while']['SmlList'][$this->x_loop]['smile_path'] = str_replace("look/images/smiles/", "", $PowerBB->_CONF['template']['while']['SmlList'][$this->x_loop]['smile_path']); ?>'{$SmlList['smile_path']}', {/Des::while} ], smiley_descriptions : [ {Des::while}{SmlList}<?php $PowerBB->_CONF['template']['while']['SmlList'][$this->x_loop]['smile_path'] = str_replace("look/images/smiles/", "", $PowerBB->_CONF['template']['while']['SmlList'][$this->x_loop]['smile_path']); ?><?php $PowerBB->_CONF['template']['while']['SmlList'][$this->x_loop]['smile_path'] = str_replace(".gif", "", $PowerBB->_CONF['template']['while']['SmlList'][$this->x_loop]['smile_path']); ?>'{$SmlList['smile_path']}', {/Des::while} ] } ); //]]> </script>
الساعة الآن 08:15 AM