PageRenderTime 49ms CodeModel.GetById 19ms RepoModel.GetById 0ms app.codeStats 0ms

/wp-content/plugins/LayerSlider/add.php

https://github.com/alniko009/magic
PHP | 1663 lines | 775 code | 16 blank | 872 comment | 18 complexity | d80d91e3110550b44d5e89902762fc38 MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.1

Large files files are truncated, but you can click here to view the full file

  1. <?php
  2. global $lsPluginPath;
  3. $slider = get_option('layerslider-slides');
  4. $slider = is_array($slider) ? $slider : unserialize($slider);
  5. if(function_exists( 'wp_enqueue_media' )) {
  6. $uploadClass = 'ls-mass-upload';
  7. } else {
  8. $uploadClass = 'ls-upload';
  9. }
  10. // Get screen options
  11. $lsScreenOptions = get_option('lsScreenOptions', '0');
  12. $lsScreenOptions = ($lsScreenOptions == 0) ? array() : $lsScreenOptions;
  13. $lsScreenOptions = is_array($lsScreenOptions) ? $lsScreenOptions : unserialize($lsScreenOptions);
  14. // Defaults
  15. if(!isset($lsScreenOptions['showTooltips'])) {
  16. $lsScreenOptions['showTooltips'] = 'true';
  17. }
  18. ?>
  19. <div id="ls-screen-options" class="metabox-prefs hidden">
  20. <div id="screen-options-wrap" class="hidden">
  21. <form id="ls-screen-options-form" action="<?php echo $_SERVER['REQUEST_URI']?>" method="post">
  22. <h5>Show on screen</h5>
  23. <label>
  24. <input type="checkbox" name="showTooltips"<?php echo $lsScreenOptions['showTooltips'] == 'true' ? ' checked="checked"' : ''?>> Tooltips
  25. </label>
  26. </form>
  27. </div>
  28. <div id="screen-options-link-wrap" class="hide-if-no-js screen-meta-toggle">
  29. <a href="#screen-options-wrap" id="show-settings-link" class="show-settings">Screen Options</a>
  30. </div>
  31. </div>
  32. <div id="ls-sample">
  33. <div class="ls-box ls-layer-box">
  34. <input type="hidden" name="layerkey" value="0">
  35. <table>
  36. <thead class="ls-layer-options-thead">
  37. <tr>
  38. <td colspan="7">
  39. <span id="ls-icon-layer-options"></span>
  40. <h4>
  41. <?php _e('Slide Options', 'LayerSlider') ?>
  42. <a href="#" class="duplicate ls-layer-duplicate"><?php _e('Duplicate this slide', 'LayerSlider') ?></a>
  43. </h4>
  44. </td>
  45. </tr>
  46. </thead>
  47. <tbody class="ls-slide-options">
  48. <input type="hidden" name="3d_transitions" value="">
  49. <input type="hidden" name="2d_transitions" value="">
  50. <input type="hidden" name="custom_3d_transitions" value="">
  51. <input type="hidden" name="custom_2d_transitions" value="">
  52. <tr>
  53. <td class="right"><?php _e('Slide options', 'LayerSlider') ?></td>
  54. <td class="right"><?php _e('Image', 'LayerSlider') ?></td>
  55. <td>
  56. <div class="reset-parent">
  57. <input type="text" name="background" class="ls-upload" value="" data-help="<?php _e('The slide image/background. Click into the field to open the WordPress Media Library to choose or upload an image.', 'LayerSlider') ?>">
  58. <span class="ls-reset">x</span>
  59. </div>
  60. </td>
  61. <td class="right"><?php _e('Thumbnail', 'LayerSlider') ?></td>
  62. <td>
  63. <div class="reset-parent">
  64. <input type="text" name="thumbnail" class="ls-upload" value="" data-help="<?php _e('The thumbnail image of this slide. Click into the field to open the WordPress Media Library to choose or upload an image. If you leave this field empty, the slide image will be used.', 'LayerSlider') ?>">
  65. <span class="ls-reset">x</span>
  66. </div>
  67. </td>
  68. <td class="right"><?php _e('Slide delay', 'LayerSlider') ?></td>
  69. <td><input type="text" name="slidedelay" class="layerprop" value="4000" data-help="<?php _e("Here you can set the time interval between slide changes, this slide will stay visible for the time specified here. This value is in millisecs, so the value 1000 means 1 second. Please don't use 0 or very low values.", "LayerSlider") ?>"> (ms)</td>
  70. </tr>
  71. <tr>
  72. <td class="right"><?php _e('Slide transition', 'LayerSlider') ?></td>
  73. <td class="right">Use 3D/2D</td>
  74. <td>
  75. <input type="checkbox" name="new_transitions" checked="checked" data-help="<?php _e('You can choose between the old and the new 3D/2D slide transitions introduced in version 4.0.0.', 'LayerSlider') ?>">
  76. <span>Old transition</span>
  77. </td>
  78. <td class="right">
  79. <span class="new"><?php _e('Transitions', 'LayerSlider') ?></span>
  80. <span class="ls-hidden old"><?php _e('Direction', 'LayerSlider') ?></span>
  81. </td>
  82. <td>
  83. <select name="slidedirection" class="layerprop ls-hidden old" data-help="<?php _e('The slide will slide in from this direction.', 'LayerSlider') ?>">
  84. <option value="top"><?php _e('top', 'LayerSlider') ?></option>
  85. <option value="right" selected="selected"><?php _e('right', 'LayerSlider') ?></option>
  86. <option value="bottom"><?php _e('bottom', 'LayerSlider') ?></option>
  87. <option value="left"><?php _e('left', 'LayerSlider') ?></option>
  88. </select>
  89. <button class="button ls-select-transitions new" data-help="<?php _e('You can select your desired slide transitions by clicking on this button.', 'LayerSlider') ?>">Select transitions</button>
  90. </td>
  91. <td class="right"><span class="new"><?php _e('Time shift', 'LayerSlider') ?></span></td>
  92. <td><input type="text" name="timeshift" class="new layerprop" value="0" data-help="<?php _e('You can control here the timing of the layer animations when the slider changes to this slider with a 3D/2D transition. Zero means that the layers of this slide will animate in when the slide transition ends. You can time-shift the starting time of the layer animations with positive or negative values.', 'LayerSlider') ?>"> <span class="new">(ms)</span></td>
  93. </tr>
  94. <tr class="ls-old-transitions ls-hidden">
  95. <td class="right"><?php _e('Slide in', 'LayerSlider') ?></td>
  96. <td class="right"><?php _e('Duration', 'LayerSlider') ?></td>
  97. <td><input type="text" name="durationin" class="layerprop" value="1500" data-help="<?php _e('The duration of the slide in animation. This value is in millisecs, so the value 1000 means 1 second.', 'LayerSlider') ?>"> (ms)</td>
  98. <td class="right"><a href="http://easings.net/" target="_blank"><?php _e('Easing', 'LayerSlider') ?></a></td>
  99. <td>
  100. <select name="easingin" class="layerprop" data-help="<?php _e('The timing function of the animation, with it you can manipualte the slide movement. Please click on the link next to this select field to open easings.net for more information and real-time examples.', 'LayerSlider') ?>">
  101. <option>linear</option>
  102. <option>swing</option>
  103. <option>easeInQuad</option>
  104. <option>easeOutQuad</option>
  105. <option>easeInOutQuad</option>
  106. <option>easeInCubic</option>
  107. <option>easeOutCubic</option>
  108. <option>easeInOutCubic</option>
  109. <option>easeInQuart</option>
  110. <option>easeOutQuart</option>
  111. <option>easeInOutQuart</option>
  112. <option>easeInQuint</option>
  113. <option>easeOutQuint</option>
  114. <option selected="selected">easeInOutQuint</option>
  115. <option>easeInSine</option>
  116. <option>easeOutSine</option>
  117. <option>easeInOutSine</option>
  118. <option>easeInExpo</option>
  119. <option>easeOutExpo</option>
  120. <option>easeInOutExpo</option>
  121. <option>easeInCirc</option>
  122. <option>easeOutCirc</option>
  123. <option>easeInOutCirc</option>
  124. <option>easeInElastic</option>
  125. <option>easeOutElastic</option>
  126. <option>easeInOutElastic</option>
  127. <option>easeInBack</option>
  128. <option>easeOutBack</option>
  129. <option>easeInOutBack</option>
  130. <option>easeInBounce</option>
  131. <option>easeOutBounce</option>
  132. <option>easeInOutBounce</option>
  133. </select>
  134. </td>
  135. <td class="right"><?php _e('Delay in', 'LayerSlider') ?></td>
  136. <td><input type="text" name="delayin" class="layerprop"value="0" data-help="<?php _e('Delay before the animation start when the slide slides in. This value is in millisecs, so the value 1000 means 1 second.', 'LayerSlider') ?>"> (ms)</td>
  137. </tr>
  138. <tr class="ls-old-transitions ls-hidden">
  139. <td class="right"><?php _e('Slide out', 'LayerSlider') ?></td>
  140. <td class="right"><?php _e('Duration', 'LayerSlider') ?></td>
  141. <td><input type="text" name="durationout" class="layerprop" value="1500" data-help="<?php _e('The duration of the slide out animation. This value is in millisecs, so the value 1000 means 1 second.', 'LayerSlider') ?>"> (ms)</td>
  142. <td class="right"><a href="http://easings.net/" target="_blank"><?php _e('Easing', 'LayerSlider') ?></a></td>
  143. <td>
  144. <select name="easingout" class="layerprop" data-help="<?php _e('The timing function of the animation, with it you can manipualte the slide movement. Please click on the link next to this select field to open easings.net for more information and real-time examples.', 'LayerSlider') ?>">
  145. <option>linear</option>
  146. <option>swing</option>
  147. <option>easeInQuad</option>
  148. <option>easeOutQuad</option>
  149. <option>easeInOutQuad</option>
  150. <option>easeInCubic</option>
  151. <option>easeOutCubic</option>
  152. <option>easeInOutCubic</option>
  153. <option>easeInQuart</option>
  154. <option>easeOutQuart</option>
  155. <option>easeInOutQuart</option>
  156. <option>easeInQuint</option>
  157. <option>easeOutQuint</option>
  158. <option selected="selected">easeInOutQuint</option>
  159. <option>easeInSine</option>
  160. <option>easeOutSine</option>
  161. <option>easeInOutSine</option>
  162. <option>easeInExpo</option>
  163. <option>easeOutExpo</option>
  164. <option>easeInOutExpo</option>
  165. <option>easeInCirc</option>
  166. <option>easeOutCirc</option>
  167. <option>easeInOutCirc</option>
  168. <option>easeInElastic</option>
  169. <option>easeOutElastic</option>
  170. <option>easeInOutElastic</option>
  171. <option>easeInBack</option>
  172. <option>easeOutBack</option>
  173. <option>easeInOutBack</option>
  174. <option>easeInBounce</option>
  175. <option>easeOutBounce</option>
  176. <option>easeInOutBounce</option>
  177. </select>
  178. </td>
  179. <td class="right"><?php _e('Delay out', 'LayerSlider') ?></td>
  180. <td><input type="text" name="delayout" class="layerprop" value="0" data-help="<?php _e('Delay before the animation start when the slide slides out. This value is in millisecs, so the value 1000 means 1 second.', 'LayerSlider') ?>"> (ms)</td>
  181. </tr>
  182. <tr>
  183. <td class="right"><?php _e('Link this slide', 'LayerSlider'); ?></td>
  184. <td class="right"><?php _e('Link URL', 'LayerSlider') ?></td>
  185. <td><input type="text" name="layer_link" value="" data-help="<?php _e('If you want to link the whole slide, enter the URL of your link here.', 'LayerSlider') ?>"></td>
  186. <td class="right"><?php _e('Link target', 'LayerSlider') ?></td>
  187. <td>
  188. <select name="layer_link_target" data-help="<?php _e('You can control here the link behaviour: _self means the linked page will open in the current tab/window, _blank will create a new tab/window.', 'LayerSlider') ?>">
  189. <option>_self</option>
  190. <option>_blank</option>
  191. <option>_parent</option>
  192. <option>_top</option>
  193. </select>
  194. </td>
  195. <td></td>
  196. <td></td>
  197. </tr>
  198. <tr>
  199. <td class="right"><?php _e('Misc', 'LayerSlider') ?></td>
  200. <td class="right"><?php _e('#ID', 'LayerSlider') ?></td>
  201. <td><input type="text" name="id" value="" data-help="<?php _e('You can apply an ID attribute on the HTML element of this slide to work with it in your custom CSS or Javascript code.', 'LayerSlider') ?>"></td>
  202. <td class="right"><?php _e('Deeplink', 'LayerSlider') ?></td>
  203. <td><input type="text" name="deeplink" data-help="<?php _e('You can specify a slide alias name which you can use in your URLs with a hash mark, so LayerSlider will start with the correspondig slide.', 'LayerSlider') ?>"></td>
  204. <td class="right"><?php _e('Hidden', 'LayerSlider') ?></td>
  205. <td><input type="checkbox" name="skip" class="checkbox" data-help="<?php _e("If you don't want to use this slide in your front-page, but you want to keep it, you can hide it with this switch.", "LayerSlider") ?>"></td>
  206. </tr>
  207. </tbody>
  208. </table>
  209. <table>
  210. <thead>
  211. <tr>
  212. <td>
  213. <span id="ls-icon-preview"></span>
  214. <h4><?php _e('Preview', 'LayerSlider') ?></h4>
  215. </td>
  216. </tr>
  217. </thead>
  218. <tbody>
  219. <tr>
  220. <td class="ls-preview-td">
  221. <div class="ls-preview-wrapper">
  222. <div class="ls-preview">
  223. <div class="draggable ls-layer"></div>
  224. </div>
  225. <div class="ls-real-time-preview"></div>
  226. <button class="button ls-preview-button"><?php _e('Enter Preview', 'LayerSlider') ?></button>
  227. </div>
  228. </td>
  229. </tr>
  230. </tbody>
  231. </table>
  232. <table>
  233. <thead>
  234. <tr>
  235. <td>
  236. <span id="ls-icon-sublayers"></span>
  237. <h4><?php _e('Layers', 'LayerSlider') ?></h4>
  238. </td>
  239. </tr>
  240. </thead>
  241. <tbody class="ls-sublayers ls-sublayer-sortable">
  242. <tr>
  243. <td>
  244. <div class="ls-sublayer-wrapper">
  245. <span class="ls-sublayer-number">1</span>
  246. <span class="ls-highlight"><input type="checkbox" class="noreplace"></span>
  247. <span class="ls-icon-eye"></span>
  248. <span class="ls-icon-lock"></span>
  249. <input type="text" name="subtitle" class="ls-sublayer-title" value="Layer #1">
  250. <div class="clear"></div>
  251. <div class="ls-sublayer-nav">
  252. <a href="#" class="active"><?php _e('Basic', 'LayerSlider') ?></a>
  253. <a href="#"><?php _e('Options', 'LayerSlider') ?></a>
  254. <a href="#"><?php _e('Link', 'LayerSlider') ?></a>
  255. <a href="#"><?php _e('Style', 'LayerSlider') ?></a>
  256. <a href="#"><?php _e('Attributes', 'LayerSlider') ?></a>
  257. <a href="#" title="<?php _e('Remove this layer', 'LayerSlider') ?>" class="remove">x</a>
  258. </div>
  259. <div class="ls-sublayer-pages">
  260. <div class="ls-sublayer-page ls-sublayer-basic active">
  261. <select name="type">
  262. <option selected="selected">img</option>
  263. <option>div</option>
  264. <option>p</option>
  265. <option>span</option>
  266. <option>h1</option>
  267. <option>h2</option>
  268. <option>h3</option>
  269. <option>h4</option>
  270. <option>h5</option>
  271. <option>h6</option>
  272. </select>
  273. <div class="ls-sublayer-types">
  274. <span class="ls-type">
  275. <span class="ls-icon-img"></span><br>
  276. <?php _e('Image', 'LayerSlider') ?>
  277. </span>
  278. <span class="ls-type">
  279. <span class="ls-icon-div"></span><br>
  280. <?php _e('Div / Video', 'LayerSlider') ?>
  281. </span>
  282. <span class="ls-type">
  283. <span class="ls-icon-p"></span><br>
  284. <?php _e('Paragraph', 'LayerSlider') ?>
  285. </span>
  286. <span class="ls-type">
  287. <span class="ls-icon-span"></span><br>
  288. <?php _e('Span', 'LayerSlider') ?>
  289. </span>
  290. <span class="ls-type">
  291. <span class="ls-icon-h1"></span><br>
  292. <?php _e('H1', 'LayerSlider') ?>
  293. </span>
  294. <span class="ls-type">
  295. <span class="ls-icon-h2"></span><br>
  296. <?php _e('H2', 'LayerSlider') ?>
  297. </span>
  298. <span class="ls-type">
  299. <span class="ls-icon-h3"></span><br>
  300. <?php _e('H3', 'LayerSlider') ?>
  301. </span>
  302. <span class="ls-type">
  303. <span class="ls-icon-h4"></span><br>
  304. <?php _e('H4', 'LayerSlider') ?>
  305. </span>
  306. <span class="ls-type">
  307. <span class="ls-icon-h5"></span><br>
  308. <?php _e('H5', 'LayerSlider') ?>
  309. </span>
  310. <span class="ls-type">
  311. <span class="ls-icon-h6"></span><br>
  312. <?php _e('H6', 'LayerSlider') ?>
  313. </span>
  314. </div>
  315. <div class="ls-image-uploader">
  316. <img src="<?php echo $GLOBALS['lsPluginPath'].'/img/transparent.png' ?>" alt="layer image">
  317. <input type="text" name="image" class="<?php echo $uploadClass ?>" value="">
  318. <p>
  319. <?php _e('Click into this text field to open WordPress Media Library where you can upload new images or select previously used ones.', 'LayerSlider') ?>
  320. </p>
  321. </div>
  322. <div class="ls-html-code">
  323. <h5><?php _e('Custom HTML content', 'LayerSlider') ?></h5>
  324. <textarea name="html" cols="50" rows="5" data-help="<?php _e('Type here the contents of your layer. You can use any HTML codes in this field to insert other contents then text. This field is also shortcode-aware, so you can insert content from other plugins as well as video embed codes.', 'LayerSlider') ?>"></textarea>
  325. </div>
  326. </div>
  327. <div class="ls-sublayer-page ls-sublayer-options">
  328. <table>
  329. <tbody>
  330. <tr>
  331. <td rowspan="2"><?php _e('Transition in', 'LayerSlider') ?></td>
  332. <td class="right"><?php _e('Type', 'LayerSlider') ?></td>
  333. <td>
  334. <select name="slidedirection" class="sublayerprop" data-help="<?php _e('The type of the transition.', 'LayerSlider') ?>">
  335. <option value="fade"><?php _e('Fade', 'LayerSlider') ?></option>
  336. <option value="auto" selected="selected"><?php _e('Auto (Slide from auto direction)', 'LayerSlider') ?></option>
  337. <option value="top"><?php _e('Top (Slide from top)', 'LayerSlider') ?></option>
  338. <option value="right"><?php _e('Right (Slide from right)', 'LayerSlider') ?></option>
  339. <option value="bottom"><?php _e('Bottom (Slide from bottom)', 'LayerSlider') ?></option>
  340. <option value="left"><?php _e('Left (Slide from left)', 'LayerSlider') ?></option>
  341. </select>
  342. </td>
  343. <td class="right"><?php _e('Duration', 'LayerSlider') ?></td>
  344. <td><input type="text" name="durationin" class="sublayerprop" value="1000" data-help="<?php _e('The duration of the slide in animation. This value is in millisecs, so the value 1000 means 1 second. Lower values results faster animations.', 'LayerSlider') ?>"> (ms)</td>
  345. <td class="right"><a href="http://easings.net/" target="_blank"><?php _e('Easing', 'LayerSlider') ?></a></td>
  346. <td>
  347. <select name="easingin" class="sublayerprop" data-help="<?php _e('The timing function of the animation, with it you can manipualte the layer movement. Please click on the link next to this select field to open easings.net for more information and real-time examples.', 'LayerSlider') ?>">
  348. <option>linear</option>
  349. <option>swing</option>
  350. <option>easeInQuad</option>
  351. <option>easeOutQuad</option>
  352. <option>easeInOutQuad</option>
  353. <option>easeInCubic</option>
  354. <option>easeOutCubic</option>
  355. <option>easeInOutCubic</option>
  356. <option>easeInQuart</option>
  357. <option>easeOutQuart</option>
  358. <option>easeInOutQuart</option>
  359. <option>easeInQuint</option>
  360. <option>easeOutQuint</option>
  361. <option selected="selected">easeInOutQuint</option>
  362. <option>easeInSine</option>
  363. <option>easeOutSine</option>
  364. <option>easeInOutSine</option>
  365. <option>easeInExpo</option>
  366. <option>easeOutExpo</option>
  367. <option>easeInOutExpo</option>
  368. <option>easeInCirc</option>
  369. <option>easeOutCirc</option>
  370. <option>easeInOutCirc</option>
  371. <option>easeInElastic</option>
  372. <option>easeOutElastic</option>
  373. <option>easeInOutElastic</option>
  374. <option>easeInBack</option>
  375. <option>easeOutBack</option>
  376. <option>easeInOutBack</option>
  377. <option>easeInBounce</option>
  378. <option>easeOutBounce</option>
  379. <option>easeInOutBounce</option>
  380. </select>
  381. </td>
  382. <td class="right"><?php _e('Delay', 'LayerSlider') ?></td>
  383. <td><input type="text" name="delayin" class="sublayerprop" value="0" data-help="<?php _e('Delay before the animation start when the layer slides in. This value is in millisecs, so the value 1000 means 1 second.', 'LayerSlider') ?>"> (ms)</td>
  384. </tr>
  385. <tr>
  386. <td class="right notfirst"><?php _e('Rotation', 'LayerSlider') ?></td>
  387. <td><input type="text" name="rotatein" value="0" class="sublayerprop" data-help="You can set the initial rotation of this layer here which will animate to the default (0deg) value. You can use negative values."></td>
  388. <td class="right"><?php _e('Scale', 'LayerSlider') ?></td>
  389. <td><input type="text" name="scalein" value="1.0" class="sublayerprop" data-help="You can set the initial scale of this layer here which will be animated to the default (1.0) value."></td>
  390. <td class="right"></td>
  391. <td></td>
  392. <td class="right"></td>
  393. <td></td>
  394. </tr>
  395. <tr>
  396. <td rowspan="2"><?php _e('Transition out', 'LayerSlider') ?></td>
  397. <td class="right"><?php _e('Type', 'LayerSlider') ?></td>
  398. <td>
  399. <select name="slideoutdirection" class="sublayerprop" data-help="<?php _e('The type of the transition.', 'LayerSlider') ?>">
  400. <option value="fade"><?php _e('Fade', 'LayerSlider') ?></option>
  401. <option value="auto" selected="selected"><?php _e('Auto (Slide to auto direction)', 'LayerSlider') ?></option>
  402. <option value="top"><?php _e('Top (Slide to top)', 'LayerSlider') ?></option>
  403. <option value="right"><?php _e('Right (Slide to right)', 'LayerSlider') ?></option>
  404. <option value="bottom"><?php _e('Bottom (Slide to bottom)', 'LayerSlider') ?></option>
  405. <option value="left"><?php _e('Left (Slide to left)', 'LayerSlider') ?></option>
  406. </select>
  407. </td>
  408. <td class="right"><?php _e('Duration', 'LayerSlider') ?></td>
  409. <td><input type="text" name="durationout" class="sublayerprop" value="1000" data-help="<?php _e('The duration of the slide out animation. This value is in millisecs, so the value 1000 means 1 second. Lower values results faster animations.', 'LayerSlider') ?>"> (ms)</td>
  410. <td class="right"><a href="http://easings.net/" target="_blank"><?php _e('Easing', 'LayerSlider') ?></a></td>
  411. <td>
  412. <select name="easingout" class="sublayerprop" data-help="<?php _e('The timing function of the animation, with it you can manipualte the layer movement. Please click on the link next to this select field to open easings.net for more information and real-time examples.', 'LayerSlider') ?>">
  413. <option>linear</option>
  414. <option>swing</option>
  415. <option>easeInQuad</option>
  416. <option>easeOutQuad</option>
  417. <option>easeInOutQuad</option>
  418. <option>easeInCubic</option>
  419. <option>easeOutCubic</option>
  420. <option>easeInOutCubic</option>
  421. <option>easeInQuart</option>
  422. <option>easeOutQuart</option>
  423. <option>easeInOutQuart</option>
  424. <option>easeInQuint</option>
  425. <option>easeOutQuint</option>
  426. <option selected="selected">easeInOutQuint</option>
  427. <option>easeInSine</option>
  428. <option>easeOutSine</option>
  429. <option>easeInOutSine</option>
  430. <option>easeInExpo</option>
  431. <option>easeOutExpo</option>
  432. <option>easeInOutExpo</option>
  433. <option>easeInCirc</option>
  434. <option>easeOutCirc</option>
  435. <option>easeInOutCirc</option>
  436. <option>easeInElastic</option>
  437. <option>easeOutElastic</option>
  438. <option>easeInOutElastic</option>
  439. <option>easeInBack</option>
  440. <option>easeOutBack</option>
  441. <option>easeInOutBack</option>
  442. <option>easeInBounce</option>
  443. <option>easeOutBounce</option>
  444. <option>easeInOutBounce</option>
  445. </select>
  446. </td>
  447. <td class="right"><?php _e('Delay', 'LayerSlider') ?></td>
  448. <td><input type="text" name="delayout" class="sublayerprop" value="0" data-help="<?php _e('Delay before the animation start when the layer slides out. This value is in millisecs, so the value 1000 means 1 second.', 'LayerSlider') ?>"> (ms)</td>
  449. </tr>
  450. <tr>
  451. <td class="right notfirst"><?php _e('Rotation', 'LayerSlider') ?></td>
  452. <td><input type="text" name="rotateout" value="0" class="sublayerprop" data-help="You can set the ending rotation here, this sublayer will be animated from the default (0deg) value to yours. You can use negative values."></td>
  453. <td class="right"><?php _e('Scale', 'LayerSlider') ?></td>
  454. <td><input type="text" name="scaleout" value="1.0" class="sublayerprop" data-help="You can set the ending scale value here, this sublayer will be animated from the default (1.0) value to yours."></td>
  455. <td class="right"></td>
  456. <td></td>
  457. <td class="right"></td>
  458. <td></td>
  459. </tr>
  460. <tr>
  461. <td><?php _e('Other options', 'LayerSlider') ?></td>
  462. <td class="right"><?php _e('Distance', 'LayerSlider') ?></td>
  463. <td><input type="text" name="level" value="-1" data-help="<?php _e('The default value is -1 which means that the layer will be positioned exactly outside of the slide container. You can use the default setting in most of the cases. If you need to set the start or end position of the layer from further of the edges of the slide container, you can use 2, 3 or higher values.', 'LayerSlider') ?>"></td>
  464. <td class="right"><?php _e('Show until', 'LayerSlider') ?></td>
  465. <td><input type="text" name="showuntil" class="sublayerprop" value="0" data-help="<?php _e('The layer will be visible for the time you specify here, then it will slide out. You can use this setting for layers to leave the slide before the slide itself animates out, or for example before other layers will slide in. This value in millisecs, so the value 1000 means 1 second.', 'LayerSlider') ?>"> (ms)</td>
  466. <td class="right"><?php _e('Hidden', 'LayerSlider') ?></td>
  467. <td><input type="checkbox" name="skip" class="checkbox" data-help="<?php _e("If you don't want to use this layer, but you want to keep it, you can hide it with this switch.", "LayerSlider") ?>"></td>
  468. <td colspan="3"><button class="button duplicate" data-help="<?php _e('If you will use similar settings for other layers or you want to experiment on a copy, you can duplicate this layer.', 'LayerSlider') ?>"><?php _e('Duplicate this layer', 'LayerSlider') ?></button></td>
  469. </tr>
  470. </table>
  471. </div>
  472. <div class="ls-sublayer-page ls-sublayer-link">
  473. <table>
  474. <tbody>
  475. <tr>
  476. <td><?php _e('URL', 'LayerSlider') ?></td>
  477. <td class="url"><input type="text" name="url" value="" data-help="<?php _e('If you want to link your layer, type here the URL. You can use a hash mark followed by a number to link this layer to another slide. Example: #3 - this will switch to the third slide.', 'LayerSlider') ?>"></td>
  478. <td>
  479. <select name="target" data-help="<?php _e('You can control here the link behaviour: _self means the linked page will open in the current tab/window, _blank will open it in a new tab/window.', 'LayerSlider') ?>">
  480. <option>_self</option>
  481. <option>_blank</option>
  482. <option>_parent</option>
  483. <option>_top</option>
  484. </select>
  485. </td>
  486. </tr>
  487. </tbody>
  488. </table>
  489. </div>
  490. <div class="ls-sublayer-page ls-sublayer-style">
  491. <input type="hidden" name="styles">
  492. <table>
  493. <tbody>
  494. <tr>
  495. <td><?php _e('Layout & Positions', 'LayerSlider') ?></td>
  496. <td class="right"><?php _e('Width', 'LayerSlider') ?></td>
  497. <td><input type="text" name="width" class="auto" value="" data-help="<?php _e("You can set the width of your layer. You can use pixels, percents, or the default value 'auto'. Examples: 100px, 50% or auto", "LayerSlider") ?>"></td>
  498. <td class="right"><?php _e('Height', 'LayerSlider') ?></td>
  499. <td><input type="text" name="height" class="auto" value="" data-help="<?php _e("You can set the height of your layer. You can use pixels, percents, or the default value 'auto'. Examples: 100px, 50% or auto", "LayerSlider") ?>"></td>
  500. <td class="right"><?php _e('Top', 'LayerSlider') ?></td>
  501. <td><input type="text" name="top" value="0px" data-help="<?php _e("The layer position from the top of the slide. You can use pixels and percents. Examples: 100px or 50%. You can move your layers in the preview above with a drag n' drop, or set the exact values here.", "LayerSlider") ?>"></td>
  502. <td class="right"><?php _e('Left', 'LayerSlider') ?></td>
  503. <td><input type="text" name="left" value="0px" data-help="<?php _e("The layer position from the left side of the slide. You can use pixels and percents. Examples: 100px or 50%. You can move your layers in the preview above with a drag n' drop, or set the exact values here.", "LayerSlider") ?>"></td>
  504. </tr>
  505. <tr>
  506. <td><?php _e('Padding', 'LayerSlider') ?></td>
  507. <td class="right"><?php _e('Top', 'LayerSlider') ?></td>
  508. <td><input type="text" name="padding-top" class="auto" value="" data-help="<?php _e('Padding on the top of the layer. Example: 10px', 'LayerSlider') ?>"></td>
  509. <td class="right"><?php _e('Right', 'LayerSlider') ?></td>
  510. <td><input type="text" name="padding-right" class="auto" value="" data-help="<?php _e('Padding on the right side of the layer. Example: 10px', 'LayerSlider') ?>"></td>
  511. <td class="right"><?php _e('Bottom', 'LayerSlider') ?></td>
  512. <td><input type="text" name="padding-bottom" class="auto" value="" data-help="<?php _e('Padding on the bottom of the layer. Example: 10px', 'LayerSlider') ?>"></td>
  513. <td class="right"><?php _e('Left', 'LayerSlider') ?></td>
  514. <td><input type="text" name="padding-left" class="auto" value="" data-help="<?php _e('Padding on the left side of the layer. Example: 10px', 'LayerSlider') ?>"></td>
  515. </tr>
  516. <tr>
  517. <td><?php _e('Border', 'LayerSlider') ?></td>
  518. <td class="right"><?php _e('Top', 'LayerSlider') ?></td>
  519. <td><input type="text" name="border-top" class="auto" value="" data-help="<?php _e('Border on the top of the layer. Example: 5px solid #000', 'LayerSlider') ?>"></td>
  520. <td class="right"><?php _e('Right', 'LayerSlider') ?></td>
  521. <td><input type="text" name="border-right" class="auto" value="" data-help="<?php _e('Border on the right side of the layer. Example: 5px solid #000', 'LayerSlider') ?>"></td>
  522. <td class="right"><?php _e('Bottom', 'LayerSlider') ?></td>
  523. <td><input type="text" name="border-bottom" class="auto" value="" data-help="<?php _e('Border on the bottom of the layer. Example: 5px solid #000', 'LayerSlider') ?>"></td>
  524. <td class="right"><?php _e('Left', 'LayerSlider') ?></td>
  525. <td><input type="text" name="border-left" class="auto" value="" data-help="<?php _e('Border on the left side of the layer. Example: 5px solid #000', 'LayerSlider') ?>"></td>
  526. </tr>
  527. <tr>
  528. <td><?php _e('Font', 'LayerSlider') ?></td>
  529. <td class="right"><?php _e('Family', 'LayerSlider') ?></td>
  530. <td><input type="text" name="font-family" class="auto" value="" data-help="<?php _e('List of your chosen fonts separated with a comma. Please use apostrophes if your font names contains white spaces. Example: Helvetica, Arial, sans-serif', 'LayerSlider') ?>"></td>
  531. <td class="right"><?php _e('Size', 'LayerSlider') ?></td>
  532. <td><input type="text" name="font-size" class="auto" value="" data-help="<?php _e('The font size in pixels. Example: 16px.', 'LayerSlider') ?>"></td>
  533. <td class="right"><?php _e('Line-height', 'LayerSlider') ?></td>
  534. <td><input type="text" name="line-height" class="auto" value="" data-help="<?php _e("The line height of your text. The default setting is 'normal'. Example: 22px", "LayerSlider") ?>"></td>
  535. <td class="right"><?php _e('Color', 'LayerSlider') ?></td>
  536. <td><input type="text" name="color" class="auto ls-colorpicker" value="" data-help="<?php _e('The color of your text. You can use color names, hexadecimal, RGB or RGBA values. Example: #333', 'LayerSlider') ?>"></td>
  537. </tr>
  538. <tr>
  539. <td><?php _e('Misc', 'LayerSlider') ?></td>
  540. <td class="right"><?php _e('Background', 'LayerSlider') ?></td>
  541. <td><input type="text" name="background" class="auto ls-colorpicker" value="" data-help="<?php _e("The background color of your layer. You can use color names, hexadecimal, RGB or RGBA values as well as the 'transparent' keyword. Example: #FFF", "LayerSlider") ?>"></td>
  542. <td class="right"><?php _e('Rounded corners', 'LayerSlider') ?></td>
  543. <td><input type="text" name="border-radius" class="auto" value="" data-help="<?php _e('If you want rounded corners, you can set here its radius. Example: 5px', 'LayerSlider') ?>"></td>
  544. <td class="right"><?php _e('Word-wrap', 'LayerSlider') ?></td>
  545. <td colspan="3"><input type="checkbox" name="wordwrap" class="checkbox" data-help="<?php _e('If you use custom sized layers, you have to enable this setting to wrap your text.', 'LayerSlider') ?>"></td>
  546. </tr>
  547. <tr>
  548. <td><?php _e('Custom style settings', 'LayerSlider') ?></td>
  549. <td class="right"><?php _e('Custom styles', 'LayerSlider') ?></td>
  550. <td colspan="7"><textarea rows="5" cols="50" name="style" class="style" data-help="<?php _e('If you want to set style settings other then above, you can use here any CSS codes. Please make sure to write valid markup.', 'LayerSlider') ?>"></textarea></td>
  551. </tr>
  552. </tbody>
  553. </table>
  554. </div>
  555. <div class="ls-sublayer-page ls-sublayer-attributes">
  556. <table>
  557. <tbody>
  558. <tr>
  559. <td><?php _e('Attributes', 'LayerSlider') ?></td>
  560. <td class="right"><?php _e('ID', 'LayerSlider') ?></td>
  561. <td><input type="text" name="id" value="" data-help="<?php _e('You can apply an ID attribute on the HTML element of this layer to work with it in your custom CSS or Javascript code.', 'LayerSlider') ?>"></td>
  562. <td class="right"><?php _e('Classes', 'LayerSlider') ?></td>
  563. <td><input type="text" name="class" value="" data-help="<?php _e('You can apply classes on the HTML element of this layer to work with it in your custom CSS or Javascript code.', 'LayerSlider') ?>"></td>
  564. <td class="right"><?php _e('Title', 'LayerSlider') ?></td>
  565. <td><input type="text" name="title" value="" data-help="<?php _e('You can add a title to this layer which will display as a tooltip if someone holds his mouse cursor over the layer.', 'LayerSlider') ?>"></td>
  566. <td class="right"><?php _e('Alt', 'LayerSlider') ?></td>
  567. <td><input type="text" name="alt" value="" data-help="<?php _e('You can add an alternative text to your layer which is indexed by search engine robots and it helps people with certain disabilities.', 'LayerSlider') ?>"></td>
  568. <td class="right"><?php _e('Rel', 'LayerSlider') ?></td>
  569. <td><input type="text" name="rel" value="" data-help="<?php _e('Some plugin may use the rel attribute of a linked content, here you can specify it to make interaction with these plugins.', 'LayerSlider') ?>"></td>
  570. </tr>
  571. </tbody>
  572. </table>
  573. </div>
  574. </div>
  575. </div>
  576. </td>
  577. </tr>
  578. </tbody>
  579. </table>
  580. <a href="#" class="ls-add-sublayer"><?php _e('Add new layer', 'LayerSlider') ?></a>
  581. </div>
  582. </div>
  583. <form action="<?php echo $_SERVER['REQUEST_URI'] ?>" method="post" class="wrap" id="ls-slider-form">
  584. <input type="hidden" name="posted_add" value="1">
  585. <!-- Title -->
  586. <div class="ls-icon-layers"></div>
  587. <h2>
  588. <?php _e('Add new LayerSlider', 'LayerSlider') ?>
  589. <a href="?page=layerslider" class="add-new-h2"><?php _e('Back to the list', 'LayerSlider') ?></a>
  590. </h2>
  591. <!-- Main menu bar -->
  592. <div id="ls-main-nav-bar">
  593. <a href="#" class="settings active"><?php _e('Global Settings', 'LayerSlider') ?></a>
  594. <a href="#" class="layers"><?php _e('Slides', 'LayerSlider') ?></a>
  595. <a href="#" class="callbacks"><?php _e('Event Callbacks', 'LayerSlider') ?></a>
  596. <a href="http://support.kreaturamedia.com/faq/4/layerslider-for-wordpress/" target="_blank" class="faq right unselectable"><?php _e('FAQ', 'LayerSlider') ?></a>
  597. <a href="#" class="help right unselectable support"><?php _e('Documentation', 'LayerSlider') ?></a>
  598. <span class="right help">Need help? Try these:</span>
  599. <a href="#" class="clear unselectable"></a>
  600. </div>
  601. <!-- Pages -->
  602. <div id="ls-pages">
  603. <!-- Global Settings -->
  604. <div class="ls-page ls-settings active">
  605. <div id="post-body-content">
  606. <div id="titlediv">
  607. <div id="titlewrap">
  608. <input type="text" name="title" value="" id="title" autocomplete="off" placeholder="<?php _e('Type your slider name here', 'LayerSlider') ?>">
  609. </div>
  610. </div>
  611. </div>
  612. <div class="ls-box ls-settings">
  613. <h3 class="header"><?php _e('Global Settings', 'LayerSlider') ?></h3>
  614. <table>
  615. <thead>
  616. <tr>
  617. <td colspan="3">
  618. <span id="ls-icon-basic"></span>
  619. <h4><?php _e('Basic', 'LayerSlider') ?></h4>
  620. </td>
  621. </tr>
  622. </thead>
  623. <tbody>
  624. <tr>
  625. <td><?php _e('Width', 'LayerSlider') ?></td>
  626. <td><input type="text" name="width" value="600" class="input"></td>
  627. <td class="desc">(px) <?php _e('The slider width in pixels. For compatibility reasons, we still support percentage values, but for responsive layout, you should use pixels.', 'LayerSlider') ?></td>
  628. </tr>
  629. <tr>
  630. <td><?php _e('Height', 'LayerSlider') ?></td>
  631. <td><input type="text" name="height" value="300" class="input"></td>
  632. <td class="desc">(px) <?php _e('The slider height in pixels.', 'LayerSlider') ?></td>
  633. </tr>
  634. <tr>
  635. <td><?php _e('Responsive', 'LayerSlider') ?></td>
  636. <td><input type="checkbox" name="responsive" checked="checked"></td>
  637. <td class="desc"><?php _e('Enable this option to turn LayerSlider into a responsive slider.', 'LayerSlider') ?></td>
  638. </tr>
  639. <tr>
  640. <td><?php _e('Full-width slider', 'LayerSlider') ?></td>
  641. <td><input type="checkbox" name="forceresponsive"></td>
  642. <td class="desc"><?php _e('When you are using a responsiveness or percentage dimensions for the slider, it will respond the parent element size changes. With this option you can bypass this behaviour and LayerSlider will be a full-width slider.', 'LayerSlider') ?></td>
  643. </tr>
  644. <tr>
  645. <td><?php _e('Responsive under', 'LayerSlider') ?></td>
  646. <td><input type="text" name="responsiveunder" value="0"></td>
  647. <td class="desc">(px) <?php _e('You can force the slider to change automatically into responsive mode but only if the slider width is smaller than responsiveUnder pixels. It can be used if you need a full-width slider with fixed height but you also need it to be responsive if the browser is smaller... Important! If you enter a value higher than 0, the normal responsive mode will be switched off automatically!', 'LayerSlider') ?></td>
  648. </tr>
  649. <tr>
  650. <td><?php _e('Layers Container', 'LayerSlider') ?></td>
  651. <td><input type="text" name="sublayercontainer" value="0"></td>
  652. <td class="desc">(px) <?php _e("This feature is useful if you are using a full-width slider and you want to avoid stretching your layers across the full viewport horizontally. Just specify a custom width in pixels, and the slider will create a centered inner area to place your content into that. Note that this feature is working only with pixel-positioned layers, but you can still use the value '50%' if you want centered positions.", "LayerSlider") ?></td>
  653. </tr>
  654. </tbody>
  655. <thead>
  656. <tr>
  657. <td colspan="3">
  658. <span id="ls-icon-slideshow"></span>
  659. <h4><?php _e('Slideshow', 'LayerSlider') ?></h4>
  660. </td>
  661. </tr>
  662. </thead>
  663. <tbody>
  664. <tr>
  665. <td><?php _e('Automatically start slideshow', 'LayerSlider') ?></td>
  666. <td><input type="checkbox" name="autostart" checked="checked"></td>
  667. <td class="desc"><?php _e('If enabled, slideshow will automatically start after loading the page.', 'LayerSlider') ?></td>
  668. </tr>
  669. <tr>
  670. <td><?php _e('Pause on hover', 'LayerSlider') ?></td>
  671. <td><input type="checkbox" name="pauseonhover" checked="checked"></td>
  672. <td class="desc"><?php _e('Slideshow will pause when mouse pointer is over LayerSlider.', 'LayerSlider') ?></td>
  673. </tr>
  674. <tr>
  675. <td><?php _e('First slide', 'LayerSlider') ?></td>
  676. <td><input type="text" name="firstlayer" value="1" class="input"></td>
  677. <td class="desc"><?php _e('LayerSlider will start with this slide (you can type the word <i>random</i> if you want the slider to start with a random slide).', 'LayerSlider') ?></td>
  678. </tr>
  679. <tr>
  680. <td><?php _e('Animate first slide', 'LayerSlider') ?></td>
  681. <td><input type="checkbox" name="animatefirstlayer" checked="checked"></td>
  682. <td class="desc"><?php _e('If enabled, the layers of the first slide will animate (slide in) instead of fading in with the slide.', 'LayerSlider') ?></td>
  683. </tr>
  684. <tr>
  685. <td><?php _e('Random slideshow', 'LayerSlider') ?></td>
  686. <td><input type="checkbox" name="randomslideshow"></td>
  687. <td class="desc"><?php _e("LayerSlider will change to a random slide instead of changing to the next / prev slide. Note that 'loops' feature won't work with this option.", "LayerSlider") ?></td>
  688. </tr>
  689. <tr>
  690. <td><?php _e('Two way slideshow', 'LayerSlider') ?></td>
  691. <td><input type="checkbox" name="twowayslideshow" checked="checked"></td>
  692. <td class="desc"><?php _e('If enabled, slideshow will go backwards if you click the prev button.', 'LayerSlider') ?></td>
  693. </tr>
  694. <tr>
  695. <td><?php _e('Loops', 'LayerSlider') ?></td>
  696. <td>
  697. <select name="loops">
  698. <?php for($c = 0; $c < 11; $c++) : ?>
  699. <option><?php echo $c ?></option>
  700. <?php endfor; ?>
  701. </select>
  702. </td>
  703. <td class="desc"><?php _e('Number of loops if automatically start slideshow is enabled (0 means infinite!)', 'LayerSlider') ?></td>
  704. </tr>
  705. <tr>
  706. <td><?php _e('Force the number of loops', 'LayerSlider') ?></td>
  707. <td><input type="checkbox" name="forceloopnum" checked="checked"></td>
  708. <td class="desc"><?php _e('If enabled, the slider will always stop at the given number of loops even if the user restarts the slideshow.', 'LayerSlider') ?></td>
  709. </tr>
  710. <tr>
  711. <td><?php _e('Automatically play videos', 'LayerSlider') ?></td>
  712. <td><input type="checkbox" name="autoplayvideos" checked="checked"></td>
  713. <td class="desc"><?php _e('If enabled, the slider will automatically play youtube and vimeo videos.', 'LayerSlider') ?></td>
  714. </tr>
  715. <tr>
  716. <td><?php _e('Automatically pause slideshow', 'LayerSlider') ?></td>
  717. <td>
  718. <select name="autopauseslideshow">
  719. <option value="auto"><?php _e('auto', 'LayerSlider') ?></option>
  720. <option value="enabled"><?php _e('enabled', 'LayerSlider') ?></option>
  721. <option value="disabled"><?php _e('disabled', 'LayerSlider') ?></option>
  722. </select>
  723. </td>
  724. <td class="desc"><?php _e("If you enabled the 'automatically play videos' option, the 'auto' value means that the slideshow will pause UNTIL the video is finished playing and after that it will continue. The 'enabled' value means that the slideshow will stop and will not resume after the video has been played.", "LayerSlider") ?></td>
  725. </tr>
  726. <tr>
  727. <td><?php _e('Youtube preview', 'LayerSlider') ?></td>
  728. <td>
  729. <select name="youtubepreview">
  730. <option value="maxresdefault.jpg"><?php _e('Maximum quality', 'LayerSlider') ?></option>
  731. <option value="hqdefault.jpg"><?php _e('High quality', 'LayerSlider') ?></option>
  732. <option value="mqdefault.jpg"><?php _e('Medium quality', 'LayerSlider') ?></option>
  733. <option value="default.jpg"><?php _e('Default quality', 'LayerSlider') ?></option>
  734. </select>
  735. </td>
  736. <td class="desc"><?php _e('Default thumbnail picture of YouTube videos. Note, that Maximum quaility is not available to all (not HD) videos.', 'LayerSlider') ?></td>
  737. </tr>
  738. <tr>
  739. <td><?php _e('Keyboard navigation', 'LayerSlider') ?></td>
  740. <td><input type="checkbox" name="keybnav" checked="checked"></td>
  741. <td class="desc"><?php _e('You can navigate with the left and right arrow keys.', 'LayerSlider') ?></td>
  742. </tr>
  743. <tr>
  744. <td><?php _e('Touch navigation', 'LayerSlider') ?></td>
  745. <td><input type="checkbox" name="touchnav" checked="checked"></td>
  746. <td class="desc"><?php _e('Touch-control (on mobile devices).', 'LayerSlider') ?></td>
  747. </tr>
  748. </tbody>
  749. <thead>
  750. <tr>
  751. <td colspan="3">
  752. <span id="ls-icon-appearance"></span>
  753. <h4><?php _e('Appearance', 'LayerSlider') ?></h4>
  754. </td>
  755. </tr>
  756. </thead>
  757. <tbody>
  758. <tr>
  759. <td><?php _e('Skin', 'LayerSlider') ?></td>
  760. <td>
  761. <select name="skin">
  762. <?php $skins = array_map('basename', glob(dirname(__FILE__) . '/skins/*', GLOB_ONLYDIR)); ?>
  763. <?php foreach($skins as $skin) : ?>
  764. <?php $selected = ($skin == 'defaultskin') ? ' selected="selected"' : '' ?>
  765. <option<?php echo $selected ?>><?php echo $skin ?></option>
  766. <?php endforeach; ?>
  767. </select>
  768. </td>
  769. <td class="desc"><?php _e("You can change the skin of the slider. The 'noskin' skin is a border- and buttonless skin. Your custom skins will appear in the list when you create their folders as well.", "LayerSlider") ?></td>
  770. </tr>
  771. <tr>
  772. <td><?php _e('Background color', 'LayerSlider') ?></td>
  773. <td>
  774. <div class="reset-parent">
  775. <input type="text" name="backgroundcolor" value="" class="input ls-colorpicker">
  776. </div>
  777. </td>
  778. <td class="desc"><?php _e('Background color of LayerSlider. You can use all CSS methods, like hexa colors, rgb(r,g,b) method, color names, etc. Note, that slides with background will cover up the global background image.', 'LayerSlider') ?></td>
  779. </tr>
  780. <tr>
  781. <td><?php _e('Background image', 'LayerSlider') ?></td>
  782. <td>
  783. <div class="reset-parent">
  784. <input type="text" name="backgroundimage" class="input ls-upload">
  785. <span class="ls-reset">x</span>
  786. </div>
  787. </td>
  788. <td class="desc"><?php _e('Background image of LayerSlider. This will be a fixed background image of LayerSlider by default. Note, that slides with background will cover up the global background image.', 'LayerSlider') ?></td>
  789. </tr>
  790. <tr>
  791. <td><?php _e('Slider style', 'LayerSlider') ?></td>
  792. <td>
  793. <div class="reset-parent">
  794. <input type="text" name="sliderstyle" class="input">
  795. <span class="ls-reset">x</span>
  796. </div>
  797. </td>
  798. <td class="desc"><?php _e('Here you can apply your custom CSS style settings to the slider.', 'LayerSlider') ?></td>
  799. </tr>
  800. </tbody>
  801. <thead>
  802. <tr>
  803. <td colspan="3">
  804. <span id="ls-icon-nav"></span>
  805. <h4><?php _e('Navigation', 'LayerSlider') ?></h4>
  806. </td>
  807. </tr>
  808. </thead>
  809. <tbody>
  810. <tr>
  811. <td><?php _e('Prev and Next buttons', 'LayerSlider') ?></td>
  812. <td><input type="checkbox" name="navprevnext" checked="checked"></td>
  813. <td class="desc"><?php _e('If disabled, Prev and Next buttons will be invisible.', 'LayerSlider') ?></td>
  814. </tr>
  815. <tr>
  816. <td><?php _e('Start and Stop buttons', 'LayerSlider') ?></td>
  817. <td><input type="checkbox" name="navstartstop" checked="checked"></td>
  818. <td class="desc"><?php _e('If disabled, Start and Stop buttons will be invisible.', 'LayerSlider') ?></td>
  819. </tr>
  820. <tr>
  821. <td><?php _e('Navigation buttons', 'LayerSlider') ?></td>
  822. <td><input type="checkbox" name="navbuttons" checked="checked"></td>
  823. <td class="desc"><?php _e('If disabled, slide buttons will be invisible.', 'LayerSlider') ?></td>
  824. </tr>
  825. <tr>
  826. <td><?php _e('Prev and next buttons on hover', 'LayerSlider') ?></td>
  827. <td><input type="checkbox" name="hoverprevnext" checked="checked"></td>
  828. <td class="desc"><?php _e('If enabled, the prev and next buttons will be shown only if you move your mouse cursor over the slider.', 'LayerSlider') ?></td>
  829. </tr>
  830. <tr>
  831. <td><?php _e('Bottom navigation on hover', 'LayerSlider') ?></td>
  832. <td><input type="checkbox" name="hoverbottomnav"></td>
  833. <td class="desc"><?php _e('The bottom navigation controls (with also thumbnails) will be shown only if you move your mouse cursor over the slider.', 'LayerSlider') ?></td>
  834. </tr>
  835. <tr>
  836. <td><?php _e('Show bar timer', 'LayerSlider') ?></td>
  837. <td><input type="checkbox" name="bartimer"></td>
  838. <td class="desc"><?php _e('You can hide or show the bar timer with this option.', 'LayerSlider') ?></td>
  839. </tr>
  840. <tr>
  841. <td><?php _e('Show circle timer', 'LayerSlider') ?></td>
  842. <td><input type="checkbox" name="circletimer" checked="checked"></td>

Large files files are truncated, but you can click here to view the full file