forked from MathHubInfo/Legacy-planetary
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request MathHubInfo#21 from holtzermann17/master
Update several modules and add necessary core patches
- Loading branch information
Showing
178 changed files
with
16,581 additions
and
130 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
*** /home/joe/my-github-repos/drupal_planetary/modules/node/node.api.php 2012-03-23 16:10:23.000000000 -0400 | ||
--- modules/node/node.api.php 2012-03-28 15:52:54.000000000 -0400 | ||
*************** | ||
*** 701,706 **** | ||
--- 701,713 ---- | ||
} | ||
|
||
/** | ||
+ * Respond to updates to a node after the transaction is over | ||
+ */ | ||
+ | ||
+ function hook_node_postsave($node){ | ||
+ } | ||
+ | ||
+ /** | ||
* Act on a node being indexed for searching. | ||
* | ||
* This hook is invoked during search indexing, after node_load(), and after |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
*** /home/joe/my-github-repos/drupal_planetary/modules/node/node.module 2012-03-23 16:10:23.000000000 -0400 | ||
--- modules/node/node.module 2012-03-28 15:52:40.000000000 -0400 | ||
*************** | ||
*** 1029,1034 **** | ||
--- 1029,1039 ---- | ||
* omitted (or $node->is_new is TRUE), a new node will be added. | ||
*/ | ||
function node_save($node) { | ||
+ node_save_transactional($node); | ||
+ module_invoke_all('node_postsave', $node); | ||
+ } | ||
+ | ||
+ function node_save_transactional($node) { | ||
$transaction = db_transaction(); | ||
|
||
try { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,65 @@ | ||
Copyright 2007-2010 Michael J. I. Jackson, all rights reserved. | ||
|
||
The following licenses are applicable to version 3.0 of the Shadowbox.js library | ||
and greater. The term "library" is used throughout to mean all code, images, and | ||
documentation that are distributed as part of the library. | ||
|
||
|
||
Shadowbox.js Non-Commercial License version 1.0 | ||
|
||
Under the terms of this license, the licensee is granted the following privileges: | ||
|
||
- The right to use the library as part of a website or application that is not | ||
used for commercial purposes | ||
|
||
- The right to modify the library to suit his purpose. | ||
|
||
Under no circumstance is the licensee permitted to redistribute the source code, | ||
images, or documentation contained in the library. All redistribution rights | ||
remain with the copyright holder unless specific prior written permission is | ||
obtained. | ||
|
||
Under no circumstance shall this copyright notice or list of conditions be | ||
modified or removed from the code distribution in either source or binary form. | ||
|
||
This software is provided by the copyright holder and contributors "as is" and | ||
any express or implied warranties, including, but not limited to, the implied | ||
warranties of merchantability and fitness for a particular purpose are disclaimed. | ||
|
||
In no event shall the copyright holder or contributors be liable for any direct, | ||
indirect, incidental, special, exemplary, or consequential damages (including, but | ||
not limited to, procurement of substitute goods or services; loss of use, data, or | ||
profits; or business interruption) however caused and on any theory of liability, | ||
whether in contract, strict liability, or tort (including negligence or otherwise) | ||
arising in any way out of the use of this software, even if advised of the | ||
possibility of such damage. | ||
|
||
|
||
Shadowbox.js Commercial License version 1.0 | ||
|
||
Under the terms of this license, the licensee is granted the following privileges: | ||
|
||
- The right to use the library as part of a website or application that is | ||
used for commercial purposes | ||
|
||
- The right to modify the library to suit his purpose. | ||
|
||
Under no circumstance is the licensee permitted to redistribute the source code, | ||
images, or documentation contained in the library. All redistribution rights | ||
remain with the copyright holder unless specific prior written permission is | ||
obtained. | ||
|
||
Under no circumstance shall this copyright notice or list of conditions be | ||
modified or removed from the code distribution in either source or binary form. | ||
|
||
This software is provided by the copyright holder and contributors "as is" and | ||
any express or implied warranties, including, but not limited to, the implied | ||
warranties of merchantability and fitness for a particular purpose are disclaimed. | ||
|
||
In no event shall the copyright holder or contributors be liable for any direct, | ||
indirect, incidental, special, exemplary, or consequential damages (including, but | ||
not limited to, procurement of substitute goods or services; loss of use, data, or | ||
profits; or business interruption) however caused and on any theory of liability, | ||
whether in contract, strict liability, or tort (including negligence or otherwise) | ||
arising in any way out of the use of this software, even if advised of the | ||
possibility of such damage. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,73 @@ | ||
Overview | ||
-------- | ||
|
||
Shadowbox is a flexible media viewer that supports all of the web's most popular | ||
media publishing formats. Shadowbox is written entirely in JavaScript and CSS and | ||
is highly customizable. Using Shadowbox, website authors can display a wide | ||
assortment of media in all major browsers without navigating users away from the | ||
linking page. | ||
|
||
For more information, please see http://shadowbox-js.com/. | ||
|
||
Installation and Usage | ||
---------------------- | ||
|
||
For detailed installation and usage instructions, please see the usage page at | ||
http://shadowbox-js.com/usage.html. | ||
|
||
How to Build | ||
------------ | ||
|
||
IMPORTANT: The following instructions are for those who would like to create a custom build | ||
of Shadowbox on their own machines. Most users will not want to do this and instead should | ||
simply download, install, and use Shadowbox as described on the Shadowbox website at | ||
http://shadowbox-js.com/usage.html. | ||
|
||
In order to build Shadowbox on your own machine you must have the Ruby programming | ||
language (http://ruby-lang.org/) installed as well as the Rake build tool | ||
(http://rake.rubyforge.org/). Simply edit the parameters in `build.yml` to your liking | ||
and run the following command from the project root directory: | ||
|
||
$ rake | ||
|
||
Note: If you want to build a compressed version of the code (which is the default), you | ||
will also need Java installed. You can always use the web interface on the Shadowbox website | ||
(http://shadowbox-js.com/download.html) to build your own version of the code if you are | ||
unable to do it on your own. | ||
|
||
How to Run Tests and Examples | ||
----------------------------- | ||
|
||
The Shadowbox test suite is written with QUnit (http://github.com/jquery/qunit). To run the | ||
tests, you first need to build the code using the `build:tests` Rake task. | ||
|
||
$ rake build:tests | ||
|
||
Once you have built the code, open `tests/index.html` in your browser of choice. Likewise, | ||
to run any of the examples you first need to run the `build:examples` Rake task before | ||
opening the example HTML file in your browser. | ||
|
||
$ rake build:examples | ||
|
||
How to Contribute | ||
----------------- | ||
|
||
If you would like to contribute to the project please email me your contribution/patch | ||
at mjijackson@gmail.com. I'm more than happy to accomodate fixes and modifications that | ||
make Shadowbox a better product. | ||
|
||
Bugs | ||
---- | ||
|
||
Please report any bugs that you may find at http://github.com/mjijackson/shadowbox/issues. | ||
|
||
License | ||
------- | ||
|
||
The Shadowbox license is available online at http://shadowbox-js.com/LICENSE. | ||
|
||
Credits | ||
------- | ||
|
||
Shadowbox employs several open source libraries including Sizzle.js (http://sizzlejs.com/) | ||
and swfobject (http://code.google.com/p/swfobject/). |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#sb-title-inner,#sb-info-inner,#sb-loading-inner,div.sb-message{font-family:"HelveticaNeue-Light","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:200;color:#fff;} | ||
#sb-container{position:fixed;margin:0;padding:0;top:0;left:0;z-index:999;text-align:left;visibility:hidden;display:none;} | ||
#sb-overlay{position:relative;height:100%;width:100%;} | ||
#sb-wrapper{position:absolute;visibility:hidden;width:100px;} | ||
#sb-wrapper-inner{position:relative;border:1px solid #303030;overflow:hidden;height:100px;} | ||
#sb-body{position:relative;height:100%;} | ||
#sb-body-inner{position:absolute;height:100%;width:100%;} | ||
#sb-player.html{height:100%;overflow:auto;} | ||
#sb-body img{border:none;} | ||
#sb-loading{position:relative;height:100%;} | ||
#sb-loading-inner{position:absolute;font-size:14px;line-height:24px;height:24px;top:50%;margin-top:-12px;width:100%;text-align:center;} | ||
#sb-loading-inner span{background:url(loading.gif) no-repeat;padding-left:34px;display:inline-block;} | ||
#sb-body,#sb-loading{background-color:#FFFFFF;} | ||
#sb-title,#sb-info{position:relative;margin:0;padding:0;overflow:hidden;} | ||
#sb-title,#sb-title-inner{height:26px;line-height:26px;} | ||
#sb-title-inner{font-size:16px;} | ||
#sb-info,#sb-info-inner{height:20px;line-height:20px;} | ||
#sb-info-inner{font-size:12px;} | ||
#sb-nav{float:right;height:16px;padding:2px 0;width:45%;} | ||
#sb-nav a{display:block;float:right;height:16px;width:16px;margin-left:3px;cursor:pointer;background-repeat:no-repeat;} | ||
#sb-nav-close{background-image:url(close.png);} | ||
#sb-nav-next{background-image:url(next.png);} | ||
#sb-nav-previous{background-image:url(previous.png);} | ||
#sb-nav-play{background-image:url(play.png);} | ||
#sb-nav-pause{background-image:url(pause.png);} | ||
#sb-counter{float:left;width:45%;} | ||
#sb-counter a{padding:0 4px 0 0;text-decoration:none;cursor:pointer;color:#fff;} | ||
#sb-counter a.sb-counter-current{text-decoration:underline;} | ||
div.sb-message{font-size:12px;padding:10px;text-align:center;} | ||
div.sb-message a:link,div.sb-message a:visited{color:#fff;text-decoration:underline;} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
#sb-title-inner,#sb-info-inner,#sb-loading-inner,div.sb-message{font-family:"HelveticaNeue-Light","Helvetica Neue",Helvetica,Arial,sans-serif;font-weight:200;color:#fff;} | ||
#sb-container{position:fixed;margin:0;padding:0;top:0;left:0;z-index:999;text-align:left;visibility:hidden;display:none;} | ||
#sb-overlay{position:relative;height:100%;width:100%;} | ||
#sb-wrapper{position:absolute;visibility:hidden;width:100px;} | ||
#sb-wrapper-inner{position:relative;border:1px solid #303030;overflow:hidden;height:100px;} | ||
#sb-body{position:relative;height:100%;} | ||
#sb-body-inner{position:absolute;height:100%;width:100%;} | ||
#sb-player.html{height:100%;overflow:auto;} | ||
#sb-body img{border:none;} | ||
#sb-loading{position:relative;height:100%;} | ||
#sb-loading-inner{position:absolute;font-size:14px;line-height:24px;height:24px;top:50%;margin-top:-12px;width:100%;text-align:center;} | ||
#sb-loading-inner span{background:url(loading.gif) no-repeat;padding-left:34px;display:inline-block;} | ||
#sb-body,#sb-loading{background-color:#060606;} | ||
#sb-title,#sb-info{position:relative;margin:0;padding:0;overflow:hidden;} | ||
#sb-title,#sb-title-inner{height:26px;line-height:26px;} | ||
#sb-title-inner{font-size:16px;} | ||
#sb-info,#sb-info-inner{height:20px;line-height:20px;} | ||
#sb-info-inner{font-size:12px;} | ||
#sb-nav{float:right;height:16px;padding:2px 0;width:45%;} | ||
#sb-nav a{display:block;float:right;height:16px;width:16px;margin-left:3px;cursor:pointer;background-repeat:no-repeat;} | ||
#sb-nav-close{background-image:url(close.png);} | ||
#sb-nav-next{background-image:url(next.png);} | ||
#sb-nav-previous{background-image:url(previous.png);} | ||
#sb-nav-play{background-image:url(play.png);} | ||
#sb-nav-pause{background-image:url(pause.png);} | ||
#sb-counter{float:left;width:45%;} | ||
#sb-counter a{padding:0 4px 0 0;text-decoration:none;cursor:pointer;color:#fff;} | ||
#sb-counter a.sb-counter-current{text-decoration:underline;} | ||
div.sb-message{font-size:12px;padding:10px;text-align:center;} | ||
div.sb-message a:link,div.sb-message a:visited{color:#fff;text-decoration:underline;} |
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.