CMS  Version 3.9
tag_editor.inc
Go to the documentation of this file.
1 <?php
2 Fakoli::using("html_editor");
3 ?>
4 <table class='form'>
5  <tr>
6  <td class='label'><label>Current HTML Tag</label>
7  <td class='field'>
8  <span id='tag_editor_tagName' style='display: inline-block; width: 100px;border: solid 1px #bbb; color: #333; padding: 2px; border-radius: 4px;margin-right:5px;'></span>
9  <a id='tag_editor_upButton' class='button' style='margin-right: 4px' href='#' title='Up to Parent Tag' onclick='new TagEditor().up();return false'>&uarr;</a>
10  <a id='tag_editor_downButton' class='button' style='margin-right: 20px' href='#' title='Down a Tag' onclick='new TagEditor().down(); return false'>&darr;</a>
11  <a id='tag_editor_prevButton' class='button' style='margin-right: 4px' href='#' title='Previous Tag' onclick='new TagEditor().prev(); return false'>&larr;</a>
12  <a id='tag_editor_nextButton' class='button' href='#' title='Next Tag' onclick='new TagEditor().next(); return false'>&rarr;</a>
13  </td>
14  </tr>
15  <tr>
16  <td class='label'><label>ID</label></td>
17  <td class='field'><input id='tag_editor_id' value='' type='text'/></td>
18  </tr>
19  <tr>
20  <td class='label'><label>Class</label></td>
21  <td class='field'><input id='tag_editor_class' value='' type='text' size='60'/></td>
22  </tr>
23  <tr>
24  <td class='label'><label>Style</label></td>
25  <td class='field'><input id='tag_editor_style' value='' type='text' size='60'/></td>
26  </tr>
27  <tr id='tag_editor_href_row' style='display: none'>
28  <td class='label'><Label>HREF</Label></td>
29  <td class='field'><input id='tag_editor_href' value='' type='text' size='60'/></td>
30  </tr>
31  <tr id='tag_editor_target_row' style='display: none'>
32  <td class='label'><Label>Target</Label></td>
33  <td class='field'><input id='tag_editor_target' value='' type='text' size='60'/></td>
34  </tr>
35  <tr id='tag_editor_src_row' style='display: none'>
36  <td class='label'><Label>SRC</Label></td>
37  <td class='field'><input id='tag_editor_src' value='' type='text' size='60'/></td>
38  </tr>
39  <tr id='tag_editor_alt_row' style='display: none'>
40  <td class='label'><Label>ALT</Label></td>
41  <td class='field'><input id='tag_editor_alt' value='' type='text' size='60'/></td>
42  </tr>
43 </table>
44 <br/>
45 <a class='button' href='#' onclick="ModalDialog.getActiveDialog().hide();">Done</a>
46 <script type='text/javascript'>
47 window.addEvent('domready', function()
48 {
49  new TagEditor().initializeDialog();
50 });
51 </script>
$helpTree style
Definition: tree.inc:46
$imageUpload size
Definition: image_form.inc:68
$bookmark title
static using()
Import the datamodels, views and manifest for the specified component(s).
Definition: core.inc:116