Version Description
Download this release
Release Info
Developer | oscitas |
Plugin | Easy Bootstrap Shortcode |
Version | 4.5 |
Comparing to | |
See all releases |
Code changes from version 4.4 to 4.5
- README.txt +29 -2
- ebs_settings.php +81 -36
- images/50off.png +0 -0
- images/icon_dropdown.png +0 -0
- images/osc-icon-dropdown.png +0 -0
- images/pagination.jpg +0 -0
- images/popup-skin.png +0 -0
- images/userinterface-3.png +0 -0
- js/ebs_main.js +7 -1
- js/osc-localize.js +0 -0
- js/oscitas_dropdown_3_9.js +7 -6
- js/oscitas_main_dropdown.js +6 -6
- lib/ebspro-demo.php +2 -2
- lib/widget.php +2 -2
- osc_bootstrap_shortcode.php +9 -7
- shortcode/animation/animation_plugin.js +23 -0
- shortcode/animation/icon.png +0 -0
- shortcode/animation/plugin_shortcode.php +0 -0
- shortcode/animation/screenshot.jpg +0 -0
- shortcode/badge/badge_plugin.js +11 -9
- shortcode/badge/screenshot.jpg +0 -0
- shortcode/blur/blur_plugin.js +23 -0
- shortcode/blur/icon.png +0 -0
- shortcode/blur/plugin_shortcode.php +0 -0
- shortcode/blur/screenshot.jpg +0 -0
- shortcode/boxesframes/boxesframes_plugin.js +23 -0
- shortcode/boxesframes/icon.png +0 -0
- shortcode/boxesframes/plugin_shortcode.php +0 -0
- shortcode/boxesframes/screenshot.jpg +0 -0
- shortcode/btngrp/btngrp_plugin.js +39 -38
- shortcode/btngrp/screenshot.jpg +0 -0
- shortcode/btngrptool/screenshot.jpg +0 -0
- shortcode/buttons/buttons_plugin.js +27 -26
- shortcode/buttons/screenshot.jpg +0 -0
- shortcode/carousel/carousel_plugin.js +23 -0
- shortcode/carousel/icon.png +0 -0
- shortcode/carousel/plugin_shortcode.php +0 -0
- shortcode/carousel/screenshot.jpg +0 -0
- shortcode/deslist/deslist_plugin.js +11 -10
- shortcode/deslist/screenshot.jpg +0 -0
- shortcode/dropcaps/dropcaps_plugin.js +23 -0
- shortcode/dropcaps/icon.png +0 -0
- shortcode/dropcaps/plugin_shortcode.php +0 -0
- shortcode/dropcaps/screenshot.jpg +0 -0
- shortcode/dropdown/dropdown_plugin.js +42 -34
- shortcode/dropdown/screenshot.jpg +0 -0
- shortcode/functions.php +559 -147
- shortcode/gmaps/gmaps_plugin.js +23 -0
- shortcode/gmaps/icon.png +0 -0
- shortcode/gmaps/plugin_shortcode.php +0 -0
- shortcode/gmaps/screenshot.jpg +0 -0
- shortcode/highlights/highlights_plugin.js +23 -0
- shortcode/highlights/icon.png +0 -0
- shortcode/highlights/plugin_shortcode.php +0 -0
- shortcode/highlights/screenshot.jpg +0 -0
- shortcode/icon/icon_plugin.js +8 -7
- shortcode/icon/screenshot.jpg +0 -0
- shortcode/iconhead/iconhead_plugin.js +10 -9
- shortcode/iconhead/screenshot.jpg +0 -0
- shortcode/image/image_plugin.js +11 -10
- shortcode/image/screenshot.jpg +0 -0
- shortcode/jumbotron/jumbotron_plugin.js +6 -5
- shortcode/jumbotron/screenshot.jpg +0 -0
- shortcode/labels/labels_plugin.js +16 -14
- shortcode/labels/screenshot.jpg +0 -0
- shortcode/lead/icon.png +0 -0
- shortcode/lead/lead_plugin.js +23 -0
- shortcode/lead/plugin_shortcode.php +0 -0
- shortcode/lead/screenshot.jpg +0 -0
- shortcode/lists/lists_plugin.js +13 -12
- shortcode/lists/screenshot.jpg +0 -0
- shortcode/notifications/notifications_plugin.js +12 -12
- shortcode/notifications/screenshot.jpg +0 -0
- shortcode/oscpopover/oscpopover_plugin.js +33 -32
- shortcode/oscpopover/screenshot.jpg +0 -0
- shortcode/oscpopups/icon.png +0 -0
- shortcode/oscpopups/oscpopups_plugin.js +23 -0
- shortcode/oscpopups/plugin_shortcode.php +0 -0
- shortcode/oscpopups/screenshot.jpg +0 -0
- shortcode/pageheader/icon.png +0 -0
- shortcode/pageheader/pageheader_plugin.js +23 -0
- shortcode/pageheader/plugin_shortcode.php +0 -0
- shortcode/pageheader/screenshot.jpg +0 -0
- shortcode/pagination/icon.png +0 -0
- shortcode/pagination/pagination_plugin.js +23 -0
- shortcode/pagination/plugin_shortcode.php +0 -0
- shortcode/pagination/screenshot.jpg +0 -0
- shortcode/panel/panel_plugin.js +15 -14
- shortcode/panel/screenshot.jpg +0 -0
- shortcode/pricingtable/icon.png +0 -0
- shortcode/pricingtable/plugin_shortcode.php +0 -0
- shortcode/pricingtable/pricingtable_plugin.js +23 -0
- shortcode/pricingtable/screenshot.jpg +0 -0
- shortcode/progressbar/progressbar_plugin.js +16 -15
- shortcode/progressbar/screenshot.jpg +0 -0
- shortcode/rule/rule_plugin.js +28 -32
- shortcode/rule/screenshot.jpg +0 -0
- shortcode/sectionhead/icon.png +0 -0
- shortcode/sectionhead/plugin_shortcode.php +0 -0
- shortcode/sectionhead/screenshot.jpg +0 -0
- shortcode/sectionhead/sectionhead_plugin.js +23 -0
- shortcode/separator/icon.png +0 -0
- shortcode/separator/plugin_shortcode.php +0 -0
- shortcode/separator/screenshot.jpg +0 -0
- shortcode/separator/separator_plugin.js +23 -0
- shortcode/servicebox/screenshot.jpg +0 -0
- shortcode/servicebox/servicebox_plugin.js +34 -32
- shortcode/slider/plugin_shortcode.php +9 -1
- shortcode/slider/screenshot.jpg +0 -0
- shortcode/slider/slider_plugin.js +21 -20
- shortcode/tables/screenshot.jpg +0 -0
- shortcode/tables/tables_plugin.js +17 -16
- shortcode/tabs/screenshot.jpg +0 -0
- shortcode/tabs/tabs_plugin.js +71 -24
- shortcode/testimonial/icon.png +0 -0
- shortcode/testimonial/plugin_shortcode.php +0 -0
- shortcode/testimonial/screenshot.jpg +0 -0
- shortcode/testimonial/testimonial_plugin.js +23 -0
- shortcode/thumbnail/screenshot.jpg +0 -0
- shortcode/thumbnail/thumbnail_plugin.js +12 -11
- shortcode/toggles/plugin_shortcode.php +1 -1
- shortcode/toggles/screenshot.jpg +0 -0
- shortcode/toggles/toggles_plugin.js +72 -24
- shortcode/tooltip/screenshot.jpg +0 -0
- shortcode/tooltip/tooltip_plugin.js +22 -20
- shortcode/vertical_space/icon.png +0 -0
- shortcode/vertical_space/plugin_shortcode.php +0 -0
- shortcode/vertical_space/screenshot.jpg +0 -0
- shortcode/vertical_space/vertical_space_plugin.js +23 -0
- shortcode/video/icon.png +0 -0
- shortcode/video/plugin_shortcode.php +0 -0
- shortcode/video/screenshot.jpg +0 -0
- shortcode/video/video_plugin.js +23 -0
- shortcode/well/screenshot.jpg +0 -0
- shortcode/well/well_plugin.js +11 -10
- shortcode/widget/icon.png +0 -0
- shortcode/widget/plugin_shortcode.php +0 -0
- shortcode/widget/screenshot.jpg +0 -0
- shortcode/widget/widget_plugin.js +23 -0
- shortcode/wpcolumns/screenshot.jpg +0 -0
- shortcode/wpcolumns/wpcolumns_plugin.js +24 -23
- styles/bootstrap_admin.css +7 -5
- styles/bootstrap_admin.min.css +40 -0
- styles/ebs-setting.min.css +16 -4
README.txt
CHANGED
@@ -3,8 +3,8 @@ Contributors: oscitas
|
|
3 |
Â
Link: http://www.osCitasthemes.com
|
4 |
Â
Tags: Wordpress Shortcodes, Wordpress Bootstrap, Wordpress Bootstrap Shortcode, Bootstrap, Responsive pages, Editor plugin, Bootstrap Shortcode, TinyMCE
|
5 |
Â
Requires at least: 3.0
|
6 |
-
Tested up to: 4.
|
7 |
-
Stable tag: 4.
|
8 |
Â
License: GPLv2 or later
|
9 |
Â
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Â
Donate link: http://oscitasthemes.com/support-our-free-plugins/
|
@@ -150,6 +150,33 @@ It's that simple ... just what the name suggests
|
|
150 |
Â
>= Note : we have removed the Line Separator, Dropcaps, Youtube & Vimeo video, Boxesframes, Horizontal Rule, Testimonial, Section Heading, Social, Lead,Page Header, Highlights shortcodes as these are PRO version features, which were committed to free version by mistake. =
|
151 |
Â
|
152 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
153 |
Â
= 4.4.6 =
|
154 |
Â
|
155 |
Â
* [Update] Now support the style option for table shortcode.
|
3 |
Â
Link: http://www.osCitasthemes.com
|
4 |
Â
Tags: Wordpress Shortcodes, Wordpress Bootstrap, Wordpress Bootstrap Shortcode, Bootstrap, Responsive pages, Editor plugin, Bootstrap Shortcode, TinyMCE
|
5 |
Â
Requires at least: 3.0
|
6 |
+
Tested up to: 4.4
|
7 |
+
Stable tag: 4.5
|
8 |
Â
License: GPLv2 or later
|
9 |
Â
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
Â
Donate link: http://oscitasthemes.com/support-our-free-plugins/
|
150 |
Â
>= Note : we have removed the Line Separator, Dropcaps, Youtube & Vimeo video, Boxesframes, Horizontal Rule, Testimonial, Section Heading, Social, Lead,Page Header, Highlights shortcodes as these are PRO version features, which were committed to free version by mistake. =
|
151 |
Â
|
152 |
Â
|
153 |
+
= 4.5.4 =
|
154 |
+
|
155 |
+
* [Fixes] Resolved the scripts 404 error.
|
156 |
+
* [Update] Added screen shots of PRO version.
|
157 |
+
|
158 |
+
= 4.5.3 =
|
159 |
+
|
160 |
+
* [Fixes] Resolved js localization issue, which show up after last update..
|
161 |
+
|
162 |
+
|
163 |
+
= 4.5.2 =
|
164 |
+
|
165 |
+
* [Fixes] Resolved the scripts 404 error, after making some changes :) in the solution provided by Baden.
|
166 |
+
* [Fixes] Fixed the image issue for dropdown button.
|
167 |
+
|
168 |
+
|
169 |
+
|
170 |
+
|
171 |
+
= 4.5.1 =
|
172 |
+
|
173 |
+
* [Update] Updated slider shortcode as per the suggestion by TheFitCoder.
|
174 |
+
|
175 |
+
= 4.5.0 =
|
176 |
+
|
177 |
+
* [Update] Now language support is there.
|
178 |
+
|
179 |
+
|
180 |
Â
= 4.4.6 =
|
181 |
Â
|
182 |
Â
* [Update] Now support the style option for table shortcode.
|
ebs_settings.php
CHANGED
@@ -24,87 +24,128 @@
|
|
24 |
Â
font-weight: bold;
|
25 |
Â
text-transform: uppercase;
|
26 |
Â
}
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
27 |
Â
</style>
|
28 |
Â
<div class="ebs_page_offer_title" style="">
|
29 |
-
<a href="admin.php?page=ebs-pro-demo"
|
30 |
Â
</div>
|
31 |
Â
<div class="ebs_page_settings">
|
32 |
-
<h1>Easy Bootstrap Shortcode
|
Â
|
|
33 |
Â
|
34 |
-
|
35 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
36 |
Â
<p>
|
37 |
Â
<input type="radio" name="b_js" id="b_js_plugin" class="check_cdn" value="1" <?php echo ($js == 1) ? 'checked=checked' : '' ?>>
|
38 |
-
<label for="b_js_plugin"
|
39 |
-
<input type="radio" name="b_js" id="b_js_theme" class="check_cdn" value="2" <?php echo ($js == 2) ? 'checked=checked' : '' ?>><label for="b_js_theme"
|
40 |
-
<input type="radio" name="b_js" class="check_cdn" id="b_js_cdn" <?php echo ($js == 3) ? 'checked=checked' : '' ?> value="3"><label for="b_js_cdn"
|
41 |
Â
</div>
|
42 |
-
<div class="ebs_details show_cdn" ><label class="ebs_setting_label"
|
43 |
Â
<p><input type="text" name="cdn_path" id="cdn_path" value="<?php echo $cdn; ?>">
|
44 |
Â
</p>
|
45 |
Â
</div>
|
46 |
Â
<div class="ebs_details">
|
47 |
-
<label class="ebs_setting_label"
|
48 |
Â
<p>
|
49 |
Â
<input type="radio" name="respond_js" id="respond_js_plugin" class="respond_cdn" value="1" <?php echo ($respond == 1) ? 'checked=checked' : '' ?>>
|
50 |
-
<label for="respond_js_plugin"
|
51 |
-
<input type="radio" name="respond_js" id="respond_js_theme" class="respond_cdn" value="2" <?php echo ($respond == 2) ? 'checked=checked' : '' ?>><label for="respond_js_theme"
|
52 |
-
<input type="radio" name="respond_js" class="respond_cdn" id="respond_js_cdn" <?php echo ($respond == 3) ? 'checked=checked' : '' ?> value="3"><label for="respond_js_cdn"
|
53 |
Â
</div>
|
54 |
-
<div class="ebs_details respond_show_cdn" ><label class="ebs_setting_label"
|
55 |
Â
<p><input type="text" name="respond_cdn_path" id="respond_cdn_path" value="<?php echo $respondcdn; ?>">
|
56 |
Â
</p>
|
57 |
Â
</div>
|
58 |
Â
<div class="ebs_details">
|
59 |
Â
|
60 |
-
<label class="ebs_setting_label"
|
61 |
Â
<p><input type="radio" name="b_css" id="b_css_plugin" value="1" <?php echo ($css == 1) ? 'checked=checked' : '' ?>>
|
62 |
-
<label for="b_css_plugin"
|
63 |
-
<input type="radio" name="b_css" id="b_css_theme" value="2" <?php echo ($css == 2) ? 'checked=checked' : '' ?>><label for="b_css_theme"
|
64 |
-
<input type="radio" name="b_css" id="b_css_nobs" value="3" <?php echo ($css == 3) ? 'checked=checked' : '' ?>><label for="b_css_nobs"
|
65 |
-
<br/><small class="notered"
|
66 |
Â
</div>
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
67 |
Â
<?php } ?>
|
Â
|
|
Â
|
|
68 |
Â
<div class="ebs_details">
|
69 |
-
<label class="ebs_setting_label">Editor Button Style</label>
|
70 |
-
<p>
|
71 |
-
<label for="ebsp_icon" class="ebs_editor_label" title="Icons"><input type="radio" name="ebsp_editor_opt" id="ebsp_icon" value="icon" <?php echo ($ebsp_editor_opt == 'icon') ? 'checked=checked' : '' ?> style="display: none" class="ebs_editor_style"><img src="<?php echo EBS_PLUGIN_URL.'images/icons.png'?>"></label>
|
72 |
Â
|
73 |
-
|
Â
|
|
Â
|
|
74 |
Â
|
75 |
Â
</p>
|
76 |
Â
</div>
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
77 |
Â
<div class="ebs_details">
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
78 |
Â
|
79 |
-
<label class="ebs_setting_label">Font Awesome Icons</label>
|
80 |
-
<p><input type="checkbox" name="fa_icon" id="fa_icon" value="1" <?php echo ($fa_icon == 1) ? 'checked=checked' : '' ?>>
|
81 |
-
<label for="fa_icon" >Include Font Awesome Icons</label>
|
82 |
Â
|
83 |
Â
</p>
|
84 |
Â
</div>
|
85 |
Â
<div class="ebs_details">
|
86 |
Â
|
87 |
-
<label class="ebs_setting_label"
|
88 |
Â
<p><input type="checkbox" name="use_ebs_session_close" id="use_ebs_session_close" value="1" <?php echo ($use_ebs_session_close == 1) ? 'checked=checked' : '' ?>>
|
89 |
-
<label for="fa_icon"
|
90 |
-
|
91 |
Â
</p>
|
92 |
Â
</div>
|
93 |
-
<div class="ebs_details" ><label class="ebs_setting_label"
|
94 |
Â
<p><input type="text" name="shortcode_prefix" value="<?php echo $shortcode_prefix; ?>">
|
95 |
-
<br ><small style="color: red"
|
96 |
Â
</p>
|
97 |
Â
</div>
|
98 |
-
<div class="ebs_details">
|
99 |
-
<label class="ebs_setting_label">Custom CSS Editor</label>
|
100 |
Â
<p>
|
101 |
-
|
102 |
Â
</p>
|
103 |
Â
</div>
|
104 |
-
<div class="
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
105 |
Â
<?php if(!apply_filters('plugin_oscitas_theme_check',false)){ ?><div style="clear: both;"></div>
|
106 |
Â
<br /><br /><br />
|
107 |
-
<b
|
108 |
Â
<ul>
|
109 |
Â
<li>
|
110 |
Â
<?php echo str_replace('http:','',EBS_JS_CDN)?>
|
@@ -114,7 +155,7 @@
|
|
114 |
Â
</li>
|
115 |
Â
</ul>
|
116 |
Â
<br/>
|
117 |
-
<b
|
118 |
Â
<ul>
|
119 |
Â
<li>
|
120 |
Â
<?php echo str_replace('http:','',EBS_RESPOND_CDN)?>
|
@@ -169,6 +210,10 @@
|
|
169 |
Â
jQuery('.ebs_editor_style').click(function(){
|
170 |
Â
show_editor_style();
|
171 |
Â
})
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
172 |
Â
});
|
173 |
Â
|
174 |
Â
</script>
|
24 |
Â
font-weight: bold;
|
25 |
Â
text-transform: uppercase;
|
26 |
Â
}
|
27 |
+
.ebs_page_settings .setting-heading-block {
|
28 |
+
padding: 10px;
|
29 |
+
background-color: #039EDC;
|
30 |
+
/**/
|
31 |
+
color: #ffffff;
|
32 |
+
font-weight: bold;
|
33 |
+
font-size: 17px;
|
34 |
+
display: flex;
|
35 |
+
margin-top: 5px;
|
36 |
+
cursor: pointer;
|
37 |
+
}
|
38 |
+
.ebs_page_settings .setting-heading-block:first-child {margin: 0}
|
39 |
+
.ebs_page_settings .setting-heading-block.selected {
|
40 |
+
background-color: #EE1122;
|
41 |
+
}
|
42 |
Â
</style>
|
43 |
Â
<div class="ebs_page_offer_title" style="">
|
44 |
+
<a href="admin.php?page=ebs-pro-demo"><?php echo __('Click here', 'easy-bootstrap-shoercodes');?></a> <?php echo __('to check latest offers on osCitasThemes plugins.', 'easy-bootstrap-shoercodes');?>
|
45 |
Â
</div>
|
46 |
Â
<div class="ebs_page_settings">
|
47 |
+
<h1>Easy Bootstrap Shortcode <?php echo __('Settings', 'easy-bootstrap-shoercodes');?></h1>
|
48 |
+
<div class="pull-right osc-logo-setting"><a href="http://oscitasthemes.com/" target="_blank"><img src="<?php echo EBS_PLUGIN_URL.'images/osc-logo.png'?>"></a></div>
|
49 |
Â
|
50 |
+
<form name="ebs_setting" id="ebs_setting" method="post" action="">
|
51 |
+
|
52 |
+
<?php if(!apply_filters('plugin_oscitas_theme_check',false)) { ?>
|
53 |
+
<div class="setting-heading-block">CSS/JS Settings</div>
|
54 |
+
<div class="osc-setting-desc-box" style="display: none;">
|
55 |
+
<div class="ebs_details">
|
56 |
+
<label class="ebs_setting_label"><?php echo __('Bootstrap JS File', 'easy-bootstrap-shoercodes');?></label>
|
57 |
Â
<p>
|
58 |
Â
<input type="radio" name="b_js" id="b_js_plugin" class="check_cdn" value="1" <?php echo ($js == 1) ? 'checked=checked' : '' ?>>
|
59 |
+
<label for="b_js_plugin"><?php echo __('Use from EBS Plugin', 'easy-bootstrap-shoercodes');?></label>
|
60 |
+
<input type="radio" name="b_js" id="b_js_theme" class="check_cdn" value="2" <?php echo ($js == 2) ? 'checked=checked' : '' ?>><label for="b_js_theme"><?php echo __('Use from theme or any other plugin', 'easy-bootstrap-shoercodes');?></label>
|
61 |
+
<input type="radio" name="b_js" class="check_cdn" id="b_js_cdn" <?php echo ($js == 3) ? 'checked=checked' : '' ?> value="3"><label for="b_js_cdn"><?php echo __('Load from CDN', 'easy-bootstrap-shoercodes');?></label>
|
62 |
Â
</div>
|
63 |
+
<div class="ebs_details show_cdn" ><label class="ebs_setting_label"><?php echo __('bootstrap.js CDN Path', 'easy-bootstrap-shoercodes');?></label>
|
64 |
Â
<p><input type="text" name="cdn_path" id="cdn_path" value="<?php echo $cdn; ?>">
|
65 |
Â
</p>
|
66 |
Â
</div>
|
67 |
Â
<div class="ebs_details">
|
68 |
+
<label class="ebs_setting_label"><?php echo __('IE6+ compatibility JS File', 'easy-bootstrap-shoercodes');?> </label>
|
69 |
Â
<p>
|
70 |
Â
<input type="radio" name="respond_js" id="respond_js_plugin" class="respond_cdn" value="1" <?php echo ($respond == 1) ? 'checked=checked' : '' ?>>
|
71 |
+
<label for="respond_js_plugin"><?php echo __('Use from EBS Plugin', 'easy-bootstrap-shoercodes');?></label>
|
72 |
+
<input type="radio" name="respond_js" id="respond_js_theme" class="respond_cdn" value="2" <?php echo ($respond == 2) ? 'checked=checked' : '' ?>><label for="respond_js_theme"><?php echo __('Use from theme or any other plugin', 'easy-bootstrap-shoercodes');?></label>
|
73 |
+
<input type="radio" name="respond_js" class="respond_cdn" id="respond_js_cdn" <?php echo ($respond == 3) ? 'checked=checked' : '' ?> value="3"><label for="respond_js_cdn"><?php echo __('Load from CDN', 'easy-bootstrap-shoercodes');?></label>
|
74 |
Â
</div>
|
75 |
+
<div class="ebs_details respond_show_cdn" ><label class="ebs_setting_label"><?php echo __('respond.js CDN Path', 'easy-bootstrap-shoercodes');?></label>
|
76 |
Â
<p><input type="text" name="respond_cdn_path" id="respond_cdn_path" value="<?php echo $respondcdn; ?>">
|
77 |
Â
</p>
|
78 |
Â
</div>
|
79 |
Â
<div class="ebs_details">
|
80 |
Â
|
81 |
+
<label class="ebs_setting_label"><?php echo __('Bootstrap Styling CSS File', 'easy-bootstrap-shoercodes');?></label>
|
82 |
Â
<p><input type="radio" name="b_css" id="b_css_plugin" value="1" <?php echo ($css == 1) ? 'checked=checked' : '' ?>>
|
83 |
+
<label for="b_css_plugin" ><?php echo __('Use from EBS Plugin', 'easy-bootstrap-shoercodes');?></label>
|
84 |
+
<input type="radio" name="b_css" id="b_css_theme" value="2" <?php echo ($css == 2) ? 'checked=checked' : '' ?>><label for="b_css_theme"><?php echo __('Use from theme or any other plugin', 'easy-bootstrap-shoercodes');?></label>
|
85 |
+
<input type="radio" name="b_css" id="b_css_nobs" value="3" <?php echo ($css == 3) ? 'checked=checked' : '' ?>><label for="b_css_nobs"><?php echo __('No bootstrap theme', 'easy-bootstrap-shoercodes');?><span class="notered">*</span></label>
|
86 |
+
<br/><small class="notered"><?php echo __('* Choose this option if you don\'t have a bootstrap theme', 'easy-bootstrap-shoercodes');?></small></p>
|
87 |
Â
</div>
|
88 |
+
<div class="ebs_details">
|
89 |
+
<label class="ebs_setting_label"><?php echo __('Custom CSS Editor', 'easy-bootstrap-shoercodes');?></label>
|
90 |
+
<p>
|
91 |
+
<textarea name="ebs_custom_css" id="ebs_custom_css"><?php echo trim($ebs_custom_css) ?></textarea>
|
92 |
+
</p>
|
93 |
+
</div>
|
94 |
+
</div>
|
95 |
+
|
96 |
Â
<?php } ?>
|
97 |
+
<div class="setting-heading-block">Font Inclusion</div>
|
98 |
+
<div class="osc-setting-desc-box" style="display: none;">
|
99 |
Â
<div class="ebs_details">
|
Â
|
|
Â
|
|
Â
|
|
100 |
Â
|
101 |
+
<label class="ebs_setting_label"><?php echo __('Font Awesome Icons', 'easy-bootstrap-shoercodes');?></label>
|
102 |
+
<p><input type="checkbox" name="fa_icon" id="fa_icon" value="1" <?php echo ($fa_icon == 1) ? 'checked=checked' : '' ?>>
|
103 |
+
<label for="fa_icon" ><?php echo __('Include Font Awesome Icons', 'easy-bootstrap-shoercodes');?></label>
|
104 |
Â
|
105 |
Â
</p>
|
106 |
Â
</div>
|
107 |
+
</div>
|
108 |
+
|
109 |
+
<div class="setting-heading-block" >User Interface</div>
|
110 |
+
<div class="osc-setting-desc-box" style="display: none;">
|
111 |
Â
<div class="ebs_details">
|
112 |
+
<label class="ebs_setting_label"><?php echo __('Editor Button Style', 'easy-bootstrap-shoercodes');?></label>
|
113 |
+
<p>
|
114 |
+
<label for="ebsp_icon" class="ebs_editor_label" title="Icons"><input type="radio" name="ebsp_editor_opt" id="ebsp_icon" value="icon" <?php echo ($ebsp_editor_opt == 'icon') ? 'checked=checked' : '' ?> style="display: none" class="ebs_editor_style"><img src="<?php echo EBS_PLUGIN_URL.'images/icons.png'?>"></label>
|
115 |
+
|
116 |
+
<label for="ebsp_dropdown" class="ebs_editor_label" title="Dropdown"><input type="radio" name="ebsp_editor_opt" id="ebsp_dropdown" value="dropdown" <?php echo ($ebsp_editor_opt == 'dropdown') ? 'checked=checked' : '' ?> style="display: none" class="ebs_editor_style"><img src="<?php echo EBS_PLUGIN_URL.'images/dropdown.png'?>"></label>
|
117 |
+
|
118 |
+
<label for="ebsp_button" class="ebs_editor_label" title="Button"><img src="<?php echo EBS_PLUGIN_URL.'images/userinterface-3.png'?>"></label>
|
119 |
+
|
120 |
Â
|
Â
|
|
Â
|
|
Â
|
|
121 |
Â
|
122 |
Â
</p>
|
123 |
Â
</div>
|
124 |
Â
<div class="ebs_details">
|
125 |
Â
|
126 |
+
<label class="ebs_setting_label"><?php echo __('Use EBS Session functionality', 'easy-bootstrap-shoercodes');?></label>
|
127 |
Â
<p><input type="checkbox" name="use_ebs_session_close" id="use_ebs_session_close" value="1" <?php echo ($use_ebs_session_close == 1) ? 'checked=checked' : '' ?>>
|
128 |
+
<label for="fa_icon" ><?php echo __('Use EBS Session Close Functionality', 'easy-bootstrap-shoercodes');?></label>
|
Â
|
|
129 |
Â
</p>
|
130 |
Â
</div>
|
131 |
+
<div class="ebs_details" ><label class="ebs_setting_label"><?php echo __('Shortcode Prefix', 'easy-bootstrap-shoercodes');?></label>
|
132 |
Â
<p><input type="text" name="shortcode_prefix" value="<?php echo $shortcode_prefix; ?>">
|
133 |
+
<br ><small style="color: red"><?php echo __('This settings is provided to remove the shortcode confliction with any other existing shortcode, but be careful while changing the Shortcode Prefix, as existing shortcodes(created with EBS Plugin) will not<br> work if changed the existing prefix. So we advice to change it when you install the plugin.', 'easy-bootstrap-shoercodes');?></small>
|
134 |
Â
</p>
|
135 |
Â
</div>
|
Â
|
|
Â
|
|
136 |
Â
<p>
|
137 |
+
<img src="<?php echo EBS_PLUGIN_URL.'images/popup-skin.png'?>">
|
138 |
Â
</p>
|
139 |
Â
</div>
|
140 |
+
<div class="setting-heading-block" >Pagination Setup Inclusion</div>
|
141 |
+
<div class="osc-setting-desc-box" style="display: none;">
|
142 |
+
<img src="<?php echo EBS_PLUGIN_URL.'images/pagination.jpg'?>">
|
143 |
+
</div>
|
144 |
+
|
145 |
+
<div class="ebs_btn" style="margin-top: 25px;"><input type="submit" name="ebs_submit" class="button-primary" value="Update Settings"></div>
|
146 |
Â
<?php if(!apply_filters('plugin_oscitas_theme_check',false)){ ?><div style="clear: both;"></div>
|
147 |
Â
<br /><br /><br />
|
148 |
+
<b><?php echo __('CDN Links for bootstrap.js, you can use any of these', 'easy-bootstrap-shoercodes');?></b>
|
149 |
Â
<ul>
|
150 |
Â
<li>
|
151 |
Â
<?php echo str_replace('http:','',EBS_JS_CDN)?>
|
155 |
Â
</li>
|
156 |
Â
</ul>
|
157 |
Â
<br/>
|
158 |
+
<b><?php echo __('CDN Links for respond.js, you can use any of these', 'easy-bootstrap-shoercodes');?></b>
|
159 |
Â
<ul>
|
160 |
Â
<li>
|
161 |
Â
<?php echo str_replace('http:','',EBS_RESPOND_CDN)?>
|
210 |
Â
jQuery('.ebs_editor_style').click(function(){
|
211 |
Â
show_editor_style();
|
212 |
Â
})
|
213 |
+
jQuery('.setting-heading-block').on('click', function() {
|
214 |
+
jQuery(this).next().toggle();
|
215 |
+
jQuery(this).toggleClass('selected');
|
216 |
+
});
|
217 |
Â
});
|
218 |
Â
|
219 |
Â
</script>
|
images/50off.png
ADDED
Binary file
|
images/icon_dropdown.png
CHANGED
Binary file
|
images/osc-icon-dropdown.png
ADDED
Binary file
|
images/pagination.jpg
ADDED
Binary file
|
images/popup-skin.png
ADDED
Binary file
|
images/userinterface-3.png
ADDED
Binary file
|
js/ebs_main.js
CHANGED
@@ -19,7 +19,13 @@ function open_dialogue(pluginObj,width,height){
|
|
19 |
Â
|
20 |
Â
var html_content=eval('ebs_return_html_'+pluginObj.pluginName+'(pluginObj)');
|
21 |
Â
html_content=jQuery(html_content).get(0).outerHTML;
|
22 |
-
var
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
23 |
Â
'</div>';
|
24 |
Â
|
25 |
Â
if(typeof(height)==='undefined') height = 'auto';
|
19 |
Â
|
20 |
Â
var html_content=eval('ebs_return_html_'+pluginObj.pluginName+'(pluginObj)');
|
21 |
Â
html_content=jQuery(html_content).get(0).outerHTML;
|
22 |
+
var onClickHtml = '';
|
23 |
+
//alert(pluginObj.showprobtn);
|
24 |
+
if (pluginObj.showprobtn == undefined || pluginObj.showprobtn == true) {
|
25 |
+
onClickHtml = '<div class="ebs-pro-btn"><a href="javascript:;" onclick="jQuery(\'.ebs-default-options\').toggle();jQuery(\'.pro-version-image\').toggle();jQuery(\'#view-pro-options-btn\').toggle();jQuery(\'#hide-pro-options-btn\').toggle();"><span id="view-pro-options-btn">View Pro Options</span><span id="hide-pro-options-btn" style="display: none;">Hide Pro Options</span></a></div>';
|
26 |
+
}
|
27 |
+
|
28 |
+
var $template_markup='<div id="oscitas-easy-bootstrap-shortcode-container" '+$width+' class="osc-dialog oscitas-easy-bootstrap-shortcode mfp-ebsp"><h2>'+pluginObj.title+'</h2>'+onClickHtml +html_content+
|
29 |
Â
'</div>';
|
30 |
Â
|
31 |
Â
if(typeof(height)==='undefined') height = 'auto';
|
js/osc-localize.js
ADDED
File without changes
|
js/oscitas_dropdown_3_9.js
CHANGED
@@ -15,18 +15,19 @@
|
|
15 |
Â
selected_content='Insert Buttons Groups'
|
16 |
Â
tinyMCE.activeEditor.selection.setContent('[btngrptoolbar class="yourcustomclass"][/btngrptoolbar]');
|
17 |
Â
}
|
18 |
-
else if(ind == "toggles"){
|
19 |
-
|
20 |
-
}
|
21 |
-
else if(ind == "tabs"){
|
22 |
-
|
23 |
-
}
|
24 |
Â
else{
|
25 |
Â
eval('_create_tinyMCE_dropdown('+ind+',"'+val['width']+'","'+val['height']+'")');
|
26 |
Â
}
|
27 |
Â
}
|
28 |
Â
}
|
29 |
Â
var grp=val['group'];
|
Â
|
|
30 |
Â
eval(grp).push(n);
|
31 |
Â
|
32 |
Â
|
15 |
Â
selected_content='Insert Buttons Groups'
|
16 |
Â
tinyMCE.activeEditor.selection.setContent('[btngrptoolbar class="yourcustomclass"][/btngrptoolbar]');
|
17 |
Â
}
|
18 |
+
//else if(ind == "toggles"){
|
19 |
+
// tinyMCE.activeEditor.selection.setContent('[toggles class="yourcustomclass"]<br/>[toggle title="Accordion number 1"]Toggle 1 content goes here.[/toggle]<br/>[toggle title="Accordion number 2"]Toggle 2 content goes here.[/toggle]<br/>[toggle title="Accordion number 3"]Toggle 3 content goes here.[/toggle]<br/>[toggle title="Accordion number 4"]Toggle 4 content goes here.[/toggle]<br/>[/toggles]');
|
20 |
+
//}
|
21 |
+
//else if(ind == "tabs"){
|
22 |
+
// tinyMCE.activeEditor.selection.setContent('[tabs class="yourcustomclass"]<br/>[tab title="Tab number 1" active="active"]Tab 1 content goes here.[/tab]<br/>[tab title="Tab number 2"]Tab 2 content goes here.[/tab]<br/>[tab title="Tab number 3"]Tab 3 content goes here.[/tab]<br/>[tab title="Tab number 4"]Tab 4 content goes here.[/tab]<br/>[/tabs]');
|
23 |
+
//}
|
24 |
Â
else{
|
25 |
Â
eval('_create_tinyMCE_dropdown('+ind+',"'+val['width']+'","'+val['height']+'")');
|
26 |
Â
}
|
27 |
Â
}
|
28 |
Â
}
|
29 |
Â
var grp=val['group'];
|
30 |
+
//console.log(grp);
|
31 |
Â
eval(grp).push(n);
|
32 |
Â
|
33 |
Â
|
js/oscitas_main_dropdown.js
CHANGED
@@ -80,12 +80,12 @@ if(ebs_editor_opt=='dropdown'){
|
|
80 |
Â
selected_content='Insert Buttons Groups'
|
81 |
Â
tinyMCE.activeEditor.selection.setContent('[btngrptoolbar class="yourcustomclass"][/btngrptoolbar]');
|
82 |
Â
}
|
83 |
-
else if(value == prefix+"toggles"){
|
84 |
-
|
85 |
-
}
|
86 |
-
else if(value == prefix+"tabs"){
|
87 |
-
|
88 |
-
}
|
89 |
Â
else{
|
90 |
Â
|
91 |
Â
eval('_create_tinyMCE_dropdown('+func+',"'+width+'","'+height+'")');
|
80 |
Â
selected_content='Insert Buttons Groups'
|
81 |
Â
tinyMCE.activeEditor.selection.setContent('[btngrptoolbar class="yourcustomclass"][/btngrptoolbar]');
|
82 |
Â
}
|
83 |
+
//else if(value == prefix+"toggles"){
|
84 |
+
// tinyMCE.activeEditor.selection.setContent('[toggles class="yourcustomclass"]<br/>[toggle title="Accordion number 1"]Toggle 1 content goes here.[/toggle]<br/>[toggle title="Accordion number 2"]Toggle 2 content goes here.[/toggle]<br/>[toggle title="Accordion number 3"]Toggle 3 content goes here.[/toggle]<br/>[toggle title="Accordion number 4"]Toggle 4 content goes here.[/toggle]<br/>[/toggles]');
|
85 |
+
//}
|
86 |
+
//else if(value == prefix+"tabs"){
|
87 |
+
// tinyMCE.activeEditor.selection.setContent('[tabs class="yourcustomclass"]<br/>[tab title="Tab number 1" active="active"]Tab 1 content goes here.[/tab]<br/>[tab title="Tab number 2"]Tab 2 content goes here.[/tab]<br/>[tab title="Tab number 3"]Tab 3 content goes here.[/tab]<br/>[tab title="Tab number 4"]Tab 4 content goes here.[/tab]<br/>[/tabs]');
|
88 |
+
//}
|
89 |
Â
else{
|
90 |
Â
|
91 |
Â
eval('_create_tinyMCE_dropdown('+func+',"'+width+'","'+height+'")');
|
lib/ebspro-demo.php
CHANGED
@@ -1,6 +1,6 @@
|
|
1 |
Â
<div class="ebs-prodemo-outer">
|
2 |
Â
<div class="ebspro-titlebar">
|
3 |
-
<h1>osCitas Plugin Offeres
|
4 |
Â
<div class="osc-logo">
|
5 |
Â
<img src="<?php echo EBS_PLUGIN_URL.'images/osc-logo.png';?>" alt="" />
|
6 |
Â
</div>
|
@@ -9,7 +9,7 @@
|
|
9 |
Â
<div class="ebs-pro-content" style="margin-top: 10px; text-align: center;">
|
10 |
Â
<?php
|
11 |
Â
$arg = array ( 'method' => 'GET');
|
12 |
-
$response = wp_remote_request ( 'http://
|
13 |
Â
echo $response['body'];
|
14 |
Â
?>
|
15 |
Â
</div>
|
1 |
Â
<div class="ebs-prodemo-outer">
|
2 |
Â
<div class="ebspro-titlebar">
|
3 |
+
<h1>osCitas Plugin <?php echo __('Offeres', 'easy-bootstrap-shoercodes'); ?></h1>
|
4 |
Â
<div class="osc-logo">
|
5 |
Â
<img src="<?php echo EBS_PLUGIN_URL.'images/osc-logo.png';?>" alt="" />
|
6 |
Â
</div>
|
9 |
Â
<div class="ebs-pro-content" style="margin-top: 10px; text-align: center;">
|
10 |
Â
<?php
|
11 |
Â
$arg = array ( 'method' => 'GET');
|
12 |
+
$response = wp_remote_request ( 'http://docs.oscitasthemes.com/offers/index.php' , $arg );
|
13 |
Â
echo $response['body'];
|
14 |
Â
?>
|
15 |
Â
</div>
|
lib/widget.php
CHANGED
@@ -63,12 +63,12 @@ class Ebs_Custom_Widget extends WP_Widget {
|
|
63 |
Â
?>
|
64 |
Â
|
65 |
Â
<p>
|
66 |
-
<label for="<?php echo $this->get_field_id('title'); ?>"
|
67 |
Â
<input class="osc_ebs_input" style=" width: 100%; display: block;" id="<?php echo $this->get_field_id('title'); ?>" type="text" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo $instance['title']; ?>" />
|
68 |
Â
</p>
|
69 |
Â
|
70 |
Â
<p>
|
71 |
-
<label for="<?php echo $this->get_field_id('ebs_content'); ?>"
|
72 |
Â
<textarea class="osc_ebs_input" style=" height: 250px;
|
73 |
Â
width: 100%; display: block;" id="<?php echo $this->get_field_id('ebs_content'); ?>" name="<?php echo $this->get_field_name('ebs_content'); ?>" ><?php echo $instance['ebs_content']; ?></textarea>
|
74 |
Â
</p>
|
63 |
Â
?>
|
64 |
Â
|
65 |
Â
<p>
|
66 |
+
<label for="<?php echo $this->get_field_id('title'); ?>"><?php echo __('Title', 'easy-bootstrap-shoercodes'); ?>:</label>
|
67 |
Â
<input class="osc_ebs_input" style=" width: 100%; display: block;" id="<?php echo $this->get_field_id('title'); ?>" type="text" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo $instance['title']; ?>" />
|
68 |
Â
</p>
|
69 |
Â
|
70 |
Â
<p>
|
71 |
+
<label for="<?php echo $this->get_field_id('ebs_content'); ?>"><?php echo __('Shortcode', 'easy-bootstrap-shoercodes'); ?>:</label>
|
72 |
Â
<textarea class="osc_ebs_input" style=" height: 250px;
|
73 |
Â
width: 100%; display: block;" id="<?php echo $this->get_field_id('ebs_content'); ?>" name="<?php echo $this->get_field_name('ebs_content'); ?>" ><?php echo $instance['ebs_content']; ?></textarea>
|
74 |
Â
</p>
|
osc_bootstrap_shortcode.php
CHANGED
@@ -4,10 +4,12 @@
|
|
4 |
Â
Plugin Name: Easy Bootstrap Shortcode
|
5 |
Â
Plugin URI: http://www.oscitasthemes.com
|
6 |
Â
Description: Add bootstrap 3.0.3 styles to your theme by wordpress editor shortcode buttons.
|
7 |
-
Version: 4.4
|
8 |
Â
Author: oscitas
|
9 |
Â
Author URI: http://www.oscitasthemes.com
|
10 |
Â
License: Under the GPL v2 or later
|
Â
|
|
Â
|
|
11 |
Â
*/
|
12 |
Â
|
13 |
Â
/*
|
@@ -29,7 +31,7 @@ if(isset($checkplugin) && $checkplugin=='ebsp'):
|
|
29 |
Â
else {
|
30 |
Â
echo '<div id="message" class="update-nag ebs_notification">';
|
31 |
Â
}
|
32 |
-
echo '<p><strong>' . $message . '</strong></p></div>';
|
33 |
Â
}
|
34 |
Â
|
35 |
Â
/*
|
@@ -37,7 +39,7 @@ if(isset($checkplugin) && $checkplugin=='ebsp'):
|
|
37 |
Â
*/
|
38 |
Â
function ebs_showAdminMessages()
|
39 |
Â
{
|
40 |
-
ebs_showMessage("Easy Bootstrap Shortcode Pro activated, deactivate Easy Bootstrap Shortcode free version", false);
|
41 |
Â
}
|
42 |
Â
else:
|
43 |
Â
/*
|
@@ -59,7 +61,7 @@ else:
|
|
59 |
Â
{
|
60 |
Â
$ebsprefix='ebsp';
|
61 |
Â
$plugin_name='easy-bootstrap-shortcode-pro/osc_bootstrap_shortcode.php ';
|
62 |
-
echo '</tr><tr class="plugin-update-tr"><td colspan="3" class="plugin-update"><div class="update-message">' . __('Easy Bootstrap Shortcode Pro also available, <a href="http://oscitasthemes.com/products/easy-bootstrap-shortcodes-pro/">click here</a> to purchase one now'
|
63 |
Â
}
|
64 |
Â
|
65 |
Â
add_action('admin_enqueue_scripts', 'osc_add_admin_ebs_scripts');
|
@@ -131,7 +133,7 @@ else:
|
|
131 |
Â
function osc_ebs_settings_link( $links ) {
|
132 |
Â
$isSet=apply_filters('ebs_custom_option',false);
|
133 |
Â
if (!$isSet) {
|
134 |
-
$settings_link = '<a href="admin.php?page=ebs/ebs-settings.php">Settings</a>';
|
135 |
Â
array_push( $links, $settings_link );
|
136 |
Â
}
|
137 |
Â
return $links;
|
@@ -145,9 +147,9 @@ else:
|
|
145 |
Â
function osc_ebs_add_admin_menu() {
|
146 |
Â
$isSet=apply_filters('ebs_custom_option',false);
|
147 |
Â
if (!$isSet) {
|
148 |
-
add_menu_page('EBS Settings', ' EBS Settings', 'manage_options', 'ebs/ebs-settings.php', 'osc_ebs_setting_page', plugins_url('/images/icon.png', __FILE__));
|
149 |
Â
|
150 |
-
$sub_page= add_submenu_page( 'ebs/ebs-settings.php','osCitas Offers', 'osCitas Offers', 'manage_options', 'ebs-pro-demo', 'osc_ebs_pro_demo_page' );
|
151 |
Â
add_action('admin_print_styles-' . $sub_page, 'ebsProDemoPage_register_admin_styles');
|
152 |
Â
}
|
153 |
Â
}
|
4 |
Â
Plugin Name: Easy Bootstrap Shortcode
|
5 |
Â
Plugin URI: http://www.oscitasthemes.com
|
6 |
Â
Description: Add bootstrap 3.0.3 styles to your theme by wordpress editor shortcode buttons.
|
7 |
+
Version: 4.5.4
|
8 |
Â
Author: oscitas
|
9 |
Â
Author URI: http://www.oscitasthemes.com
|
10 |
Â
License: Under the GPL v2 or later
|
11 |
+
Text Domain: easy-bootstrap-shortcodes
|
12 |
+
Domain Path: /languages
|
13 |
Â
*/
|
14 |
Â
|
15 |
Â
/*
|
31 |
Â
else {
|
32 |
Â
echo '<div id="message" class="update-nag ebs_notification">';
|
33 |
Â
}
|
34 |
+
echo '<p><strong>' . __($message, 'easy-bbotstrap-shoercodes') . '</strong></p></div>';
|
35 |
Â
}
|
36 |
Â
|
37 |
Â
/*
|
39 |
Â
*/
|
40 |
Â
function ebs_showAdminMessages()
|
41 |
Â
{
|
42 |
+
ebs_showMessage(__("Easy Bootstrap Shortcode Pro activated, deactivate Easy Bootstrap Shortcode free version", 'easy-bootstrap-shoercodes'), false);
|
43 |
Â
}
|
44 |
Â
else:
|
45 |
Â
/*
|
61 |
Â
{
|
62 |
Â
$ebsprefix='ebsp';
|
63 |
Â
$plugin_name='easy-bootstrap-shortcode-pro/osc_bootstrap_shortcode.php ';
|
64 |
+
echo '</tr><tr class="plugin-update-tr"><td colspan="3" class="plugin-update"><div class="update-message">' . __('Easy Bootstrap Shortcode Pro also available, <a href="http://oscitasthemes.com/products/easy-bootstrap-shortcodes-pro/">click here</a> to purchase one now', 'easy-bootstrap-shoercodes') . '</div></td>';
|
65 |
Â
}
|
66 |
Â
|
67 |
Â
add_action('admin_enqueue_scripts', 'osc_add_admin_ebs_scripts');
|
133 |
Â
function osc_ebs_settings_link( $links ) {
|
134 |
Â
$isSet=apply_filters('ebs_custom_option',false);
|
135 |
Â
if (!$isSet) {
|
136 |
+
$settings_link = '<a href="admin.php?page=ebs/ebs-settings.php">'.__('Settings', 'easy-bootstrap-shoercodes').'</a>';
|
137 |
Â
array_push( $links, $settings_link );
|
138 |
Â
}
|
139 |
Â
return $links;
|
147 |
Â
function osc_ebs_add_admin_menu() {
|
148 |
Â
$isSet=apply_filters('ebs_custom_option',false);
|
149 |
Â
if (!$isSet) {
|
150 |
+
add_menu_page(__('EBS Settings', 'easy-bootstrap-shoercodes'), __('EBS Settings', 'easy-bootstrap-shoercodes'), 'manage_options', 'ebs/ebs-settings.php', 'osc_ebs_setting_page', plugins_url('/images/icon.png', __FILE__));
|
151 |
Â
|
152 |
+
$sub_page= add_submenu_page( 'ebs/ebs-settings.php',__('osCitas Offers', 'easy-bootstrap-shoercodes'), __('osCitas Offers', 'easy-bootstrap-shoercodes'), 'manage_options', 'ebs-pro-demo', 'osc_ebs_pro_demo_page' );
|
153 |
Â
add_action('admin_print_styles-' . $sub_page, 'ebsProDemoPage_register_admin_styles');
|
154 |
Â
}
|
155 |
Â
}
|
shortcode/animation/animation_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var animation={
|
2 |
+
title:"Animation Shortcode",
|
3 |
+
id :'oscitas-form-animation',
|
4 |
+
pluginName: 'animation',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(animation);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_animation(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/animation/screenshot.jpg"/></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_animation(pluginObj){
|
23 |
+
}
|
shortcode/animation/icon.png
ADDED
Binary file
|
shortcode/animation/plugin_shortcode.php
ADDED
File without changes
|
shortcode/animation/screenshot.jpg
ADDED
Binary file
|
shortcode/badge/badge_plugin.js
CHANGED
@@ -8,36 +8,38 @@ var badge={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_badge(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
Â
<tr>\
|
13 |
-
<th><label for="oscitas-badge-bgcolor"
|
14 |
Â
<td><input type="text" class="color" name="bgcolor" id="oscitas-badge-bgcolor" value="">\
|
15 |
Â
</td>\
|
16 |
Â
</tr>\
|
17 |
Â
<tr>\
|
18 |
-
<th><label for="oscitas-badge-color">
|
19 |
Â
<td><input type="text" class="color" name="color" id="oscitas-badge-color" value="">\
|
20 |
Â
</td>\
|
21 |
Â
</tr>\
|
22 |
Â
<tr>\
|
23 |
-
<th><label for="oscitas-badge-value">
|
24 |
Â
<td><input type="text" name="value" id="oscitas-badge-value" value="">\
|
25 |
Â
</tr>\
|
26 |
Â
<tr>\
|
27 |
-
<th><label for="oscitas-badge-float_right">
|
28 |
Â
<td><input type="checkbox" name="float_right" id="oscitas-badge-float_right" value="true">\
|
29 |
Â
</td>\
|
30 |
Â
</tr>\
|
31 |
Â
<tr>\
|
32 |
-
<th><label for="oscitas-badge-class">
|
33 |
Â
<td><input type="text" name="class" id="oscitas-badge-class" value=""/>\
|
34 |
Â
</td>\
|
35 |
Â
</tr>\
|
36 |
Â
</table>\
|
37 |
-
<p class="submit">\
|
38 |
-
<input type="button" id="oscitas-badge-submit" class="button-primary" value="
|
39 |
Â
</p>\
|
40 |
-
|
Â
|
|
Â
|
|
41 |
Â
return form;
|
42 |
Â
|
43 |
Â
}
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_badge(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
Â
<tr>\
|
13 |
+
<th><label for="oscitas-badge-bgcolor">'+ebsjstrans.bgcolor+'</label></th>\
|
14 |
Â
<td><input type="text" class="color" name="bgcolor" id="oscitas-badge-bgcolor" value="">\
|
15 |
Â
</td>\
|
16 |
Â
</tr>\
|
17 |
Â
<tr>\
|
18 |
+
<th><label for="oscitas-badge-color">'+ebsjstrans.color+'</label></th>\
|
19 |
Â
<td><input type="text" class="color" name="color" id="oscitas-badge-color" value="">\
|
20 |
Â
</td>\
|
21 |
Â
</tr>\
|
22 |
Â
<tr>\
|
23 |
+
<th><label for="oscitas-badge-value">'+ebsjstrans.content+'</label></th>\
|
24 |
Â
<td><input type="text" name="value" id="oscitas-badge-value" value="">\
|
25 |
Â
</tr>\
|
26 |
Â
<tr>\
|
27 |
+
<th><label for="oscitas-badge-float_right">'+ebsjstrans.floatright+'</label></th>\
|
28 |
Â
<td><input type="checkbox" name="float_right" id="oscitas-badge-float_right" value="true">\
|
29 |
Â
</td>\
|
30 |
Â
</tr>\
|
31 |
Â
<tr>\
|
32 |
+
<th><label for="oscitas-badge-class">'+ebsjstrans.customclass+'</label></th>\
|
33 |
Â
<td><input type="text" name="class" id="oscitas-badge-class" value=""/>\
|
34 |
Â
</td>\
|
35 |
Â
</tr>\
|
36 |
Â
</table>\
|
37 |
+
<p class="submit ebs-default-options">\
|
38 |
+
<input type="button" id="oscitas-badge-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.badge+'" name="submit" />\
|
39 |
Â
</p>\
|
40 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/badge/screenshot.jpg"/></div>\
|
41 |
+
</div>\
|
42 |
+
');
|
43 |
Â
return form;
|
44 |
Â
|
45 |
Â
}
|
shortcode/badge/screenshot.jpg
ADDED
Binary file
|
shortcode/blur/blur_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var blur={
|
2 |
+
title:"Blur Shortcode",
|
3 |
+
id :'oscitas-form-blur',
|
4 |
+
pluginName: 'blur',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(blur);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_blur(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/blur/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_blur(pluginObj){
|
23 |
+
}
|
shortcode/blur/icon.png
ADDED
Binary file
|
shortcode/blur/plugin_shortcode.php
ADDED
File without changes
|
shortcode/blur/screenshot.jpg
ADDED
Binary file
|
shortcode/boxesframes/boxesframes_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var boxesframes={
|
2 |
+
title:"Boxframe Shortcode",
|
3 |
+
id :'oscitas-form-boxesframes',
|
4 |
+
pluginName: 'boxesframes',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(boxesframes);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_boxesframes(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/boxesframes/screenshot.jpg"/></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_boxesframes(pluginObj){
|
23 |
+
}
|
shortcode/boxesframes/icon.png
ADDED
Binary file
|
shortcode/boxesframes/plugin_shortcode.php
ADDED
File without changes
|
shortcode/boxesframes/screenshot.jpg
ADDED
Binary file
|
shortcode/btngrp/btngrp_plugin.js
CHANGED
@@ -9,27 +9,27 @@ var btngrp={
|
|
9 |
Â
})();
|
10 |
Â
|
11 |
Â
function ebs_return_html_btngrp(pluginObj){
|
12 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
Â
<tr>\
|
14 |
-
<th class="main_dp_th"><label for="oscitas-btngrp-heading" >
|
15 |
Â
<td>\
|
16 |
-
<table class="tb_multiple_column_upper">\
|
17 |
Â
<thead>\
|
18 |
-
<tr><th>
|
19 |
Â
</thead>\
|
20 |
Â
<tbody>\
|
21 |
Â
<tr>\
|
22 |
Â
<td><select name="type" id="oscitas-btngrp-size">\
|
23 |
-
<option value="">
|
24 |
-
<option value="btn-lg">
|
25 |
-
<option value="btn-sm">
|
26 |
-
<option value="btn-xs">
|
27 |
Â
</select></td>\
|
28 |
Â
<td>\
|
29 |
Â
<select name="type" id="oscitas-btngrp-style">\
|
30 |
-
<option value="">
|
31 |
-
<option value="vertical">
|
32 |
-
<option value="justified">
|
33 |
Â
</select>\
|
34 |
Â
</td>\
|
35 |
Â
</tr>\
|
@@ -38,29 +38,29 @@ function ebs_return_html_btngrp(pluginObj){
|
|
38 |
Â
</td>\
|
39 |
Â
</tr>\
|
40 |
Â
<tr>\
|
41 |
-
<th class="main_dp_th"><label for="oscitas-line">
|
42 |
Â
<td>\
|
43 |
-
<table class="tb_multiple_column">\
|
44 |
Â
<thead>\
|
45 |
-
<tr><th>
|
46 |
Â
</thead>\
|
47 |
Â
<tbody id="oscitas-append-btngrpitem">\
|
48 |
Â
<tr class="osc_btngrp_list_item">\
|
49 |
Â
<td>\
|
50 |
Â
<select name="type" class="oscitas-btngrpitem-style">\
|
51 |
-
<option value="btn-default">
|
52 |
-
<option value="btn-primary">
|
53 |
-
<option value="btn-success">
|
54 |
-
<option value="btn-info">
|
55 |
-
<option value="btn-warning">
|
56 |
-
<option value="btn-danger">
|
57 |
-
<option value="btn-link">
|
58 |
Â
</select>\
|
59 |
Â
</td>\
|
60 |
Â
<td class="osc_btg_type_change">\
|
61 |
Â
<select name="type" class="oscitas-btngrpitem-type">\
|
62 |
-
<option value="link">
|
63 |
-
<option value="button">
|
64 |
Â
</select>\
|
65 |
Â
</td>\
|
66 |
Â
<td class="osc_btg_hide">\
|
@@ -70,7 +70,7 @@ function ebs_return_html_btngrp(pluginObj){
|
|
70 |
Â
<input type="checkbox" class="oscitas-btngrpitem-target" value="true">\
|
71 |
Â
</td>\
|
72 |
Â
<td>\
|
73 |
-
<input type="text" name="title" class="oscitas-btngrpitem-title" value="
|
74 |
Â
</td>\
|
75 |
Â
<td></td>\
|
76 |
Â
</tr>\
|
@@ -78,7 +78,7 @@ function ebs_return_html_btngrp(pluginObj){
|
|
78 |
Â
<tfoot>\
|
79 |
Â
<tr>\
|
80 |
Â
<td colspan="8">\
|
81 |
-
<a id="osc_add_new_dditem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-plus-sign"></i>
|
82 |
Â
</td>\
|
83 |
Â
</tr>\
|
84 |
Â
</tfoot>\
|
@@ -87,16 +87,17 @@ function ebs_return_html_btngrp(pluginObj){
|
|
87 |
Â
</tr>\
|
88 |
Â
<tr>\
|
89 |
Â
<th>\
|
90 |
-
<label for="oscitas-btngrp-class">
|
91 |
Â
</th>\
|
92 |
Â
<td>\
|
93 |
Â
<input type="text" name="line" id="oscitas-btngrp-class" value=""/>\
|
94 |
Â
</td>\
|
95 |
Â
</tr>\
|
96 |
Â
</table>\
|
97 |
-
<p class="submit">\
|
98 |
-
<input type="button" id="oscitas-btngrp-submit" class="button-primary" value="
|
99 |
Â
</p>\
|
Â
|
|
100 |
Â
</div>');
|
101 |
Â
return form;
|
102 |
Â
}
|
@@ -108,19 +109,19 @@ function create_oscitas_btngrp(pluginObj){
|
|
108 |
Â
form.find('#osc_add_new_dditem').click(function(){
|
109 |
Â
var item='<tr class="osc_btngrp_list_item">' +
|
110 |
Â
'<td><select name="type" class="oscitas-btngrpitem-style">'+
|
111 |
-
'<option value="btn-default">
|
112 |
-
'<option value="btn-primary">
|
113 |
-
'<option value="btn-success">
|
114 |
-
'<option value="btn-info">
|
115 |
-
'<option value="btn-warning"
|
116 |
-
'<option value="btn-danger">
|
117 |
-
'<option value="btn-link">
|
118 |
Â
'</select>'+
|
119 |
Â
'</td>'+
|
120 |
Â
'<td class="osc_btg_type_change">'+
|
121 |
Â
'<select name="type" class="oscitas-btngrpitem-type">'+
|
122 |
-
'<option value="link">
|
123 |
-
'<option value="button">
|
124 |
Â
'</select>'+
|
125 |
Â
'</td>'+
|
126 |
Â
'<td class="osc_btg_hide">'+
|
@@ -130,7 +131,7 @@ function create_oscitas_btngrp(pluginObj){
|
|
130 |
Â
'<input type="checkbox" class="oscitas-btngrpitem-target" value="true">'+
|
131 |
Â
'</td>'+
|
132 |
Â
'<td>'+
|
133 |
-
'<input type="text" name="title" class="oscitas-btngrpitem-title" value="
|
134 |
Â
'</td>'+
|
135 |
Â
'<td><a class="osc_remove_btgitem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-remove"></i></a></td>'+
|
136 |
Â
'</tr>';
|
9 |
Â
})();
|
10 |
Â
|
11 |
Â
function ebs_return_html_btngrp(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options" width="100%">\
|
13 |
Â
<tr>\
|
14 |
+
<th class="main_dp_th"><label for="oscitas-btngrp-heading" >'+ebsjstrans.btngrpftrs+'</label></th>\
|
15 |
Â
<td>\
|
16 |
+
<table class="tb_multiple_column_upper" width="100%">\
|
17 |
Â
<thead>\
|
18 |
+
<tr><th>'+ebsjstrans.size+'</th><th>'+ebsjstrans.style+'</th></tr>\
|
19 |
Â
</thead>\
|
20 |
Â
<tbody>\
|
21 |
Â
<tr>\
|
22 |
Â
<td><select name="type" id="oscitas-btngrp-size">\
|
23 |
+
<option value="">'+ebsjstrans.default+'</option>\
|
24 |
+
<option value="btn-lg">'+ebsjstrans.large+'</option>\
|
25 |
+
<option value="btn-sm">'+ebsjstrans.small+'</option>\
|
26 |
+
<option value="btn-xs">'+ebsjstrans.exsmall+'</option>\
|
27 |
Â
</select></td>\
|
28 |
Â
<td>\
|
29 |
Â
<select name="type" id="oscitas-btngrp-style">\
|
30 |
+
<option value="">'+ebsjstrans.default+'</option>\
|
31 |
+
<option value="vertical">'+ebsjstrans.vertical+'</option>\
|
32 |
+
<option value="justified">'+ebsjstrans.justified+'</option>\
|
33 |
Â
</select>\
|
34 |
Â
</td>\
|
35 |
Â
</tr>\
|
38 |
Â
</td>\
|
39 |
Â
</tr>\
|
40 |
Â
<tr>\
|
41 |
+
<th class="main_dp_th"><label for="oscitas-line">'+ebsjstrans.btngrp_items+'</label></th>\
|
42 |
Â
<td>\
|
43 |
+
<table class="tb_multiple_column" width="100%">\
|
44 |
Â
<thead>\
|
45 |
+
<tr><th>'+ebsjstrans.style+'</th><th>'+ebsjstrans.type+'</th><th>'+ebsjstrans.link+'</th><th>'+ebsjstrans.newwindow+'</th><th>'+ebsjstrans.title+'</th><th>'+ebsjstrans.option+'</th></tr>\
|
46 |
Â
</thead>\
|
47 |
Â
<tbody id="oscitas-append-btngrpitem">\
|
48 |
Â
<tr class="osc_btngrp_list_item">\
|
49 |
Â
<td>\
|
50 |
Â
<select name="type" class="oscitas-btngrpitem-style">\
|
51 |
+
<option value="btn-default">'+ebsjstrans.simple+'</option>\
|
52 |
+
<option value="btn-primary">'+ebsjstrans.primary+'</option>\
|
53 |
+
<option value="btn-success">'+ebsjstrans.success+'</option>\
|
54 |
+
<option value="btn-info">'+ebsjstrans.information+'</option>\
|
55 |
+
<option value="btn-warning">'+ebsjstrans.warning+'</option>\
|
56 |
+
<option value="btn-danger">'+ebsjstrans.danger+'</option>\
|
57 |
+
<option value="btn-link">'+ebsjstrans.link+'</option>\
|
58 |
Â
</select>\
|
59 |
Â
</td>\
|
60 |
Â
<td class="osc_btg_type_change">\
|
61 |
Â
<select name="type" class="oscitas-btngrpitem-type">\
|
62 |
+
<option value="link">'+ebsjstrans.link+'</option>\
|
63 |
+
<option value="button">'+ebsjstrans.button+'</option>\
|
64 |
Â
</select>\
|
65 |
Â
</td>\
|
66 |
Â
<td class="osc_btg_hide">\
|
70 |
Â
<input type="checkbox" class="oscitas-btngrpitem-target" value="true">\
|
71 |
Â
</td>\
|
72 |
Â
<td>\
|
73 |
+
<input type="text" name="title" class="oscitas-btngrpitem-title" value="'+ebsjstrans.button+'"/>\
|
74 |
Â
</td>\
|
75 |
Â
<td></td>\
|
76 |
Â
</tr>\
|
78 |
Â
<tfoot>\
|
79 |
Â
<tr>\
|
80 |
Â
<td colspan="8">\
|
81 |
+
<a id="osc_add_new_dditem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-plus-sign"></i> '+ebsjstrans.addnewitem+'</a>\
|
82 |
Â
</td>\
|
83 |
Â
</tr>\
|
84 |
Â
</tfoot>\
|
87 |
Â
</tr>\
|
88 |
Â
<tr>\
|
89 |
Â
<th>\
|
90 |
+
<label for="oscitas-btngrp-class">'+ebsjstrans.customclass+'</label>\
|
91 |
Â
</th>\
|
92 |
Â
<td>\
|
93 |
Â
<input type="text" name="line" id="oscitas-btngrp-class" value=""/>\
|
94 |
Â
</td>\
|
95 |
Â
</tr>\
|
96 |
Â
</table>\
|
97 |
+
<p class="submit ebs-default-options">\
|
98 |
+
<input type="button" id="oscitas-btngrp-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.button+' '+ebsjstrans.grp+'" name="submit" />\
|
99 |
Â
</p>\
|
100 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/btngrp/screenshot.jpg"/></div>\
|
101 |
Â
</div>');
|
102 |
Â
return form;
|
103 |
Â
}
|
109 |
Â
form.find('#osc_add_new_dditem').click(function(){
|
110 |
Â
var item='<tr class="osc_btngrp_list_item">' +
|
111 |
Â
'<td><select name="type" class="oscitas-btngrpitem-style">'+
|
112 |
+
'<option value="btn-default">'+ebsjstrans.simple+'</option>'+
|
113 |
+
'<option value="btn-primary">'+ebsjstrans.primary+'</option>'+
|
114 |
+
'<option value="btn-success">'+ebsjstrans.success+'</option>'+
|
115 |
+
'<option value="btn-info">'+ebsjstrans.information+'</option>'+
|
116 |
+
'<option value="btn-warning"'+ebsjstrans.warning+'></option>'+
|
117 |
+
'<option value="btn-danger">'+ebsjstrans.danger+'</option>'+
|
118 |
+
'<option value="btn-link">'+ebsjstrans.link+'</option>'+
|
119 |
Â
'</select>'+
|
120 |
Â
'</td>'+
|
121 |
Â
'<td class="osc_btg_type_change">'+
|
122 |
Â
'<select name="type" class="oscitas-btngrpitem-type">'+
|
123 |
+
'<option value="link">'+ebsjstrans.link+'</option>'+
|
124 |
+
'<option value="button">'+ebsjstrans.button+'</option>'+
|
125 |
Â
'</select>'+
|
126 |
Â
'</td>'+
|
127 |
Â
'<td class="osc_btg_hide">'+
|
131 |
Â
'<input type="checkbox" class="oscitas-btngrpitem-target" value="true">'+
|
132 |
Â
'</td>'+
|
133 |
Â
'<td>'+
|
134 |
+
'<input type="text" name="title" class="oscitas-btngrpitem-title" value="'+ebsjstrans.button+'"/>'+
|
135 |
Â
'</td>'+
|
136 |
Â
'<td><a class="osc_remove_btgitem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-remove"></i></a></td>'+
|
137 |
Â
'</tr>';
|
shortcode/btngrp/screenshot.jpg
ADDED
Binary file
|
shortcode/btngrptool/screenshot.jpg
ADDED
Binary file
|
shortcode/buttons/buttons_plugin.js
CHANGED
@@ -10,94 +10,95 @@ var buttons={
|
|
10 |
Â
|
11 |
Â
function ebs_return_html_buttons(pluginObj){
|
12 |
Â
|
13 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
14 |
Â
<tr>\
|
15 |
Â
<th><label for="oscitas-button-style">Style:</label></th>\
|
16 |
Â
<td><select name="type" id="oscitas-button-style">\
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
Â
</select><br />\
|
25 |
Â
</td>\
|
26 |
Â
</tr>\
|
27 |
Â
<tr>\
|
28 |
Â
<th><label for="oscitas-button-size">Size:</label></th>\
|
29 |
Â
<td><select name="type" id="oscitas-button-size">\
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
Â
</select><br />\
|
34 |
Â
</td>\
|
35 |
Â
</tr>\
|
36 |
Â
<tr>\
|
37 |
Â
<th><label for="oscitas-button-type">Type:</label></th>\
|
38 |
Â
<td><select name="type" id="oscitas-button-type">\
|
39 |
-
|
40 |
-
|
41 |
Â
</select><br />\
|
42 |
Â
</td>\
|
43 |
Â
</tr>\
|
44 |
Â
<tr>\
|
45 |
-
<th><label for="oscitas-heading-icon">
|
46 |
Â
<td><div id="click_icon_list_button" class="oscitas-icon-div"><span id="osc_show_icon_button"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val_button" value="">\
|
47 |
Â
<div id="osc_show_iconlist_button" class="oscitas-icon" style="display:none;width:100%">'+font_awesome_include('oscitas-heading-icon_button')+'</div>\
|
48 |
Â
</td>\
|
49 |
Â
</tr>\
|
50 |
Â
<tr>\
|
51 |
-
<th><label for="oscitas-button-iconalign">
|
52 |
Â
<td><select name="type" id="oscitas-button-iconalign">\
|
53 |
-
<option value="left">
|
54 |
-
<option value="right">
|
55 |
Â
</select><br />\
|
56 |
Â
</td>\
|
57 |
Â
</tr>\
|
58 |
Â
<tr>\
|
59 |
-
<th><label for="oscitas-button-iconcolor">
|
60 |
Â
<td><input type="text" name="label" id="oscitas-button-iconcolor" class="color" value="" /><br />\
|
61 |
Â
</td>\
|
62 |
Â
</tr>\
|
63 |
Â
<tr>\
|
64 |
-
<th><label for="oscitas-table-rows">
|
65 |
Â
<td>\
|
66 |
Â
<input type="checkbox" id="oscitas-button-block">\
|
67 |
Â
<br />\
|
68 |
Â
</td>\
|
69 |
Â
</tr>\
|
70 |
Â
<tr>\
|
71 |
-
<th><label for="oscitas-button-title">
|
72 |
Â
<td><input type="text" name="title" id="oscitas-button-title" value="Button"/><br />\
|
73 |
Â
</td>\
|
74 |
Â
</tr>\
|
75 |
Â
<tr class="tr-button-link">\
|
76 |
-
<th><label for="oscitas-button-link">
|
77 |
Â
<td><input type="text" name="link" id="oscitas-button-link" value="#" /><br />\
|
78 |
Â
</td>\
|
79 |
Â
</tr>\
|
80 |
Â
<tr class="tr-button-link">\
|
81 |
-
<th><label for="oscitas-button-link">
|
82 |
Â
<td><input type="text" name="rel" id="oscitas-button-linkrel" value="" /><br />\
|
83 |
Â
</td>\
|
84 |
Â
</tr>\
|
85 |
Â
<tr id="tr-button-newwindow">\
|
86 |
-
<th><label for="oscitas-table-rows">
|
87 |
Â
<td>\
|
88 |
Â
<input type="checkbox" id="oscitas-button-target">\
|
89 |
Â
<br />\
|
90 |
Â
</td>\
|
91 |
Â
</tr>\
|
92 |
Â
<tr>\
|
93 |
-
<th><label for="oscitas-button-class">
|
94 |
Â
<td><input type="text" name="line" id="oscitas-button-class" value=""/><br />\
|
95 |
Â
</td>\
|
96 |
Â
</tr>\
|
97 |
Â
</table>\
|
98 |
-
<p class="submit">\
|
99 |
-
<input type="button" id="oscitas-button-submit" class="button-primary" value="
|
100 |
Â
</p>\
|
Â
|
|
101 |
Â
</div>');
|
102 |
Â
return form;
|
103 |
Â
}
|
10 |
Â
|
11 |
Â
function ebs_return_html_buttons(pluginObj){
|
12 |
Â
|
13 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
14 |
Â
<tr>\
|
15 |
Â
<th><label for="oscitas-button-style">Style:</label></th>\
|
16 |
Â
<td><select name="type" id="oscitas-button-style">\
|
17 |
+
<option value="btn-default">'+ebsjstrans.simple+'</option>\
|
18 |
+
<option value="btn-primary">'+ebsjstrans.primary+'</option>\
|
19 |
+
<option value="btn-success">'+ebsjstrans.success+'</option>\
|
20 |
+
<option value="btn-info">'+ebsjstrans.information+'</option>\
|
21 |
+
<option value="btn-warning">'+ebsjstrans.warning+'</option>\
|
22 |
+
<option value="btn-danger">'+ebsjstrans.danger+'</option>\
|
23 |
+
<option value="btn-link">'+ebsjstrans.link+'</option>\
|
24 |
Â
</select><br />\
|
25 |
Â
</td>\
|
26 |
Â
</tr>\
|
27 |
Â
<tr>\
|
28 |
Â
<th><label for="oscitas-button-size">Size:</label></th>\
|
29 |
Â
<td><select name="type" id="oscitas-button-size">\
|
30 |
+
<option value="btn-lg">'+ebsjstrans.large+'</option>\
|
31 |
+
<option value="btn-sm">'+ebsjstrans.small+'</option>\
|
32 |
+
<option value="btn-xs">'+ebsjstrans.exsmall+'</option>\
|
33 |
Â
</select><br />\
|
34 |
Â
</td>\
|
35 |
Â
</tr>\
|
36 |
Â
<tr>\
|
37 |
Â
<th><label for="oscitas-button-type">Type:</label></th>\
|
38 |
Â
<td><select name="type" id="oscitas-button-type">\
|
39 |
+
<option value="link">'+ebsjstrans.link+'</option>\
|
40 |
+
<option value="button">'+ebsjstrans.button+'</option>\
|
41 |
Â
</select><br />\
|
42 |
Â
</td>\
|
43 |
Â
</tr>\
|
44 |
Â
<tr>\
|
45 |
+
<th><label for="oscitas-heading-icon">'+ebsjstrans.select+' '+ebsjstrans.icon+':</label></th>\
|
46 |
Â
<td><div id="click_icon_list_button" class="oscitas-icon-div"><span id="osc_show_icon_button"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val_button" value="">\
|
47 |
Â
<div id="osc_show_iconlist_button" class="oscitas-icon" style="display:none;width:100%">'+font_awesome_include('oscitas-heading-icon_button')+'</div>\
|
48 |
Â
</td>\
|
49 |
Â
</tr>\
|
50 |
Â
<tr>\
|
51 |
+
<th><label for="oscitas-button-iconalign">'+ebsjstrans.icon+' '+ebsjstrans.alignment+':</label></th>\
|
52 |
Â
<td><select name="type" id="oscitas-button-iconalign">\
|
53 |
+
<option value="left">'+ebsjstrans.left+'</option>\
|
54 |
+
<option value="right">'+ebsjstrans.right+'</option>\
|
55 |
Â
</select><br />\
|
56 |
Â
</td>\
|
57 |
Â
</tr>\
|
58 |
Â
<tr>\
|
59 |
+
<th><label for="oscitas-button-iconcolor">'+ebsjstrans.icon+' '+ebsjstrans.color+':</label></th>\
|
60 |
Â
<td><input type="text" name="label" id="oscitas-button-iconcolor" class="color" value="" /><br />\
|
61 |
Â
</td>\
|
62 |
Â
</tr>\
|
63 |
Â
<tr>\
|
64 |
+
<th><label for="oscitas-table-rows">'+ebsjstrans.makeblock+'</label></th>\
|
65 |
Â
<td>\
|
66 |
Â
<input type="checkbox" id="oscitas-button-block">\
|
67 |
Â
<br />\
|
68 |
Â
</td>\
|
69 |
Â
</tr>\
|
70 |
Â
<tr>\
|
71 |
+
<th><label for="oscitas-button-title">'+ebsjstrans.title+':</label></th>\
|
72 |
Â
<td><input type="text" name="title" id="oscitas-button-title" value="Button"/><br />\
|
73 |
Â
</td>\
|
74 |
Â
</tr>\
|
75 |
Â
<tr class="tr-button-link">\
|
76 |
+
<th><label for="oscitas-button-link">'+ebsjstrans.link+'</label></th>\
|
77 |
Â
<td><input type="text" name="link" id="oscitas-button-link" value="#" /><br />\
|
78 |
Â
</td>\
|
79 |
Â
</tr>\
|
80 |
Â
<tr class="tr-button-link">\
|
81 |
+
<th><label for="oscitas-button-link">'+ebsjstrans.rel+'</label></th>\
|
82 |
Â
<td><input type="text" name="rel" id="oscitas-button-linkrel" value="" /><br />\
|
83 |
Â
</td>\
|
84 |
Â
</tr>\
|
85 |
Â
<tr id="tr-button-newwindow">\
|
86 |
+
<th><label for="oscitas-table-rows">'+ebsjstrans.newtarget+'</label></th>\
|
87 |
Â
<td>\
|
88 |
Â
<input type="checkbox" id="oscitas-button-target">\
|
89 |
Â
<br />\
|
90 |
Â
</td>\
|
91 |
Â
</tr>\
|
92 |
Â
<tr>\
|
93 |
+
<th><label for="oscitas-button-class">'+ebsjstrans.customclass+':</label></th>\
|
94 |
Â
<td><input type="text" name="line" id="oscitas-button-class" value=""/><br />\
|
95 |
Â
</td>\
|
96 |
Â
</tr>\
|
97 |
Â
</table>\
|
98 |
+
<p class="submit ebs-default-options">\
|
99 |
+
<input type="button" id="oscitas-button-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.button+'" name="submit" />\
|
100 |
Â
</p>\
|
101 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/buttons/screenshot.jpg"/></div>\
|
102 |
Â
</div>');
|
103 |
Â
return form;
|
104 |
Â
}
|
shortcode/buttons/screenshot.jpg
ADDED
Binary file
|
shortcode/carousel/carousel_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var carousel={
|
2 |
+
title:"Carousel Shortcode",
|
3 |
+
id :'oscitas-form-carousel',
|
4 |
+
pluginName: 'carousel',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(carousel);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_carousel(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/carousel/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_carousel(pluginObj){
|
23 |
+
}
|
shortcode/carousel/icon.png
ADDED
Binary file
|
shortcode/carousel/plugin_shortcode.php
ADDED
File without changes
|
shortcode/carousel/screenshot.jpg
ADDED
Binary file
|
shortcode/deslist/deslist_plugin.js
CHANGED
@@ -7,29 +7,30 @@ var deslist={
|
|
7 |
Â
_create_tinyMCE_options(deslist);
|
8 |
Â
})();
|
9 |
Â
function ebs_return_html_deslist(pluginObj){
|
10 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
11 |
Â
<tr>\
|
12 |
-
<th><label for="oscitas-line">
|
13 |
-
<td><input type="text" name="line" id="oscitas-deslist-item" value="3"/><br /><small>
|
14 |
Â
</td>\
|
15 |
Â
</tr>\
|
16 |
Â
<tr>\
|
17 |
-
<th><label for="oscitas-deslist-style">
|
18 |
Â
<td><select name="type" id="oscitas-deslist-style">\
|
19 |
-
<option value="">
|
20 |
-
<option value="dl-horizontal">
|
21 |
Â
</select><br />\
|
22 |
Â
</td>\
|
23 |
Â
</tr>\
|
24 |
Â
<tr>\
|
25 |
-
<th><label for="oscitas-deslist-class">
|
26 |
Â
<td><input type="text" name="line" id="oscitas-deslist-class" value=""/><br />\
|
27 |
Â
</td>\
|
28 |
Â
</tr>\
|
29 |
Â
</table>\
|
30 |
-
<p class="submit">\
|
31 |
-
<input type="button" id="oscitas-deslist-submit" class="button-primary" value="
|
32 |
Â
</p>\
|
Â
|
|
33 |
Â
</div>');
|
34 |
Â
return form;
|
35 |
Â
}
|
@@ -70,7 +71,7 @@ function create_oscitas_deslist(pluginObj){
|
|
70 |
Â
|
71 |
Â
shortcode += ']<br/>';
|
72 |
Â
for(var i=1;i<=deslist;i++){
|
73 |
-
shortcode +='['+$ebs_prefix+'dlitem heading="Heading '+i+'"]
|
74 |
Â
}
|
75 |
Â
shortcode +='[/'+$ebs_prefix+'dl]';
|
76 |
Â
|
7 |
Â
_create_tinyMCE_options(deslist);
|
8 |
Â
})();
|
9 |
Â
function ebs_return_html_deslist(pluginObj){
|
10 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
11 |
Â
<tr>\
|
12 |
+
<th><label for="oscitas-line">'+ebsjstrans.noof+' '+ebsjstrans.list+' '+ebsjstrans.item+'</label></th>\
|
13 |
+
<td><input type="text" name="line" id="oscitas-deslist-item" value="3"/><br /><small>'+ebsjstrans.enternumval+'</small>\
|
14 |
Â
</td>\
|
15 |
Â
</tr>\
|
16 |
Â
<tr>\
|
17 |
+
<th><label for="oscitas-deslist-style">'+ebsjstrans.list+' '+ebsjstrans.style+'</label></th>\
|
18 |
Â
<td><select name="type" id="oscitas-deslist-style">\
|
19 |
+
<option value="">'+ebsjstrans.default+'</option>\
|
20 |
+
<option value="dl-horizontal">'+ebsjstrans.horizontal+'</option>\
|
21 |
Â
</select><br />\
|
22 |
Â
</td>\
|
23 |
Â
</tr>\
|
24 |
Â
<tr>\
|
25 |
+
<th><label for="oscitas-deslist-class">'+ebsjstrans.customclass+':</label></th>\
|
26 |
Â
<td><input type="text" name="line" id="oscitas-deslist-class" value=""/><br />\
|
27 |
Â
</td>\
|
28 |
Â
</tr>\
|
29 |
Â
</table>\
|
30 |
+
<p class="submit ebs-default-options">\
|
31 |
+
<input type="button" id="oscitas-deslist-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.list+'" name="submit" />\
|
32 |
Â
</p>\
|
33 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/deslist/screenshot.jpg"/></div>\
|
34 |
Â
</div>');
|
35 |
Â
return form;
|
36 |
Â
}
|
71 |
Â
|
72 |
Â
shortcode += ']<br/>';
|
73 |
Â
for(var i=1;i<=deslist;i++){
|
74 |
+
shortcode +='['+$ebs_prefix+'dlitem heading="Heading '+i+'"]'+ebsjstrans.description+' '+i+'[/'+$ebs_prefix+'dlitem]<br/>'
|
75 |
Â
}
|
76 |
Â
shortcode +='[/'+$ebs_prefix+'dl]';
|
77 |
Â
|
shortcode/deslist/screenshot.jpg
ADDED
Binary file
|
shortcode/dropcaps/dropcaps_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var dropcaps={
|
2 |
+
title:"Dropcaps Shortcode",
|
3 |
+
id :'oscitas-form-dropcaps',
|
4 |
+
pluginName: 'dropcaps',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(dropcaps);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_dropcaps(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/dropcaps/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_dropcaps(pluginObj){
|
23 |
+
}
|
shortcode/dropcaps/icon.png
ADDED
Binary file
|
shortcode/dropcaps/plugin_shortcode.php
ADDED
File without changes
|
shortcode/dropcaps/screenshot.jpg
ADDED
Binary file
|
shortcode/dropdown/dropdown_plugin.js
CHANGED
@@ -8,45 +8,52 @@ var dropdown={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_dropdown(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
Â
<tr>\
|
13 |
-
<th class="main_dp_th"><label for="oscitas-dropdown-heading" >
|
14 |
-
<td
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
</
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
</
|
36 |
-
|
37 |
-
|
38 |
-
<option value="
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
44 |
Â
</tr>\
|
45 |
Â
<tr>\
|
46 |
Â
<th class="main_dp_th"><label for="oscitas-line">Dropdown Items</label></th>\
|
47 |
Â
<td><table class="tb_multiple_column">\
|
48 |
Â
<thead>\
|
49 |
-
<tr><th>Type</th><th>
|
50 |
Â
</thead>\
|
51 |
Â
<tbody id="oscitas-append-dropdownitem">\
|
52 |
Â
<tr class="osc_dropdown_list_item">\
|
@@ -67,9 +74,10 @@ function ebs_return_html_dropdown(pluginObj){
|
|
67 |
Â
</td>\
|
68 |
Â
</tr>\
|
69 |
Â
</table>\
|
70 |
-
<p class="submit">\
|
71 |
Â
<input type="button" id="oscitas-dropdown-submit" class="button-primary" value="Insert Dropdown" name="submit" />\
|
72 |
Â
</p>\
|
Â
|
|
73 |
Â
</div>');
|
74 |
Â
return form;
|
75 |
Â
}
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_dropdown(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
Â
<tr>\
|
13 |
+
<th class="main_dp_th"><label for="oscitas-dropdown-heading" >'+ebsjstrans.dropdown+' '+ebsjstrans.features+'</label></th>\
|
14 |
+
<td>\
|
15 |
+
<table class="tb_multiple_column_upper">\
|
16 |
+
<thead>\
|
17 |
+
<tr><th>'+ebsjstrans.text+'</th><th>'+ebsjstrans.size+'</th><th>'+ebsjstrans.style+'</th><th>'+ebsjstrans.split+'</th><th>'+ebsjstrans.dropup+'</th></tr>\
|
18 |
+
</thead>\
|
19 |
+
<tbody>\
|
20 |
+
<tr>\
|
21 |
+
<td><input type="text" name="dropdown-heading" id="oscitas-dropdown-heading" value="Dropdown"/></td>\
|
22 |
+
<td>\
|
23 |
+
<select name="type" id="oscitas-dropdown-size">\
|
24 |
+
<option value="">'+ebsjstrans.default+'</option>\
|
25 |
+
<option value="btn-lg">'+ebsjstrans.large+'</option>\
|
26 |
+
<option value="btn-sm">'+ebsjstrans.small+'</option>\
|
27 |
+
<option value="btn-xs">'+ebsjstrans.exsmall+'</option>\
|
28 |
+
</select><br />\
|
29 |
+
</td>\
|
30 |
+
<td>\
|
31 |
+
<select name="type" id="oscitas-dropdown-style">\
|
32 |
+
<option value="btn-default">'+ebsjstrans.simple+'</option>\
|
33 |
+
<option value="btn-primary">'+ebsjstrans.primary+'</option>\
|
34 |
+
<option value="btn-success">'+ebsjstrans.success+'</option>\
|
35 |
+
<option value="btn-info">'+ebsjstrans.information+'</option>\
|
36 |
+
<option value="btn-warning">'+ebsjstrans.warning+'</option>\
|
37 |
+
<option value="btn-danger">'+ebsjstrans.danger+'</option>\
|
38 |
+
<option value="btn-link">'+ebsjstrans.link+'</option>\
|
39 |
+
</select><br />\
|
40 |
+
</td>\
|
41 |
+
<td><input type="checkbox" name="dropdown-split" id="oscitas-dropdown-split" value="split"/></td>\
|
42 |
+
<td>\
|
43 |
+
<select name="type" id="oscitas-dropdown-dropup">\
|
44 |
+
<option value="dropdown">'+ebsjstrans.dropdown+'</option>\
|
45 |
+
<option value="dropup">'+ebsjstrans.dropup+'</option>\
|
46 |
+
</select></td>\
|
47 |
+
</tr>\
|
48 |
+
</tbody>\
|
49 |
+
</table>\
|
50 |
+
</td>\
|
51 |
Â
</tr>\
|
52 |
Â
<tr>\
|
53 |
Â
<th class="main_dp_th"><label for="oscitas-line">Dropdown Items</label></th>\
|
54 |
Â
<td><table class="tb_multiple_column">\
|
55 |
Â
<thead>\
|
56 |
+
<tr><th>Type</th><th>'+ebsjstrans.link+'</th><th>'+ebsjstrans.title+'</th><th>Disabled</th><th>Option</th></tr>\
|
57 |
Â
</thead>\
|
58 |
Â
<tbody id="oscitas-append-dropdownitem">\
|
59 |
Â
<tr class="osc_dropdown_list_item">\
|
74 |
Â
</td>\
|
75 |
Â
</tr>\
|
76 |
Â
</table>\
|
77 |
+
<p class="submit ebs-default-options">\
|
78 |
Â
<input type="button" id="oscitas-dropdown-submit" class="button-primary" value="Insert Dropdown" name="submit" />\
|
79 |
Â
</p>\
|
80 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/dropdown/screenshot.jpg"/></div>\
|
81 |
Â
</div>');
|
82 |
Â
return form;
|
83 |
Â
}
|
shortcode/dropdown/screenshot.jpg
ADDED
Binary file
|
shortcode/functions.php
CHANGED
@@ -17,33 +17,41 @@ if($css==3){
|
|
17 |
Â
/*
|
18 |
Â
* EBS shortcode list
|
19 |
Â
*/
|
20 |
-
|
21 |
-
'toggles',
|
22 |
-
'
|
23 |
-
'
|
24 |
-
'
|
25 |
-
'
|
26 |
-
'
|
27 |
-
'
|
28 |
-
'
|
29 |
-
'
|
30 |
-
'
|
31 |
-
'
|
32 |
-
'
|
33 |
-
'
|
34 |
-
'
|
35 |
-
'
|
36 |
-
'
|
37 |
-
'
|
38 |
-
'
|
39 |
-
'
|
40 |
-
'
|
41 |
-
'
|
42 |
-
'
|
43 |
-
'
|
44 |
-
'
|
45 |
-
|
46 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
47 |
Â
function ebs_groups($grps=array()){
|
48 |
Â
$grps=array('basic'=>array(
|
49 |
Â
'name'=>'Basic Elements',
|
@@ -53,131 +61,246 @@ function ebs_groups($grps=array()){
|
|
53 |
Â
);
|
54 |
Â
return $grps;
|
55 |
Â
}
|
56 |
-
function ebs_shortcodes($shortcodes=array())
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
174 |
Â
|
175 |
-
);
|
176 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
177 |
Â
|
178 |
-
|
Â
|
|
179 |
Â
}
|
180 |
Â
|
Â
|
|
Â
|
|
181 |
Â
/*
|
182 |
Â
* include each shortcode php file
|
183 |
Â
*/
|
@@ -236,6 +359,7 @@ function osc_add_ebs_plugin($plugin_array) {
|
|
236 |
Â
} else{
|
237 |
Â
$plugin_array['oscitas_main_dropdown']=EBS_PLUGIN_URL.'js/oscitas_dropdown_3_9.js';
|
238 |
Â
}
|
Â
|
|
239 |
Â
return $plugin_array;
|
240 |
Â
|
241 |
Â
}
|
@@ -248,4 +372,292 @@ function ebs_backward_compatibility_callback($shortcode,$callback){
|
|
248 |
Â
$val=get_option('EBS_SHORTCODE_PREFIX','');
|
249 |
Â
add_shortcode($val.$shortcode, $callback);
|
250 |
Â
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
251 |
Â
}
|
17 |
Â
/*
|
18 |
Â
* EBS shortcode list
|
19 |
Â
*/
|
20 |
+
//$elements = array(
|
21 |
+
// 'toggles',
|
22 |
+
// 'animation',
|
23 |
+
// 'tabs',
|
24 |
+
// 'lists',
|
25 |
+
// 'deslist',
|
26 |
+
// 'buttons',
|
27 |
+
// 'btngrptool',
|
28 |
+
// 'btngrp',
|
29 |
+
// 'notifications',
|
30 |
+
// 'wpcolumns',
|
31 |
+
// 'tables',
|
32 |
+
// 'tooltip',
|
33 |
+
// 'iconhead',
|
34 |
+
// 'panel',
|
35 |
+
// 'oscpopover',
|
36 |
+
// 'dropdown',
|
37 |
+
// 'labels',
|
38 |
+
// 'well',
|
39 |
+
// 'thumbnail',
|
40 |
+
// 'icon',
|
41 |
+
// 'image',
|
42 |
+
// 'progressbar',
|
43 |
+
// 'servicebox',
|
44 |
+
// 'slider',
|
45 |
+
// 'badge',
|
46 |
+
//
|
47 |
+
//);
|
48 |
+
|
49 |
+
$elements = ebs_shortcodes();
|
50 |
+
|
51 |
+
$elements = array_keys($elements);
|
52 |
+
//print_r($elements);
|
53 |
+
|
54 |
+
|
55 |
Â
function ebs_groups($grps=array()){
|
56 |
Â
$grps=array('basic'=>array(
|
57 |
Â
'name'=>'Basic Elements',
|
61 |
Â
);
|
62 |
Â
return $grps;
|
63 |
Â
}
|
64 |
+
function ebs_shortcodes($shortcodes=array())
|
65 |
+
{
|
66 |
+
$shortcodes = array(
|
67 |
+
'toggles' => array('group' => 'interactive',
|
68 |
+
'name' => 'Accordion',
|
69 |
+
'width' => 980,
|
70 |
+
'height' => '',
|
71 |
+
),
|
72 |
+
'tabs' => array('group' => 'interactive',
|
73 |
+
'name' => 'Tabs',
|
74 |
+
'width' => 1170,
|
75 |
+
'height' => '',
|
76 |
+
),
|
77 |
+
|
78 |
+
'lists' => array('group' => 'content',
|
79 |
+
'name' => 'List',
|
80 |
+
'width' => 930,
|
81 |
+
'height' => '',
|
82 |
+
),
|
83 |
+
'buttons' => array('group' => 'basic',
|
84 |
+
'name' => 'Button',
|
85 |
+
'width' => 930,
|
86 |
+
'height' => '',
|
87 |
+
),
|
88 |
+
'notifications' => array('group' => 'basic',
|
89 |
+
'name' => 'Notifications',
|
90 |
+
'width' => '',
|
91 |
+
'height' => '',
|
92 |
+
),
|
93 |
+
'wpcolumns' => array('group' => 'columns',
|
94 |
+
'name' => 'Columns',
|
95 |
+
'width' => 1094,
|
96 |
+
'height' => '',
|
97 |
+
),
|
98 |
+
'tables' => array('group' => 'interactive',
|
99 |
+
'name' => 'Tables',
|
100 |
+
'width' => '',
|
101 |
+
'height' => '',
|
102 |
+
),
|
103 |
+
'tooltip' => array('group' => 'basic',
|
104 |
+
'name' => 'Tooltip',
|
105 |
+
'width' => '',
|
106 |
+
'height' => '',
|
107 |
+
),
|
108 |
+
|
109 |
+
'iconhead' => array('group' => 'content',
|
110 |
+
'name' => 'Icon Heading',
|
111 |
+
'width' => 930,
|
112 |
+
'height' => '',
|
113 |
+
),
|
114 |
+
'panel' => array('group' => 'interactive',
|
115 |
+
'name' => 'Panel',
|
116 |
+
'width' => '',
|
117 |
+
'height' => '',
|
118 |
+
),
|
119 |
+
'oscpopover' => array('group' => 'basic',
|
120 |
+
'name' => 'Popover',
|
121 |
+
'width' => '',
|
122 |
+
'height' => '',
|
123 |
+
),
|
124 |
+
'oscpopups' => array('group' => 'basic',
|
125 |
+
'name' => 'Popups',
|
126 |
+
'width' => '',
|
127 |
+
'height' => '',
|
128 |
+
),
|
129 |
+
'dropdown' => array('group' => 'basic',
|
130 |
+
'name' => 'Button Dropdown',
|
131 |
+
'width' => '',
|
132 |
+
'height' => '',
|
133 |
+
),
|
134 |
+
'labels' => array('group' => 'content',
|
135 |
+
'name' => 'Label',
|
136 |
+
'width' => '',
|
137 |
+
'height' => '',
|
138 |
+
),
|
139 |
+
'well' => array('group' => 'content',
|
140 |
+
'name' => 'Well',
|
141 |
+
'width' => '',
|
142 |
+
'height' => '',
|
143 |
+
),
|
144 |
+
'thumbnail' => array('group' => 'miscellaneous',
|
145 |
+
'name' => 'Responsive Image',
|
146 |
+
'width' => 930,
|
147 |
+
'height' => '',
|
148 |
+
),
|
149 |
+
'icon' => array('group' => 'miscellaneous',
|
150 |
+
'name' => 'Icon',
|
151 |
+
'width' => 930,
|
152 |
+
'height' => '',
|
153 |
+
),
|
154 |
+
'image' => array('group' => 'miscellaneous',
|
155 |
+
'name' => 'Image Effects',
|
156 |
+
'width' => 930,
|
157 |
+
'height' => '',
|
158 |
+
),
|
159 |
+
'progressbar' => array('group' => 'basic',
|
160 |
+
'name' => 'Progress Bar',
|
161 |
+
'width' => 930,
|
162 |
+
'height' => '',
|
163 |
+
),
|
164 |
+
'btngrp' => array('group' => 'basic',
|
165 |
+
'name' => 'Button Group',
|
166 |
+
'width' => 1200,
|
167 |
+
'height' => '',
|
168 |
+
),
|
169 |
+
'btngrptool' => array('group' => 'basic',
|
170 |
+
'name' => 'Button Group Toolbar',
|
171 |
+
'width' => '',
|
172 |
+
'height' => '',
|
173 |
+
),
|
174 |
+
'deslist' => array('group' => 'content',
|
175 |
+
'name' => 'Description List',
|
176 |
+
'width' => '',
|
177 |
+
'height' => '',
|
178 |
+
),
|
179 |
+
'slider' => array('group' => 'interactive',
|
180 |
+
'name' => 'Slider',
|
181 |
+
'width' => 1100,
|
182 |
+
'height' => '',
|
183 |
+
),
|
184 |
+
'jumbotron' => array('group' => 'content',
|
185 |
+
'name' => 'Jumbotron',
|
186 |
+
'width' => '',
|
187 |
+
'height' => '',
|
188 |
+
),
|
189 |
+
'badge' => array('group' => 'miscellaneous',
|
190 |
+
'name' => 'Badge',
|
191 |
+
'width' => '',
|
192 |
+
'height' => '',
|
193 |
+
),
|
194 |
+
'blur' => array('group' => 'miscellaneous',
|
195 |
+
'name' => 'Blur',
|
196 |
+
'width' => '',
|
197 |
+
'height' => '',
|
198 |
+
),
|
199 |
Â
|
Â
|
|
200 |
Â
|
201 |
+
'video' => array('group' => 'interactive',
|
202 |
+
'name' => 'Video',
|
203 |
+
'width' => '',
|
204 |
+
'height' => '',
|
205 |
+
),
|
206 |
+
'gmaps' => array('group' => 'interactive',
|
207 |
+
'name' => 'Google Map',
|
208 |
+
'width' => '',
|
209 |
+
'height' => '',
|
210 |
+
),
|
211 |
+
'boxesframes' => array('group' => 'miscellaneous',
|
212 |
+
'name' => 'Boxframe',
|
213 |
+
'width' => 930,
|
214 |
+
'height' => '',
|
215 |
+
),
|
216 |
+
'rule' => array('group' => 'interactive',
|
217 |
+
'name' => 'Horizontal Rule',
|
218 |
+
'width' => '',
|
219 |
+
'height' => '',
|
220 |
+
),
|
221 |
+
'pricingtable' => array('group' => 'interactive',
|
222 |
+
'name' => 'Pricing Table',
|
223 |
+
'width' => 1220,
|
224 |
+
'height' => '',
|
225 |
+
),
|
226 |
+
'testimonial' => array('group' => 'basic',
|
227 |
+
'name' => 'Testimonial',
|
228 |
+
'width' => '',
|
229 |
+
'height' => '',
|
230 |
+
),
|
231 |
+
'sectionhead' => array('group' => 'content',
|
232 |
+
'name' => 'Section Heading',
|
233 |
+
'width' => '',
|
234 |
+
'height' => '',
|
235 |
+
),
|
236 |
+
// 'social' => array('group' => 'social',
|
237 |
+
// 'name' => 'Social',
|
238 |
+
// 'width' => 930,
|
239 |
+
// 'height' => '',
|
240 |
+
// ),
|
241 |
+
'dropcaps' => array('group' => 'content',
|
242 |
+
'name' => 'Dropcap',
|
243 |
+
'width' => 930,
|
244 |
+
'height' => '',
|
245 |
+
),
|
246 |
+
'separator' => array('group' => 'content',
|
247 |
+
'name' => 'Separator',
|
248 |
+
'width' => 930,
|
249 |
+
'height' => '',
|
250 |
+
),
|
251 |
+
'lead' => array('group' => 'content',
|
252 |
+
'name' => 'Lead',
|
253 |
+
'width' => '',
|
254 |
+
'height' => '',
|
255 |
+
),
|
256 |
+
'pageheader' => array('group' => 'content',
|
257 |
+
'name' => 'Page Header',
|
258 |
+
'width' => 930,
|
259 |
+
'height' => '',
|
260 |
+
),
|
261 |
+
'servicebox' => array('group' => 'content',
|
262 |
+
'name' => 'Servicebox',
|
263 |
+
'width' => 930,
|
264 |
+
'height' => '',
|
265 |
+
),
|
266 |
+
'highlights' => array('group' => 'content',
|
267 |
+
'name' => 'Highlights',
|
268 |
+
'width' => '',
|
269 |
+
'height' => '',
|
270 |
+
),
|
271 |
+
'widget' => array('group' => 'miscellaneous',
|
272 |
+
'name' => 'Widget',
|
273 |
+
'width' => 950,
|
274 |
+
'height' => 400,
|
275 |
+
),
|
276 |
+
'pagination' => array('group' => 'miscellaneous',
|
277 |
+
'name' => 'Pagination Shortcode',
|
278 |
+
'width' => '',
|
279 |
+
'height' => '',
|
280 |
+
),
|
281 |
+
'carousel' => array('group' => 'interactive',
|
282 |
+
'name' => 'Carousel',
|
283 |
+
'width' => 930,
|
284 |
+
'height' => '',
|
285 |
+
),
|
286 |
+
'animation' => array('group' => 'miscellaneous',
|
287 |
+
'name' => 'Animation Shortcode',
|
288 |
+
'width' => 930,
|
289 |
+
'height' => '',
|
290 |
+
),
|
291 |
+
'vertical_space' => array('group' => 'miscellaneous',
|
292 |
+
'name' => 'Vertical Space',
|
293 |
+
'width' => '',
|
294 |
+
'height' => '',
|
295 |
+
)
|
296 |
+
);
|
297 |
Â
|
298 |
+
|
299 |
+
return $shortcodes;
|
300 |
Â
}
|
301 |
Â
|
302 |
+
|
303 |
+
|
304 |
Â
/*
|
305 |
Â
* include each shortcode php file
|
306 |
Â
*/
|
359 |
Â
} else{
|
360 |
Â
$plugin_array['oscitas_main_dropdown']=EBS_PLUGIN_URL.'js/oscitas_dropdown_3_9.js';
|
361 |
Â
}
|
362 |
+
//print_r($plugin_array);
|
363 |
Â
return $plugin_array;
|
364 |
Â
|
365 |
Â
}
|
372 |
Â
$val=get_option('EBS_SHORTCODE_PREFIX','');
|
373 |
Â
add_shortcode($val.$shortcode, $callback);
|
374 |
Â
|
375 |
+
}
|
376 |
+
|
377 |
+
|
378 |
+
add_action( 'admin_enqueue_scripts', 'ebs_js_translation_assets' );
|
379 |
+
function ebs_js_translation_assets($hook) {
|
380 |
+
wp_enqueue_script( 'ebs-js-translation-scripts', plugin_dir_url(dirname( __FILE__ )) . '/js/osc-localize.js' );
|
381 |
+
wp_localize_script( 'ebs-js-translation-scripts', 'ebsjstrans', array(
|
382 |
+
|
383 |
+
'addnewitem' => __( 'Add New Item', 'easy-bootstrap-shortcodes' ),
|
384 |
+
'alignment' => __( 'Alignment', 'easy-bootstrap-shortcodes' ),
|
385 |
+
'arrow' => __( 'Arrow', 'easy-bootstrap-shortcodes' ),
|
386 |
+
'auto' => __( 'Auto', 'easy-bootstrap-shortcodes' ),
|
387 |
+
'animated' => __( 'Animated', 'easy-bootstrap-shortcodes' ),
|
388 |
+
'add' => __( 'Add', 'easy-bootstrap-shortcodes' ),
|
389 |
+
'active' => __( 'Active', 'easy-bootstrap-shortcodes' ),
|
390 |
+
'alternate' => __( 'Alternate', 'easy-bootstrap-shortcodes' ),
|
391 |
+
'accordionnumber' => __( 'Accordion Number', 'easy-bootstrap-shortcodes' ),
|
392 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
393 |
+
|
394 |
+
|
395 |
+
|
396 |
+
|
397 |
+
'bgcolor' => __( 'Background Color', 'easy-bootstrap-shortcodes' ),
|
398 |
+
'bg' => __( 'Background', 'easy-bootstrap-shortcodes' ),
|
399 |
+
'badge' => __( 'Badge', 'easy-bootstrap-shortcodes' ),
|
400 |
+
'btngrpftrs' => __( 'Button Group Features', 'easy-bootstrap-shortcodes' ),
|
401 |
+
'button' => __( 'Button', 'easy-bootstrap-shortcodes' ),
|
402 |
+
'bottom' => __( 'Bottom', 'easy-bootstrap-shortcodes' ),
|
403 |
+
'btngrp_items' => __( 'Button Group Items', 'easy-bootstrap-shortcodes' ),
|
404 |
+
'bar' => __( 'Bar', 'easy-bootstrap-shortcodes' ),
|
405 |
+
'border' => __( 'Border', 'easy-bootstrap-shortcodes' ),
|
406 |
+
'bullets' => __( 'Bullets', 'easy-bootstrap-shortcodes' ),
|
407 |
+
'bordered' => __( 'Bordered', 'easy-bootstrap-shortcodes' ),
|
408 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
409 |
+
|
410 |
+
|
411 |
+
|
412 |
+
|
413 |
+
'customclass' => __( 'Custom Class', 'easy-bootstrap-shortcodes' ),
|
414 |
+
'color' => __( 'Color', 'easy-bootstrap-shortcodes' ),
|
415 |
+
'content' => __( 'Content', 'easy-bootstrap-shortcodes' ),
|
416 |
+
'close' => __( 'Close', 'easy-bootstrap-shortcodes' ),
|
417 |
+
'circle' => __( 'Circle', 'easy-bootstrap-shortcodes' ),
|
418 |
+
'check' => __( 'Check', 'easy-bootstrap-shortcodes' ),
|
419 |
+
'click' => __( 'Click', 'easy-bootstrap-shortcodes' ),
|
420 |
+
'custom' => __( 'Custom', 'easy-bootstrap-shortcodes' ),
|
421 |
+
'controls' => __( 'Controls', 'easy-bootstrap-shortcodes' ),
|
422 |
+
'cyclic' => __( 'Cyclic', 'easy-bootstrap-shortcodes' ),
|
423 |
+
'caption' => __( 'Caption', 'easy-bootstrap-shortcodes' ),
|
424 |
+
'columns' => __( 'Columns', 'easy-bootstrap-shortcodes' ),
|
425 |
+
'column' => __( 'Column', 'easy-bootstrap-shortcodes' ),
|
426 |
+
'clear' => __( 'Clear', 'easy-bootstrap-shortcodes' ),
|
427 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
428 |
+
|
429 |
+
|
430 |
+
|
431 |
+
|
432 |
+
|
433 |
+
'default' => __( 'Default', 'easy-bootstrap-shortcodes' ),
|
434 |
+
'danger' => __( 'Danger', 'easy-bootstrap-shortcodes' ),
|
435 |
+
'description' => __( 'Description', 'easy-bootstrap-shortcodes' ),
|
436 |
+
'dropdown' => __( 'Drop Down', 'easy-bootstrap-shortcodes' ),
|
437 |
+
'dropup' => __( 'Drop Up', 'easy-bootstrap-shortcodes' ),
|
438 |
+
'dotted' => __( 'Dotted', 'easy-bootstrap-shortcodes' ),
|
439 |
+
'dashed' => __( 'Dashed', 'easy-bootstrap-shortcodes' ),
|
440 |
+
'double' => __( 'Double', 'easy-bootstrap-shortcodes' ),
|
441 |
+
'diagonal' => __( 'Diagonal', 'easy-bootstrap-shortcodes' ),
|
442 |
+
'doublethickthin' => __( 'Double Thick Thin', 'easy-bootstrap-shortcodes' ),
|
443 |
+
'doublefadecorner' => __( 'Double Fade Corner', 'easy-bootstrap-shortcodes' ),
|
444 |
+
'division' => __( 'Division', 'easy-bootstrap-shortcodes' ),
|
445 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
446 |
+
|
447 |
+
|
448 |
+
|
449 |
+
|
450 |
+
|
451 |
+
'exsmall' => __( 'Ex-small', 'easy-bootstrap-shortcodes' ),
|
452 |
+
'enternumval' => __( 'Enter a numeric value', 'easy-bootstrap-shortcodes' ),
|
453 |
+
'effect' => __( 'Effect', 'easy-bootstrap-shortcodes' ),
|
454 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
455 |
+
|
456 |
+
|
457 |
+
|
458 |
+
|
459 |
+
|
460 |
+
'floatright' => __( 'Float Right', 'easy-bootstrap-shortcodes' ),
|
461 |
+
'features' => __( 'Features', 'easy-bootstrap-shortcodes' ),
|
462 |
+
'font' => __( 'Font', 'easy-bootstrap-shortcodes' ),
|
463 |
+
'footer' => __( 'Footer', 'easy-bootstrap-shortcodes' ),
|
464 |
+
'fadecorner' => __( 'Fade Corner', 'easy-bootstrap-shortcodes' ),
|
465 |
+
'foreground' => __( 'Foreground', 'easy-bootstrap-shortcodes' ),
|
466 |
+
'for' => __( 'For', 'easy-bootstrap-shortcodes' ),
|
467 |
+
'four' => __( 'Four', 'easy-bootstrap-shortcodes' ),
|
468 |
+
'five' => __( 'Five', 'easy-bootstrap-shortcodes' ),
|
469 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
470 |
+
|
471 |
+
|
472 |
+
|
473 |
+
|
474 |
+
|
475 |
+
'grp' => __( 'Group', 'easy-bootstrap-shortcodes' ),
|
476 |
+
'goes' => __( 'Goes', 'easy-bootstrap-shortcodes' ),
|
477 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
478 |
+
|
479 |
+
|
480 |
+
|
481 |
+
|
482 |
+
|
483 |
+
'horizontal' => __( 'Horizontal', 'easy-bootstrap-shortcodes' ),
|
484 |
+
'heading' => __( 'Heading', 'easy-bootstrap-shortcodes' ),
|
485 |
+
'hover' => __( 'Hover', 'easy-bootstrap-shortcodes' ),
|
486 |
+
'here' => __( 'Here', 'easy-bootstrap-shortcodes' ),
|
487 |
+
'hide' => __( 'Hide', 'easy-bootstrap-shortcodes' ),
|
488 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
489 |
+
|
490 |
+
|
491 |
+
|
492 |
+
|
493 |
+
'insert' => __( 'Insert', 'easy-bootstrap-shortcodes' ),
|
494 |
+
'information' => __( 'Information', 'easy-bootstrap-shortcodes' ),
|
495 |
+
'icon' => __( 'Icon', 'easy-bootstrap-shortcodes' ),
|
496 |
+
'item' => __( 'Item', 'easy-bootstrap-shortcodes' ),
|
497 |
+
'image' => __( 'Image', 'easy-bootstrap-shortcodes' ),
|
498 |
+
'include' => __( 'Include', 'easy-bootstrap-shortcodes' ),
|
499 |
+
'interval' => __( 'Interval', 'easy-bootstrap-shortcodes' ),
|
500 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
501 |
+
|
502 |
+
|
503 |
+
|
504 |
+
|
505 |
+
|
506 |
+
'justified' => __( 'Justified', 'easy-bootstrap-shortcodes' ),
|
507 |
+
'jumbotron' => __( 'Jumbotron', 'easy-bootstrap-shortcodes' ),
|
508 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
509 |
+
|
510 |
+
|
511 |
+
|
512 |
+
|
513 |
+
|
514 |
+
'large' => __( 'Large', 'easy-bootstrap-shortcodes' ),
|
515 |
+
'link' => __( 'Link', 'easy-bootstrap-shortcodes' ),
|
516 |
+
'left' => __( 'Left', 'easy-bootstrap-shortcodes' ),
|
517 |
+
'list' => __( 'List', 'easy-bootstrap-shortcodes' ),
|
518 |
+
'label' => __( 'Label', 'easy-bootstrap-shortcodes' ),
|
519 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
520 |
+
|
521 |
+
|
522 |
+
|
523 |
+
|
524 |
+
|
525 |
+
'makeblock' => __( 'Make block', 'easy-bootstrap-shortcodes' ),
|
526 |
+
'minus' => __( 'Minus', 'easy-bootstrap-shortcodes' ),
|
527 |
+
'margin' => __( 'Margin', 'easy-bootstrap-shortcodes' ),
|
528 |
+
'more' => __( 'More', 'easy-bootstrap-shortcodes' ),
|
529 |
+
'me' => __( 'Me', 'easy-bootstrap-shortcodes' ),
|
530 |
+
'medium' => __( 'Medium', 'easy-bootstrap-shortcodes' ),
|
531 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
532 |
+
|
533 |
+
|
534 |
+
|
535 |
+
|
536 |
+
|
537 |
+
'newwindow' => __( 'Open in New Window', 'easy-bootstrap-shortcodes' ),
|
538 |
+
'newtarget' => __( 'Open in new window', 'easy-bootstrap-shortcodes' ),
|
539 |
+
'noof' => __( 'No of', 'easy-bootstrap-shortcodes' ),
|
540 |
+
'notification' => __( 'Notification', 'easy-bootstrap-shortcodes' ),
|
541 |
+
'navigation' => __( 'Navigation', 'easy-bootstrap-shortcodes' ),
|
542 |
+
'new' => __( 'New', 'easy-bootstrap-shortcodes' ),
|
543 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
544 |
+
|
545 |
+
|
546 |
+
|
547 |
+
|
548 |
+
'option' => __( 'Option', 'easy-bootstrap-shortcodes' ),
|
549 |
+
'on' => __( 'On', 'easy-bootstrap-shortcodes' ),
|
550 |
+
'offset' => __( 'Offset', 'easy-bootstrap-shortcodes' ),
|
551 |
+
'one' => __( 'One', 'easy-bootstrap-shortcodes' ),
|
552 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
553 |
+
|
554 |
+
|
555 |
+
|
556 |
+
|
557 |
+
'primary' => __( 'Primary', 'easy-bootstrap-shortcodes' ),
|
558 |
+
'plus' => __( 'Plus', 'easy-bootstrap-shortcodes' ),
|
559 |
+
'popover' => __( 'Popover', 'easy-bootstrap-shortcodes' ),
|
560 |
+
'panel' => __( 'Panel', 'easy-bootstrap-shortcodes' ),
|
561 |
+
'progress' => __( 'Progress', 'easy-bootstrap-shortcodes' ),
|
562 |
+
'pause' => __( 'Pause', 'easy-bootstrap-shortcodes' ),
|
563 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
564 |
+
|
565 |
+
|
566 |
+
|
567 |
+
|
568 |
+
'rel' => __( 'Rel', 'easy-bootstrap-shortcodes' ),
|
569 |
+
'right' => __( 'Right', 'easy-bootstrap-shortcodes' ),
|
570 |
+
'rounded' => __( 'Rounded', 'easy-bootstrap-shortcodes' ),
|
571 |
+
'rule' => __( 'Rule', 'easy-bootstrap-shortcodes' ),
|
572 |
+
'radius' => __( 'Radius', 'easy-bootstrap-shortcodes' ),
|
573 |
+
'read' => __( 'Read', 'easy-bootstrap-shortcodes' ),
|
574 |
+
'rows' => __( 'Rows', 'easy-bootstrap-shortcodes' ),
|
575 |
+
'row' => __( 'Row', 'easy-bootstrap-shortcodes' ),
|
576 |
+
'responsive' => __( 'Responsive', 'easy-bootstrap-shortcodes' ),
|
577 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
578 |
+
|
579 |
+
|
580 |
+
|
581 |
+
|
582 |
+
'size' => __( 'Size', 'easy-bootstrap-shortcodes' ),
|
583 |
+
'style' => __( 'Style', 'easy-bootstrap-shortcodes' ),
|
584 |
+
'small' => __( 'Small', 'easy-bootstrap-shortcodes' ),
|
585 |
+
'simple' => __( 'Simple', 'easy-bootstrap-shortcodes' ),
|
586 |
+
'success' => __( 'Success', 'easy-bootstrap-shortcodes' ),
|
587 |
+
'select' => __( 'Select', 'easy-bootstrap-shortcodes' ),
|
588 |
+
'split' => __( 'Split', 'easy-bootstrap-shortcodes' ),
|
589 |
+
'shape' => __( 'Shape', 'easy-bootstrap-shortcodes' ),
|
590 |
+
'show' => __( 'Show', 'easy-bootstrap-shortcodes' ),
|
591 |
+
'stripped' => __( 'Stripped', 'easy-bootstrap-shortcodes' ),
|
592 |
+
'striped' => __( 'Striped', 'easy-bootstrap-shortcodes' ),
|
593 |
+
'shadow' => __( 'Shadow', 'easy-bootstrap-shortcodes' ),
|
594 |
+
'servicebox' => __( 'Service Box', 'easy-bootstrap-shortcodes' ),
|
595 |
+
'slider' => __( 'Slider', 'easy-bootstrap-shortcodes' ),
|
596 |
+
'slides' => __( 'Slides', 'easy-bootstrap-shortcodes' ),
|
597 |
+
'self' => __( 'Self', 'easy-bootstrap-shortcodes' ),
|
598 |
+
'screen' => __( 'Screen', 'easy-bootstrap-shortcodes' ),
|
599 |
+
'specification' => __( 'Specification', 'easy-bootstrap-shortcodes' ),
|
600 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
601 |
+
|
602 |
+
|
603 |
+
|
604 |
+
'type' => __( 'Type', 'easy-bootstrap-shortcodes' ),
|
605 |
+
'title' => __( 'Title', 'easy-bootstrap-shortcodes' ),
|
606 |
+
'text' => __( 'Text', 'easy-bootstrap-shortcodes' ),
|
607 |
+
'thumbnail' => __( 'Thumbnail', 'easy-bootstrap-shortcodes' ),
|
608 |
+
'top' => __( 'Top', 'easy-bootstrap-shortcodes' ),
|
609 |
+
'trigger' => __( 'Trigger', 'easy-bootstrap-shortcodes' ),
|
610 |
+
'thick' => __( 'Thick', 'easy-bootstrap-shortcodes' ),
|
611 |
+
'thin' => __( 'Thin', 'easy-bootstrap-shortcodes' ),
|
612 |
+
'table' => __( 'Table', 'easy-bootstrap-shortcodes' ),
|
613 |
+
'tabnum' => __( 'Tab number', 'easy-bootstrap-shortcodes' ),
|
614 |
+
'tab' => __( 'Tab', 'easy-bootstrap-shortcodes' ),
|
615 |
+
'target' => __( 'Target', 'easy-bootstrap-shortcodes' ),
|
616 |
+
'toggle' => __( 'Toggle', 'easy-bootstrap-shortcodes' ),
|
617 |
+
'tooltip' => __( 'Tooltip', 'easy-bootstrap-shortcodes' ),
|
618 |
+
'two' => __( 'Two', 'easy-bootstrap-shortcodes' ),
|
619 |
+
'three' => __( 'Three', 'easy-bootstrap-shortcodes' ),
|
620 |
+
'toggle' => __( 'Toggle', 'easy-bootstrap-shortcodes' ),
|
621 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
622 |
+
|
623 |
+
|
624 |
+
'upload' => __( 'Upload', 'easy-bootstrap-shortcodes' ),
|
625 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
626 |
+
|
627 |
+
|
628 |
+
|
629 |
+
'vertical' => __( 'Vertical', 'easy-bootstrap-shortcodes' ),
|
630 |
+
'value' => __( 'Value', 'easy-bootstrap-shortcodes' ),
|
631 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
632 |
+
|
633 |
+
'warning' => __( 'Warning', 'easy-bootstrap-shortcodes' ),
|
634 |
+
'wave' => __( 'Wave', 'easy-bootstrap-shortcodes' ),
|
635 |
+
'width' => __( 'Width', 'easy-bootstrap-shortcodes' ),
|
636 |
+
'well' => __( 'Well', 'easy-bootstrap-shortcodes' ),
|
637 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
638 |
+
|
639 |
+
|
640 |
+
'xsmall' => __( 'X-small', 'easy-bootstrap-shortcodes' ),
|
641 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
642 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
643 |
+
|
644 |
+
|
645 |
+
|
646 |
+
'your' => __( 'Your', 'easy-bootstrap-shortcodes' ),
|
647 |
+
|
648 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
649 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
650 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
651 |
+
|
652 |
+
|
653 |
+
'enterval0to100' => __( 'Enter a numeric value between 0 to 100, Default value is 50', 'easy-bootstrap-shortcodes' ),
|
654 |
+
'enternumvaleg20' => __( 'Enter a numeric value Ex. 20', 'easy-bootstrap-shortcodes' ),
|
655 |
+
'cantchange' => __( "Can't Change, exceeds the limit", 'easy-bootstrap-shortcodes' ),
|
656 |
+
'youcanselect' => __( 'You can select different column style for different screens such as medium, small(e.g < 992px), x-small(e.g < 768px)', 'easy-bootstrap-shortcodes' ),
|
657 |
+
'' => __( '', 'easy-bootstrap-shortcodes' ),
|
658 |
+
|
659 |
+
|
660 |
+
));
|
661 |
+
|
662 |
+
// '+ebsjstrans.+'
|
663 |
Â
}
|
shortcode/gmaps/gmaps_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var gmaps={
|
2 |
+
title:"Google Maps Shortcode",
|
3 |
+
id :'oscitas-form-gmaps',
|
4 |
+
pluginName: 'gmaps',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(gmaps);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_gmaps(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/gmaps/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_gmaps(pluginObj){
|
23 |
+
}
|
shortcode/gmaps/icon.png
ADDED
Binary file
|
shortcode/gmaps/plugin_shortcode.php
ADDED
File without changes
|
shortcode/gmaps/screenshot.jpg
ADDED
Binary file
|
shortcode/highlights/highlights_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var highlights={
|
2 |
+
title:"Highlights Shortcode",
|
3 |
+
id :'oscitas-form-highlights',
|
4 |
+
pluginName: 'highlights',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(highlights);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_highlights(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/highlights/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_highlights(pluginObj){
|
23 |
+
}
|
shortcode/highlights/icon.png
ADDED
Binary file
|
shortcode/highlights/plugin_shortcode.php
ADDED
File without changes
|
shortcode/highlights/screenshot.jpg
ADDED
Binary file
|
shortcode/icon/icon_plugin.js
CHANGED
@@ -9,32 +9,33 @@ var icon={
|
|
9 |
Â
|
10 |
Â
function ebs_return_html_icon(pluginObj){
|
11 |
Â
|
12 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
Â
<tr>\
|
14 |
-
<th><label for="oscitas-heading-icon">
|
15 |
Â
<td><div id="click_icon_list_icon" class="oscitas-icon-div"><span id="osc_show_icon_icon"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val_icon" value="glyphicon-adjust">\
|
16 |
Â
<div id="osc_show_iconlist_icon" class="oscitas-icon" style="display:none;width:100%">'+font_awesome_include('oscitas-heading-icon_icon')+'</div>\
|
17 |
Â
</td>\
|
18 |
Â
</tr>\
|
19 |
Â
<tr>\
|
20 |
-
<th><label for="oscitas-icon-iconcolor">
|
21 |
Â
<td><input type="text" name="label" id="oscitas-icon-iconcolor" class="color" value="" /><br />\
|
22 |
Â
</td>\
|
23 |
Â
</tr>\
|
24 |
Â
<tr>\
|
25 |
-
<th><label for="oscitas-icon-fontsize">
|
26 |
Â
<td><input type="text" name="line" id="oscitas-icon-fontsize" value=""/>px\
|
27 |
Â
</td>\
|
28 |
Â
</tr>\
|
29 |
Â
<tr>\
|
30 |
-
<th><label for="oscitas-icon-class">
|
31 |
Â
<td><input type="text" name="line" id="oscitas-icon-class" value=""/><br />\
|
32 |
Â
</td>\
|
33 |
Â
</tr>\
|
34 |
Â
</table>\
|
35 |
-
<p class="submit">\
|
36 |
-
<input type="button" id="oscitas-icon-submit" class="button-primary" value="
|
37 |
Â
</p>\
|
Â
|
|
38 |
Â
</div>');
|
39 |
Â
|
40 |
Â
return form;
|
9 |
Â
|
10 |
Â
function ebs_return_html_icon(pluginObj){
|
11 |
Â
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
13 |
Â
<tr>\
|
14 |
+
<th><label for="oscitas-heading-icon">'+ebsjstrans.select+' '+ebsjstrans.icon+':</label></th>\
|
15 |
Â
<td><div id="click_icon_list_icon" class="oscitas-icon-div"><span id="osc_show_icon_icon"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val_icon" value="glyphicon-adjust">\
|
16 |
Â
<div id="osc_show_iconlist_icon" class="oscitas-icon" style="display:none;width:100%">'+font_awesome_include('oscitas-heading-icon_icon')+'</div>\
|
17 |
Â
</td>\
|
18 |
Â
</tr>\
|
19 |
Â
<tr>\
|
20 |
+
<th><label for="oscitas-icon-iconcolor">'+ebsjstrans.icon+' '+ebsjstrans.color+':</label></th>\
|
21 |
Â
<td><input type="text" name="label" id="oscitas-icon-iconcolor" class="color" value="" /><br />\
|
22 |
Â
</td>\
|
23 |
Â
</tr>\
|
24 |
Â
<tr>\
|
25 |
+
<th><label for="oscitas-icon-fontsize">'+ebsjstrans.icon+' '+ebsjstrans.font+' '+ebsjstrans.size+':</label></th>\
|
26 |
Â
<td><input type="text" name="line" id="oscitas-icon-fontsize" value=""/>px\
|
27 |
Â
</td>\
|
28 |
Â
</tr>\
|
29 |
Â
<tr>\
|
30 |
+
<th><label for="oscitas-icon-class">'+ebsjstrans.customclass+':</label></th>\
|
31 |
Â
<td><input type="text" name="line" id="oscitas-icon-class" value=""/><br />\
|
32 |
Â
</td>\
|
33 |
Â
</tr>\
|
34 |
Â
</table>\
|
35 |
+
<p class="submit ebs-default-options">\
|
36 |
+
<input type="button" id="oscitas-icon-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.icon+'" name="submit" />\
|
37 |
Â
</p>\
|
38 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/icon/screenshot.jpg"/></div>\
|
39 |
Â
</div>');
|
40 |
Â
|
41 |
Â
return form;
|
shortcode/icon/screenshot.jpg
ADDED
Binary file
|
shortcode/iconhead/iconhead_plugin.js
CHANGED
@@ -8,20 +8,20 @@ var iconhead={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_iconhead(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
Â
<tr>\
|
13 |
-
<th><label for="oscitas-heading-icon">
|
14 |
Â
<td><div id="click_icon_list" class="oscitas-icon-div"><span id="osc_show_icon"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val" value="">\
|
15 |
Â
<div id="osc_show_iconlist" class="oscitas-icon" style="display:none;width:100%">'+font_awesome_include('oscitas-heading-icon')+'</div>\
|
16 |
Â
</td>\
|
17 |
Â
</tr>\
|
18 |
Â
<tr>\
|
19 |
-
<th><label for="oscitas-iconhead-iconcolor">
|
20 |
Â
<td><input type="text" name="label" id="oscitas-iconhead-iconcolor" class="color" value="" /><br />\
|
21 |
Â
</td>\
|
22 |
Â
</tr>\
|
23 |
Â
<tr>\
|
24 |
-
<th><label for="oscitas-iconhead-headingtype">
|
25 |
Â
<td><select name="oscitas-iconhead-headingtype" id="oscitas-iconhead-headingtype">\
|
26 |
Â
<option value="h1">H1</option>\
|
27 |
Â
<option value="h2">H2</option>\
|
@@ -33,19 +33,20 @@ function ebs_return_html_iconhead(pluginObj){
|
|
33 |
Â
</td>\
|
34 |
Â
</tr>\
|
35 |
Â
<tr>\
|
36 |
-
<th><label for="oscitas-iconhead-heading">
|
37 |
-
<td><input type="text" name="oscitas-iconhead-heading" id="oscitas-iconhead-heading" value="
|
38 |
Â
</td>\
|
39 |
Â
</tr>\
|
40 |
Â
<tr>\
|
41 |
-
<th><label for="oscitas-iconhead-class">
|
42 |
Â
<td><input type="text" name="line" id="oscitas-iconhead-class" value=""/><br />\
|
43 |
Â
</td>\
|
44 |
Â
</tr>\
|
45 |
Â
</table>\
|
46 |
-
<p class="submit">\
|
47 |
-
<input type="button" id="oscitas-iconhead-submit" class="button-primary" value="
|
48 |
Â
</p>\
|
Â
|
|
49 |
Â
</div>');
|
50 |
Â
return form;
|
51 |
Â
}
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_iconhead(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
Â
<tr>\
|
13 |
+
<th><label for="oscitas-heading-icon">'+ebsjstrans.select+' '+ebsjstrans.icon+':</label></th>\
|
14 |
Â
<td><div id="click_icon_list" class="oscitas-icon-div"><span id="osc_show_icon"></span><span class="show-drop"></span></div><input type="hidden" id="osc_icon_class_val" value="">\
|
15 |
Â
<div id="osc_show_iconlist" class="oscitas-icon" style="display:none;width:100%">'+font_awesome_include('oscitas-heading-icon')+'</div>\
|
16 |
Â
</td>\
|
17 |
Â
</tr>\
|
18 |
Â
<tr>\
|
19 |
+
<th><label for="oscitas-iconhead-iconcolor">'+ebsjstrans.icon+' '+ebsjstrans.color+':</label></th>\
|
20 |
Â
<td><input type="text" name="label" id="oscitas-iconhead-iconcolor" class="color" value="" /><br />\
|
21 |
Â
</td>\
|
22 |
Â
</tr>\
|
23 |
Â
<tr>\
|
24 |
+
<th><label for="oscitas-iconhead-headingtype">'+ebsjstrans.heading+' '+ebsjstrans.type+':</label></th>\
|
25 |
Â
<td><select name="oscitas-iconhead-headingtype" id="oscitas-iconhead-headingtype">\
|
26 |
Â
<option value="h1">H1</option>\
|
27 |
Â
<option value="h2">H2</option>\
|
33 |
Â
</td>\
|
34 |
Â
</tr>\
|
35 |
Â
<tr>\
|
36 |
+
<th><label for="oscitas-iconhead-heading">'+ebsjstrans.heading+':</label></th>\
|
37 |
+
<td><input type="text" name="oscitas-iconhead-heading" id="oscitas-iconhead-heading" value="'+ebsjstrans.heading+'"/><br />\
|
38 |
Â
</td>\
|
39 |
Â
</tr>\
|
40 |
Â
<tr>\
|
41 |
+
<th><label for="oscitas-iconhead-class">'+ebsjstrans.customclass+':</label></th>\
|
42 |
Â
<td><input type="text" name="line" id="oscitas-iconhead-class" value=""/><br />\
|
43 |
Â
</td>\
|
44 |
Â
</tr>\
|
45 |
Â
</table>\
|
46 |
+
<p class="submit ebs-default-options">\
|
47 |
+
<input type="button" id="oscitas-iconhead-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.icon+' '+ebsjstrans.heading+'" name="submit" />\
|
48 |
Â
</p>\
|
49 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/iconhead/screenshot.jpg"/></div>\
|
50 |
Â
</div>');
|
51 |
Â
return form;
|
52 |
Â
}
|
shortcode/iconhead/screenshot.jpg
ADDED
Binary file
|
shortcode/image/image_plugin.js
CHANGED
@@ -8,30 +8,31 @@ var image={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_image(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
-
<tr><th><label for="oscitas-label-content">
|
13 |
Â
<td id="osc_image_upload"><input id="oscitas-image-src" type="hidden" name="oscitas-thumbnail-src" value="" />\
|
14 |
-
<input id="_btn" class="upload_image_button" type="button" value="
|
15 |
Â
</td>\
|
16 |
Â
</tr>\
|
17 |
Â
<tr>\
|
18 |
-
<th><label for="oscitas-image-shape">
|
19 |
Â
<td><select name="oscitas-image-shape" id="oscitas-image-shape">\
|
20 |
-
<option value="img-rounded">
|
21 |
-
<option value="img-circle">
|
22 |
-
<option value="img-thumbnail">
|
23 |
Â
</select>\
|
24 |
Â
</td>\
|
25 |
Â
</tr>\
|
26 |
Â
<tr>\
|
27 |
-
<th><label for="oscitas-image-class">
|
28 |
Â
<td><input type="text" name="line" id="oscitas-image-class" value=""/><br />\
|
29 |
Â
</td>\
|
30 |
Â
</tr>\
|
31 |
Â
</table>\
|
32 |
-
<p class="submit">\
|
33 |
-
<input type="button" id="oscitas-image-submit" class="button-primary" value="
|
34 |
Â
</p>\
|
Â
|
|
35 |
Â
</div>');
|
36 |
Â
return form;
|
37 |
Â
}
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_image(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
+
<tr><th><label for="oscitas-label-content">'+ebsjstrans.upload+' '+ebsjstrans.image+':</label></th>\
|
13 |
Â
<td id="osc_image_upload"><input id="oscitas-image-src" type="hidden" name="oscitas-thumbnail-src" value="" />\
|
14 |
+
<input id="_btn" class="upload_image_button" type="button" value="'+ebsjstrans.upload+' '+ebsjstrans.image+'" />\
|
15 |
Â
</td>\
|
16 |
Â
</tr>\
|
17 |
Â
<tr>\
|
18 |
+
<th><label for="oscitas-image-shape">'+ebsjstrans.image+' '+ebsjstrans.shape+':</label></th>\
|
19 |
Â
<td><select name="oscitas-image-shape" id="oscitas-image-shape">\
|
20 |
+
<option value="img-rounded">'+ebsjstrans.rounded+'</option>\
|
21 |
+
<option value="img-circle">'+ebsjstrans.circle+'</option>\
|
22 |
+
<option value="img-thumbnail">'+ebsjstrans.thumbnail+'</option>\
|
23 |
Â
</select>\
|
24 |
Â
</td>\
|
25 |
Â
</tr>\
|
26 |
Â
<tr>\
|
27 |
+
<th><label for="oscitas-image-class">'+ebsjstrans.customclass+':</label></th>\
|
28 |
Â
<td><input type="text" name="line" id="oscitas-image-class" value=""/><br />\
|
29 |
Â
</td>\
|
30 |
Â
</tr>\
|
31 |
Â
</table>\
|
32 |
+
<p class="submit ebs-default-options">\
|
33 |
+
<input type="button" id="oscitas-image-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.image+'" name="submit" />\
|
34 |
Â
</p>\
|
35 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/image/screenshot.jpg"/></div>\
|
36 |
Â
</div>');
|
37 |
Â
return form;
|
38 |
Â
}
|
shortcode/image/screenshot.jpg
ADDED
Binary file
|
shortcode/jumbotron/jumbotron_plugin.js
CHANGED
@@ -8,20 +8,21 @@ var jumbotron={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_jumbotron(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
Â
<tr>\
|
13 |
-
<th><label for="oscitas-jumbotron-bgcolor">
|
14 |
Â
<td><input type="text" class="color" name="bgcolor" id="oscitas-jumbotron-bgcolor" value="">\
|
15 |
Â
</tr>\
|
16 |
Â
<tr>\
|
17 |
-
<th><label for="oscitas-jumbotron-class">
|
18 |
Â
<td><input type="text" name="class" id="oscitas-jumbotron-class" value=""/>\
|
19 |
Â
</td>\
|
20 |
Â
</tr>\
|
21 |
Â
</table>\
|
22 |
-
<p class="submit">\
|
23 |
-
<input type="button" id="oscitas-jumbotron-submit" class="button-primary" value="
|
24 |
Â
</p>\
|
Â
|
|
25 |
Â
</div>');
|
26 |
Â
return form;
|
27 |
Â
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_jumbotron(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
Â
<tr>\
|
13 |
+
<th><label for="oscitas-jumbotron-bgcolor">'+ebsjstrans.bgcolor+'</label></th>\
|
14 |
Â
<td><input type="text" class="color" name="bgcolor" id="oscitas-jumbotron-bgcolor" value="">\
|
15 |
Â
</tr>\
|
16 |
Â
<tr>\
|
17 |
+
<th><label for="oscitas-jumbotron-class">'+ebsjstrans.customclass+'</label></th>\
|
18 |
Â
<td><input type="text" name="class" id="oscitas-jumbotron-class" value=""/>\
|
19 |
Â
</td>\
|
20 |
Â
</tr>\
|
21 |
Â
</table>\
|
22 |
+
<p class="submit ebs-default-options">\
|
23 |
+
<input type="button" id="oscitas-jumbotron-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.jumbotron+'" name="submit" />\
|
24 |
Â
</p>\
|
25 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/jumbotron/screenshot.jpg"/></div>\
|
26 |
Â
</div>');
|
27 |
Â
return form;
|
28 |
Â
|
shortcode/jumbotron/screenshot.jpg
ADDED
Binary file
|
shortcode/labels/labels_plugin.js
CHANGED
@@ -8,33 +8,35 @@ var labels={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_labels(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
Â
<tr>\
|
13 |
-
<th><label for="oscitas-label-type">
|
14 |
-
<td
|
15 |
-
<
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
Â
|
|
22 |
Â
</td>\
|
23 |
Â
</tr>\
|
24 |
Â
<tr>\
|
25 |
-
<th><label for="oscitas-label-content">
|
26 |
Â
<td><input type="text" name="label" id="oscitas-label-content" value="Label"/><br />\
|
27 |
Â
</td>\
|
28 |
Â
</tr>\
|
29 |
Â
<tr>\
|
30 |
-
<th><label for="oscitas-label-class">
|
31 |
Â
<td><input type="text" name="line" id="oscitas-label-class" value=""/><br />\
|
32 |
Â
</td>\
|
33 |
Â
</tr>\
|
34 |
Â
</table>\
|
35 |
-
<p class="submit">\
|
36 |
-
<input type="button" id="oscitas-label-submit" class="button-primary" value="
|
37 |
Â
</p>\
|
Â
|
|
38 |
Â
</div>');
|
39 |
Â
return form;
|
40 |
Â
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_labels(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
Â
<tr>\
|
13 |
+
<th><label for="oscitas-label-type">'+ebsjstrans.label+' '+ebsjstrans.type+':</label></th>\
|
14 |
+
<td>\
|
15 |
+
<select name="type" id="oscitas-label-type">\
|
16 |
+
<option value="label-default">'+ebsjstrans.simple+'</option>\
|
17 |
+
<option value="label-primary">'+ebsjstrans.primary+'</option>\
|
18 |
+
<option value="label-success">'+ebsjstrans.success+'</option>\
|
19 |
+
<option value="label-info">'+ebsjstrans.information+'</option>\
|
20 |
+
<option value="label-warning">'+ebsjstrans.warning+'</option>\
|
21 |
+
<option value="label-danger">'+ebsjstrans.danger+'</option>\
|
22 |
+
</select><br />\
|
23 |
Â
</td>\
|
24 |
Â
</tr>\
|
25 |
Â
<tr>\
|
26 |
+
<th><label for="oscitas-label-content">'+ebsjstrans.label+' '+ebsjstrans.content+':</label></th>\
|
27 |
Â
<td><input type="text" name="label" id="oscitas-label-content" value="Label"/><br />\
|
28 |
Â
</td>\
|
29 |
Â
</tr>\
|
30 |
Â
<tr>\
|
31 |
+
<th><label for="oscitas-label-class">'+ebsjstrans.customclass+':</label></th>\
|
32 |
Â
<td><input type="text" name="line" id="oscitas-label-class" value=""/><br />\
|
33 |
Â
</td>\
|
34 |
Â
</tr>\
|
35 |
Â
</table>\
|
36 |
+
<p class="submit ebs-default-options">\
|
37 |
+
<input type="button" id="oscitas-label-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.label+'" name="submit" />\
|
38 |
Â
</p>\
|
39 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/labels/screenshot.jpg"/></div>\
|
40 |
Â
</div>');
|
41 |
Â
return form;
|
42 |
Â
|
shortcode/labels/screenshot.jpg
ADDED
Binary file
|
shortcode/lead/icon.png
ADDED
Binary file
|
shortcode/lead/lead_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var lead={
|
2 |
+
title:"Lead Shortcode",
|
3 |
+
id :'oscitas-form-lead',
|
4 |
+
pluginName: 'lead',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(lead);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_lead(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/lead/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_lead(pluginObj){
|
23 |
+
}
|
shortcode/lead/plugin_shortcode.php
ADDED
File without changes
|
shortcode/lead/screenshot.jpg
ADDED
Binary file
|
shortcode/lists/lists_plugin.js
CHANGED
@@ -8,32 +8,33 @@ var lists={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_lists(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
Â
<tr>\
|
13 |
-
<th><label for="oscitas-type">
|
14 |
Â
<td><select name="type" id="oscitas-type">\
|
15 |
-
|
16 |
-
<option value="glyphicon-arrow-right">
|
17 |
-
<option value="glyphicon-ok">
|
18 |
-
<option value="glyphicon-plus">
|
19 |
-
<option value="glyphicon-minus">
|
20 |
Â
</select><br />\
|
21 |
Â
</td>\
|
22 |
Â
</tr>\
|
23 |
Â
<tr>\
|
24 |
-
<th><label for="oscitas-line">
|
25 |
-
<td><input type="text" name="line" id="oscitas-list-item" value="3"/><br /><small>
|
26 |
Â
</td>\
|
27 |
Â
</tr>\
|
28 |
Â
<tr>\
|
29 |
-
<th><label for="oscitas-list-class">
|
30 |
Â
<td><input type="text" name="line" id="oscitas-list-class" value=""/><br />\
|
31 |
Â
</td>\
|
32 |
Â
</tr>\
|
33 |
Â
</table>\
|
34 |
-
<p class="submit">\
|
35 |
-
<input type="button" id="oscitas-submit" class="button-primary" value="
|
36 |
Â
</p>\
|
Â
|
|
37 |
Â
</div>');
|
38 |
Â
return form;
|
39 |
Â
}
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_lists(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
Â
<tr>\
|
13 |
+
<th><label for="oscitas-type">'+ebsjstrans.list+' '+ebsjstrans.style+'</label></th>\
|
14 |
Â
<td><select name="type" id="oscitas-type">\
|
15 |
+
<option value="">None</option>\
|
16 |
+
<option value="glyphicon-arrow-right">'+ebsjstrans.arrow+'</option>\
|
17 |
+
<option value="glyphicon-ok">'+ebsjstrans.check+'</option>\
|
18 |
+
<option value="glyphicon-plus">'+ebsjstrans.plus+'</option>\
|
19 |
+
<option value="glyphicon-minus">'+ebsjstrans.minus+'</option>\
|
20 |
Â
</select><br />\
|
21 |
Â
</td>\
|
22 |
Â
</tr>\
|
23 |
Â
<tr>\
|
24 |
+
<th><label for="oscitas-line">'+ebsjstrans.noof+' '+ebsjstrans.list+' '+ebsjstrans.item+'</label></th>\
|
25 |
+
<td><input type="text" name="line" id="oscitas-list-item" value="3"/><br /><small>'+ebsjstrans.enternumval+'</small>\
|
26 |
Â
</td>\
|
27 |
Â
</tr>\
|
28 |
Â
<tr>\
|
29 |
+
<th><label for="oscitas-list-class">'+ebsjstrans.customclass+':</label></th>\
|
30 |
Â
<td><input type="text" name="line" id="oscitas-list-class" value=""/><br />\
|
31 |
Â
</td>\
|
32 |
Â
</tr>\
|
33 |
Â
</table>\
|
34 |
+
<p class="submit ebs-default-options">\
|
35 |
+
<input type="button" id="oscitas-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.list+'" name="submit" />\
|
36 |
Â
</p>\
|
37 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/lists/screenshot.jpg"/></div>\
|
38 |
Â
</div>');
|
39 |
Â
return form;
|
40 |
Â
}
|
shortcode/lists/screenshot.jpg
ADDED
Binary file
|
shortcode/notifications/notifications_plugin.js
CHANGED
@@ -8,31 +8,32 @@ var notifications={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_notifications(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
Â
<tr>\
|
13 |
-
<th><label for="oscitas-type">
|
14 |
Â
<td><select name="type" id="oscitas-type">\
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
Â
</select><br />\
|
20 |
Â
</td>\
|
21 |
Â
</tr>\
|
22 |
Â
<tr>\
|
23 |
-
<th><label for="oscitas-line">
|
24 |
Â
<td><input type="checkbox" id="oscitas-close"/><br />\
|
25 |
Â
</td>\
|
26 |
Â
</tr>\
|
27 |
Â
<tr>\
|
28 |
-
<th><label for="oscitas-note-class">
|
29 |
Â
<td><input type="text" name="line" id="oscitas-note-class" value=""/><br />\
|
30 |
Â
</td>\
|
31 |
Â
</tr>\
|
32 |
Â
</table>\
|
33 |
-
<p class="submit">\
|
34 |
-
<input type="button" id="oscitas-submit" class="button-primary" value="
|
35 |
Â
</p>\
|
Â
|
|
36 |
Â
</div>');
|
37 |
Â
return form;
|
38 |
Â
}
|
@@ -64,8 +65,7 @@ function create_oscitas_notifications(pluginObj){
|
|
64 |
Â
}
|
65 |
Â
|
66 |
Â
var selected_content = tinyMCE.activeEditor.selection.getContent();
|
67 |
-
if(!selected_content)
|
68 |
-
var selected_content = 'Your notification';
|
69 |
Â
shortcode += ' close="'+(table.find('#oscitas-close').prop('checked')? 'true': 'false')+ '" ';
|
70 |
Â
|
71 |
Â
shortcode += cusclass+']'+selected_content+'[/'+$ebs_prefix+'notification]';
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_notifications(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
Â
<tr>\
|
13 |
+
<th><label for="oscitas-type">'+ebsjstrans.style+' :</label></th>\
|
14 |
Â
<td><select name="type" id="oscitas-type">\
|
15 |
+
<option value="alert-success">'+ebsjstrans.success+'</option>\
|
16 |
+
<option value="alert-info">'+ebsjstrans.information+'</option>\
|
17 |
+
<option value="alert-warning">'+ebsjstrans.warning+'</option>\
|
18 |
+
<option value="alert-danger">'+ebsjstrans.danger+'</option>\
|
19 |
Â
</select><br />\
|
20 |
Â
</td>\
|
21 |
Â
</tr>\
|
22 |
Â
<tr>\
|
23 |
+
<th><label for="oscitas-line">'+ebsjstrans.close+' '+ebsjstrans.link+'</label></th>\
|
24 |
Â
<td><input type="checkbox" id="oscitas-close"/><br />\
|
25 |
Â
</td>\
|
26 |
Â
</tr>\
|
27 |
Â
<tr>\
|
28 |
+
<th><label for="oscitas-note-class">'+ebsjstrans.customclass+':</label></th>\
|
29 |
Â
<td><input type="text" name="line" id="oscitas-note-class" value=""/><br />\
|
30 |
Â
</td>\
|
31 |
Â
</tr>\
|
32 |
Â
</table>\
|
33 |
+
<p class="submit ebs-default-options">\
|
34 |
+
<input type="button" id="oscitas-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.notification+'" name="submit" />\
|
35 |
Â
</p>\
|
36 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/notifications/screenshot.jpg"/></div>\
|
37 |
Â
</div>');
|
38 |
Â
return form;
|
39 |
Â
}
|
65 |
Â
}
|
66 |
Â
|
67 |
Â
var selected_content = tinyMCE.activeEditor.selection.getContent();
|
68 |
+
if(!selected_content) var selected_content = ebsjstrans.your+' '+ebsjstrans.notification; //'Your notification';
|
Â
|
|
69 |
Â
shortcode += ' close="'+(table.find('#oscitas-close').prop('checked')? 'true': 'false')+ '" ';
|
70 |
Â
|
71 |
Â
shortcode += cusclass+']'+selected_content+'[/'+$ebs_prefix+'notification]';
|
shortcode/notifications/screenshot.jpg
ADDED
Binary file
|
shortcode/oscpopover/oscpopover_plugin.js
CHANGED
@@ -8,74 +8,75 @@ var oscpopover={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_oscpopover(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
Â
<tr>\
|
13 |
-
<th><label for="oscitas-popover-style">
|
14 |
Â
<td><select name="oscitas-popover-style" id="oscitas-popover-style">\
|
15 |
-
<option value="top">
|
16 |
-
<option value="bottom">
|
17 |
-
<option value="left">
|
18 |
-
<option value="right">
|
19 |
-
<option value="auto">
|
20 |
Â
</select><br />\
|
21 |
Â
</td>\
|
22 |
Â
</tr>\
|
23 |
Â
<tr>\
|
24 |
-
<th><label for="oscitas-popover-title">Popover Title Text:</label></th>\
|
25 |
-
<td><input type="text" name="popover-title" id="oscitas-popover-title" value="
|
26 |
Â
</td>\
|
27 |
Â
</tr>\
|
28 |
Â
</tr>\
|
29 |
Â
<tr>\
|
30 |
-
<th><label for="oscitas-popover-content">
|
31 |
-
<td><textarea " name="popover-content" id="oscitas-popover-content">
|
32 |
Â
</td>\
|
33 |
Â
</tr>\
|
34 |
Â
<tr>\
|
35 |
-
<th><label for="oscitas-pbutton-trigger">
|
36 |
Â
<td><select name="tigger" id="oscitas-pbutton-trigger">\
|
37 |
-
<option value="click">
|
38 |
-
<option value="hover">
|
39 |
Â
</select><br />\
|
40 |
Â
</td>\
|
41 |
Â
</tr >\
|
42 |
Â
<tr>\
|
43 |
-
<th><label for="oscitas-pbutton-size">
|
44 |
Â
<td><select name="size" id="oscitas-pbutton-size">\
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
Â
</select><br />\
|
50 |
Â
</td>\
|
51 |
Â
</tr >\
|
52 |
Â
<tr>\
|
53 |
-
<th><label for="oscitas-pbutton-type">
|
54 |
Â
<td><select name="type" id="oscitas-pbutton-type">\
|
55 |
-
|
56 |
-
<option value="btn-primary">
|
57 |
-
<option value="btn-success">
|
58 |
-
<option value="btn-info">
|
59 |
-
<option value="btn-warning">
|
60 |
-
<option value="btn-danger">
|
61 |
-
<option value="btn-link">
|
62 |
Â
</select><br />\
|
63 |
Â
</td>\
|
64 |
Â
</tr >\
|
65 |
Â
<tr>\
|
66 |
-
<th><label for="oscitas-popover-button-text">
|
67 |
-
<td><input type="text" name="link-text" id="oscitas-popover-button-text" value="
|
68 |
Â
</td>\
|
69 |
Â
</tr>\
|
70 |
Â
<tr>\
|
71 |
-
<th><label for="oscitas-popover-class">
|
72 |
Â
<td><input type="text" name="line" id="oscitas-popover-class" value=""/><br />\
|
73 |
Â
</td>\
|
74 |
Â
</tr>\
|
75 |
Â
</table>\
|
76 |
-
<p class="submit">\
|
77 |
-
<input type="button" id="oscitas-popover-submit" class="button-primary" value="
|
78 |
Â
</p>\
|
Â
|
|
79 |
Â
</div>');
|
80 |
Â
return form;
|
81 |
Â
}
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_oscpopover(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
Â
<tr>\
|
13 |
+
<th><label for="oscitas-popover-style">'+ebsjstrans.popover+' '+ebsjstrans.style+':</label></th>\
|
14 |
Â
<td><select name="oscitas-popover-style" id="oscitas-popover-style">\
|
15 |
+
<option value="top">'+ebsjstrans.top+'</option>\
|
16 |
+
<option value="bottom">'+ebsjstrans.bottom+'</option>\
|
17 |
+
<option value="left">'+ebsjstrans.left+'</option>\
|
18 |
+
<option value="right">'+ebsjstrans.right+'</option>\
|
19 |
+
<option value="auto">'+ebsjstrans.auto+'</option>\
|
20 |
Â
</select><br />\
|
21 |
Â
</td>\
|
22 |
Â
</tr>\
|
23 |
Â
<tr>\
|
24 |
+
<th><label for="oscitas-popover-title">'+ebsjstrans.popover+' '+ebsjstrans.title+' '+ebsjstrans.text+'Popover Title Text:</label></th>\
|
25 |
+
<td><input type="text" name="popover-title" id="oscitas-popover-title" value="'+ebsjstrans.title+'"/><br />\
|
26 |
Â
</td>\
|
27 |
Â
</tr>\
|
28 |
Â
</tr>\
|
29 |
Â
<tr>\
|
30 |
+
<th><label for="oscitas-popover-content">'+ebsjstrans.popover+' '+ebsjstrans.content+':</label></th>\
|
31 |
+
<td><textarea " name="popover-content" id="oscitas-popover-content">'+ebsjstrans.your+' '+ebsjstrans.content+'</textarea><br />\
|
32 |
Â
</td>\
|
33 |
Â
</tr>\
|
34 |
Â
<tr>\
|
35 |
+
<th><label for="oscitas-pbutton-trigger">'+ebsjstrans.trigger+' '+ebsjstrans.popover+' '+ebsjstrans.on+':</label></th>\
|
36 |
Â
<td><select name="tigger" id="oscitas-pbutton-trigger">\
|
37 |
+
<option value="click">'+ebsjstrans.click+'</option>\
|
38 |
+
<option value="hover">'+ebsjstrans.hover+'</option>\
|
39 |
Â
</select><br />\
|
40 |
Â
</td>\
|
41 |
Â
</tr >\
|
42 |
Â
<tr>\
|
43 |
+
<th><label for="oscitas-pbutton-size">'+ebsjstrans.button+' '+ebsjstrans.size+':</label></th>\
|
44 |
Â
<td><select name="size" id="oscitas-pbutton-size">\
|
45 |
+
<option value="">'+ebsjstrans.default+'</option>\
|
46 |
+
<option value="btn-lg">'+ebsjstrans.large+'</option>\
|
47 |
+
<option value="btn-sm">'+ebsjstrans.small+'</option>\
|
48 |
+
<option value="btn-xs">'+ebsjstrans.exsmall+'</option>\
|
49 |
Â
</select><br />\
|
50 |
Â
</td>\
|
51 |
Â
</tr >\
|
52 |
Â
<tr>\
|
53 |
+
<th><label for="oscitas-pbutton-type">'+ebsjstrans.button+' '+ebsjstrans.type+':</label></th>\
|
54 |
Â
<td><select name="type" id="oscitas-pbutton-type">\
|
55 |
+
<option value="btn-default">'+ebsjstrans.simple+'</option>\
|
56 |
+
<option value="btn-primary">'+ebsjstrans.primary+'</option>\
|
57 |
+
<option value="btn-success">'+ebsjstrans.success+'</option>\
|
58 |
+
<option value="btn-info">'+ebsjstrans.information+'</option>\
|
59 |
+
<option value="btn-warning">'+ebsjstrans.warning+'</option>\
|
60 |
+
<option value="btn-danger">'+ebsjstrans.danger+'</option>\
|
61 |
+
<option value="btn-link">'+ebsjstrans.link+'</option>\
|
62 |
Â
</select><br />\
|
63 |
Â
</td>\
|
64 |
Â
</tr >\
|
65 |
Â
<tr>\
|
66 |
+
<th><label for="oscitas-popover-button-text">'+ebsjstrans.button+' '+ebsjstrans.text+':</label></th>\
|
67 |
+
<td><input type="text" name="link-text" id="oscitas-popover-button-text" value="'+ebsjstrans.popover+'"/><br />\
|
68 |
Â
</td>\
|
69 |
Â
</tr>\
|
70 |
Â
<tr>\
|
71 |
+
<th><label for="oscitas-popover-class">'+ebsjstrans.customclass+':</label></th>\
|
72 |
Â
<td><input type="text" name="line" id="oscitas-popover-class" value=""/><br />\
|
73 |
Â
</td>\
|
74 |
Â
</tr>\
|
75 |
Â
</table>\
|
76 |
+
<p class="submit ebs-default-options">\
|
77 |
+
<input type="button" id="oscitas-popover-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.popover+'" name="submit" />\
|
78 |
Â
</p>\
|
79 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/oscpopover/screenshot.jpg"/></div>\
|
80 |
Â
</div>');
|
81 |
Â
return form;
|
82 |
Â
}
|
shortcode/oscpopover/screenshot.jpg
ADDED
Binary file
|
shortcode/oscpopups/icon.png
ADDED
Binary file
|
shortcode/oscpopups/oscpopups_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var oscpopups={
|
2 |
+
title:"Popups Shortcode",
|
3 |
+
id :'oscitas-form-oscpopups',
|
4 |
+
pluginName: 'oscpopups',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(oscpopups);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_oscpopups(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/oscpopups/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_oscpopups(pluginObj){
|
23 |
+
}
|
shortcode/oscpopups/plugin_shortcode.php
ADDED
File without changes
|
shortcode/oscpopups/screenshot.jpg
ADDED
Binary file
|
shortcode/pageheader/icon.png
ADDED
Binary file
|
shortcode/pageheader/pageheader_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var pageheader={
|
2 |
+
title:"Page Header Shortcode",
|
3 |
+
id :'oscitas-form-pageheader',
|
4 |
+
pluginName: 'pageheader',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(pageheader);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_pageheader(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/pageheader/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_pageheader(pluginObj){
|
23 |
+
}
|
shortcode/pageheader/plugin_shortcode.php
ADDED
File without changes
|
shortcode/pageheader/screenshot.jpg
ADDED
Binary file
|
shortcode/pagination/icon.png
ADDED
Binary file
|
shortcode/pagination/pagination_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var pagination={
|
2 |
+
title:"Pagination Shortcode",
|
3 |
+
id :'oscitas-form-pagination',
|
4 |
+
pluginName: 'pagination',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(pagination);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_pagination(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/pagination/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_pagination(pluginObj){
|
23 |
+
}
|
shortcode/pagination/plugin_shortcode.php
ADDED
File without changes
|
shortcode/pagination/screenshot.jpg
ADDED
Binary file
|
shortcode/panel/panel_plugin.js
CHANGED
@@ -8,33 +8,34 @@ var panel={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_panel(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
Â
<tr>\
|
13 |
-
<th><label for="oscitas-type">
|
14 |
Â
<td><select name="type" id="oscitas-panel-type">\
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
Â
</select><br />\
|
22 |
Â
</td>\
|
23 |
Â
</tr>\
|
24 |
Â
<tr>\
|
25 |
-
<th><label for="oscitas-line">
|
26 |
Â
<td><input type="checkbox" id="oscitas-panel-footer"/><br />\
|
27 |
Â
</td>\
|
28 |
Â
</tr>\
|
29 |
Â
<tr>\
|
30 |
-
<th><label for="oscitas-panel-class">
|
31 |
Â
<td><input type="text" name="line" id="oscitas-panel-class" value=""/><br />\
|
32 |
Â
</td>\
|
33 |
Â
</tr>\
|
34 |
Â
</table>\
|
35 |
-
<p class="submit">\
|
36 |
-
<input type="button" id="oscitas-submit" class="button-primary" value="
|
37 |
Â
</p>\
|
Â
|
|
38 |
Â
</div>');
|
39 |
Â
return form;
|
40 |
Â
}
|
@@ -54,9 +55,9 @@ function create_oscitas_panel(pluginObj){
|
|
54 |
Â
cusclass= ' class="'+table.find('#oscitas-panel-class').val()+'"';
|
55 |
Â
}
|
56 |
Â
var shortcode = '['+$ebs_prefix+'panel style="'+table.find('#oscitas-panel-type').val()+ '"'+cusclass+']';
|
57 |
-
shortcode += '<br/>['+$ebs_prefix+'panel-header]<br/>
|
58 |
Â
//shortcode += (table.find('#oscitas-panel-header').prop('checked')? '[panel-header]<br/>Heading goes here<br/>[/panel-header]': '');
|
59 |
-
shortcode += '<br/>['+$ebs_prefix+'panel-content]<br/>
|
60 |
Â
shortcode += (table.find('#oscitas-panel-footer').prop('checked')? '<br/>['+$ebs_prefix+'panel-footer]<br/>Footer goes here<br/>[/'+$ebs_prefix+'panel-footer]': '');
|
61 |
Â
shortcode += '<br/>[/'+$ebs_prefix+'panel]';
|
62 |
Â
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_panel(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
Â
<tr>\
|
13 |
+
<th><label for="oscitas-type">'+ebsjstrans.style+':</label></th>\
|
14 |
Â
<td><select name="type" id="oscitas-panel-type">\
|
15 |
+
<option value="panel-default">'+ebsjstrans.simple+'</option>\
|
16 |
+
<option value="panel-primary">'+ebsjstrans.primary+'</option>\
|
17 |
+
<option value="panel-success">'+ebsjstrans.success+'</option>\
|
18 |
+
<option value="panel-info">'+ebsjstrans.information+'</option>\
|
19 |
+
<option value="panel-warning">'+ebsjstrans.warning+'</option>\
|
20 |
+
<option value="panel-danger">'+ebsjstrans.danger+'</option>\
|
21 |
Â
</select><br />\
|
22 |
Â
</td>\
|
23 |
Â
</tr>\
|
24 |
Â
<tr>\
|
25 |
+
<th><label for="oscitas-line">'+ebsjstrans.show+' '+ebsjstrans.footer+':</label></th>\
|
26 |
Â
<td><input type="checkbox" id="oscitas-panel-footer"/><br />\
|
27 |
Â
</td>\
|
28 |
Â
</tr>\
|
29 |
Â
<tr>\
|
30 |
+
<th><label for="oscitas-panel-class">'+ebsjstrans.customclass+':</label></th>\
|
31 |
Â
<td><input type="text" name="line" id="oscitas-panel-class" value=""/><br />\
|
32 |
Â
</td>\
|
33 |
Â
</tr>\
|
34 |
Â
</table>\
|
35 |
+
<p class="submit ebs-default-options">\
|
36 |
+
<input type="button" id="oscitas-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.panel+'" name="submit" />\
|
37 |
Â
</p>\
|
38 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/panel/screenshot.jpg"/></div>\
|
39 |
Â
</div>');
|
40 |
Â
return form;
|
41 |
Â
}
|
55 |
Â
cusclass= ' class="'+table.find('#oscitas-panel-class').val()+'"';
|
56 |
Â
}
|
57 |
Â
var shortcode = '['+$ebs_prefix+'panel style="'+table.find('#oscitas-panel-type').val()+ '"'+cusclass+']';
|
58 |
+
shortcode += '<br/>['+$ebs_prefix+'panel-header]<br/>'+ebsjstrans.heading+' '+ebsjstrans.goes+' '+ebsjstrans.here+'<br/>[/'+$ebs_prefix+'panel-header]';
|
59 |
Â
//shortcode += (table.find('#oscitas-panel-header').prop('checked')? '[panel-header]<br/>Heading goes here<br/>[/panel-header]': '');
|
60 |
+
shortcode += '<br/>['+$ebs_prefix+'panel-content]<br/>'+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'<br/>[/'+$ebs_prefix+'panel-content]';
|
61 |
Â
shortcode += (table.find('#oscitas-panel-footer').prop('checked')? '<br/>['+$ebs_prefix+'panel-footer]<br/>Footer goes here<br/>[/'+$ebs_prefix+'panel-footer]': '');
|
62 |
Â
shortcode += '<br/>[/'+$ebs_prefix+'panel]';
|
63 |
Â
|
shortcode/panel/screenshot.jpg
ADDED
Binary file
|
shortcode/pricingtable/icon.png
ADDED
Binary file
|
shortcode/pricingtable/plugin_shortcode.php
ADDED
File without changes
|
shortcode/pricingtable/pricingtable_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var pricingtable={
|
2 |
+
title:"Pricing Table Shortcode",
|
3 |
+
id :'oscitas-form-pricingtable',
|
4 |
+
pluginName: 'pricingtable',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(pricingtable);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_pricingtable(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/pricingtable/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_pricingtable(pluginObj){
|
23 |
+
}
|
shortcode/pricingtable/screenshot.jpg
ADDED
Binary file
|
shortcode/progressbar/progressbar_plugin.js
CHANGED
@@ -9,50 +9,51 @@ var progressbar={
|
|
9 |
Â
})();
|
10 |
Â
|
11 |
Â
function ebs_return_html_progressbar(pluginObj){
|
12 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
Â
<tr>\
|
14 |
-
<th><label for="oscitas-progressbar-style">
|
15 |
Â
<td><select name="type" id="oscitas-progressbar-style">\
|
16 |
-
<option value="">
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
Â
</select><br />\
|
22 |
Â
</td>\
|
23 |
Â
</tr>\
|
24 |
Â
<tr>\
|
25 |
-
<th><label for="oscitas-progressbar-label">
|
26 |
Â
<td><input type="text" name="title" id="oscitas-progressbar-label" value=""/><br />\
|
27 |
Â
</td>\
|
28 |
Â
</tr>\
|
29 |
Â
<tr>\
|
30 |
-
<th><label for="oscitas-progressbar-progress">
|
31 |
Â
<td><input type="text" name="title" id="oscitas-progressbar-progress" value="50"/><br />\
|
32 |
-
<small>
|
33 |
Â
</td>\
|
34 |
Â
</tr>\
|
35 |
Â
<tr>\
|
36 |
-
<th><label for="oscitas-progressbar-stripped">
|
37 |
Â
<td>\
|
38 |
Â
<input type="checkbox" id="oscitas-progressbar-stripped">\
|
39 |
Â
</td>\
|
40 |
Â
</tr>\
|
41 |
Â
<tr id="osc_progress_animate" style="display: none;">\
|
42 |
-
<th><label for="oscitas-progressbar-animated">
|
43 |
Â
<td>\
|
44 |
Â
<input type="checkbox" id="oscitas-progressbar-animated">\
|
45 |
Â
</td>\
|
46 |
Â
</tr>\
|
47 |
Â
<tr>\
|
48 |
-
<th><label for="oscitas-progressbar-class">
|
49 |
Â
<td><input type="text" name="line" id="oscitas-progressbar-class" value=""/><br />\
|
50 |
Â
</td>\
|
51 |
Â
</tr>\
|
52 |
Â
</table>\
|
53 |
-
<p class="submit">\
|
54 |
-
<input type="button" id="oscitas-progressbar-submit" class="button-primary" value="
|
55 |
Â
</p>\
|
Â
|
|
56 |
Â
</div>');
|
57 |
Â
return form;
|
58 |
Â
}
|
9 |
Â
})();
|
10 |
Â
|
11 |
Â
function ebs_return_html_progressbar(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
13 |
Â
<tr>\
|
14 |
+
<th><label for="oscitas-progressbar-style">'+ebsjstrans.progress+' '+ebsjstrans.bar+' '+ebsjstrans.type+':</label></th>\
|
15 |
Â
<td><select name="type" id="oscitas-progressbar-style">\
|
16 |
+
<option value="">'+ebsjstrans.default+'</option>\
|
17 |
+
<option value="progress-bar-success">'+ebsjstrans.success+'</option>\
|
18 |
+
<option value="progress-bar-info">'+ebsjstrans.information+'</option>\
|
19 |
+
<option value="progress-bar-warning">'+ebsjstrans.warning+'</option>\
|
20 |
+
<option value="progress-bar-danger">'+ebsjstrans.danger+'</option>\
|
21 |
Â
</select><br />\
|
22 |
Â
</td>\
|
23 |
Â
</tr>\
|
24 |
Â
<tr>\
|
25 |
+
<th><label for="oscitas-progressbar-label">'+ebsjstrans.progress+' '+ebsjstrans.bar+' '+ebsjstrans.label+':</label></th>\
|
26 |
Â
<td><input type="text" name="title" id="oscitas-progressbar-label" value=""/><br />\
|
27 |
Â
</td>\
|
28 |
Â
</tr>\
|
29 |
Â
<tr>\
|
30 |
+
<th><label for="oscitas-progressbar-progress">'+ebsjstrans.progress+' '+ebsjstrans.bar+' '+ebsjstrans.value+':</label></th>\
|
31 |
Â
<td><input type="text" name="title" id="oscitas-progressbar-progress" value="50"/><br />\
|
32 |
+
<small>'+ebsjstrans.enterval0to100+'</small>\
|
33 |
Â
</td>\
|
34 |
Â
</tr>\
|
35 |
Â
<tr>\
|
36 |
+
<th><label for="oscitas-progressbar-stripped">'+ebsjstrans.stripped+' '+ebsjstrans.progress+' '+ebsjstrans.bar+':</label></th>\
|
37 |
Â
<td>\
|
38 |
Â
<input type="checkbox" id="oscitas-progressbar-stripped">\
|
39 |
Â
</td>\
|
40 |
Â
</tr>\
|
41 |
Â
<tr id="osc_progress_animate" style="display: none;">\
|
42 |
+
<th><label for="oscitas-progressbar-animated">'+ebsjstrans.animated+' '+ebsjstrans.progress+' '+ebsjstrans.bar+':</label></th>\
|
43 |
Â
<td>\
|
44 |
Â
<input type="checkbox" id="oscitas-progressbar-animated">\
|
45 |
Â
</td>\
|
46 |
Â
</tr>\
|
47 |
Â
<tr>\
|
48 |
+
<th><label for="oscitas-progressbar-class">'+ebsjstrans.customclass+':</label></th>\
|
49 |
Â
<td><input type="text" name="line" id="oscitas-progressbar-class" value=""/><br />\
|
50 |
Â
</td>\
|
51 |
Â
</tr>\
|
52 |
Â
</table>\
|
53 |
+
<p class="submit ebs-default-options">\
|
54 |
+
<input type="button" id="oscitas-progressbar-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.button+'" name="submit" />\
|
55 |
Â
</p>\
|
56 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/progressbar/screenshot.jpg"/></div>\
|
57 |
Â
</div>');
|
58 |
Â
return form;
|
59 |
Â
}
|
shortcode/progressbar/screenshot.jpg
ADDED
Binary file
|
shortcode/rule/rule_plugin.js
CHANGED
@@ -1,62 +1,58 @@
|
|
1 |
Â
var rule={
|
2 |
-
title:"
|
3 |
Â
id :'oscitas-form-rule',
|
4 |
-
pluginName: 'rule'
|
5 |
-
setRowColors:false
|
6 |
Â
};
|
7 |
Â
(function() {
|
8 |
Â
_create_tinyMCE_options(rule);
|
9 |
Â
})();
|
10 |
Â
|
11 |
-
function
|
12 |
-
|
13 |
-
jQuery(pluginObj.hashId).remove();
|
14 |
-
}
|
15 |
-
// creates a form to be displayed everytime the button is clicked
|
16 |
-
// you should achieve this using AJAX instead of direct html code like this
|
17 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
18 |
Â
<tr>\
|
19 |
-
<th><label for="oscitas-rule-style">
|
20 |
Â
<td><select name="type" id="oscitas-rule-style">\
|
21 |
-
<option value="rule-dotted">
|
22 |
-
<option value="rule-dashed">
|
23 |
-
<option value="rule-double">
|
24 |
-
<option value="rule-
|
25 |
-
<option value="rule-
|
26 |
-
<option value="rule-double-fadecorder">
|
27 |
-
<option value="rule-
|
28 |
-
<option value="rule-
|
29 |
-
<option value="rule-wave">
|
30 |
-
<option value="rule-thick">
|
31 |
-
<option value="rule-thin">
|
32 |
Â
</select><br />\
|
33 |
Â
</td>\
|
34 |
Â
</tr>\
|
35 |
Â
<tr>\
|
36 |
-
<th><label for="oscitas-rule-margin">
|
37 |
Â
<td><input type="text" name="line" id="oscitas-rule-margin" value=""/><br />\
|
38 |
-
<small>
|
39 |
Â
</td>\
|
40 |
Â
</tr>\
|
41 |
Â
<tr>\
|
42 |
-
<th><label for="oscitas-rule-class">
|
43 |
Â
<td><input type="text" name="line" id="oscitas-rule-class" value=""/><br />\
|
44 |
Â
</td>\
|
45 |
Â
</tr>\
|
46 |
Â
</table>\
|
47 |
-
<p class="submit">\
|
48 |
-
<input type="button" id="oscitas-rule-submit" class="button-primary" value="
|
49 |
Â
</p>\
|
Â
|
|
50 |
Â
</div>');
|
51 |
Â
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
Â
|
58 |
Â
|
Â
|
|
59 |
Â
|
Â
|
|
Â
|
|
Â
|
|
60 |
Â
|
61 |
Â
// handles the click event of the submit button
|
62 |
Â
form.find('#oscitas-rule-submit').click(function() {
|
1 |
Â
var rule={
|
2 |
+
title:"Horizontal1 Rule Shortcode",
|
3 |
Â
id :'oscitas-form-rule',
|
4 |
+
pluginName: 'rule'
|
Â
|
|
5 |
Â
};
|
6 |
Â
(function() {
|
7 |
Â
_create_tinyMCE_options(rule);
|
8 |
Â
})();
|
9 |
Â
|
10 |
+
function ebs_return_html_rule(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
12 |
Â
<tr>\
|
13 |
+
<th><label for="oscitas-rule-style">'+ebsjstrans.style+':</label></th>\
|
14 |
Â
<td><select name="type" id="oscitas-rule-style">\
|
15 |
+
<option value="rule-dotted">'+ebsjstrans.dotted+'</option>\
|
16 |
+
<option value="rule-dashed">'+ebsjstrans.dashed+'</option>\
|
17 |
+
<option value="rule-double">'+ebsjstrans.double+'</option>\
|
18 |
+
<option value="rule-diagonal">'+ebsjstrans.diagonal+'</option>\
|
19 |
+
<option value="rule-double-thick-thin">'+ebsjstrans.doublethickthin+'</option>\
|
20 |
+
<option value="rule-double-fadecorder">'+ebsjstrans.doublefadecorner+'</option>\
|
21 |
+
<option value="rule-fadecorder">'+ebsjstrans.fadecorner+'</option>\
|
22 |
+
<option value="rule-shadow">'+ebsjstrans.shadow+'</option>\
|
23 |
+
<option value="rule-wave">'+ebsjstrans.wave+'</option>\
|
24 |
+
<option value="rule-thick">'+ebsjstrans.thick+'</option>\
|
25 |
+
<option value="rule-thin">'+ebsjstrans.thin+'</option>\
|
26 |
Â
</select><br />\
|
27 |
Â
</td>\
|
28 |
Â
</tr>\
|
29 |
Â
<tr>\
|
30 |
+
<th><label for="oscitas-rule-margin">'+ebsjstrans.margin+':</label></th>\
|
31 |
Â
<td><input type="text" name="line" id="oscitas-rule-margin" value=""/><br />\
|
32 |
+
<small>'+ebsjstrans.enternumvaleg20+'</small>\
|
33 |
Â
</td>\
|
34 |
Â
</tr>\
|
35 |
Â
<tr>\
|
36 |
+
<th><label for="oscitas-rule-class">'+ebsjstrans.customclass+':</label></th>\
|
37 |
Â
<td><input type="text" name="line" id="oscitas-rule-class" value=""/><br />\
|
38 |
Â
</td>\
|
39 |
Â
</tr>\
|
40 |
Â
</table>\
|
41 |
+
<p class="submit ebs-default-options">\
|
42 |
+
<input type="button" id="oscitas-rule-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.horizontal+' '+ebsjstrans.rule+'" name="submit" />\
|
43 |
Â
</p>\
|
44 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/rule/screenshot.jpg"/></div>\
|
45 |
Â
</div>');
|
46 |
Â
|
47 |
+
return form;
|
48 |
+
}
|
Â
|
|
Â
|
|
Â
|
|
49 |
Â
|
50 |
Â
|
51 |
+
function create_oscitas_rule(pluginObj){
|
52 |
Â
|
53 |
+
var form = jQuery(pluginObj.hashId);
|
54 |
+
var table = form.find('table');
|
55 |
+
//form.appendTo('body').hide();
|
56 |
Â
|
57 |
Â
// handles the click event of the submit button
|
58 |
Â
form.find('#oscitas-rule-submit').click(function() {
|
shortcode/rule/screenshot.jpg
ADDED
Binary file
|
shortcode/sectionhead/icon.png
ADDED
Binary file
|
shortcode/sectionhead/plugin_shortcode.php
ADDED
File without changes
|
shortcode/sectionhead/screenshot.jpg
ADDED
Binary file
|
shortcode/sectionhead/sectionhead_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var sectionhead={
|
2 |
+
title:"Section Head Shortcode",
|
3 |
+
id :'oscitas-form-sectionhead',
|
4 |
+
pluginName: 'sectionhead',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(sectionhead);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_sectionhead(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/sectionhead/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_sectionhead(pluginObj){
|
23 |
+
}
|
shortcode/separator/icon.png
ADDED
Binary file
|
shortcode/separator/plugin_shortcode.php
ADDED
File without changes
|
shortcode/separator/screenshot.jpg
ADDED
Binary file
|
shortcode/separator/separator_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var separator={
|
2 |
+
title:"Separator Shortcode",
|
3 |
+
id :'oscitas-form-separator',
|
4 |
+
pluginName: 'separator',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(separator);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_separator(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/separator/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_separator(pluginObj){
|
23 |
+
}
|
shortcode/servicebox/screenshot.jpg
ADDED
Binary file
|
shortcode/servicebox/servicebox_plugin.js
CHANGED
@@ -39,93 +39,95 @@ function slider_render(ele,val,mini,max){
|
|
39 |
Â
}
|
40 |
Â
function ebs_return_html_servicebox(pluginObj){
|
41 |
Â
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'">\
|
42 |
-
<span id="icon_bg_preview" class="iconcircle glyphicon glyphicon-cog"></span>\
|
43 |
-
<div id="osc-servicebox-scroll"><table id="oscitas-table" class="form-table">\
|
44 |
Â
<tr class="show_boxtype_icon">\
|
45 |
-
<th><label for="oscitas-heading-icon">
|
46 |
Â
<td><div id="click_icon_list_servicebox" class="oscitas-icon-div"><span id="osc_show_icon_servicebox"></span><span class="show-drop"></span></div><input type="hidden" id="oscitas-servicebox-icon" value=""><input type="hidden" id="oscitas-servicebox-icontype" value="">\
|
47 |
Â
<div id="osc_show_iconlist_servicebox" class="oscitas-icon" style="display:none;">'+font_awesome_include('oscitas-heading-icon_servicebox')+'</div>\
|
48 |
Â
</td>\
|
49 |
Â
</tr>\
|
50 |
Â
<tr>\
|
51 |
-
<th><label>
|
52 |
Â
<td><input type="text" name="label" class="slider_input" id="oscitas-servicebox-icon_size" value="40"/>\
|
53 |
Â
<div class="slider_render" id="slider_rander_icon"></div>\
|
54 |
Â
</td>\
|
55 |
Â
</tr>\
|
56 |
Â
<tr>\
|
57 |
-
<th><label>
|
58 |
Â
<td><input type="text" name="label" class="slider_input" id="oscitas-servicebox-iconbg_size" value="100"/>\
|
59 |
Â
<div class="slider_render" id="slider_rander_icon_bg"></div>\
|
60 |
Â
</td>\
|
61 |
Â
</tr>\
|
62 |
Â
<tr>\
|
63 |
-
<th><label>
|
64 |
Â
<td><input type="text" name="label" class="slider_input" id="oscitas-servicebox-iconbg_radius" value="50"/>\
|
65 |
Â
<div class="slider_render" id="slider_rander_icon_bg_radius"></div>\
|
66 |
Â
</td>\
|
67 |
Â
</tr>\
|
68 |
Â
<tr>\
|
69 |
-
<th><label>
|
70 |
Â
<td><input type="text" name="label" id="oscitas-servicebox-margin_top" value="30"/> <small>px</small>\
|
71 |
Â
</td>\
|
72 |
Â
</tr><tr>\
|
73 |
-
<th><label>
|
74 |
Â
<td><input type="text" name="label" id="oscitas-servicebox-margin_bottom" value="30"/> <small>px</small>\
|
75 |
Â
</td>\
|
76 |
Â
</tr>\
|
77 |
Â
<tr class="show_boxtype_icon">\
|
78 |
-
<th><label for="oscitas-servicebox-iconcolor">
|
79 |
Â
<td><input type="text" name="label" id="oscitas-servicebox-iconcolor" data-type="icon" data-attr="color" class="color" value="#777777" data-default-color="#777777"/><br />\
|
80 |
Â
</td>\
|
81 |
Â
</tr>\
|
82 |
Â
<tr class="show_boxtype_icon">\
|
83 |
-
<th><label for="oscitas-servicebox-iconbgcolor">
|
84 |
Â
<td><input type="text" name="label" id="oscitas-servicebox-iconbgcolor" data-type="icon_bg" data-attr="background" class="color" value="#FFFFFF" data-default-color="#FFFFFF"/><br />\
|
85 |
Â
</td>\
|
86 |
Â
</tr>\
|
87 |
Â
<tr>\
|
88 |
-
<th><label >
|
89 |
-
<td><input type="checkbox" name="oscitas-servicebox-readmore" id="oscitas-servicebox-readmore" class="show_sub has_sub" value="true" data="readmore"/><label for="oscitas-servicebox-readmore">
|
90 |
Â
</td>\
|
91 |
Â
</tr>\
|
92 |
Â
<tr class="oscitas-servicebox-readmore" style="display:none">\
|
93 |
-
<th><label for="oscitas-servicebox-readmore_link">
|
94 |
Â
<td><input type="text" name="label" id="oscitas-servicebox-readmore_link" value="#"/><br />\
|
95 |
Â
</td>\
|
96 |
Â
</tr>\
|
97 |
Â
<tr class="oscitas-servicebox-readmore" style="display:none">\
|
98 |
-
<th><label for="oscitas-servicebox-readmore_text">
|
99 |
-
<td><input type="text" name="label" id="oscitas-servicebox-readmore_text" value="
|
100 |
Â
</td>\
|
101 |
Â
</tr>\
|
102 |
Â
<tr class="oscitas-servicebox-readmore" style="display:none">\
|
103 |
-
<th><label for="oscitas-servicebox-readmore_type">
|
104 |
Â
<td><select name="label" id="oscitas-servicebox-readmore_type">\
|
105 |
-
<option value="">
|
106 |
-
<option value="btn-lg">
|
107 |
-
<option value="btn-sm">
|
108 |
-
<option value="btn-xs">
|
109 |
Â
</select>\
|
110 |
Â
</td>\
|
111 |
Â
</tr>\
|
112 |
Â
<tr class="oscitas-servicebox-readmore" style="display:none">\
|
113 |
-
<th><label>
|
114 |
-
<td
|
Â
|
|
Â
|
|
115 |
Â
</td>\
|
116 |
Â
</tr>\
|
117 |
Â
<tr class="oscitas-servicebox-readmorestyle" style="display:none">\
|
118 |
-
<th><label for="oscitas-servicebox-readmore_bgcolor">
|
119 |
Â
<td><input type="text" name="label" id="oscitas-servicebox-readmore_bgcolor" class="color" value="#FFFFFF" data-default-color="#FFFFFF"/><br />\
|
120 |
Â
</td>\
|
121 |
Â
</tr>\
|
122 |
Â
<tr class="oscitas-servicebox-readmorestyle" style="display:none">\
|
123 |
-
<th><label for="oscitas-servicebox-readmore_fgcolor">
|
124 |
Â
<td><input type="text" name="label" id="oscitas-servicebox-readmore_fgcolor" class="color" value="#777777" data-default-color="#777777"/><br />\
|
125 |
Â
</td>\
|
126 |
Â
</tr>\
|
127 |
Â
<tr >\
|
128 |
-
<th><label for="oscitas-servicebox-headingtype">
|
129 |
Â
<td><select name="oscitas-servicebox-headingtype" id="oscitas-servicebox-headingtype">\
|
130 |
Â
<option value="h1">H1</option>\
|
131 |
Â
<option value="h2">H2</option>\
|
@@ -137,19 +139,20 @@ function ebs_return_html_servicebox(pluginObj){
|
|
137 |
Â
</td>\
|
138 |
Â
</tr>\
|
139 |
Â
<tr>\
|
140 |
-
<th><label for="oscitas-servicebox-heading">
|
141 |
Â
<td><input type="text" name="line" id="oscitas-servicebox-heading" value=""/><br />\
|
142 |
Â
</td>\
|
143 |
Â
</tr>\
|
144 |
Â
<tr>\
|
145 |
-
<th><label for="oscitas-servicebox-class">
|
146 |
Â
<td><input type="text" name="line" id="oscitas-servicebox-class" value=""/><br />\
|
147 |
Â
</td>\
|
148 |
Â
</tr>\
|
149 |
Â
</table></div>\
|
150 |
-
<p class="submit">\
|
151 |
-
<input type="button" id="oscitas-servicebox-submit" class="button-primary" value="
|
152 |
Â
</p>\
|
Â
|
|
153 |
Â
</div>');
|
154 |
Â
return form;
|
155 |
Â
}
|
@@ -261,9 +264,8 @@ function create_oscitas_servicebox(pluginObj){
|
|
261 |
Â
}
|
262 |
Â
});
|
263 |
Â
var selected_content = tinyMCE.activeEditor.selection.getContent();
|
264 |
-
if(!selected_content)
|
265 |
-
|
266 |
-
var shortcode = '['+$ebs_prefix+'servicebox '+shortcodeattr+']'+selected_content+'[/servicebox]';
|
267 |
Â
|
268 |
Â
// inserts the shortcode into the active editor
|
269 |
Â
tinyMCE.activeEditor.selection.setContent(shortcode);
|
39 |
Â
}
|
40 |
Â
function ebs_return_html_servicebox(pluginObj){
|
41 |
Â
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'">\
|
42 |
+
<span id="icon_bg_preview" class="iconcircle glyphicon glyphicon-cog ebs-default-options"></span>\
|
43 |
+
<div id="osc-servicebox-scroll" class="ebs-default-options"><table id="oscitas-table" class="form-table ebs-default-options">\
|
44 |
Â
<tr class="show_boxtype_icon">\
|
45 |
+
<th><label for="oscitas-heading-icon">'+ebsjstrans.select+' '+ebsjstrans.icon+':</label></th>\
|
46 |
Â
<td><div id="click_icon_list_servicebox" class="oscitas-icon-div"><span id="osc_show_icon_servicebox"></span><span class="show-drop"></span></div><input type="hidden" id="oscitas-servicebox-icon" value=""><input type="hidden" id="oscitas-servicebox-icontype" value="">\
|
47 |
Â
<div id="osc_show_iconlist_servicebox" class="oscitas-icon" style="display:none;">'+font_awesome_include('oscitas-heading-icon_servicebox')+'</div>\
|
48 |
Â
</td>\
|
49 |
Â
</tr>\
|
50 |
Â
<tr>\
|
51 |
+
<th><label>'+ebsjstrans.icon+' '+ebsjstrans.size+':</label></th>\
|
52 |
Â
<td><input type="text" name="label" class="slider_input" id="oscitas-servicebox-icon_size" value="40"/>\
|
53 |
Â
<div class="slider_render" id="slider_rander_icon"></div>\
|
54 |
Â
</td>\
|
55 |
Â
</tr>\
|
56 |
Â
<tr>\
|
57 |
+
<th><label>'+ebsjstrans.icon+' '+ebsjstrans.bg+' '+ebsjstrans.size+':</label></th>\
|
58 |
Â
<td><input type="text" name="label" class="slider_input" id="oscitas-servicebox-iconbg_size" value="100"/>\
|
59 |
Â
<div class="slider_render" id="slider_rander_icon_bg"></div>\
|
60 |
Â
</td>\
|
61 |
Â
</tr>\
|
62 |
Â
<tr>\
|
63 |
+
<th><label>'+ebsjstrans.border+' '+ebsjstrans.radius+':</label></th>\
|
64 |
Â
<td><input type="text" name="label" class="slider_input" id="oscitas-servicebox-iconbg_radius" value="50"/>\
|
65 |
Â
<div class="slider_render" id="slider_rander_icon_bg_radius"></div>\
|
66 |
Â
</td>\
|
67 |
Â
</tr>\
|
68 |
Â
<tr>\
|
69 |
+
<th><label>'+ebsjstrans.margin+' '+ebsjstrans.top+':</label></th>\
|
70 |
Â
<td><input type="text" name="label" id="oscitas-servicebox-margin_top" value="30"/> <small>px</small>\
|
71 |
Â
</td>\
|
72 |
Â
</tr><tr>\
|
73 |
+
<th><label>'+ebsjstrans.margin+' '+ebsjstrans.bottom+':</label></th>\
|
74 |
Â
<td><input type="text" name="label" id="oscitas-servicebox-margin_bottom" value="30"/> <small>px</small>\
|
75 |
Â
</td>\
|
76 |
Â
</tr>\
|
77 |
Â
<tr class="show_boxtype_icon">\
|
78 |
+
<th><label for="oscitas-servicebox-iconcolor">'+ebsjstrans.icon+' '+ebsjstrans.color+':</label></th>\
|
79 |
Â
<td><input type="text" name="label" id="oscitas-servicebox-iconcolor" data-type="icon" data-attr="color" class="color" value="#777777" data-default-color="#777777"/><br />\
|
80 |
Â
</td>\
|
81 |
Â
</tr>\
|
82 |
Â
<tr class="show_boxtype_icon">\
|
83 |
+
<th><label for="oscitas-servicebox-iconbgcolor">'+ebsjstrans.icon+' '+ebsjstrans.bgcolor+':</label></th>\
|
84 |
Â
<td><input type="text" name="label" id="oscitas-servicebox-iconbgcolor" data-type="icon_bg" data-attr="background" class="color" value="#FFFFFF" data-default-color="#FFFFFF"/><br />\
|
85 |
Â
</td>\
|
86 |
Â
</tr>\
|
87 |
Â
<tr>\
|
88 |
+
<th><label >'+ebsjstrans.read+' '+ebsjstrans.more+':</label></th>\
|
89 |
+
<td><input type="checkbox" name="oscitas-servicebox-readmore" id="oscitas-servicebox-readmore" class="show_sub has_sub" value="true" data="readmore"/><label for="oscitas-servicebox-readmore">'+ebsjstrans.include+' '+ebsjstrans.read+' '+ebsjstrans.more+' '+ebsjstrans.link+'</label>\
|
90 |
Â
</td>\
|
91 |
Â
</tr>\
|
92 |
Â
<tr class="oscitas-servicebox-readmore" style="display:none">\
|
93 |
+
<th><label for="oscitas-servicebox-readmore_link">'+ebsjstrans.link+':</label></th>\
|
94 |
Â
<td><input type="text" name="label" id="oscitas-servicebox-readmore_link" value="#"/><br />\
|
95 |
Â
</td>\
|
96 |
Â
</tr>\
|
97 |
Â
<tr class="oscitas-servicebox-readmore" style="display:none">\
|
98 |
+
<th><label for="oscitas-servicebox-readmore_text">'+ebsjstrans.text+':</label></th>\
|
99 |
+
<td><input type="text" name="label" id="oscitas-servicebox-readmore_text" value="'+ebsjstrans.read+' '+ebsjstrans.more+'"/><br />\
|
100 |
Â
</td>\
|
101 |
Â
</tr>\
|
102 |
Â
<tr class="oscitas-servicebox-readmore" style="display:none">\
|
103 |
+
<th><label for="oscitas-servicebox-readmore_type">'+ebsjstrans.button+' '+ebsjstrans.type+':</label></th>\
|
104 |
Â
<td><select name="label" id="oscitas-servicebox-readmore_type">\
|
105 |
+
<option value="">'+ebsjstrans.default+'</option>\
|
106 |
+
<option value="btn-lg">'+ebsjstrans.large+'</option>\
|
107 |
+
<option value="btn-sm">'+ebsjstrans.small+'</option>\
|
108 |
+
<option value="btn-xs">'+ebsjstrans.exsmall+'</option>\
|
109 |
Â
</select>\
|
110 |
Â
</td>\
|
111 |
Â
</tr>\
|
112 |
Â
<tr class="oscitas-servicebox-readmore" style="display:none">\
|
113 |
+
<th><label>'+ebsjstrans.read+' '+ebsjstrans.more+' '+ebsjstrans.style+':</label></th>\
|
114 |
+
<td>\
|
115 |
+
<input type="radio" name="oscitas-servicebox-readmorestyle" id="oscitas-servicebox-readmorestyle-default" class="show_sub" value="default" checked="checked" data="readmorestyle"/><label for="oscitas-servicebox-readmorestyle-default">'+ebsjstrans.default+'</label>\
|
116 |
+
<input type="radio" class="show_sub has_sub" name="oscitas-servicebox-readmorestyle" id="oscitas-servicebox-readmorestyle-custom" value="custom" data="readmorestyle"/><label for="oscitas-servicebox-readmorestyle-custom">'+ebsjstrans.custom+'</label><br />\
|
117 |
Â
</td>\
|
118 |
Â
</tr>\
|
119 |
Â
<tr class="oscitas-servicebox-readmorestyle" style="display:none">\
|
120 |
+
<th><label for="oscitas-servicebox-readmore_bgcolor">'+ebsjstrans.link+' '+ebsjstrans.bgcolor+':</label></th>\
|
121 |
Â
<td><input type="text" name="label" id="oscitas-servicebox-readmore_bgcolor" class="color" value="#FFFFFF" data-default-color="#FFFFFF"/><br />\
|
122 |
Â
</td>\
|
123 |
Â
</tr>\
|
124 |
Â
<tr class="oscitas-servicebox-readmorestyle" style="display:none">\
|
125 |
+
<th><label for="oscitas-servicebox-readmore_fgcolor">'+ebsjstrans.link+' '+ebsjstrans.foreground+' '+ebsjstrans.color+':</label></th>\
|
126 |
Â
<td><input type="text" name="label" id="oscitas-servicebox-readmore_fgcolor" class="color" value="#777777" data-default-color="#777777"/><br />\
|
127 |
Â
</td>\
|
128 |
Â
</tr>\
|
129 |
Â
<tr >\
|
130 |
+
<th><label for="oscitas-servicebox-headingtype">'+ebsjstrans.heading+' '+ebsjstrans.type+':</label></th>\
|
131 |
Â
<td><select name="oscitas-servicebox-headingtype" id="oscitas-servicebox-headingtype">\
|
132 |
Â
<option value="h1">H1</option>\
|
133 |
Â
<option value="h2">H2</option>\
|
139 |
Â
</td>\
|
140 |
Â
</tr>\
|
141 |
Â
<tr>\
|
142 |
+
<th><label for="oscitas-servicebox-heading">'+ebsjstrans.heading+':</label></th>\
|
143 |
Â
<td><input type="text" name="line" id="oscitas-servicebox-heading" value=""/><br />\
|
144 |
Â
</td>\
|
145 |
Â
</tr>\
|
146 |
Â
<tr>\
|
147 |
+
<th><label for="oscitas-servicebox-class">'+ebsjstrans.customclass+':</label></th>\
|
148 |
Â
<td><input type="text" name="line" id="oscitas-servicebox-class" value=""/><br />\
|
149 |
Â
</td>\
|
150 |
Â
</tr>\
|
151 |
Â
</table></div>\
|
152 |
+
<p class="submit ebs-default-options">\
|
153 |
+
<input type="button" id="oscitas-servicebox-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.servicebox+'" name="submit" />\
|
154 |
Â
</p>\
|
155 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/servicebox/screenshot.jpg"/></div>\
|
156 |
Â
</div>');
|
157 |
Â
return form;
|
158 |
Â
}
|
264 |
Â
}
|
265 |
Â
});
|
266 |
Â
var selected_content = tinyMCE.activeEditor.selection.getContent();
|
267 |
+
if(!selected_content) var selected_content = ebsjstrans.your+' '+ebsjstrans.content; //'Your Content';
|
268 |
+
var shortcode = '['+$ebs_prefix+'servicebox '+shortcodeattr+']'+selected_content+'[/'+$ebs_prefix+'servicebox]';
|
Â
|
|
269 |
Â
|
270 |
Â
// inserts the shortcode into the active editor
|
271 |
Â
tinyMCE.activeEditor.selection.setContent(shortcode);
|
shortcode/slider/plugin_shortcode.php
CHANGED
@@ -116,12 +116,20 @@ function osc_theme_slider($params, $content = null) {
|
|
116 |
Â
if(!empty($image)){
|
117 |
Â
$_oscitas_slider[$index]['bullets'][]='<li data-target="#oscitas-slider-' . $index . '" data-slide-to="'.$slideid.'" class="'.$active.'"></li>';
|
118 |
Â
$_oscitas_slider_slides[$index][$slideid]=array();
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
119 |
Â
$_oscitas_slider[$index]['details'][] = <<<EOS
|
120 |
Â
<div class="item {$active}{$const['EBS_CONTAINER_CLASS']}">
|
121 |
Â
<img src="{$image}" >
|
122 |
Â
<div class="carousel-caption{$const['EBS_CONTAINER_CLASS']}">
|
123 |
Â
<h3 class="ebs-caption">{$title}</h3>
|
124 |
-
|
125 |
Â
</div>
|
126 |
Â
</div>
|
127 |
Â
EOS;
|
116 |
Â
if(!empty($image)){
|
117 |
Â
$_oscitas_slider[$index]['bullets'][]='<li data-target="#oscitas-slider-' . $index . '" data-slide-to="'.$slideid.'" class="'.$active.'"></li>';
|
118 |
Â
$_oscitas_slider_slides[$index][$slideid]=array();
|
119 |
+
|
120 |
+
|
121 |
+
if (!empty($caption)) {
|
122 |
+
$caption = '<p class="ebs-caption">'.$caption.'</p>';
|
123 |
+
}
|
124 |
+
if (!empty($content)) {
|
125 |
+
$caption = '<p class="ebs-caption">'.$content.'</p>';
|
126 |
+
}
|
127 |
Â
$_oscitas_slider[$index]['details'][] = <<<EOS
|
128 |
Â
<div class="item {$active}{$const['EBS_CONTAINER_CLASS']}">
|
129 |
Â
<img src="{$image}" >
|
130 |
Â
<div class="carousel-caption{$const['EBS_CONTAINER_CLASS']}">
|
131 |
Â
<h3 class="ebs-caption">{$title}</h3>
|
132 |
+
{$caption}
|
133 |
Â
</div>
|
134 |
Â
</div>
|
135 |
Â
EOS;
|
shortcode/slider/screenshot.jpg
ADDED
Binary file
|
shortcode/slider/slider_plugin.js
CHANGED
@@ -43,73 +43,74 @@ function __slider_show_image_upload_icon(parent,ele){
|
|
43 |
Â
}
|
44 |
Â
function ebs_return_html_slider(pluginObj){
|
45 |
Â
|
46 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table" style="margin-top: 0px;">\
|
47 |
Â
<tr>\
|
48 |
-
<th><label for="oscitas-slider-class">
|
49 |
Â
<td><input type="text" name="line" id="oscitas-slider-interval" value=""/><br />\
|
50 |
Â
</td>\
|
51 |
Â
</tr>\
|
52 |
Â
<tr>\
|
53 |
-
<th><label for="oscitas-slider-class">
|
54 |
Â
<td><input type="checkbox" name="line" id="oscitas-slider-controls" value="true"/><br />\
|
55 |
Â
</td>\
|
56 |
Â
</tr>\
|
57 |
Â
<tr>\
|
58 |
-
<th><label for="oscitas-slider-class">
|
59 |
Â
<td><input type="checkbox" name="line" id="oscitas-slider-bullets" value="true"/><br />\
|
60 |
Â
</td>\
|
61 |
Â
</tr>\
|
62 |
Â
<tr>\
|
63 |
-
<th><label for="oscitas-slider-class">
|
64 |
Â
<td><input type="checkbox" name="line" id="oscitas-slider-pause" value="hover"/><br />\
|
65 |
Â
</td>\
|
66 |
Â
</tr>\
|
67 |
Â
<tr>\
|
68 |
-
<th><label for="oscitas-slider-class">
|
69 |
Â
<td><input type="checkbox" name="line" id="oscitas-slider-wrap" value="true"/><br />\
|
70 |
Â
</td>\
|
71 |
Â
</tr>\
|
72 |
Â
<tr>\
|
73 |
-
<th><label for="oscitas-slider-class">
|
74 |
Â
<td><input type="text" name="line" id="oscitas-slider-captioncolor" class="color" value=""/>\
|
75 |
Â
</td>\
|
76 |
Â
</tr>\
|
77 |
Â
<tr>\
|
78 |
-
<th><label for="oscitas-slider-class">
|
79 |
Â
<td><input type="text" name="line" id="oscitas-slider-navcolor" class="color" value=""/>\
|
80 |
Â
</td>\
|
81 |
Â
</tr>\
|
82 |
Â
<tr>\
|
83 |
-
<th class="main_dp_th"><label for="oscitas-line">
|
84 |
Â
<td>\
|
85 |
Â
<table class="tb_multiple_column">\
|
86 |
Â
<thead>\
|
87 |
-
<tr><th class="enhanced">
|
88 |
Â
</thead>\
|
89 |
Â
<tbody id="oscitas-append-slideritem">\
|
90 |
Â
<tr class="osc_dropdown_list_item">\
|
91 |
-
<td class="enhanced"><input type="text" name="oscitas-itemslider-title[]" class="oscitas-itemslider-title" value="
|
92 |
Â
<td class="enhanced"><input class="oscitas-itemslider-image" type="hidden" name="oscitas-itemslider-image[]" value="" />\
|
93 |
-
<input id="_btn" class="upload_image_button" type="button" value="
|
94 |
Â
<td class="enhanced"><textarea name="oscitas-itemslider-caption[]" class="oscitas-itemslider-caption"></textarea></td>\
|
95 |
Â
<td><input type="radio" name="oscitas-itemslider-active" class="oscitas-itemslider-active" value="active" checked="checked"/></td>\
|
96 |
Â
<td></td>\
|
97 |
Â
</tr>\
|
98 |
Â
</tbody>\
|
99 |
Â
<tfoot>\
|
100 |
-
<tr><td colspan="5"><a id="osc_add_new_dditem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-plus-sign"></i>
|
101 |
Â
</tfoot>\
|
102 |
Â
</table></td>\
|
103 |
Â
</tr>\
|
104 |
Â
<tr>\
|
105 |
-
<th><label for="oscitas-slider-class">
|
106 |
Â
<td><input type="text" name="line" id="oscitas-slider-class" value=""/><br />\
|
107 |
Â
</td>\
|
108 |
Â
</tr>\
|
109 |
Â
</table>\
|
110 |
-
<p class="submit" style="padding-right: 10px;text-align: right;">\
|
111 |
-
<input type="button" id="oscitas-slider-submit" class="button-primary" value="
|
112 |
Â
</p>\
|
Â
|
|
113 |
Â
</div>');
|
114 |
Â
return form;
|
115 |
Â
}
|
@@ -120,7 +121,7 @@ function create_oscitas_slider(pluginObj){
|
|
120 |
Â
var table = form.find('table');
|
121 |
Â
|
122 |
Â
form.find('#osc_add_new_dditem').click(function(){
|
123 |
-
var item='<tr class="osc_dropdown_list_item"><td class="enhanced"><input type="text" name="scitas-itemslider-title[]" class="oscitas-itemslider-title" value="
|
124 |
Â
form.find('#oscitas-append-slideritem').append(item);
|
125 |
Â
__slider_show_image_upload_icon(form,jQuery('#oscitas-append-slideritem').find('tr:last').find('.upload_image_button'));
|
126 |
Â
|
@@ -157,8 +158,8 @@ function create_oscitas_slider(pluginObj){
|
|
157 |
Â
shortcode += ']';
|
158 |
Â
var row_attr={
|
159 |
Â
title:'',
|
160 |
-
image:''
|
161 |
-
caption:''
|
162 |
Â
}
|
163 |
Â
|
164 |
Â
form.find('tr.osc_dropdown_list_item').each(function(index){
|
@@ -174,7 +175,7 @@ function create_oscitas_slider(pluginObj){
|
|
174 |
Â
attr+=' active="active"';
|
175 |
Â
}
|
176 |
Â
|
177 |
-
shortcode+='<br/>['+$ebs_prefix+'slide'+attr+'/]';
|
178 |
Â
|
179 |
Â
|
180 |
Â
});
|
43 |
Â
}
|
44 |
Â
function ebs_return_html_slider(pluginObj){
|
45 |
Â
|
46 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options" style="margin-top: 0px;">\
|
47 |
Â
<tr>\
|
48 |
+
<th><label for="oscitas-slider-class">'+ebsjstrans.slider+' '+ebsjstrans.interval+':</label></th>\
|
49 |
Â
<td><input type="text" name="line" id="oscitas-slider-interval" value=""/><br />\
|
50 |
Â
</td>\
|
51 |
Â
</tr>\
|
52 |
Â
<tr>\
|
53 |
+
<th><label for="oscitas-slider-class">'+ebsjstrans.show+' '+ebsjstrans.navigation+' '+ebsjstrans.controls+':</label></th>\
|
54 |
Â
<td><input type="checkbox" name="line" id="oscitas-slider-controls" value="true"/><br />\
|
55 |
Â
</td>\
|
56 |
Â
</tr>\
|
57 |
Â
<tr>\
|
58 |
+
<th><label for="oscitas-slider-class">'+ebsjstrans.show+' '+ebsjstrans.navigation+' '+ebsjstrans.bullets+'</label></th>\
|
59 |
Â
<td><input type="checkbox" name="line" id="oscitas-slider-bullets" value="true"/><br />\
|
60 |
Â
</td>\
|
61 |
Â
</tr>\
|
62 |
Â
<tr>\
|
63 |
+
<th><label for="oscitas-slider-class">'+ebsjstrans.pause+' '+ebsjstrans.on+' '+ebsjstrans.hover+'</label></th>\
|
64 |
Â
<td><input type="checkbox" name="line" id="oscitas-slider-pause" value="hover"/><br />\
|
65 |
Â
</td>\
|
66 |
Â
</tr>\
|
67 |
Â
<tr>\
|
68 |
+
<th><label for="oscitas-slider-class">'+ebsjstrans.cyclic+'</label></th>\
|
69 |
Â
<td><input type="checkbox" name="line" id="oscitas-slider-wrap" value="true"/><br />\
|
70 |
Â
</td>\
|
71 |
Â
</tr>\
|
72 |
Â
<tr>\
|
73 |
+
<th><label for="oscitas-slider-class">'+ebsjstrans.caption+' '+ebsjstrans.color+':</label></th>\
|
74 |
Â
<td><input type="text" name="line" id="oscitas-slider-captioncolor" class="color" value=""/>\
|
75 |
Â
</td>\
|
76 |
Â
</tr>\
|
77 |
Â
<tr>\
|
78 |
+
<th><label for="oscitas-slider-class">'+ebsjstrans.navigation+' '+ebsjstrans.color+':</label></th>\
|
79 |
Â
<td><input type="text" name="line" id="oscitas-slider-navcolor" class="color" value=""/>\
|
80 |
Â
</td>\
|
81 |
Â
</tr>\
|
82 |
Â
<tr>\
|
83 |
+
<th class="main_dp_th"><label for="oscitas-line">'+ebsjstrans.add+' '+ebsjstrans.slides+'</label></th>\
|
84 |
Â
<td>\
|
85 |
Â
<table class="tb_multiple_column">\
|
86 |
Â
<thead>\
|
87 |
+
<tr><th class="enhanced">'+ebsjstrans.title+'</th><th class="enhanced">'+ebsjstrans.image+'</th><th class="enhanced">'+ebsjstrans.image+''+ebsjstrans.caption+'</th><th>'+ebsjstrans.active+'</th><th>'+ebsjstrans.option+'</th></tr>\
|
88 |
Â
</thead>\
|
89 |
Â
<tbody id="oscitas-append-slideritem">\
|
90 |
Â
<tr class="osc_dropdown_list_item">\
|
91 |
+
<td class="enhanced"><input type="text" name="oscitas-itemslider-title[]" class="oscitas-itemslider-title" value="'+ebsjstrans.title+'"/></td>\
|
92 |
Â
<td class="enhanced"><input class="oscitas-itemslider-image" type="hidden" name="oscitas-itemslider-image[]" value="" />\
|
93 |
+
<input id="_btn" class="upload_image_button" type="button" value="'+ebsjstrans.upload+' '+ebsjstrans.image+'" /><div class="image_preview"></div></td>\
|
94 |
Â
<td class="enhanced"><textarea name="oscitas-itemslider-caption[]" class="oscitas-itemslider-caption"></textarea></td>\
|
95 |
Â
<td><input type="radio" name="oscitas-itemslider-active" class="oscitas-itemslider-active" value="active" checked="checked"/></td>\
|
96 |
Â
<td></td>\
|
97 |
Â
</tr>\
|
98 |
Â
</tbody>\
|
99 |
Â
<tfoot>\
|
100 |
+
<tr><td colspan="5"><a id="osc_add_new_dditem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-plus-sign"></i> '+ebsjstrans.add+''+ebsjstrans.new+''+ebsjstrans.item+'</a></td></tr>\
|
101 |
Â
</tfoot>\
|
102 |
Â
</table></td>\
|
103 |
Â
</tr>\
|
104 |
Â
<tr>\
|
105 |
+
<th><label for="oscitas-slider-class">'+ebsjstrans.customclass+'</label></th>\
|
106 |
Â
<td><input type="text" name="line" id="oscitas-slider-class" value=""/><br />\
|
107 |
Â
</td>\
|
108 |
Â
</tr>\
|
109 |
Â
</table>\
|
110 |
+
<p class="submit ebs-default-options" style="padding-right: 10px;text-align: right;">\
|
111 |
+
<input type="button" id="oscitas-slider-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.slider+'" name="submit" />\
|
112 |
Â
</p>\
|
113 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/slider/screenshot.jpg"/></div>\
|
114 |
Â
</div>');
|
115 |
Â
return form;
|
116 |
Â
}
|
121 |
Â
var table = form.find('table');
|
122 |
Â
|
123 |
Â
form.find('#osc_add_new_dditem').click(function(){
|
124 |
+
var item='<tr class="osc_dropdown_list_item"><td class="enhanced"><input type="text" name="scitas-itemslider-title[]" class="oscitas-itemslider-title" value="'+ebsjstrans.title+'"/></td><td class="enhanced"><input class="oscitas-itemslider-image" type="hidden" name="oscitas-itemslider-image[]" value="" /><input id="_btn" class="upload_image_button" type="button" value="'+ebsjstrans.upload+' '+ebsjstrans.image+'" /><div class="image_preview"></div></td><td class="enhanced"><textarea name="oscitas-itemslider-caption[]" class="oscitas-itemslider-caption"></textarea></td><td><input type="radio" name="oscitas-itemslider-active" class="oscitas-itemslider-active" value=""/></td><td><a class="osc_remove_dditem" href="javascript:;" style="text-decoration:none;"><i class="glyphicon glyphicon-remove"></i></a></td></tr>';
|
125 |
Â
form.find('#oscitas-append-slideritem').append(item);
|
126 |
Â
__slider_show_image_upload_icon(form,jQuery('#oscitas-append-slideritem').find('tr:last').find('.upload_image_button'));
|
127 |
Â
|
158 |
Â
shortcode += ']';
|
159 |
Â
var row_attr={
|
160 |
Â
title:'',
|
161 |
+
image:''
|
162 |
+
//caption:''
|
163 |
Â
}
|
164 |
Â
|
165 |
Â
form.find('tr.osc_dropdown_list_item').each(function(index){
|
175 |
Â
attr+=' active="active"';
|
176 |
Â
}
|
177 |
Â
|
178 |
+
shortcode+='<br/>['+$ebs_prefix+'slide'+attr+']'+$this.find('.oscitas-itemslider-caption').val()+'[/'+$ebs_prefix+'slide]';
|
179 |
Â
|
180 |
Â
|
181 |
Â
});
|
shortcode/tables/screenshot.jpg
ADDED
Binary file
|
shortcode/tables/tables_plugin.js
CHANGED
@@ -8,57 +8,58 @@ var tables={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_tables(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
Â
<tr>\
|
13 |
-
<th><label for="oscitas-table-width">
|
14 |
Â
<td><input type="text" name="icontag" id="oscitas-table-width" value="100%" /><br />\
|
15 |
Â
</td>\
|
16 |
Â
</tr>\
|
17 |
Â
<tr>\
|
18 |
-
<th><label for="oscitas-table-columns">
|
19 |
Â
<td><input type="text" name="link" id="oscitas-table-columns" value="4" /><br />\
|
20 |
Â
</td>\
|
21 |
Â
</tr>\
|
22 |
Â
<tr>\
|
23 |
-
<th><label for="oscitas-table-rows">
|
24 |
Â
<td><input type="text" name="title" id="oscitas-table-rows" value="4" /><br />\
|
25 |
Â
</td>\
|
26 |
Â
</tr>\
|
27 |
Â
<tr>\
|
28 |
-
<th><label for="oscitas-table-rows">
|
29 |
Â
<td>\
|
30 |
Â
<select name="tablestyle" id="oscitas-table-style">\
|
31 |
-
<option value="">
|
32 |
-
<option value="table-striped">
|
33 |
-
<option value="table-bordered">
|
34 |
-
<option value="table-striped table-bordered">
|
35 |
Â
</select>\
|
36 |
Â
<br />\
|
37 |
Â
</td>\
|
38 |
Â
</tr>\
|
39 |
Â
<tr>\
|
40 |
-
<th><label for="oscitas-table-rows">
|
41 |
Â
<td>\
|
42 |
Â
<input type="checkbox" id="oscitas-table-hover" value="table-hover">\
|
43 |
Â
<br />\
|
44 |
Â
</td>\
|
45 |
Â
</tr>\
|
46 |
Â
<tr>\
|
47 |
-
<th><label for="oscitas-table-rows">
|
48 |
Â
<td>\
|
49 |
Â
<input type="checkbox" id="oscitas-table-scroll" value="table-responsive">\
|
50 |
Â
<br />\
|
51 |
Â
</td>\
|
52 |
Â
</tr>\
|
53 |
Â
<tr>\
|
54 |
-
<th><label for="oscitas-table-class">
|
55 |
Â
<td><input type="text" name="line" id="oscitas-table-class" value=""/><br />\
|
56 |
Â
</td>\
|
57 |
Â
</tr>\
|
58 |
Â
</table>\
|
59 |
-
<p class="submit">\
|
60 |
-
<input type="button" id="oscitas-submit" class="button-primary" value="
|
61 |
Â
</p>\
|
Â
|
|
62 |
Â
</div>');
|
63 |
Â
return form;
|
64 |
Â
}
|
@@ -93,7 +94,7 @@ function create_oscitas_tables(pluginObj){
|
|
93 |
Â
shortcode += ']<br/>['+$ebs_prefix+'table_head]<br/>';
|
94 |
Â
for (var i=1;i<=columns;i++)
|
95 |
Â
{
|
96 |
-
shortcode += '['+$ebs_prefix+'th_column]
|
97 |
Â
}
|
98 |
Â
shortcode += '[/'+$ebs_prefix+'table_head]<br/>['+$ebs_prefix+'table_body]<br/>';
|
99 |
Â
|
@@ -102,7 +103,7 @@ function create_oscitas_tables(pluginObj){
|
|
102 |
Â
shortcode += '['+$ebs_prefix+'table_row]<br/>';
|
103 |
Â
for (var i=1;i<=columns;i++)
|
104 |
Â
{
|
105 |
-
shortcode += '['+$ebs_prefix+'row_column]value-'+i+'[/'+$ebs_prefix+'row_column]<br/>';
|
106 |
Â
}
|
107 |
Â
|
108 |
Â
shortcode += '[/'+$ebs_prefix+'table_row]<br/>';
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_tables(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
Â
<tr>\
|
13 |
+
<th><label for="oscitas-table-width">'+ebsjstrans.table+' '+ebsjstrans.width+':</label></th>\
|
14 |
Â
<td><input type="text" name="icontag" id="oscitas-table-width" value="100%" /><br />\
|
15 |
Â
</td>\
|
16 |
Â
</tr>\
|
17 |
Â
<tr>\
|
18 |
+
<th><label for="oscitas-table-columns">'+ebsjstrans.columns+':</label></th>\
|
19 |
Â
<td><input type="text" name="link" id="oscitas-table-columns" value="4" /><br />\
|
20 |
Â
</td>\
|
21 |
Â
</tr>\
|
22 |
Â
<tr>\
|
23 |
+
<th><label for="oscitas-table-rows">'+ebsjstrans.rows+':</label></th>\
|
24 |
Â
<td><input type="text" name="title" id="oscitas-table-rows" value="4" /><br />\
|
25 |
Â
</td>\
|
26 |
Â
</tr>\
|
27 |
Â
<tr>\
|
28 |
+
<th><label for="oscitas-table-rows">'+ebsjstrans.table+' '+ebsjstrans.style+':</label></th>\
|
29 |
Â
<td>\
|
30 |
Â
<select name="tablestyle" id="oscitas-table-style">\
|
31 |
+
<option value="">'+ebsjstrans.simple+'</option>\
|
32 |
+
<option value="table-striped">'+ebsjstrans.striped+'</option>\
|
33 |
+
<option value="table-bordered">'+ebsjstrans.bordered+'</option>\
|
34 |
+
<option value="table-striped table-bordered">'+ebsjstrans.striped+' + '+ebsjstrans.bordered+'</option>\
|
35 |
Â
</select>\
|
36 |
Â
<br />\
|
37 |
Â
</td>\
|
38 |
Â
</tr>\
|
39 |
Â
<tr>\
|
40 |
+
<th><label for="oscitas-table-rows">'+ebsjstrans.show+' '+ebsjstrans.hover+' '+ebsjstrans.effect+':</label></th>\
|
41 |
Â
<td>\
|
42 |
Â
<input type="checkbox" id="oscitas-table-hover" value="table-hover">\
|
43 |
Â
<br />\
|
44 |
Â
</td>\
|
45 |
Â
</tr>\
|
46 |
Â
<tr>\
|
47 |
+
<th><label for="oscitas-table-rows">'+ebsjstrans.responsive+':</label></th>\
|
48 |
Â
<td>\
|
49 |
Â
<input type="checkbox" id="oscitas-table-scroll" value="table-responsive">\
|
50 |
Â
<br />\
|
51 |
Â
</td>\
|
52 |
Â
</tr>\
|
53 |
Â
<tr>\
|
54 |
+
<th><label for="oscitas-table-class">'+ebsjstrans.customclass+':</label></th>\
|
55 |
Â
<td><input type="text" name="line" id="oscitas-table-class" value=""/><br />\
|
56 |
Â
</td>\
|
57 |
Â
</tr>\
|
58 |
Â
</table>\
|
59 |
+
<p class="submit ebs-default-options">\
|
60 |
+
<input type="button" id="oscitas-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.table+'" name="submit" />\
|
61 |
Â
</p>\
|
62 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/tables/screenshot.jpg"/></div>\
|
63 |
Â
</div>');
|
64 |
Â
return form;
|
65 |
Â
}
|
94 |
Â
shortcode += ']<br/>['+$ebs_prefix+'table_head]<br/>';
|
95 |
Â
for (var i=1;i<=columns;i++)
|
96 |
Â
{
|
97 |
+
shortcode += '['+$ebs_prefix+'th_column]'+ebsjstrans.heading+'-'+i+'[/'+$ebs_prefix+'th_column]<br/>';
|
98 |
Â
}
|
99 |
Â
shortcode += '[/'+$ebs_prefix+'table_head]<br/>['+$ebs_prefix+'table_body]<br/>';
|
100 |
Â
|
103 |
Â
shortcode += '['+$ebs_prefix+'table_row]<br/>';
|
104 |
Â
for (var i=1;i<=columns;i++)
|
105 |
Â
{
|
106 |
+
shortcode += '['+$ebs_prefix+'row_column]'+ebsjstrans.value+'-'+i+'[/'+$ebs_prefix+'row_column]<br/>';
|
107 |
Â
}
|
108 |
Â
|
109 |
Â
shortcode += '[/'+$ebs_prefix+'table_row]<br/>';
|
shortcode/tabs/screenshot.jpg
ADDED
Binary file
|
shortcode/tabs/tabs_plugin.js
CHANGED
@@ -1,26 +1,73 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1 |
Â
(function() {
|
2 |
-
|
3 |
-
init : function(ed, url) {
|
4 |
-
ed.addButton('oscitastabs', {
|
5 |
-
title : 'Tabs Shortcode',
|
6 |
-
image : url+'/icon.png',
|
7 |
-
onclick : function() {
|
8 |
-
ed.selection.setContent('['+$ebs_prefix+'tabs class="yourcustomclass"]<br/>['+$ebs_prefix+'tab title="Tab number 1" active="active"]Tab 1 content goes here.[/'+$ebs_prefix+'tab]<br/>['+$ebs_prefix+'tab title="Tab number 2"]Tab 2 content goes here.[/'+$ebs_prefix+'tab]<br/>['+$ebs_prefix+'tab title="Tab number 3"]Tab 3 content goes here.[/'+$ebs_prefix+'tab]<br/>['+$ebs_prefix+'tab title="Tab number 4"]Tab 4 content goes here.[/'+$ebs_prefix+'tab]<br/>[/'+$ebs_prefix+'tabs]');
|
9 |
-
}
|
10 |
-
});
|
11 |
-
},
|
12 |
-
createControl : function(n, cm) {
|
13 |
-
return null;
|
14 |
-
},
|
15 |
-
getInfo : function() {
|
16 |
-
return {
|
17 |
-
longname : "Tabs Shortcode",
|
18 |
-
author : 'Oscitas Themes',
|
19 |
-
authorurl : 'http://www.oscitasthemes.com/',
|
20 |
-
infourl : 'http://www.oscitasthemes.com/',
|
21 |
-
version : "2.0.0"
|
22 |
-
};
|
23 |
-
}
|
24 |
-
});
|
25 |
-
tinymce.PluginManager.add('oscitastabs', tinymce.plugins.oscitasTabs);
|
26 |
Â
})();
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var tabs={
|
2 |
+
title:"Tabs Shortcode",
|
3 |
+
id :'oscitas-form-osctabs',
|
4 |
+
pluginName: 'tabs',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
Â
(function() {
|
8 |
+
_create_tinyMCE_options(tabs);
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
9 |
Â
})();
|
10 |
+
|
11 |
+
function ebs_return_html_tabs(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'">\
|
13 |
+
<p class="submit">\
|
14 |
+
<input type="button" id="oscitas-oscitastoggles-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.tab+'" name="submit" />\
|
15 |
+
</p><br/>\
|
16 |
+
<table id="oscitas-table" class="form-table">\
|
17 |
+
<tr>\
|
18 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/tabs/screenshot.jpg" /></th>\
|
19 |
+
</tr>\
|
20 |
+
</table>\
|
21 |
+
</div>');
|
22 |
+
return form;
|
23 |
+
}
|
24 |
+
|
25 |
+
|
26 |
+
function create_oscitas_tabs(pluginObj){
|
27 |
+
|
28 |
+
var form = jQuery(pluginObj.hashId);
|
29 |
+
|
30 |
+
var table = form.find('table');
|
31 |
+
|
32 |
+
//ebs_color_picker(form.find('.color'));
|
33 |
+
|
34 |
+
// handles the click event of the submit button
|
35 |
+
form.find('#oscitas-oscitastoggles-submit').click(function(){
|
36 |
+
var shortcode = '['+$ebs_prefix+'tabs class="yourcustomclass"]<br/>['+$ebs_prefix+'tab title="'+ebsjstrans.tabnum+' 1" active="active"]'+ebsjstrans.tab+' 1 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'tab]<br/>['+$ebs_prefix+'tab title="'+ebsjstrans.tabnum+' 2"]'+ebsjstrans.tab+' 2 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'tab]<br/>['+$ebs_prefix+'tab title="'+ebsjstrans.tabnum+' 3"]'+ebsjstrans.tab+' 3 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'tab]<br/>['+$ebs_prefix+'tab title="'+ebsjstrans.tabnum+' 4"]'+ebsjstrans.tab+' 4 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'tab]<br/>[/'+$ebs_prefix+'tabs]';
|
37 |
+
|
38 |
+
// inserts the shortcode into the active editor
|
39 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
40 |
+
|
41 |
+
// closes fancybox
|
42 |
+
close_dialogue(pluginObj.hashId);
|
43 |
+
});
|
44 |
+
}
|
45 |
+
|
46 |
+
//
|
47 |
+
//
|
48 |
+
//(function() {
|
49 |
+
// tinymce.create('tinymce.plugins.oscitasTabs', {
|
50 |
+
// init : function(ed, url) {
|
51 |
+
// ed.addButton('oscitastabs', {
|
52 |
+
// title : 'Tabs Shortcode',
|
53 |
+
// image : url+'/icon.png',
|
54 |
+
// onclick : function() {
|
55 |
+
// ed.selection.setContent('['+$ebs_prefix+'tabs class="yourcustomclass"]<br/>['+$ebs_prefix+'tab title="'+ebsjstrans.tabnum+' 1" active="active"]'+ebsjstrans.tab+' 1 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'tab]<br/>['+$ebs_prefix+'tab title="'+ebsjstrans.tabnum+' 2"]'+ebsjstrans.tab+' 2 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'tab]<br/>['+$ebs_prefix+'tab title="'+ebsjstrans.tabnum+' 3"]'+ebsjstrans.tab+' 3 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'tab]<br/>['+$ebs_prefix+'tab title="'+ebsjstrans.tabnum+' 4"]'+ebsjstrans.tab+' 4 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'tab]<br/>[/'+$ebs_prefix+'tabs]');
|
56 |
+
// }
|
57 |
+
// });
|
58 |
+
// },
|
59 |
+
// createControl : function(n, cm) {
|
60 |
+
// return null;
|
61 |
+
// },
|
62 |
+
// getInfo : function() {
|
63 |
+
// return {
|
64 |
+
// longname : "Tabs Shortcode",
|
65 |
+
// author : 'Oscitas Themes',
|
66 |
+
// authorurl : 'http://www.oscitasthemes.com/',
|
67 |
+
// infourl : 'http://www.oscitasthemes.com/',
|
68 |
+
// version : "2.0.0"
|
69 |
+
// };
|
70 |
+
// }
|
71 |
+
// });
|
72 |
+
// tinymce.PluginManager.add('oscitastabs', tinymce.plugins.oscitasTabs);
|
73 |
+
//})();
|
shortcode/testimonial/icon.png
ADDED
Binary file
|
shortcode/testimonial/plugin_shortcode.php
ADDED
File without changes
|
shortcode/testimonial/screenshot.jpg
ADDED
Binary file
|
shortcode/testimonial/testimonial_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var testimonial={
|
2 |
+
title:"Testimonial Shortcode",
|
3 |
+
id :'oscitas-form-testimonial',
|
4 |
+
pluginName: 'testimonial',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(testimonial);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_testimonial(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/testimonial/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_testimonial(pluginObj){
|
23 |
+
}
|
shortcode/thumbnail/screenshot.jpg
ADDED
Binary file
|
shortcode/thumbnail/thumbnail_plugin.js
CHANGED
@@ -8,41 +8,42 @@ var thumbnail={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_thumbnail(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
-
<th><label for="oscitas-label-content">
|
13 |
Â
<td id="osc_thumbnail_upload"><input id="oscitas-thumbnail-src" type="hidden" name="oscitas-thumbnail-src" value="" />\
|
14 |
-
<input id="_btn" class="upload_image_button" type="button" value="
|
15 |
Â
</td>\
|
16 |
Â
</tr>\
|
17 |
Â
<tr>\
|
18 |
-
<th><label for="oscitas-thumbnail-link">
|
19 |
Â
<td><input type="text" name="oscitas-alt-txt" id="oscitas-alt-txt" value=""/><br />\
|
20 |
Â
</td>\
|
21 |
Â
</tr>\
|
22 |
Â
<tr>\
|
23 |
-
<th><label for="oscitas-thumbnail-link">
|
24 |
Â
<td><input type="text" name="oscitas-thumbnail-link" id="oscitas-thumbnail-link" value=""/><br />\
|
25 |
Â
</td>\
|
26 |
Â
</tr>\
|
27 |
Â
<tr>\
|
28 |
-
<th><label for="oscitas-thumbnail-link">
|
29 |
-
<td><select name="oscitas-thumbnail-link-target" id="oscitas-thumbnail-link-target"><option value="_self">
|
30 |
Â
</td>\
|
31 |
Â
</tr>\
|
32 |
Â
<tr>\
|
33 |
-
<th><label for="oscitas-thumbnail-link">
|
34 |
Â
<td><input type="checkbox" name="oscitas-thumbnail-border" id="oscitas-thumbnail-border" value="1"/><br />\
|
35 |
Â
</td>\
|
36 |
Â
</tr>\
|
37 |
Â
<tr>\
|
38 |
-
<th><label for="oscitas-thumbnail-class">
|
39 |
Â
<td><input type="text" name="line" id="oscitas-thumbnail-class" value=""/><br />\
|
40 |
Â
</td>\
|
41 |
Â
</tr>\
|
42 |
Â
</table>\
|
43 |
-
<p class="submit">\
|
44 |
-
<input type="button" id="oscitas-thumbnail-submit" class="button-primary" value="
|
45 |
Â
</p>\
|
Â
|
|
46 |
Â
</div>');
|
47 |
Â
|
48 |
Â
return form;
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_thumbnail(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
+
<th><label for="oscitas-label-content">'+ebsjstrans.upload+' '+ebsjstrans.image+':</label></th>\
|
13 |
Â
<td id="osc_thumbnail_upload"><input id="oscitas-thumbnail-src" type="hidden" name="oscitas-thumbnail-src" value="" />\
|
14 |
+
<input id="_btn" class="upload_image_button" type="button" value="'+ebsjstrans.upload+' '+ebsjstrans.image+'" />\
|
15 |
Â
</td>\
|
16 |
Â
</tr>\
|
17 |
Â
<tr>\
|
18 |
+
<th><label for="oscitas-thumbnail-link">'+ebsjstrans.alternate+' '+ebsjstrans.text+':</label></th>\
|
19 |
Â
<td><input type="text" name="oscitas-alt-txt" id="oscitas-alt-txt" value=""/><br />\
|
20 |
Â
</td>\
|
21 |
Â
</tr>\
|
22 |
Â
<tr>\
|
23 |
+
<th><label for="oscitas-thumbnail-link">'+ebsjstrans.link+':</label></th>\
|
24 |
Â
<td><input type="text" name="oscitas-thumbnail-link" id="oscitas-thumbnail-link" value=""/><br />\
|
25 |
Â
</td>\
|
26 |
Â
</tr>\
|
27 |
Â
<tr>\
|
28 |
+
<th><label for="oscitas-thumbnail-link">'+ebsjstrans.target+':</label></th>\
|
29 |
+
<td><select name="oscitas-thumbnail-link-target" id="oscitas-thumbnail-link-target"><option value="_self">'+ebsjstrans.self+'</option><option value="_blank">'+ebsjstrans.newtarget+'</option></select><br />\
|
30 |
Â
</td>\
|
31 |
Â
</tr>\
|
32 |
Â
<tr>\
|
33 |
+
<th><label for="oscitas-thumbnail-link">'+ebsjstrans.show+' '+ebsjstrans.border+':</label></th>\
|
34 |
Â
<td><input type="checkbox" name="oscitas-thumbnail-border" id="oscitas-thumbnail-border" value="1"/><br />\
|
35 |
Â
</td>\
|
36 |
Â
</tr>\
|
37 |
Â
<tr>\
|
38 |
+
<th><label for="oscitas-thumbnail-class">'+ebsjstrans.customclass+':</label></th>\
|
39 |
Â
<td><input type="text" name="line" id="oscitas-thumbnail-class" value=""/><br />\
|
40 |
Â
</td>\
|
41 |
Â
</tr>\
|
42 |
Â
</table>\
|
43 |
+
<p class="submit ebs-default-options">\
|
44 |
+
<input type="button" id="oscitas-thumbnail-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.thumbnail+'" name="submit" />\
|
45 |
Â
</p>\
|
46 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/thumbnail/screenshot.jpg"/></div>\
|
47 |
Â
</div>');
|
48 |
Â
|
49 |
Â
return form;
|
shortcode/toggles/plugin_shortcode.php
CHANGED
@@ -40,7 +40,7 @@ function osc_theme_toggle($params, $content = null) {
|
|
40 |
Â
<div class="panel panel-default{$const['EBS_CONTAINER_CLASS']}">
|
41 |
Â
<div class="panel-heading{$const['EBS_CONTAINER_CLASS']}">
|
42 |
Â
<h4 class="panel-title{$const['EBS_CONTAINER_CLASS']}">
|
43 |
-
<a class="accordion-toggle{$const['EBS_CONTAINER_CLASS']}" data-toggle="collapse"
|
44 |
Â
data-parent="#oscitas-accordion-{$index}"
|
45 |
Â
href="#{$id}">
|
46 |
Â
{$title}
|
40 |
Â
<div class="panel panel-default{$const['EBS_CONTAINER_CLASS']}">
|
41 |
Â
<div class="panel-heading{$const['EBS_CONTAINER_CLASS']}">
|
42 |
Â
<h4 class="panel-title{$const['EBS_CONTAINER_CLASS']}">
|
43 |
+
<a class="accordion-toggle{$const['EBS_CONTAINER_CLASS']} collapsed" data-toggle="collapse"
|
44 |
Â
data-parent="#oscitas-accordion-{$index}"
|
45 |
Â
href="#{$id}">
|
46 |
Â
{$title}
|
shortcode/toggles/screenshot.jpg
ADDED
Binary file
|
shortcode/toggles/toggles_plugin.js
CHANGED
@@ -1,26 +1,74 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1 |
Â
(function() {
|
2 |
-
|
3 |
-
init : function(ed, url) {
|
4 |
-
ed.addButton('oscitastoggles', {
|
5 |
-
title : 'Toggle/Accordion Shortcode',
|
6 |
-
image : url+'/icon.png',
|
7 |
-
onclick : function() {
|
8 |
-
ed.selection.setContent('['+$ebs_prefix+'toggles class="yourcustomclass"]<br/>['+$ebs_prefix+'toggle title="Accordion number 1" class="in"]Toggle 1 content goes here.[/'+$ebs_prefix+'toggle]<br/>['+$ebs_prefix+'toggle title="Accordion number 2"]Toggle 2 content goes here.[/'+$ebs_prefix+'toggle]<br/>['+$ebs_prefix+'toggle title="Accordion number 3"]Toggle 3 content goes here.[/'+$ebs_prefix+'toggle]<br/>['+$ebs_prefix+'toggle title="Accordion number 4"]Toggle 4 content goes here.[/'+$ebs_prefix+'toggle]<br/>[/'+$ebs_prefix+'toggles]');
|
9 |
-
}
|
10 |
-
});
|
11 |
-
},
|
12 |
-
createControl : function(n, cm) {
|
13 |
-
return null;
|
14 |
-
},
|
15 |
-
getInfo : function() {
|
16 |
-
return {
|
17 |
-
longname : "Toggle Shortcode",
|
18 |
-
author : 'Oscitas Themes',
|
19 |
-
authorurl : 'http://www.oscitasthemes.com/',
|
20 |
-
infourl : 'http://www.oscitasthemes.com/',
|
21 |
-
version : "2.0.0"
|
22 |
-
};
|
23 |
-
}
|
24 |
-
});
|
25 |
-
tinymce.PluginManager.add('oscitastoggles', tinymce.plugins.oscitasToggles);
|
26 |
Â
})();
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var toggles={
|
2 |
+
title:"Toggle/Accordion Shortcode",
|
3 |
+
id :'oscitas-form-oscitasToggles',
|
4 |
+
pluginName: 'toggles',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
Â
(function() {
|
8 |
+
_create_tinyMCE_options(toggles);
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
9 |
Â
})();
|
10 |
+
|
11 |
+
function ebs_return_html_toggles(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'">\
|
13 |
+
<p class="submit">\
|
14 |
+
<input type="button" id="oscitas-oscitastoggles-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.toggle+'" name="submit" />\
|
15 |
+
</p><br/><table id="oscitas-table" class="form-table">\
|
16 |
+
<tr>\
|
17 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/toggles/screenshot.jpg" /></th>\
|
18 |
+
</tr>\
|
19 |
+
</table>\
|
20 |
+
</div>');
|
21 |
+
return form;
|
22 |
+
}
|
23 |
+
|
24 |
+
function create_oscitas_toggles(pluginObj){
|
25 |
+
|
26 |
+
var form = jQuery(pluginObj.hashId);
|
27 |
+
|
28 |
+
var table = form.find('table');
|
29 |
+
|
30 |
+
//ebs_color_picker(form.find('.color'));
|
31 |
+
|
32 |
+
// handles the click event of the submit button
|
33 |
+
form.find('#oscitas-oscitastoggles-submit').click(function(){
|
34 |
+
var shortcode = '['+$ebs_prefix+'toggles class="yourcustomclass"]<br/>['+$ebs_prefix+'toggle title="'+ebsjstrans.accordionnumber+' 1" class="in"]'+ebsjstrans.toggle+' 1 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'toggle]<br/>['+$ebs_prefix+'toggle title="'+ebsjstrans.accordionnumber+' 2"]'+ebsjstrans.toggle+' 2 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'toggle]<br/>['+$ebs_prefix+'toggle title="'+ebsjstrans.accordionnumber+' 3"]'+ebsjstrans.toggle+' 3 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'toggle]<br/>['+$ebs_prefix+'toggle title="'+ebsjstrans.accordionnumber+' 4"]'+ebsjstrans.toggle+' 4 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'toggle]<br/>[/'+$ebs_prefix+'toggles]';
|
35 |
+
|
36 |
+
// inserts the shortcode into the active editor
|
37 |
+
tinyMCE.activeEditor.execCommand('mceInsertContent', 0, shortcode);
|
38 |
+
|
39 |
+
// closes fancybox
|
40 |
+
close_dialogue(pluginObj.hashId);
|
41 |
+
});
|
42 |
+
}
|
43 |
+
|
44 |
+
|
45 |
+
|
46 |
+
//
|
47 |
+
//
|
48 |
+
//
|
49 |
+
//(function() {
|
50 |
+
// tinymce.create('tinymce.plugins.oscitasToggles', {
|
51 |
+
// init : function(ed, url) {
|
52 |
+
// ed.addButton('oscitastoggles', {
|
53 |
+
// title : 'Toggle/Accordion Shortcode',
|
54 |
+
// image : url+'/icon.png',
|
55 |
+
// onclick : function() {
|
56 |
+
// ed.selection.setContent('['+$ebs_prefix+'toggles class="yourcustomclass"]<br/>['+$ebs_prefix+'toggle title="'+ebsjstrans.accordionnumber+' 1" class="in"]'+ebsjstrans.toggle+' 1 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'toggle]<br/>['+$ebs_prefix+'toggle title="'+ebsjstrans.accordionnumber+' 2"]'+ebsjstrans.toggle+' 2 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'toggle]<br/>['+$ebs_prefix+'toggle title="'+ebsjstrans.accordionnumber+' 3"]'+ebsjstrans.toggle+' 3 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'toggle]<br/>['+$ebs_prefix+'toggle title="'+ebsjstrans.accordionnumber+' 4"]'+ebsjstrans.toggle+' 4 '+ebsjstrans.content+' '+ebsjstrans.goes+' '+ebsjstrans.here+'.[/'+$ebs_prefix+'toggle]<br/>[/'+$ebs_prefix+'toggles]');
|
57 |
+
// }
|
58 |
+
// });
|
59 |
+
// },
|
60 |
+
// createControl : function(n, cm) {
|
61 |
+
// return null;
|
62 |
+
// },
|
63 |
+
// getInfo : function() {
|
64 |
+
// return {
|
65 |
+
// longname : "Toggle Shortcode",
|
66 |
+
// author : 'Oscitas Themes',
|
67 |
+
// authorurl : 'http://www.oscitasthemes.com/',
|
68 |
+
// infourl : 'http://www.oscitasthemes.com/',
|
69 |
+
// version : "2.0.0"
|
70 |
+
// };
|
71 |
+
// }
|
72 |
+
// });
|
73 |
+
// tinymce.PluginManager.add('oscitastoggles', tinymce.plugins.oscitasToggles);
|
74 |
+
//})();
|
shortcode/tooltip/screenshot.jpg
ADDED
Binary file
|
shortcode/tooltip/tooltip_plugin.js
CHANGED
@@ -8,55 +8,57 @@ var tooltip={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_tooltip(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
Â
<tr>\
|
13 |
-
<th><label for="oscitas-tooltip-style">
|
14 |
-
<td
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
Â
|
|
21 |
Â
</td>\
|
22 |
Â
</tr>\
|
23 |
Â
<tr>\
|
24 |
-
<th><label for="oscitas-tooltip-text">
|
25 |
Â
<td><input type="text" name="tooltip-text" id="oscitas-tooltip-text" value="Tooltip"/><br />\
|
26 |
Â
</td>\
|
27 |
Â
</tr>\
|
28 |
Â
<tr>\
|
29 |
-
<th><label for="oscitas-tooltip-type">Type:</label></th>\
|
30 |
Â
<td><select name="type" id="oscitas-tooltip-type">\
|
31 |
-
<option value="link">
|
32 |
-
<option value="button">
|
33 |
Â
</select><br />\
|
34 |
Â
</td>\
|
35 |
Â
</tr >\
|
36 |
Â
<tr class="oscitas-tooltip-link-tr">\
|
37 |
-
<th><label for="oscitas-tooltip-link">
|
38 |
Â
<td><input type="text" name="tooltip-link" id="oscitas-tooltip-link" value="#"/><br />\
|
39 |
Â
</td>\
|
40 |
Â
</tr>\
|
41 |
Â
<tr class="oscitas-tooltip-link-tr">\
|
42 |
-
<th><label for="oscitas-tooltip-link">
|
43 |
Â
<td><input type="checkbox" id="oscitas-tooltip-link-target" value="_blank"/><br />\
|
44 |
Â
</td>\
|
45 |
Â
</tr>\
|
46 |
Â
<tr>\
|
47 |
-
<th><label for="oscitas-tooltip-link-text">
|
48 |
-
<td><input type="text" name="link-text" id="oscitas-tooltip-link-text" value="
|
49 |
Â
</td>\
|
50 |
Â
</tr>\
|
51 |
Â
<tr>\
|
52 |
-
<th><label for="oscitas-tooltip-class">
|
53 |
Â
<td><input type="text" name="line" id="oscitas-tooltip-class" value=""/><br />\
|
54 |
Â
</td>\
|
55 |
Â
</tr>\
|
56 |
Â
</table>\
|
57 |
-
<p class="submit">\
|
58 |
-
<input type="button" id="oscitas-tooltip-submit" class="button-primary" value="
|
59 |
Â
</p>\
|
Â
|
|
60 |
Â
</div>');
|
61 |
Â
|
62 |
Â
return form;
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_tooltip(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
Â
<tr>\
|
13 |
+
<th><label for="oscitas-tooltip-style">'+ebsjstrans.tooltip+' '+ebsjstrans.style+':</label></th>\
|
14 |
+
<td>\
|
15 |
+
<select name="type" id="oscitas-tooltip-style">\
|
16 |
+
<option value="top">'+ebsjstrans.top+'</option>\
|
17 |
+
<option value="bottom">'+ebsjstrans.bottom+'</option>\
|
18 |
+
<option value="left">'+ebsjstrans.left+'</option>\
|
19 |
+
<option value="right">'+ebsjstrans.right+'</option>\
|
20 |
+
<option value="auto">'+ebsjstrans.auto+'</option>\
|
21 |
+
</select><br />\
|
22 |
Â
</td>\
|
23 |
Â
</tr>\
|
24 |
Â
<tr>\
|
25 |
+
<th><label for="oscitas-tooltip-text">'+ebsjstrans.tooltip+' '+ebsjstrans.text+':</label></th>\
|
26 |
Â
<td><input type="text" name="tooltip-text" id="oscitas-tooltip-text" value="Tooltip"/><br />\
|
27 |
Â
</td>\
|
28 |
Â
</tr>\
|
29 |
Â
<tr>\
|
30 |
+
<th><label for="oscitas-tooltip-type">'+ebsjstrans.type+'Type:</label></th>\
|
31 |
Â
<td><select name="type" id="oscitas-tooltip-type">\
|
32 |
+
<option value="link">'+ebsjstrans.link+'</option>\
|
33 |
+
<option value="button">'+ebsjstrans.button+'</option>\
|
34 |
Â
</select><br />\
|
35 |
Â
</td>\
|
36 |
Â
</tr >\
|
37 |
Â
<tr class="oscitas-tooltip-link-tr">\
|
38 |
+
<th><label for="oscitas-tooltip-link">'+ebsjstrans.link+':</label></th>\
|
39 |
Â
<td><input type="text" name="tooltip-link" id="oscitas-tooltip-link" value="#"/><br />\
|
40 |
Â
</td>\
|
41 |
Â
</tr>\
|
42 |
Â
<tr class="oscitas-tooltip-link-tr">\
|
43 |
+
<th><label for="oscitas-tooltip-link">'+ebsjstrans.newtarget+':</label></th>\
|
44 |
Â
<td><input type="checkbox" id="oscitas-tooltip-link-target" value="_blank"/><br />\
|
45 |
Â
</td>\
|
46 |
Â
</tr>\
|
47 |
Â
<tr>\
|
48 |
+
<th><label for="oscitas-tooltip-link-text">'+ebsjstrans.value+':</label></th>\
|
49 |
+
<td><input type="text" name="link-text" id="oscitas-tooltip-link-text" value="'+ebsjstrans.hover+' '+ebsjstrans.me+'"/><br />\
|
50 |
Â
</td>\
|
51 |
Â
</tr>\
|
52 |
Â
<tr>\
|
53 |
+
<th><label for="oscitas-tooltip-class">'+ebsjstrans.customclass+':</label></th>\
|
54 |
Â
<td><input type="text" name="line" id="oscitas-tooltip-class" value=""/><br />\
|
55 |
Â
</td>\
|
56 |
Â
</tr>\
|
57 |
Â
</table>\
|
58 |
+
<p class="submit ebs-default-options">\
|
59 |
+
<input type="button" id="oscitas-tooltip-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.tooltip+'" name="submit" />\
|
60 |
Â
</p>\
|
61 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/tooltip/screenshot.jpg"/></div>\
|
62 |
Â
</div>');
|
63 |
Â
|
64 |
Â
return form;
|
shortcode/vertical_space/icon.png
ADDED
Binary file
|
shortcode/vertical_space/plugin_shortcode.php
ADDED
File without changes
|
shortcode/vertical_space/screenshot.jpg
ADDED
Binary file
|
shortcode/vertical_space/vertical_space_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var vertical_space={
|
2 |
+
title:"Vertical Space Shortcode",
|
3 |
+
id :'oscitas-form-vertical_space',
|
4 |
+
pluginName: 'vertical_space',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(vertical_space);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_vertical_space(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/vertical_space/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_vertical_space(pluginObj){
|
23 |
+
}
|
shortcode/video/icon.png
ADDED
Binary file
|
shortcode/video/plugin_shortcode.php
ADDED
File without changes
|
shortcode/video/screenshot.jpg
ADDED
Binary file
|
shortcode/video/video_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var video={
|
2 |
+
title:"Video Shortcode",
|
3 |
+
id :'oscitas-form-video',
|
4 |
+
pluginName: 'video',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(video);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_video(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/video/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_video(pluginObj){
|
23 |
+
}
|
shortcode/well/screenshot.jpg
ADDED
Binary file
|
shortcode/well/well_plugin.js
CHANGED
@@ -8,30 +8,31 @@ var well={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_well(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
Â
<tr>\
|
13 |
-
<th><label for="oscitas-well-type">
|
14 |
Â
<td><select name="type" id="oscitas-well-type">\
|
15 |
-
<option value="">
|
16 |
-
<option value="well-lg">
|
17 |
-
<option value="well-sm">
|
18 |
Â
</select><br />\
|
19 |
Â
</td>\
|
20 |
Â
</tr>\
|
21 |
Â
<tr>\
|
22 |
-
<th><label for="oscitas-well-content">
|
23 |
-
<td><textarea name="well" id="oscitas-well-content">
|
24 |
Â
</td>\
|
25 |
Â
</tr>\
|
26 |
Â
<tr>\
|
27 |
-
<th><label for="oscitas-well-class">
|
28 |
Â
<td><input type="text" name="line" id="oscitas-well-class" value=""/><br />\
|
29 |
Â
</td>\
|
30 |
Â
</tr>\
|
31 |
Â
</table>\
|
32 |
-
<p class="submit">\
|
33 |
-
<input type="button" id="oscitas-well-submit" class="button-primary" value="
|
34 |
Â
</p>\
|
Â
|
|
35 |
Â
</div>');
|
36 |
Â
|
37 |
Â
return form;
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_well(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
Â
<tr>\
|
13 |
+
<th><label for="oscitas-well-type">'+ebsjstrans.well+' '+ebsjstrans.type+':</label></th>\
|
14 |
Â
<td><select name="type" id="oscitas-well-type">\
|
15 |
+
<option value="">'+ebsjstrans.default+'</option>\
|
16 |
+
<option value="well-lg">'+ebsjstrans.large+'</option>\
|
17 |
+
<option value="well-sm">'+ebsjstrans.small+'</option>\
|
18 |
Â
</select><br />\
|
19 |
Â
</td>\
|
20 |
Â
</tr>\
|
21 |
Â
<tr>\
|
22 |
+
<th><label for="oscitas-well-content">'+ebsjstrans.well+' '+ebsjstrans.content+':</label></th>\
|
23 |
+
<td><textarea name="well" id="oscitas-well-content">'+ebsjstrans.your+' '+ebsjstrans.content+'</textarea><br />\
|
24 |
Â
</td>\
|
25 |
Â
</tr>\
|
26 |
Â
<tr>\
|
27 |
+
<th><label for="oscitas-well-class">'+ebsjstrans.customclass+':</label></th>\
|
28 |
Â
<td><input type="text" name="line" id="oscitas-well-class" value=""/><br />\
|
29 |
Â
</td>\
|
30 |
Â
</tr>\
|
31 |
Â
</table>\
|
32 |
+
<p class="submit ebs-default-options">\
|
33 |
+
<input type="button" id="oscitas-well-submit" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.well+'" name="submit" />\
|
34 |
Â
</p>\
|
35 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/well/screenshot.jpg"/></div>\
|
36 |
Â
</div>');
|
37 |
Â
|
38 |
Â
return form;
|
shortcode/widget/icon.png
ADDED
Binary file
|
shortcode/widget/plugin_shortcode.php
ADDED
File without changes
|
shortcode/widget/screenshot.jpg
ADDED
Binary file
|
shortcode/widget/widget_plugin.js
ADDED
@@ -0,0 +1,23 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
1 |
+
var widget={
|
2 |
+
title:"Widget Shortcode",
|
3 |
+
id :'oscitas-form-widget',
|
4 |
+
pluginName: 'widget',
|
5 |
+
showprobtn: false
|
6 |
+
};
|
7 |
+
(function() {
|
8 |
+
_create_tinyMCE_options(widget);
|
9 |
+
})();
|
10 |
+
|
11 |
+
function ebs_return_html_widget(pluginObj){
|
12 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
13 |
+
<tr>\
|
14 |
+
<th class="aligncenter"><img src="'+ebs_url+'shortcode/widget/screenshot.jpg" /></th>\
|
15 |
+
</tr>\
|
16 |
+
</table>\
|
17 |
+
</div>');
|
18 |
+
return form;
|
19 |
+
}
|
20 |
+
|
21 |
+
|
22 |
+
function create_oscitas_widget(pluginObj){
|
23 |
+
}
|
shortcode/wpcolumns/screenshot.jpg
ADDED
Binary file
|
shortcode/wpcolumns/wpcolumns_plugin.js
CHANGED
@@ -8,26 +8,26 @@ var wpcolumns={
|
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_wpcolumns(pluginObj){
|
11 |
-
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table">\
|
12 |
Â
<tr>\
|
13 |
-
<th><label for="oscitas-no-of-wpcolumns">
|
14 |
Â
<td><select name="type" id="oscitas-no-of-wpcolumns">\
|
15 |
-
<option value="1" selected="selected">
|
16 |
-
<option value="2">
|
17 |
-
<option value="3">
|
18 |
-
<option value="4">
|
19 |
Â
</select><br />\
|
20 |
Â
</td>\
|
21 |
Â
</tr>\
|
22 |
Â
<tr id="wptwo" style="display:none;">\
|
23 |
-
<th><label for="oscitas-two-columns">2 column division</label></th>\
|
24 |
Â
<td><select name="type" id="oscitas-two-columns" class="osc-change-col">\
|
25 |
Â
<option value="6$6">1/2-1/2</option>\
|
26 |
Â
<option value="4$8">1/3-2/3</option>\
|
27 |
Â
<option value="8$3">2/3-1/3</option>\
|
28 |
Â
<option value="3$9">1/4-3/4</option>\
|
29 |
Â
<option value="9$3">3/4-1/4</option>\
|
30 |
-
</select>
|
31 |
Â
</td>\
|
32 |
Â
</tr>\
|
33 |
Â
<tr id="wpthree" style="display:none;">\
|
@@ -37,21 +37,22 @@ function ebs_return_html_wpcolumns(pluginObj){
|
|
37 |
Â
<option value="3$6$3">1/4-2/4-1/4</option>\
|
38 |
Â
<option value="3$3$6">1/4-1/4-2/4</option>\
|
39 |
Â
<option value="6$3$3">2/4-1/4-1/4</option>\
|
40 |
-
</select>
|
41 |
Â
</tr>\
|
42 |
Â
<tr id="">\
|
43 |
-
<th><label for="append_column_table">
|
44 |
Â
<td id="append_column_table"></td>\
|
45 |
Â
</tr>\
|
46 |
Â
<tr>\
|
47 |
-
<th><label for="oscitas-column-class">
|
48 |
Â
<td><input type="text" name="line" id="oscitas-column-class" value=""/>\
|
49 |
Â
</td>\
|
50 |
Â
</tr>\
|
51 |
Â
</table>\
|
52 |
-
<p class="submit">\
|
53 |
-
<input type="button" id="oscitas-submit-wp_column" class="button-primary" value="
|
54 |
Â
</p>\
|
Â
|
|
55 |
Â
</div>');
|
56 |
Â
|
57 |
Â
return form;
|
@@ -67,18 +68,18 @@ function create_oscitas_wpcolumns(pluginObj){
|
|
67 |
Â
|
68 |
Â
var ele='',e=0,sm,smoff,md,mdoff,lg,lgoff,xs,xsoff,sel,val=0,selcol,hidecol;
|
69 |
Â
var col= form.find('#oscitas-no-of-wpcolumns').val();
|
70 |
-
ele = '<i>
|
71 |
Â
|
72 |
Â
var option={
|
73 |
-
'lg':'
|
74 |
-
'md': '
|
75 |
-
'sm': '
|
76 |
-
'xs':'
|
77 |
Â
}
|
78 |
-
ele+= '<table id="appended" class="tb_multiple_column"><thead><tr><th>
|
79 |
Â
|
80 |
Â
for(i=1;i<=col;i++){
|
81 |
-
ele+='<th><div class="head_division head_division_check">
|
82 |
Â
|
83 |
Â
}
|
84 |
Â
ele+= '</tr></thead><tbody class="column_tbody">';
|
@@ -200,7 +201,7 @@ function create_oscitas_wpcolumns(pluginObj){
|
|
200 |
Â
}
|
201 |
Â
else{
|
202 |
Â
jQuery('#'+index+i).val(previous);
|
203 |
-
alert(
|
204 |
Â
}
|
205 |
Â
});
|
206 |
Â
|
@@ -215,7 +216,7 @@ function create_oscitas_wpcolumns(pluginObj){
|
|
215 |
Â
}
|
216 |
Â
else{
|
217 |
Â
jQuery('#'+index+'off'+i).val(previous);
|
218 |
-
alert(
|
219 |
Â
}
|
220 |
Â
})
|
221 |
Â
})
|
@@ -337,7 +338,7 @@ function create_oscitas_wpcolumns(pluginObj){
|
|
337 |
Â
lgclear='';
|
338 |
Â
}
|
339 |
Â
|
340 |
-
shortcode += '<br/>['+$ebs_prefix+'column lg="'+a_lg[i]+'"'+md+sm+xs+mdoff+smoff+xsoff+lgoff+mdhide+smhide+xshide+lghide+mdclear+smclear+xsclear+lgclear+' ]<br/>text<br/>[/'+$ebs_prefix+'column]';
|
341 |
Â
}
|
342 |
Â
|
343 |
Â
shortcode += '<br/>[/'+$ebs_prefix+'row]';
|
8 |
Â
})();
|
9 |
Â
|
10 |
Â
function ebs_return_html_wpcolumns(pluginObj){
|
11 |
+
var form = jQuery('<div id="'+pluginObj.id+'" class="oscitas-container" title="'+pluginObj.title+'"><table id="oscitas-table" class="form-table ebs-default-options">\
|
12 |
Â
<tr>\
|
13 |
+
<th><label for="oscitas-no-of-wpcolumns">'+ebsjstrans.noof+' '+ebsjstrans.columns+':</label></th>\
|
14 |
Â
<td><select name="type" id="oscitas-no-of-wpcolumns">\
|
15 |
+
<option value="1" selected="selected">'+ebsjstrans.one+' '+ebsjstrans.column+'</option>\
|
16 |
+
<option value="2">'+ebsjstrans.two+' '+ebsjstrans.column+'</option>\
|
17 |
+
<option value="3">'+ebsjstrans.three+' '+ebsjstrans.column+'</option>\
|
18 |
+
<option value="4">'+ebsjstrans.four+' '+ebsjstrans.column+'</option>\
|
19 |
Â
</select><br />\
|
20 |
Â
</td>\
|
21 |
Â
</tr>\
|
22 |
Â
<tr id="wptwo" style="display:none;">\
|
23 |
+
<th><label for="oscitas-two-columns">2 '+ebsjstrans.column+' '+ebsjstrans.division+'</label></th>\
|
24 |
Â
<td><select name="type" id="oscitas-two-columns" class="osc-change-col">\
|
25 |
Â
<option value="6$6">1/2-1/2</option>\
|
26 |
Â
<option value="4$8">1/3-2/3</option>\
|
27 |
Â
<option value="8$3">2/3-1/3</option>\
|
28 |
Â
<option value="3$9">1/4-3/4</option>\
|
29 |
Â
<option value="9$3">3/4-1/4</option>\
|
30 |
+
</select> '+ebsjstrans.for+' '+ebsjstrans.large+' '+ebsjstrans.screen+'<br />\
|
31 |
Â
</td>\
|
32 |
Â
</tr>\
|
33 |
Â
<tr id="wpthree" style="display:none;">\
|
37 |
Â
<option value="3$6$3">1/4-2/4-1/4</option>\
|
38 |
Â
<option value="3$3$6">1/4-1/4-2/4</option>\
|
39 |
Â
<option value="6$3$3">2/4-1/4-1/4</option>\
|
40 |
+
</select> '+ebsjstrans.for+' '+ebsjstrans.large+' '+ebsjstrans.screen+'<br />\
|
41 |
Â
</tr>\
|
42 |
Â
<tr id="">\
|
43 |
+
<th><label for="append_column_table">'+ebsjstrans.column+' '+ebsjstrans.specification+'</label></th>\
|
44 |
Â
<td id="append_column_table"></td>\
|
45 |
Â
</tr>\
|
46 |
Â
<tr>\
|
47 |
+
<th><label for="oscitas-column-class">'+ebsjstrans.customclass+':</label></th>\
|
48 |
Â
<td><input type="text" name="line" id="oscitas-column-class" value=""/>\
|
49 |
Â
</td>\
|
50 |
Â
</tr>\
|
51 |
Â
</table>\
|
52 |
+
<p class="submit ebs-default-options">\
|
53 |
+
<input type="button" id="oscitas-submit-wp_column" class="button-primary" value="'+ebsjstrans.insert+' '+ebsjstrans.columns+'" name="submit" />\
|
54 |
Â
</p>\
|
55 |
+
<div class="pro-version-image aligncenter" style="display: none;"><img src="'+ebs_url+'shortcode/wpcolumns/screenshot.jpg"/></div>\
|
56 |
Â
</div>');
|
57 |
Â
|
58 |
Â
return form;
|
68 |
Â
|
69 |
Â
var ele='',e=0,sm,smoff,md,mdoff,lg,lgoff,xs,xsoff,sel,val=0,selcol,hidecol;
|
70 |
Â
var col= form.find('#oscitas-no-of-wpcolumns').val();
|
71 |
+
ele = '<i>'+ebsjstrans.youcanselect+'</i><br/>';
|
72 |
Â
|
73 |
Â
var option={
|
74 |
+
'lg': ebsjstrans.large+' '+ebsjstrans.screen,
|
75 |
+
'md': ebsjstrans.medium +' '+ebsjstrans.screen,
|
76 |
+
'sm': ebsjstrans.small+' '+ebsjstrans.screen,
|
77 |
+
'xs': ebsjstrans.xsmall+' '+ebsjstrans.screen
|
78 |
Â
}
|
79 |
+
ele+= '<table id="appended" class="tb_multiple_column"><thead><tr><th>'+ebsjstrans.screen+'</th><th style="min-width:50px;max-width:50px">'+ebsjstrans.hide+' '+ebsjstrans.row+'</th>';
|
80 |
Â
|
81 |
Â
for(i=1;i<=col;i++){
|
82 |
+
ele+='<th><div class="head_division head_division_check">'+ebsjstrans.clear+' '+ebsjstrans.left+'</div><div class="head_division">'+ebsjstrans.column+'</div><div class="head_division">'+ebsjstrans.offset+'</div><div class="head_division head_division_check right">'+ebsjstrans.hide+'</div></th>';
|
83 |
Â
|
84 |
Â
}
|
85 |
Â
ele+= '</tr></thead><tbody class="column_tbody">';
|
201 |
Â
}
|
202 |
Â
else{
|
203 |
Â
jQuery('#'+index+i).val(previous);
|
204 |
+
alert(ebsjstrans.cantchange);
|
205 |
Â
}
|
206 |
Â
});
|
207 |
Â
|
216 |
Â
}
|
217 |
Â
else{
|
218 |
Â
jQuery('#'+index+'off'+i).val(previous);
|
219 |
+
alert(ebsjstrans.cantchange);
|
220 |
Â
}
|
221 |
Â
})
|
222 |
Â
})
|
338 |
Â
lgclear='';
|
339 |
Â
}
|
340 |
Â
|
341 |
+
shortcode += '<br/>['+$ebs_prefix+'column lg="'+a_lg[i]+'"'+md+sm+xs+mdoff+smoff+xsoff+lgoff+mdhide+smhide+xshide+lghide+mdclear+smclear+xsclear+lgclear+' ]<br/>'+ebsjstrans.text+'<br/>[/'+$ebs_prefix+'column]';
|
342 |
Â
}
|
343 |
Â
|
344 |
Â
shortcode += '<br/>[/'+$ebs_prefix+'row]';
|
styles/bootstrap_admin.css
CHANGED
@@ -1,3 +1,5 @@
|
|
Â
|
|
Â
|
|
1 |
Â
.oscitas-container .form-table {
|
2 |
Â
|
3 |
Â
border: 1px solid #9E9EA0;
|
@@ -17,7 +19,7 @@
|
|
17 |
Â
background: #D6D6D6;
|
18 |
Â
|
19 |
Â
}
|
20 |
-
.oscitas-container .form-table tr:
|
21 |
Â
|
22 |
Â
background: #F0F0F0;
|
23 |
Â
|
@@ -51,12 +53,12 @@
|
|
51 |
Â
background: none repeat scroll 0 0 #C2C2C2 !important;
|
52 |
Â
|
53 |
Â
}
|
54 |
-
.oscitas-container .tb_multiple_column tbody tr:
|
55 |
Â
|
56 |
Â
background: none repeat scroll 0 0 #D7D7D7 !important;
|
57 |
Â
|
58 |
Â
}
|
59 |
-
.oscitas-container .tb_multiple_column tbody tr:
|
60 |
Â
|
61 |
Â
background: none repeat scroll 0 0 #ECECEC !important;
|
62 |
Â
|
@@ -66,12 +68,12 @@
|
|
66 |
Â
border: 0 none;
|
67 |
Â
|
68 |
Â
}
|
69 |
-
.oscitas-container .tb_multiple_column_upper tbody tr:
|
70 |
Â
|
71 |
Â
background: none repeat scroll 0 0 #D7D7D7 !important;
|
72 |
Â
|
73 |
Â
}
|
74 |
-
.oscitas-container .tb_multiple_column_upper tbody tr:
|
75 |
Â
|
76 |
Â
background: none repeat scroll 0 0 #ECECEC !important;
|
77 |
Â
|
1 |
+
|
2 |
+
|
3 |
Â
.oscitas-container .form-table {
|
4 |
Â
|
5 |
Â
border: 1px solid #9E9EA0;
|
19 |
Â
background: #D6D6D6;
|
20 |
Â
|
21 |
Â
}
|
22 |
+
.oscitas-container .form-table tr:nth-child(even) {
|
23 |
Â
|
24 |
Â
background: #F0F0F0;
|
25 |
Â
|
53 |
Â
background: none repeat scroll 0 0 #C2C2C2 !important;
|
54 |
Â
|
55 |
Â
}
|
56 |
+
.oscitas-container .tb_multiple_column tbody tr:nth-child(even) {
|
57 |
Â
|
58 |
Â
background: none repeat scroll 0 0 #D7D7D7 !important;
|
59 |
Â
|
60 |
Â
}
|
61 |
+
.oscitas-container .tb_multiple_column tbody tr:nth-child(odd) {
|
62 |
Â
|
63 |
Â
background: none repeat scroll 0 0 #ECECEC !important;
|
64 |
Â
|
68 |
Â
border: 0 none;
|
69 |
Â
|
70 |
Â
}
|
71 |
+
.oscitas-container .tb_multiple_column_upper tbody tr:nth-child(even) {
|
72 |
Â
|
73 |
Â
background: none repeat scroll 0 0 #D7D7D7 !important;
|
74 |
Â
|
75 |
Â
}
|
76 |
+
.oscitas-container .tb_multiple_column_upper tbody tr:nth-child(odd) {
|
77 |
Â
|
78 |
Â
background: none repeat scroll 0 0 #ECECEC !important;
|
79 |
Â
|
styles/bootstrap_admin.min.css
CHANGED
@@ -1,3 +1,43 @@
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
1 |
Â
.oscitas-easy-bootstrap-shortcode .form-table {
|
2 |
Â
border: 1px solid #9E9EA0;
|
3 |
Â
}
|
1 |
+
.aligncenter {
|
2 |
+
text-align: center !important;
|
3 |
+
}
|
4 |
+
aligncenter > img {
|
5 |
+
max-width: 100%;
|
6 |
+
}
|
7 |
+
#oscitas-easy-bootstrap-shortcode-container .ebs-pro-btn {
|
8 |
+
background: #f89311 none repeat scroll 0 0;
|
9 |
+
border-radius: 0;
|
10 |
+
cursor: pointer;
|
11 |
+
font-size: 15px;
|
12 |
+
font-weight: 600;
|
13 |
+
height: 32px;
|
14 |
+
line-height: 30px;
|
15 |
+
min-width: 110px;
|
16 |
+
padding: 0 10px;
|
17 |
+
position: absolute;
|
18 |
+
right: 50px;
|
19 |
+
text-align: center;
|
20 |
+
text-transform: capitalize;
|
21 |
+
top: 10px;
|
22 |
+
color: #fff;
|
23 |
+
}
|
24 |
+
|
25 |
+
#oscitas-easy-bootstrap-shortcode-container .ebs-pro-btn a {
|
26 |
+
color:#FFFFFF;//0096D9;
|
27 |
+
outline: none;
|
28 |
+
box-shadow: none;
|
29 |
+
text-decoration: none;
|
30 |
+
}
|
31 |
+
#oscitas-easy-bootstrap-shortcode-container .ebs-pro-btn:hover {
|
32 |
+
background: #f89311;
|
33 |
+
}
|
34 |
+
#oscitas-easy-bootstrap-shortcode-container .ebs-pro-btn:hover a:link,
|
35 |
+
#oscitas-easy-bootstrap-shortcode-container .ebs-pro-btn:hover a:focus,
|
36 |
+
#oscitas-easy-bootstrap-shortcode-container .ebs-pro-btn:hover a{
|
37 |
+
outline: none;
|
38 |
+
box-shadow: none;
|
39 |
+
color: #fff;
|
40 |
+
}
|
41 |
Â
.oscitas-easy-bootstrap-shortcode .form-table {
|
42 |
Â
border: 1px solid #9E9EA0;
|
43 |
Â
}
|
styles/ebs-setting.min.css
CHANGED
@@ -26,7 +26,7 @@
|
|
26 |
Â
.osc-logo-setting {
|
27 |
Â
position: absolute;
|
28 |
Â
right: 8px;
|
29 |
-
top:
|
30 |
Â
}
|
31 |
Â
.ebs_details {
|
32 |
Â
background: none repeat scroll 0 0 #F9F9F9;
|
@@ -39,7 +39,13 @@
|
|
39 |
Â
-webkit-border-radius: 3px;
|
40 |
Â
-ms-border-radius: 3px;
|
41 |
Â
}
|
42 |
-
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
43 |
Â
.ebs_details label {
|
44 |
Â
color: #474747;
|
45 |
Â
line-height: 30px;
|
@@ -77,7 +83,7 @@ label.ebs_editor_label {
|
|
77 |
Â
padding: 5px;
|
78 |
Â
border: 1px solid #F1F1F1;
|
79 |
Â
width: auto;
|
80 |
-
margin:10px
|
81 |
Â
}
|
82 |
Â
label.ebs_editor_label:hover, .ebs_editor_label.val_selected {
|
83 |
Â
background: #fff;
|
@@ -86,7 +92,13 @@ label.ebs_editor_label:hover, .ebs_editor_label.val_selected {
|
|
86 |
Â
box-shadow: 0 0 3px #C4C4C4;
|
87 |
Â
float: left;
|
88 |
Â
width: auto;
|
89 |
-
margin: 10px
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
Â
|
|
90 |
Â
}
|
91 |
Â
#ebs_custom_css {
|
92 |
Â
width: 600px;
|
26 |
Â
.osc-logo-setting {
|
27 |
Â
position: absolute;
|
28 |
Â
right: 8px;
|
29 |
+
top: 6px;
|
30 |
Â
}
|
31 |
Â
.ebs_details {
|
32 |
Â
background: none repeat scroll 0 0 #F9F9F9;
|
39 |
Â
-webkit-border-radius: 3px;
|
40 |
Â
-ms-border-radius: 3px;
|
41 |
Â
}
|
42 |
+
.osc-setting-desc-box{
|
43 |
+
background: #ffffff none repeat scroll 0 0;
|
44 |
+
border: 1px solid #dddddd;
|
45 |
+
padding: 10px;
|
46 |
+
display: table;
|
47 |
+
}
|
48 |
+
.osc-setting-desc-box img{max-width:100%}
|
49 |
Â
.ebs_details label {
|
50 |
Â
color: #474747;
|
51 |
Â
line-height: 30px;
|
83 |
Â
padding: 5px;
|
84 |
Â
border: 1px solid #F1F1F1;
|
85 |
Â
width: auto;
|
86 |
+
margin:10px 10px 10px 0;
|
87 |
Â
}
|
88 |
Â
label.ebs_editor_label:hover, .ebs_editor_label.val_selected {
|
89 |
Â
background: #fff;
|
92 |
Â
box-shadow: 0 0 3px #C4C4C4;
|
93 |
Â
float: left;
|
94 |
Â
width: auto;
|
95 |
+
margin: 10px 10px 10px 0;
|
96 |
+
}
|
97 |
+
label.ebs_editor_label:last-child:hover{
|
98 |
+
background: none;
|
99 |
+
border: 1px solid #F1F1F1;
|
100 |
+
box-shadow: none;
|
101 |
+
cursor: auto;
|
102 |
Â
}
|
103 |
Â
#ebs_custom_css {
|
104 |
Â
width: 600px;
|