PluginProbe
E2Pdf – Export Pdf Tool for WordPress / 1.02.02
E2Pdf – Export Pdf Tool for WordPress v1.02.02
1.32.49 1.32.48 1.32.43 1.32.40 1.32.34 1.32.32 1.32.31 1.32.26 1.32.22 1.32.23 1.32.18 1.32.17 1.32.15 trunk 1.00.00 1.00.13 1.01.01 1.02.02 1.03.07 1.04.07 1.05.03 1.06.02 1.07.11 1.08.00 1.08.06 All 72 releases
e2pdf / classes / view / blocks / wysiwyg.php

wysiwyg.php in E2Pdf – Export Pdf Tool for WordPress 1.02.02, at classes/view/blocks/wysiwyg.php

101 lines 6.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 if (!defined('ABSPATH')) {
3 die('Access denied.');
4 }
5 ?>
6 <div id="e2pdf-build-top-panel" class="e2pdf-build-top-panel">
7 <ul class="e2pdf-panel-options">
8
9 <li><a title="<?php _e('Hide Controls', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button button button-small e2pdf-hide-controls">
10 <i class="dashicons dashicons-text"></i>
11 </a>
12 <a title="<?php _e('Hide/Show Hidden Elements', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button button button-small e2pdf-hidden-elements e2pdf-inactive">
13 <i class="dashicons dashicons-visibility"></i>
14 </a>
15 </li>
16 <li>
17 <a title="<?php _e('New Page', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button button button-small e2pdf-add-page">
18 <i class="dashicons dashicons-welcome-add-page"></i>
19 </a>
20 </li><li>
21 <!-- undo -->
22 <a title="<?php _e('Undo', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='undo'>
23 <i class="dashicons dashicons-undo"></i>
24 </a><a title="<?php _e('Redo', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='redo'>
25 <i class="dashicons dashicons-redo"></i>
26 </a><a title="<?php _e('Clear Style', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='clear'>
27 <i class="dashicons dashicons-editor-removeformatting"></i>
28 </a>
29 </li><li>
30 <div class="e2pdf-wysiwyg-color">
31 <a title="<?php _e('Color', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button button button-small e2pdf-apply-wysiwyg-color">
32 <i class="dashicons dashicons-editor-textcolor"></i>
33 </a>
34 <div class="e2pdf-colorpicker-wr">
35 <input data-command='color' type="text" id="e2pdf-wysiwyg-font-color" class="e2pdf-color-picker e2pdf-color-picker-load" value="">
36 </div>
37 </div><a title="<?php _e('Bold', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='bold'>
38 <i class="dashicons dashicons-editor-bold"></i>
39 </a><a title="<?php _e('Italic', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='italic'>
40 <i class="dashicons dashicons-editor-italic"></i>
41 </a><a title="<?php _e('Underline', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='underline'>
42 <i class="dashicons dashicons-editor-underline"></i>
43 </a><a title="<?php _e('Strike Through', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='strikeThrough'>
44 <i class="dashicons dashicons-editor-strikethrough"></i>
45 </a>
46
47 </li><li><a title="<?php _e('Align Left', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='justifyLeft'>
48 <i class="dashicons dashicons-editor-alignleft"></i>
49 </a><a title="<?php _e('Align Center', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='justifyCenter'>
50 <i class="dashicons dashicons-editor-aligncenter"></i>
51 </a><a title="<?php _e('Align Right', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='justifyRight'>
52 <i class="dashicons dashicons-editor-alignright"></i>
53 </a>
54 </li><li>
55 <!-- UL -->
56 <a title="<?php _e('Unordered List', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='insertUnorderedList'>
57 <i class="dashicons dashicons-editor-ul"></i>
58 </a><a title="<?php _e('Ordered List', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='insertOrderedList'>
59 <i class="dashicons dashicons-editor-ol"></i>
60 </a>
61 </li><li><a title="<?php _e('Heading H1', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='H1'>
62 <span>H1</span>
63 </a><a title="<?php _e('Heading H2', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='H2'>
64 <span>H2</span>
65 </a>
66 </li><li><a title="<?php _e('Link', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='createlink'>
67 <i class="dashicons dashicons-admin-links"></i>
68 </a><a title="<?php _e('Unlink', 'e2pdf'); ?>" href="javascript:void(0);" class="ed_button e2pdf-apply-wysiwyg button button-small" data-command='unlink'>
69 <i class="dashicons dashicons-editor-unlink"></i>
70 </a>
71 </li>
72 <li>
73 <label><?php _e('Font size', 'e2pdf'); ?>:</label>
74 <?php
75 $this->render('field', 'select', array(
76 'field' => array(
77 'id' => 'e2pdf_wysiwyg_fontsize',
78 'data-command' => 'font-size'
79 ),
80 'value' => '',
81 'empty' => '-',
82 'options' => $this->controller->get_font_sizes(),
83 ));
84 ?>
85 </li><li>
86 <label><?php _e('Font', 'e2pdf'); ?>:</label>
87 <?php
88 $this->render('field', 'select', array(
89 'field' => array(
90 'id' => 'e2pdf_wysiwyg_font',
91 'data-command' => 'font'
92 ),
93 'value' => '',
94 'empty' => '-',
95 'options' => $this->controller->get_fonts(true),
96 ));
97 ?>
98 </li>
99
100 </div>
101