*\r
* Copyright 2011-2012 Lorea Faeries <federation@lorea.org>\r
*\r
-<<<<<<< HEAD
* This program is free software: you can redistribute it and/or\r
* modify it under the terms of the GNU Affero General Public License\r
* as published by the Free Software Foundation, either version 3 of\r
* the License, or (at your option) any later version.\r
*\r
* This program is distributed in the hope that it will be useful, but\r
-=======
- * This file is part of the Colorbox plugin for Elgg.\r
- *\r
- * Colorbox is free software: you can redistribute it and/or modify it\r
- * under the terms of the GNU Affero General Public License as\r
- * published by the Free Software Foundation, either version 3 of the\r
- * License, or (at your option) any later version.\r
- *\r
- * Colorbox is distributed in the hope that it will be useful, but\r
->>>>>>> cb063a6... Finalize Copyright information
* WITHOUT ANY WARRANTY; without even the implied warranty of\r
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
* Affero General Public License for more details.\r
*\r
* Copyright 2011-2012 Lorea Faeries <federation@lorea.org>\r
*\r
-<<<<<<< HEAD
* This program is free software: you can redistribute it and/or\r
* modify it under the terms of the GNU Affero General Public License\r
* as published by the Free Software Foundation, either version 3 of\r
* the License, or (at your option) any later version.\r
*\r
* This program is distributed in the hope that it will be useful, but\r
-=======
- * This file is part of the Colorbox plugin for Elgg.\r
- *\r
- * Colorbox is free software: you can redistribute it and/or modify it\r
- * under the terms of the GNU Affero General Public License as\r
- * published by the Free Software Foundation, either version 3 of the\r
- * License, or (at your option) any later version.\r
- *\r
- * Colorbox is distributed in the hope that it will be useful, but\r
->>>>>>> cb063a6... Finalize Copyright information
* WITHOUT ANY WARRANTY; without even the implied warranty of\r
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
* Affero General Public License for more details.\r
*\r
* Copyright 2011-2012 Lorea Faeries <federation@lorea.org>\r
*\r
-<<<<<<< HEAD
* This program is free software: you can redistribute it and/or\r
* modify it under the terms of the GNU Affero General Public License\r
* as published by the Free Software Foundation, either version 3 of\r
* the License, or (at your option) any later version.\r
*\r
* This program is distributed in the hope that it will be useful, but\r
-=======
- * This file is part of the Colorbox plugin for Elgg.\r
- *\r
- * Colorbox is free software: you can redistribute it and/or modify it\r
- * under the terms of the GNU Affero General Public License as\r
- * published by the Free Software Foundation, either version 3 of the\r
- * License, or (at your option) any later version.\r
- *\r
- * Colorbox is distributed in the hope that it will be useful, but\r
->>>>>>> cb063a6... Finalize Copyright information
* WITHOUT ANY WARRANTY; without even the implied warranty of\r
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU\r
* Affero General Public License for more details.\r
<?php
/**
- * Colorbox -- Add jQuery.lightbox support to Elgg
+ * Colorbox -- A lightweight, customizable lightbox plugin for jQuery
*
* @package Lorea
* @subpackage Colorbox
* You should have received a copy of the GNU Affero General Public
* License along with this program. If not, see
* <http://www.gnu.org/licenses/>.
- *
- * The Colorbox plugin for Elgg contains the Colorbox jQuery plugin,
- * released under the MIT License, and Copyright 2011 Jack Moore.
- * See vendors/colorbox/
*/
elgg_register_event_handler('init', 'system', 'colorbox_init');
/**
* Colorbox -- Stylesheet
*
+ * Used as a view because we need to pass a full URL to AlphaImageLoader.
+ *
* @package Lorea
* @subpackage Colorbox
*
* Copyright 2011-2012 Lorea Faeries <federation@lorea.org>
*
- * This file is part of the Colorbox plugin for Elgg.
- *
- * Colorbox is free software: you can redistribute it and/or modify it
- * under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
+ * This program is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU Affero General Public License
+ * as published by the Free Software Foundation, either version 3 of
+ * the License, or (at your option) any later version.
*
- * Colorbox is distributed in the hope that it will be useful, but
+ * This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Affero General Public License for more details.
<?php
/**
- * Colorbox -- Elgg Embed Javascript
+ * Colorbox -- Javascript
*
* Used as a view because we need to pass a full URL to AlphaImageLoader.
*
*
* Copyright 2011-2012 Lorea Faeries <federation@lorea.org>
*
- * This file is part of the Colorbox plugin for Elgg.
+ * This program is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU Affero General Public License
+ * as published by the Free Software Foundation, either version 3 of
+ * the License, or (at your option) any later version.
*
- * Colorbox is free software: you can redistribute it and/or modify it
- * under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * Colorbox is distributed in the hope that it will be useful, but
+ * This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Affero General Public License for more details.
// caches the current textarea id
$(".embed-control").live('click', function() {
- var textAreaId = /embed-control-(\S)+/.exec($(this).attr('class'))[0];
+ var textAreaId = /embed-control-(\S)+/.exec($(this).attr('class'))[0];
elgg.embed.textAreaId = textAreaId.substr("embed-control-".length);
});
<?php
/**
- * Colorbox -- Javascript
+ * Colorbox -- Stylesheet
*
* Used as a view because we need to pass a full URL to AlphaImageLoader.
*
*
* Copyright 2011-2012 Lorea Faeries <federation@lorea.org>
*
- * This file is part of the Colorbox plugin for Elgg.
+ * This program is free software: you can redistribute it and/or
+ * modify it under the terms of the GNU Affero General Public License
+ * as published by the Free Software Foundation, either version 3 of
+ * the License, or (at your option) any later version.
*
- * Colorbox is free software: you can redistribute it and/or modify it
- * under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * Colorbox is distributed in the hope that it will be useful, but
+ * This program is distributed in the hope that it will be useful, but
* WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Affero General Public License for more details.
*
* @todo add support for passing options: $('#myplugin-lightbox').elgg.ui.lightbox(options);
*/
+
?>
/**