Elgg  Version 2.3
settings.js.php
Go to the documentation of this file.
1 <?php
5 elgg_deprecated_notice('lightbox/settings.js view has been deprecated. Use "getOptions","ui.lightbox" plugin hook or data-colorbox-opts attribute instead', '2.2');
6 ?>
7 //<script>
8 
9 elgg.ui.lightbox.getSettings = function () {
10  return {
11  current: elgg.echo('js:lightbox:current', ['{current}', '{total}']),
12  previous: elgg.echo('previous'),
13  next: elgg.echo('next'),
14  close: elgg.echo('close'),
15  xhrError: elgg.echo('error:default'),
16  imgError: elgg.echo('error:default'),
17  opacity: 0.5,
18  maxWidth: '100%',
19 
20  // don't move colorbox on small viewports https://github.com/Elgg/Elgg/issues/5312
21  reposition: $(window).height() > 600
22  };
23 };
elgg
Definition: install.js:23
line height
Definition: admin.css.php:82
friends picker navigation li a current
Definition: admin.css.php:856
elgg_deprecated_notice($msg, $dep_version, $backtrace_level=1)
Log a notice about deprecated use of a function, view, etc.
Definition: elgglib.php:1098
ui datepicker ui datepicker next
Definition: admin.css.php:651