السلام عليكم ورحمة الله وبركاته...
لي فترة عن هذا المنتدى الرائع...
يعاني اغلب اصحاب الصحف من موضوع التعليقات لان الزوار يستطيعون تغيير لون وحجم الخط مما يسيي تشويه
في ترتيب التعليقات... لذا يوجد طريقه لايقاف هذا المحرر وحذقه من الاستايل...
مثال:
http://saar7.com/news.php?action=show&id=64
لمن اراد التعديل يدوي افتح ملف minieditor.htm الموجود داخل مجلد الاستايل..
الكود الاول لاتحذفه بالكامل بل احذف منه الغير مرغوب به مثل الارتباط التشعيبي وادارج صورة..الخ او مايعجبك انت..
كود:
<td>
<div class="bbcodButton" onClick="switch_to_wysiwyg('beditor','weditor',0)" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);"><img height="22" width="52" src="{script_url}/images/editor/wysiwyg.gif" title="{phrase_switch_to_wysiwyg}" /></div>
</td>
<!-- END BLOCK : weditorb -->
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('preview')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" src="{script_url}/images/editor/preview.gif" title="{phrase_preview}" /></div>
</td>
<td>
<div class="bbcodTabNoTab"><img height="22" width="5" src="{script_url}/images/editor/separator.gif" title="" /></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('plain')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_remove_format}" src="{script_url}/images/editor/plain.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="undo();" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" src="{script_url}/images/editor/undo.gif" title="{phrase_undo}" /></div>
</td>
<td>
<div class="bbcodButton" onClick="redo();" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" src="{script_url}/images/editor/redo.gif" title="{phrase_redo}" /></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('cut')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" src="{script_url}/images/editor/cut.gif" title="{phrase_cut}" /></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('copy')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" src="{script_url}/images/editor/copy.gif" title="{phrase_copy}" /></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('paste')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" src="{script_url}/images/editor/paste.gif" title="{phrase_paste}" /></div>
</td>
<td>
<div class="bbcodTabNoTab"><img height="22" width="5" src="{script_url}/images/editor/separator.gif" title="" /></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('poem')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" src="{script_url}/images/editor/poet.gif" title="{phrase_poem}" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('frame')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_frame}" src="{script_url}/images/editor/frame.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('image')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_image}" src="{script_url}/images/editor/image.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('smilie')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="22" title="{phrase_smilie}" src="{script_url}/images/editor/smilie.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('squarelist')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_squarelist}" src="{script_url}/images/editor/squarelist.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('link')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_link}" src="{script_url}/images/editor/link.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('contentlink')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_contentlink}" src="{script_url}/images/editor/contentlink.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('comment')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_comment_link}" src="{script_url}/images/editor/comment.gif" ></div>
</td>
<td>
<div><img height="22" width="5" src="{script_url}/images/editor/separator.gif" title="" /></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('code')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_code}" src="{script_url}/images/editor/code.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('php')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_php_code}" src="{script_url}/images/editor/php.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('html')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_html_code}" src="{script_url}/images/editor/html.gif" ></div>
</td>
_________________________________________
الكود الثاني احذفه بالكامل او دع منه ماتريد..!
كود:
<td>
<select class="bbcodDropDown" onchange="Dimofinf_Editor('face='+this[this.selectedIndex].value);this.selectedIndex=0">
<option selected>{phrase_font}</option>
<option value="Arial">Arial</option>
<option value="Arial Black">Arial Black</option>
<option value="Arial Narrow">Arial Narrow</option>
<option value="Comic Sans MS">Comic Sans MS</option>
<option value="Courier New">Courier New</option>
<option value="System">System</option>
<option value="Tahoma">Tahoma</option>
<option value="Times New Roman">Times New Roman</option>
<option value="Simplified Arabic">Simplified Arabic</option>
<option value="Verdana">Verdana</option>
<option value="Wingdings">Wingdings</option>
</select>
<select onchange="Dimofinf_Editor('size='+this[this.selectedIndex].value);this.selectedIndex=0">
<option selected>{phrase_size}</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
<option value="4">4</option>
<option value="5">5</option>
<option value="6">6</option>
<option value="7">7</option>
</select>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('bold')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_bold}" src="{script_url}/images/editor/bold.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('italic')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_italic}" src="{script_url}/images/editor/italic.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('color')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_color}" src="{script_url}/images/editor/color.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('highlight')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_highlight}" src="{script_url}/images/editor/highlight.gif" ></div>
</td>
<td>
<div><img height="22" width="5" src="{script_url}/images/editor/separator.gif" title="" /></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('left')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_left}" src="{script_url}/images/editor/left.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('center')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_center}" src="{script_url}/images/editor/center.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('right')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_right}" src="{script_url}/images/editor/right.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('justify')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_justify}" src="{script_url}/images/editor/justify.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('indent')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="22" title="{phrase_indent}" src="{script_url}/images/editor/indent.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('rtl')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_rtl}" src="{script_url}/images/editor/rtl.gif" ></div>
</td>
<td>
<div class="bbcodButton" onClick="Dimofinf_Editor('ltr')" onmouseover="Set_button_over(this);" onmouseout="Set_button_out(this);" onmousedown="Set_button_down(this);" onmouseup="Set_button_up(this);">
<img height="22" width="23" title="{phrase_ltr}" src="{script_url}/images/editor/ltr.gif" ></div>
</td>
والملف معدل جاهز كما هو بالمثال والصورة حمل من المرفقات..
ارفعه بعد فك الضغط داخل مجلد الاستايل عندك.. ووافق على الاستبدال.
ارجو من الله ان اكون افدتكم ولاتنسوني من صالح دعائكم