]> git.mxchange.org Git - friendica.git/blobdiff - view/theme/dispy/theme.php
small code formatting correction
[friendica.git] / view / theme / dispy / theme.php
index a1de5498e6ea68e3fd3d1c244a9c6929ff878ce2..a3b6b7f6eabd0c68370fffff65a6e75501b2a2e2 100644 (file)
  * or rename to prefix1_function_name (prefix2_function_name), etc.
  */
 
-$a = get_app();
-$a->theme_info = array(
-    'family' => 'dispy',
-       'version' => '1.2.2'
-);
-set_template_engine($a, 'smarty3');
-
 function dispy_init(&$a) {
 
+       $a->theme_info = array(
+               'family' => 'dispy',
+               'version' => '1.2.2'
+       );
+       set_template_engine($a, 'smarty3');
+
     /** @purpose set some theme defaults
     */
     $cssFile = null;
@@ -53,7 +52,7 @@ function dispy_init(&$a) {
        <script type="text/javascript">
        $(document).ready(function() {
                // Select all links with lightbox class
-               $("a.lightbox").fancybox();
+               $("a.lightbox").colorbox({maxHeight:"90%"});
 
        $('.group-edit-icon').hover(
                        function() {