Noul editor de mesaje
Pagina 1 din 1 • Distribuiţi
Noul editor de mesaje
Noul editor de mesaje |
Ne face placere sa va anuntam ca incepind de astazi a fost introdus noul editor de mesaje pentru forumurile dumneavoastra. Acesta inlocuieste editorul de mesaje extins si editorul WYSIWYG existente pina acum. A fost ales un editor simplu si complet care va permite o imagine de ansamblu a elementelor pe care le postati - imagini, text, culori, etc. Iata cum arata editorul: Posteaza un mesaj Raspuns rapid Editorul este disponibil in doua moduri:
Se poate trece de la un mod de editare la altul folosind butonul "Schimba modul de editare": Iata lista detaliata a functiunilor butoanelor prezente in noul editor: Important! 1. Doua optiuni din panoul de administrare au devenit obsolete si deci au fost eliminate: - Activare editor mesaj extins - Activarea modului de origine WYSIWYG in mesaje; 2. Noul editor este inca in versiunea beta, din acest motiv s-ar putea sa apara unele erori. Acestea vor fi corectate imediat ce vor fi semnalate - contam pentru aceasta pe comunicarea cu dumneavoastra Atentie! Daca ati modificat template-urile posting_body si/sau profile_add_body, este neaparat necesar sa faceti modificarile de mai jos, pentru ca noul editor sa functioneze corect in versiunile phpBB2 si punBB |
Copyright © Forumgratuit.ro Nicio parte a acestui anunt nu poate fi reprodusa, transmisa sau stocata in orice forma fara acordul scris al detinatorului dreptului de autor, in conformitate cu articolul L122-1 apartinand ICC. Numai bine, Echipa Forumgratuit |
Ultima editare efectuata de catre Ina in Mier Iun 12, 2013 8:19 pm, editata de 1 ori
Re: Noul editor de mesaje
PunBB
1. Templates > Postare si mesaje private > posting_body :
Din linia:
eliminati:
Eliminati blocul:
situat dupa:
Eliminati:
Situat dupa:
Eliminati :
situat dupa:
Adaugati la sfirsitul template-ului:
2. Template-uri > Profil > profile_add_body :
Eliminati :
situat dupa:
1. Templates > Postare si mesaje private > posting_body :
Din linia:
- Cod:
<form action="{S_POST_ACTION}" class="frm-form" method="post" name="post" onsubmit="return vB_Editor['text_editor'].prepare_submit(0,0)" enctype="multipart/form-data">
eliminati:
- Cod:
onsubmit="return vB_Editor['text_editor'].prepare_submit(0,0)"
Eliminati blocul:
- Cod:
<div id="text_editor_select_controls">
...
</div>
situat dupa:
- Cod:
<!-- BEGIN switch_description -->
<dl>
<dt><label>{L_DESCRIPTION}</label></dt>
<dd class="frm-input">
<input type="text" name="description" value="{DESCRIPTION}" maxlength="{TOPIC_DESCRIPTION_MAXLENGTH}" onkeypress="if (event.keyCode==13){return false}" />
</dd>
</dl>
<!-- END switch_description -->
Eliminati:
- Cod:
<div id="smiley-box">
{L_SMILIES_PREVIEW_NEW}
</div>
Situat dupa:
- Cod:
<div id="textarea_content" class="posting-block">
<dl>
<dt><label for="text_editor_textarea">{L_MESSAGE}</label></dt>
<dd class="frm-textarea">
<textarea id="text_editor_textarea" onclick="storeCaret(this)" rows="15" cols="9" onkeyup="storeCaret(this)" name="message" tabindex="3" onselect="storeCaret(this)" wrap="virtual" style="width:98%">{MESSAGE}</textarea><br />
</dd>
</dl>
<!-- BEGIN edit_reason -->
<br />
<dl>
<dt><label><span style="font-size:11px">{edit_reason.L_EDIT_REASON}</span></label></dt>
<dd><input class="inputbox medium" style="width:63%" type="text" name="edit_reason" value="{edit_reason.EDIT_REASON}" maxlength="255"></dd>
</dl>
<!-- END edit_reason -->
</div>
Eliminati :
- Cod:
<script src="/wysiwyg/wysiwyg_global.js" type="text/javascript"></script>
<script src="/wysiwyg/wysiwyg_menu.js" type="text/javascript"></script>
<script src="/wysiwyg/wysiwyg_textedit_new{JS_WYZ_VER}.js" type="text/javascript"></script>
<script type="text/javascript">
//<![CDATA[
$(function() {
vB_Editor['text_editor'] = new vB_Text_Editor('text_editor',{IS_WYSIWYG},2,1);
vBulletin_init();
smilieoptions = {{SMILEY_SELECT}};
});
//]]>
</script>
situat dupa:
- Cod:
<fieldset class="frm-set">
<dl>
<dt>{L_INFORMATION}</dt>
<dd>
{HTML_STATUS}<br />
{BBCODE_STATUS}<br />
{SMILIES_STATUS}
</dd>
</dl>
Adaugati la sfirsitul template-ului:
- Cod:
{SCEDITOR}
2. Template-uri > Profil > profile_add_body :
Eliminati :
- Cod:
<!-- BEGIN switch_cke_editor -->
<dl>
<dt><label>{L_DISPLAY_WYSIWYG} :</label></dt>
<dd>
<label><input type="radio" name="user_wysiwyg" value="1" {USER_WYSIWYG_YES} />{L_YES}</label>
<label><input type="radio" name="user_wysiwyg" value="0" {USER_WYSIWYG_NO} />{L_NO}</label>
<br /><span class="italic">{L_DISPLAY_WYSIWYG_EXPLAIN}</span>
</dd>
</dl>
<!-- END switch_cke_editor -->
situat dupa:
- Cod:
<!-- BEGIN switch_report -->
<dl>
<dt><label>{switch_preferences_menu.switch_report.L_NO_REPORT_POPUP} :</label></dt>
<dd>
<label><input type="radio" name="no_report_popup" value="0" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_YES} /><span class="cont">{L_YES}</span></label>
<label><input type="radio" name="no_report_popup" value="1" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_NO} /><span class="cont">{L_NO}</span></label>
</dd>
</dl>
<dl>
<dt><label>{switch_preferences_menu.switch_report.L_NO_REPORT_MAIL} :</label></dt>
<dd>
<label><input type="radio" name="no_report_mail" value="0" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_YES} /><span class="cont">{L_YES}</span></label>
<label><input type="radio" name="no_report_mail" value="1" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_NO} /><span class="cont">{L_NO}</span></label>
</dd>
</dl>
<!-- END switch_report -->
Re: Noul editor de mesaje
PHPBB2
1. Templates > Postare & Mesaje Private > posting_body :
Din linia:
eliminati:
Dupa codul:
inlocuiti:
cu:
Dupa codul:
si inainte de:
inlocuiti:
cu:
Adaugati la sfirsitul template-ului:
2. Templates > Profil > profile_add_body:
Eliminati:
Situat dupa:
1. Templates > Postare & Mesaje Private > posting_body :
Din linia:
- Cod:
<form action="{S_POST_ACTION}" method="post" name="post" enctype="multipart/form-data">
eliminati:
- Cod:
onsubmit="return vB_Editor['text_editor'].prepare_submit(0,0)"
Dupa codul:
- Cod:
<!-- BEGIN switch_groupmsg -->
<tr>
<td class="row1" width="22%"><span class="gen"><b>{L_USERNAME}</b></span></td>
<td class="row2" width="78%"><span class="genmed">Using php in posts is called being a smart [Language]... Stop it</span></td>
</tr>
<!-- END switch_groupmsg -->
<!-- BEGIN switch_subject -->
<tr>
inlocuiti:
- Cod:
<td class="row1" width="22%"><span class="gen"><b>{L_SUBJECT}</b></span></td>
<td class="row2" width="78%">
cu:
- Cod:
<td class="row1"><span class="gen"><b>{L_SUBJECT}</b></span></td>
<td class="row2">
Dupa codul:
- Cod:
<!-- BEGIN switch_icon_checkbox -->
<tr>
<td class="row1" valign="top"><span class="gen"><b>{L_ICON_TITLE}</b></span></td>
<td class="row2">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<!-- BEGIN row -->
<tr>
<td nowrap="nowrap"><span class="gen"><!-- BEGIN cell --><label><input type="radio" name="post_icon" value="{switch_icon_checkbox.row.cell.ICON_ID}" {switch_icon_checkbox.row.cell.ICON_CHECKED} id="post_icon_{switch_icon_checkbox.row.cell.ICON_ID}" /> <span onclick="document.forms['post'].post_icon_{switch_icon_checkbox.row.cell.ICON_ID}.checked=true">{switch_icon_checkbox.row.cell.ICON_IMG}</span></label><!-- END cell --></span></td>
</tr>
<!-- END row -->
</table>
</td>
</tr>
<!-- END switch_icon_checkbox -->
si inainte de:
- Cod:
<!-- BEGIN edit_reason -->
<tr>
<td class="row1" width="22%"><span class="gen"><strong>{edit_reason.L_EDIT_REASON}</strong></span></td>
<td class="row2" width="78%"><span class="gen"><input class="post" style="width:450px" type="text" name="edit_reason" value="{edit_reason.EDIT_REASON}" maxlength="255"></span></td>
</tr>
<!-- END edit_reason -->
{CODE_CONFIRM}
</table>
inlocuiti:
- Cod:
<tr id="parent_editor_simple" {EDITOR_DISPLAY_SIMPLE}>
<td class="row1" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
...
</tr>
</table>
</td>
</tr>
cu:
- Cod:
<tr id="parent_editor_simple" {EDITOR_DISPLAY_SIMPLE}>
<td class="row1" valign="top">
<table width="100%" border="0" cellspacing="0" cellpadding="1">
<tr>
<td><span class="gen" style="white-space: nowrap;"><b>{L_MESSAGE_BODY}</b></span></td>
</tr>
</table>
</td>
<td class="row2" valign="top"><span class="genmed"></span>
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>
<td>
<textarea id="text_editor_textarea" class="post" name="message" tabindex="3" wrap="virtual">{MESSAGE}</textarea>
</td>
</tr>
</table>
</td>
</tr>
Adaugati la sfirsitul template-ului:
- Cod:
{SCEDITOR}
2. Templates > Profil > profile_add_body:
Eliminati:
- Cod:
<!-- BEGIN switch_cke_editor -->
<tr>
<td class="row1"><span class="gen">{L_DISPLAY_WYSIWYG} :</span><br /><span class="gensmall">{L_DISPLAY_WYSIWYG_EXPLAIN}</span></td>
<td class="row2">
<label class="gen"><input type="radio" name="user_wysiwyg" value="1" {USER_WYSIWYG_YES} />{L_YES}</label>
<label class="gen"><input type="radio" name="user_wysiwyg" value="0" {USER_WYSIWYG_NO} />{L_NO}</label>
</td>
</tr>
<!-- END switch_cke_editor -->
Situat dupa:
- Cod:
<!-- BEGIN switch_report -->
<tr>
<td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_POPUP} :</span></td>
<td class="row2">
<label class="gen"><input type="radio" name="no_report_popup" value="0" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_YES} />{L_YES}</label>
<label class="gen"><input type="radio" name="no_report_popup" value="1" {switch_preferences_menu.switch_report.NO_REPORT_POPUP_NO} />{L_NO}</label>
</td>
</tr>
<tr>
<td class="row1"><span class="gen">{switch_preferences_menu.switch_report.L_NO_REPORT_MAIL} :</span></td>
<td class="row2">
<label class="gen"><input type="radio" name="no_report_mail" value="0" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_YES} />{L_YES}</label>
<label class="gen"><input type="radio" name="no_report_mail" value="1" {switch_preferences_menu.switch_report.NO_REPORT_MAIL_NO} />{L_NO}</label>
</td>
</tr>
<!-- END switch_report -->
Subiecte similare
» Noul editor din Panoul de Administrare
» Problema editor de mesaje
» butonul mesaje noi mesaje proprii si mesaje la care nu s-a raspuns intr-un chenar
» noul index nu se incarca
» Noul proiect personal: română
» Problema editor de mesaje
» butonul mesaje noi mesaje proprii si mesaje la care nu s-a raspuns intr-un chenar
» noul index nu se incarca
» Noul proiect personal: română
Pagina 1 din 1
Permisiunile acestui forum:
Nu puteti raspunde la subiectele acestui forum