24 - 5 - 2024, 01:22 AM
|
|
|
|
|
|
اظهار ايقونات ب الرد السريع
مرحبا بالجميــــــع الصندوق الماسي في الرد السريع دون الحاجه للذهاب الى الانتقال الى الوضع المتطور مثال بعد تركيب الكود
شرح تركيب الكود لوحة الادارة خصائص الستايل قالب bdr130_quickreply امسح جميع ما في القالب واستبدله بالكود
كود:
<head>
<meta http-equiv="Content-Language" content="en-us">
</head>
<script type="text/javascript">
var shortoptions = new Array("$sdefault[1]","$sdefault[2]","$sdefault[3]","$sdefault[4]","$sdefault[5]","$sdefault[6]","$sdefault[7]","$sdefault[8]","$sdefault[9]","$sdefault[10]","$sdefault[11]","$sdefault[12]");
bdr130_option_onclick = function(e)
{
var arg = this.title;
if (arg != '')
{
vB_Editor['$editorid'].insert_text(' '+arg+' ', false);
}
vBmenu.hide();
}
bdr130_select_onchange = function(e)
{
var arg = this.options[this.selectedIndex].value;
if (arg != '')
{
vB_Editor['$editorid'].insert_text(' '+arg+' ', false);
}
this.selectedIndex = 0;
}
vB_Text_Editor.prototype.table = function(e)
{
code = window.open("massy.php?action=table&e=$editorid", "table", "toolbar=no,scrollbars=yes,resizable=yes,width=600,height=450");
};
function _sndReplaceReq(action, file, param) {
http = _createRequestObject();
http.open(action, 'massy/rpc.php?action='+file, true);
if(action=='POST'){
http.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
http.setRequestHeader("Content-length", param.length);
http.setRequestHeader("Connection", "close");
}
http.onreadystatechange = function(){if(http.readyState == 4){vB_Editor['{$editorid}'].insert_text(http.responseText, false);}};
http.send(param);
}
vB_Text_Editor.prototype.colo = function(e)
{
code = showModalDialog("massy/color.html","","help:no; center:yes; status:no; dialogHeight:176px; dialogWidth:356px");
if (!code)
return;
fetch_object('{$editorid}_color_bar').style.backgroundColor = code;
vB_Editor['{$editorid}'].format(e, 'forecolor', code);
};
</script>
<script type="text/javascript" src="massy/massy.js"></script>
<if condition="$show['editor_toolbar']">
<div id="{$editorid}_controls" class="controlbar">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><div class="imagebutton" id="{$editorid}_cmd_removeformat"><img src="$stylevar[imgdir_editor]/removeformat.gif" width="21" height="20" alt="$vbphrase[remove_text_formatting]" /></div></td>
<if condition="$show['font_bbcode'] OR $show['size_bbcode']">
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
</if>
<if condition="$show['font_bbcode']">
<td><div class="imagebutton" id="{$editorid}_popup_fontname" title="$vbphrase[fonts]">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="popup_feedback"><div id="{$editorid}_font_out" style="width:91px"> </div></td>
<td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
</tr>
</table>
</div></td>
</if>
<td><div class="imagebutton" id="{$editorid}_popbdr_shorts" title="الأختصارات">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="popup_feedback"><div id="{$editorid}_short_out" style="width:55px"> </div></td>
<td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
</tr>
</table>
</div></td>
<if condition="$show['size_bbcode']">
<td><div class="imagebutton" id="{$editorid}_popup_fontsize" title="$vbphrase[sizes]">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td class="popup_feedback"><div id="{$editorid}_size_out" style="width:25px"> </div></td>
<td class="popup_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
</tr>
</table>
</div></td>
</if>
<if condition="$show['color_bbcode']">
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_popup_forecolor" title="$vbphrase[colors]">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td id="{$editorid}_color_out"><img src="images/toolbox/color.gif" width="21" height="16" alt="" /><br /><img src="$vboptions[cleargifurl]" id="{$editorid}_color_bar" alt="" style="background-color:black" width="21" height="4" /></td>
<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
</tr>
</table>
</div></td>
</if>
<td><div class="imagebutton" id="{$editorid}_cmd_colo"><img src="images/toolbox/colorpicker.gif" width="21" height="20" alt="الابتسامات" /></div></td>
<if condition="$show['wysiwygsmilies']">
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_popup_smilie" title="$vbphrase[smilies]">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_editor]/smilie.gif" alt="" width="21" height="20" /></td>
<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
</tr>
</table>
</div></td>
</if>
<if condition="$show['attach']">
<td><div class="imagebutton" id="{$editorid}_popup_attach" title="$vbphrase[attachments]">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<td><img src="$stylevar[imgdir_editor]/attach.gif" alt="" width="21" height="20" /></td>
<td class="alt_pickbutton"><img src="$stylevar[imgdir_editor]/menupop.gif" width="11" height="16" alt="" /></td>
</tr>
</table>
</div></td>
</if>
<!--
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_cut"><img src="$stylevar[imgdir_editor]/cut.gif" width="21" height="20" alt="$vbphrase[cut]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_copy"><img src="$stylevar[imgdir_editor]/copy.gif" width="21" height="20" alt="$vbphrase[copy]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_paste"><img src="$stylevar[imgdir_editor]/paste.gif" width="21" height="20" alt="$vbphrase[paste]" /></div></td>
-->
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td width="100%">
<p align="right">[<span style="background-color: #800000"><font color="#FFFFFF"> </font><a href="#" onclick="vB_Editor['$editorid'].open_smilie_window(smiliewindow_x, smiliewindow_y); return false">
<font color="#FFFFFF">الابتسامات</font></a><font color="#000000"> </font>
</span>]</td>
<if condition="is_browser('ie') AND !is_browser('mac')">
<td><div class="imagebutton" id="{$editorid}_cmd_spelling"><img src="images/toolbox/spelling.gif" width="21" height="20" alt="$vbphrase[check_spelling]" /></div></td>
</if>
<td>
<div class="imagebutton" id="{$editorid}_cmd_resize_0_100"><img src="$stylevar[imgdir_editor]/resize_0.gif" width="21" height="9" alt="$vbphrase[decrease_size]" /></div>
<div class="imagebutton" id="{$editorid}_cmd_resize_1_100"><img src="$stylevar[imgdir_editor]/resize_1.gif" width="21" height="9" alt="$vbphrase[increase_size]" /></div>
</td>
<if condition="$show['wysiwyg_compatible']">
<td><div class="imagebutton" id="{$editorid}_cmd_switchmode"><img src="$stylevar[imgdir_editor]/switchmode.gif" width="21" height="20" alt="$vbphrase[switch_editor_mode]" /></div></td>
</if>
</tr>
</table>
<if condition="!$show['basicbbcodeonly']">
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<if condition="$show['basic_bbcode']">
<td><div class="imagebutton" id="{$editorid}_cmd_bold"><img src="images/toolbox/bold.gif" width="21" height="20" alt="$vbphrase[bold]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_italic"><img src="images/toolbox/italic.gif" width="21" height="20" alt="$vbphrase[italic]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_underline"><img src="images/toolbox/underline.gif" width="21" height="20" alt="$vbphrase[underline]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_overline"><img src="images/toolbox/overline.gif" width="21" height="20" alt="?? ???????" /></div></td>
</if>
<if condition="$show['align_bbcode']">
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<if condition="$stylevar['textdirection'] == 'ltr'">
<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
<else />
<td><div class="imagebutton" id="{$editorid}_cmd_justifyright"><img src="$stylevar[imgdir_editor]/justifyright.gif" width="21" height="20" alt="$vbphrase[align_right]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_justifycenter"><img src="$stylevar[imgdir_editor]/justifycenter.gif" width="21" height="20" alt="$vbphrase[align_center]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_justifyleft"><img src="$stylevar[imgdir_editor]/justifyleft.gif" width="21" height="20" alt="$vbphrase[align_left]" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_justify"><img src="images/toolbox/justify.gif" width="21" height="20" alt="?????? ??? ???????" /></div></td>
</if>
</if>
<if condition="$show['align_bbcode'] OR $show['list_bbcode']">
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
</if>
<if condition="$show['list_bbcode']">
<td><div class="imagebutton" id="{$editorid}_cmd_insertorderedlist"><img src="images/toolbox/insertorderedlist.gif" width="21" height="20" alt="$vbphrase[ordered_list]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_insertunorderedlist"><img src="images/toolbox/insertunorderedlist.gif" width="21" height="20" alt="$vbphrase[unordered_list]" /></div></td>
</if>
<if condition="$stylevar['textdirection'] == 'ltr'">
<td><div class="imagebutton" id="{$editorid}_cmd_outdent"><img src="$stylevar[imgdir_editor]/outdent.gif" width="21" height="20" alt="$vbphrase[decrease_indent]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_indent"><img src="$stylevar[imgdir_editor]/indent.gif" width="21" height="20" alt="$vbphrase[increase_indent]" /></div></td>
<else />
<td><div class="imagebutton" id="{$editorid}_cmd_outdent"><img src="images/toolbox/indent.gif" width="21" height="20" alt="$vbphrase[decrease_indent]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_indent"><img src="images/toolbox/outdent.gif" width="21" height="20" alt="$vbphrase[increase_indent]" /></div></td>
</if>
<if condition="$show['url_bbcode'] OR $show['img_bbcode']">
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<if condition="$show['url_bbcode']">
<td><div class="imagebutton" id="{$editorid}_cmd_createlink"><img src="images/toolbox/createlink.gif" width="21" height="20" alt="$vbphrase[insert_link]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_unlink"><img src="$stylevar[imgdir_editor]/unlink.gif" width="21" height="20" alt="$vbphrase[remove_link]" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_email"><img src="images/toolbox/email.gif" width="21" height="20" alt="$vbphrase[insert_email_link]" /></div></td>
</if>
<if condition="$show['img_bbcode']">
<td><div class="imagebutton" id="{$editorid}_cmd_insertimage"><img src="images/toolbox/insertimage.gif" width="21" height="20" alt="$vbphrase[insert_image]" /></div></td>
</if>
</if>
<if condition="$show['quote_bbcode']">
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_quote"><img src="images/toolbox/quote.gif" width="21" height="20" alt="$vbphrase[wrap_quote_tags]" /></div></td>
</if>
<if condition="$show['code_bbcode'] OR $show['html_bbcode'] OR $show['php_bbcode']">
<if condition="$show['code_bbcode']">
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_code"><img src="$stylevar[imgdir_editor]/code.gif" width="21" height="20" alt="$vbphrase[wrap_code_tags]" /></div></td>
</if>
<if condition="$show['html_bbcode']">
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_html"><img src="$stylevar[imgdir_editor]/html.gif" width="21" height="20" alt="$vbphrase[wrap_html_tags]" /></div></td>
</if>
<if condition="$show['php_bbcode']">
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_php"><img src="images/toolbox/php.gif" width="21" height="20" alt="$vbphrase[wrap_php_tags]" /></div></td>
</if>
</if>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_wrap0_s"><img src="images/toolbox/strike.gif" width="21" height="20" alt="?????? ??" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_hide"><img src="images/toolbox/hide.gif" width="21" height="20" alt="الابتسامات" /></div></td>
<if condition="$vBeditTemplate['extrabuttons'] != '' ">
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
$vBeditTemplate[extrabuttons]
</if>
</tr>
</table>
</if>
<table cellpadding="0" cellspacing="0" border="0">
<tr>
<!-- ??? 3 -->
<td><div class="imagebutton" id="{$editorid}_cmd_poem"><img src="images/toolbox/poem.gif" width="21" height="20" alt="????? ?????" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_gradient"><img src="images/toolbox/gradient.gif" width="21" height="20" alt="?? ?????? ??????" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_frame"><img src="images/toolbox/frame.gif" width="21" height="20" alt="????? ????" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_marq"><img src="images/toolbox/marq.gif" width="21" height="20" alt="???? ???????" /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_hcal"><img src="images/toolbox/h_calendar.gif" width="21" height="20" alt="????? ????? ????? ??????" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_numbers"><img src="images/toolbox/numbers.gif" width="21" height="20" alt="????? ??????? ??? ????? ??? 15 » ???? ???" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_keyb"><img src="images/toolbox/keyb.gif" width="21" height="20" alt="????? ???????? ??? hgsghl ugd;l » ?????? ?????" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_terms"><img src="images/toolbox/terms.gif" width="21" height="20" alt="????? ????? ???? ??? Google » ????" /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="imagebutton" id="{$editorid}_cmd_table"><img src="images/toolbox/table.gif" width="21" height="20" alt="????? ????" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_textformat"><img src="images/toolbox/text.gif" width="21" height="20" alt="???? ??????" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_bor" onclick="bdr130cmd('bor','',this,'','color');"><img src="images/toolbox/bor.gif" width="21" height="20" alt="???? ????? ????? ?????" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_gdwl"><img src="images/toolbox/gdwl.gif" width="21" height="20" alt="????? ???? ???? ???? ?????? ??????" /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap1_info"><img src="images/toolbox/info.gif" width="21" height="20" alt="??????" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap1_caution"><img src="images/toolbox/caution.gif" width="21" height="20" alt="?????" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap1_warning"><img src="images/toolbox/warning.gif" width="21" height="20" alt="?????" /></div></td>
<td><div class="imagebutton" id="{$editorid}_cmd_upload"><img src="images/toolbox/upload.gif" width="21" height="20" alt="???? ????? ????? ????????" /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_motfrk"><img src="images/toolbox/motfrk.gif" width="21" height="20" alt="???? ?????? ??? ??????? ???? : ??? ? ?? ?? ?" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_mklb1"><img src="images/toolbox/mklb1.gif" width="21" height="20" alt="?? ????? ????" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_mklb2"><img src="images/toolbox/mklb2.gif" width="21" height="20" alt="?? ????? ??????" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_mklb"><img src="images/toolbox/mklb.gif" width="21" height="20" alt="?? ????? ?????" /></div></td>
<td><img src="$stylevar[imgdir_editor]/separator.gif" width="6" height="20" alt="" /></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_blur1"><img src="images/toolbox/blur1.gif" width="21" height="20" alt="?? ???? ????? ?????" /></div></td>
<td><div class="bdr130button" id="{$editorid}_bdr130_wrap0_blur"><img src="images/toolbox/blur.gif" width="21" height="20" alt="?? ???? ????? ??????" /></div></td>
</tr>
</table>
</div>
</if>
<div class="controlbar" style="padding-$stylevar[right]:8px">
<fieldset style="border:0px; padding:0px; margin:0px">
<if condition="$show['qr_require_click']">
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]" disabled="disabled">$vbphrase[click_quick_reply_icon]</textarea>
<else />
<textarea name="message" id="{$editorid}_textarea" rows="10" cols="60" style="width:100%; height:{$editor_height}px" tabindex="1" dir="$stylevar[textdirection]"></textarea>
</if>
</fieldset>
<!--width:$stylevar[messagewidth]-->
</div>
<div class="controlbar" style="padding-$stylevar[right]:8px">
<div id="massybar" style="font-size:10px;font-family:Tahoma">??????? ?????? ?????? - Massy Version 5</div>
</div>
<input type="hidden" name="wysiwyg" id="{$editorid}_mode" value="$editortype" />
<input type="hidden" name="styleid" value="$session[styleid]" />
<script type="text/javascript">
<!--
vB_Editor['$editorid'] = new vB_Text_Editor('$editorid', $editortype, '$forumid', '$parsesmilie');
vB_Editor['$editorid'].init_bdr130_button();
var QR_EditorID = '$editorid';
//-->
</script>
|
|
عزيزي الزائر أتمنى انك استفدت من الموضوع ولكن من
اجل منتدى الجوهرة للتصميم M ديزاين يرجاء ذكر المصدرعند نقلك لموضوع ويمكنك التسجيل معنا والمشاركة معنا والنقاش في كافه المواضيع الجاده اذا رغبت في ذالك فانا لا ادعوك للتسجيل بل ادعوك للإبداع معنا . للتسجيل اضغظ هنا . |
الذين يشاهدون محتوى الموضوع الآن : 2 ( الأعضاء 0 والزوار 2)
|
|
تعليمات المشاركة
|
لا تستطيع إضافة مواضيع جديدة
لا تستطيع الرد على المواضيع
لا تستطيع إرفاق ملفات
لا تستطيع تعديل مشاركاتك
كود HTML معطلة
|
|
|
|