Emptied the JAR and cleaned up some whitespace

This commit is contained in:
Josh Sherman 2012-09-30 12:26:32 -04:00
parent 92fcfee986
commit 3e58cd89bf
14 changed files with 39 additions and 6826 deletions

View file

@ -9,14 +9,14 @@
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2011, Josh Sherman
* @copyright Copyright 2007-2012, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link http://p.ickl.es
* @link https://github.com/joshtronic/pickles
*/
/**
* Google Profanity API Interface
* Google Profanity API Interface
*/
class API_Google_Profanity extends API_Common
{

View file

@ -9,14 +9,14 @@
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2011, Josh Sherman
* @copyright Copyright 2007-2012, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link http://p.ickl.es
* @link https://github.com/joshtronic/pickles
*/
/**
* Tinychat API Interface
* Tinychat API Interface
*
* @link http://tinychat.com/developer/docs
*/
@ -29,7 +29,7 @@ class API_Tinychat extends API_Common
* @var string
*/
private $public_key = null;
/**
* Secret Key
*
@ -72,7 +72,7 @@ class API_Tinychat extends API_Common
{
// Assembles and hashes the authentication token
$authentication = md5($this->secret_key . ':' . $authentication);
// Assembles any additional parameters
$additional = '';
@ -157,7 +157,7 @@ class API_Tinychat extends API_Common
public function generateHTML($room, $join = false, $nick = false, $change = false, $login = false, $oper = false, $owner = false, $bcast = false, $api = false, $colorbk = false, $tcdisplay = false, $autoop = false, $urlsuper = false, $langdefault = false)
{
return '
<script type="text/javascript">
<script type="text/javascript">
var tinychat = {'
. 'room: "' . $room . '",'
. ($join ? 'join: "auto",' : '')
@ -175,8 +175,8 @@ class API_Tinychat extends API_Common
. ($langdefault ? 'langdefault: "' . $langdefault . '",' : '')
. 'key: "' . $this->public_key . '"'
. '};
</script>
<script src="http://tinychat.com/js/embed.js"></script>
</script>
<script src="http://tinychat.com/js/embed.js"></script>
<div id="client"></div>
';
}

View file

@ -9,10 +9,10 @@
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2011, Josh Sherman
* @copyright Copyright 2007-2012, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link http://p.ickl.es
* @link https://github.com/joshtronic/pickles
*/
/**
@ -43,11 +43,11 @@ class Convert
if (JSON_AVAILABLE)
{
return json_encode($variable);
}
}
else
{
return '{ "status": "error", "message": "json_encode() not found" }';
}
return '{ "status": "error", "message": "json_encode() not found" }';
}
}
/**

View file

@ -9,10 +9,10 @@
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2011, Josh Sherman
* @copyright Copyright 2007-2012, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link http://p.ickl.es
* @link https://github.com/joshtronic/pickles
*/
/**
@ -34,7 +34,7 @@ class Date
* @param string $date birth / inception date
* @return integer $age number of years old
*/
public static function age($date)
public static function age($date)
{
if (!preg_match('/\d{4}-\d{2}-\d{2}/', $date))
{

View file

@ -9,10 +9,10 @@
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2011, Josh Sherman
* @copyright Copyright 2007-2012, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link http://p.ickl.es
* @link https://github.com/joshtronic/pickles
*/
/**
@ -45,7 +45,7 @@ class File
if (is_dir($directory))
{
$files = scandir($directory);
// Loop through said files, check for directories, and unlink files
foreach ($files as $file)
{

View file

@ -9,10 +9,10 @@
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2011, Josh Sherman
* @copyright Copyright 2007-2012, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link http://p.ickl.es
* @link https://github.com/joshtronic/pickles
*/
/**
@ -88,7 +88,7 @@ class Form extends Object
{
return $this->input($name, $value, $classes, $additional, 'hidden');
}
/**
* Hidden Input
*

View file

@ -9,10 +9,10 @@
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2011, Josh Sherman
* @copyright Copyright 2007-2012, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link http://p.ickl.es
* @link https://github.com/joshtronic/pickles
*/
/**

View file

@ -9,10 +9,10 @@
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2011, Josh Sherman
* @copyright Copyright 2007-2012, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link http://p.ickl.es
* @link https://github.com/joshtronic/pickles
*/
/**

View file

@ -9,10 +9,10 @@
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2011, Josh Sherman
* @copyright Copyright 2007-2012, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link http://p.ickl.es
* @link https://github.com/joshtronic/pickles
*/
/**

View file

@ -9,10 +9,10 @@
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2011, Josh Sherman
* @copyright Copyright 2007-2012, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link http://p.ickl.es
* @link https://github.com/joshtronic/pickles
*/
/**

View file

@ -9,10 +9,10 @@
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2011, Josh Sherman
* @copyright Copyright 2007-2012, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link http://p.ickl.es
* @link https://github.com/joshtronic/pickles
*/
/**

View file

@ -9,10 +9,10 @@
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2011, Josh Sherman
* @copyright Copyright 2007-2012, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link http://p.ickl.es
* @link https://github.com/joshtronic/pickles
*/
/**

6787
jar.php

File diff suppressed because it is too large Load diff

View file

@ -14,10 +14,10 @@
* Redistribution of these files must retain the above copyright notice.
*
* @author Josh Sherman <josh@gravityblvd.com>
* @copyright Copyright 2007-2011, Josh Sherman
* @copyright Copyright 2007-2012, Josh Sherman
* @license http://www.opensource.org/licenses/mit-license.html
* @package PICKLES
* @link http://p.ickl.es
* @link https://github.com/joshtronic/pickles
* @usage <code>require_once 'pickles.php';</code>
*/