מנהל: צוות האתר
haim43434 כתב:בבקשה
קוד: בחר הכל
<open src="styles/modestus/template/posting_editor.html">
<edit>
<find><![CDATA[<!-- INCLUDE posting_buttons.html -->]]></find>
<action type="before-add"><![CDATA[ <script type="text/javascript" src="{ROOT_PATH}lib/ckeditor/ckeditor.js"></script>
<script type="text/javascript">
// ]]><![CDATA[<![CDATA[
function CKEditor_for_phpBB_starter() {
CKEDITOR.replace("<!-- IF S_UCP_ACTION and not S_PRIVMSGS and not S_EDIT_DRAFT -->signature<!-- ELSE -->message<!-- ENDIF -->", {
extraPlugins: 'bbcode',
fontSize_sizes: '{L_FONT_TINY}/50%;{L_FONT_SMALL}/85%;{L_FONT_NORMAL}/100%<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 150 -->;{L_FONT_LARGE}/150%<!-- IF not MAX_FONT_SIZE or MAX_FONT_SIZE >= 200 -->;{L_FONT_HUGE}/200%<!-- ENDIF --><!-- ENDIF -->',
toolbar:
[
['Bold', 'Italic', 'Underline'],
['Undo', 'Redo'],
['NumberedList','BulletedList'<!-- IF S_BBCODE_QUOTE -->,'-', 'Blockquote'<!-- ENDIF -->],
<!-- IF S_BBCODE_IMG or S_LINKS_ALLOWED or S_BBCODE_FLASH --><!-- DEFINE $PHN = 0 -->
[<!-- IF S_BBCODE_IMG --><!-- DEFINE $PHN = 1 -->'Image'<!-- ENDIF -->
<!-- IF S_LINKS_ALLOWED --><!-- IF $PHN>0 -->,<!-- ENDIF --> 'Link', 'Unlink'<!-- DEFINE $PHN = 1 --><!-- ENDIF -->
<!-- IF S_BBCODE_FLASH --><!-- IF $PHN>0 -->,<!-- ENDIF --> 'Flash'<!-- ENDIF -->],
<!-- ENDIF -->
['FontSize', 'TextColor' <!-- IF S_SMILIES_ALLOWED and .smiley -->, 'Smiley'<!-- ENDIF -->],
['Source']
]<!-- IF S_SMILIES_ALLOWED and .smiley -->, //{PHPBB_USE_BOARD_URL_PATH}
contentsCss: '{T_STYLESHEET_LINK}',
smiley_path: '{SMILEY_CKE_FULLPATH}',
smiley_images: [
<!-- DEFINE $SLN = 0 --><!-- BEGIN smiley -->
<!-- IF $SLN==1 -->,<!-- ENDIF -->'{smiley.SMILEY_FILE}'<!-- DEFINE $SLN = 1 -->
<!-- END smiley -->
],
smiley_descriptions: [
<!-- DEFINE $SLN = 0 --><!-- BEGIN smiley -->
<!-- IF $SLN==1 -->,<!-- ENDIF -->'{smiley.SMILEY_DESC}'<!-- DEFINE $SLN = 1 -->
<!-- END smiley -->
]<!-- ENDIF -->
});
document.getElementById("format-buttons").style.display = 'none';
document.getElementById("smiley-box").style.display = 'none';
document.getElementById("message-box").style.width = '100%';
}
onload_functions.push('CKEditor_for_phpBB_starter()');
// ]]>]]><![CDATA[
</script>]]></action>
</edit>
</open>
משתמשים הגולשים בפורום זה: אין משתמשים רשומים ו־ 38 אורחים