if ($format['remote'] != 1) { if ($format['parser'] == 3) { ?> <a class="right" href="misc.php?action=bbhelp<?php echo SID2URL_x; ?> " target="_blank"><?php echo $lang->phrase('bbcode_help'); ?> </a> <?php echo $lang->phrase('admin_cms_doc_sourcecode'); ?> <br /> <?php BBCodeToolBox("template[{$lid}]", $row2['content'], 'rows="18" cols="110" class="texteditor editor_textarea_inner"'); } else { echo $lang->phrase('admin_cms_doc_sourcecode'); ?> <br /><textarea id="template[<?php echo $lid; ?> ]" name="template[<?php echo $lid; ?> ]" rows="20" cols="110" class="texteditor"><?php echo $row2['content']; ?> </textarea> <?php }
?> " /> </td> </tr> <?php if ($format['remote'] != 1) { ?> <tr> <td class="mbox"> <?php echo $lang->phrase('admin_cms_doc_sourcecode'); ?> <br /> <?php if ($format['parser'] == 3) { BBCodeToolBox(); } ?> <textarea id="template" name="template" rows="20" cols="110" class="texteditor"><?php echo $row['content']; ?> </textarea> <?php if ($format['parser'] == 1) { ?> <link rel="stylesheet" type="text/css" href="templates/editor/rte.css" /> <script language="JavaScript" type="text/javascript" src="templates/editor/lang/en.js"></script> <script language="JavaScript" type="text/javascript" src="templates/editor/richtext.js"></script> <script language="JavaScript" type="text/javascript" src="templates/editor/html2xhtml.js"></script> <script language="JavaScript" type="text/javascript"> <!--