Permalink
Browse files

initial commit for archive of krinkle-tools.grizzdesign.nl

  • Loading branch information...
Krinkle committed Mar 9, 2017
1 parent 83c3421 commit a41a93d46817cebae5f1cf33c33b2c07a155d739
Showing with 3,196 additions and 0 deletions.
  1. BIN krinkle-tools.grizzdesign.nl/2011-WMF-MW-LicenseIntegration/SpecialLicenseManager_edit.png
  2. BIN krinkle-tools.grizzdesign.nl/2011-WMF-MW-LicenseIntegration/SpecialLicenseManager_index.png
  3. BIN krinkle-tools.grizzdesign.nl/2011-WMF-MW-LicenseIntegration/SpecialLog_licensemanager.png
  4. +44 −0 krinkle-tools.grizzdesign.nl/2011-WMF-MW-LicenseIntegration/index.html
  5. +81 −0 krinkle-tools.grizzdesign.nl/HTML2Wiki/ZeroClipboard.as
  6. BIN krinkle-tools.grizzdesign.nl/HTML2Wiki/ZeroClipboard.fla
  7. +302 −0 krinkle-tools.grizzdesign.nl/HTML2Wiki/ZeroClipboard.js
  8. BIN krinkle-tools.grizzdesign.nl/HTML2Wiki/ZeroClipboard.swf
  9. BIN krinkle-tools.grizzdesign.nl/HTML2Wiki/clipboard-64px.png
  10. BIN krinkle-tools.grizzdesign.nl/HTML2Wiki/clipboard.png
  11. +42 −0 krinkle-tools.grizzdesign.nl/HTML2Wiki/html2wiki.php
  12. +493 −0 krinkle-tools.grizzdesign.nl/HTML2Wiki/index.php
  13. +49 −0 krinkle-tools.grizzdesign.nl/HTML2Wiki/style.css
  14. +488 −0 krinkle-tools.grizzdesign.nl/MoreWatchlists/GetWatchlistTokens.php
  15. +143 −0 krinkle-tools.grizzdesign.nl/MoreWatchlists/GetWatchlistTokens_centralauth.php
  16. +92 −0 krinkle-tools.grizzdesign.nl/MoreWatchlists/download.php
  17. +468 −0 krinkle-tools.grizzdesign.nl/MoreWatchlists/index.php
  18. +616 −0 krinkle-tools.grizzdesign.nl/common.inc.php
  19. +42 −0 krinkle-tools.grizzdesign.nl/escapeClass.php
  20. +21 −0 krinkle-tools.grizzdesign.nl/index.html
  21. BIN krinkle-tools.grizzdesign.nl/load.gif
  22. +70 −0 krinkle-tools.grizzdesign.nl/main.css
  23. +117 −0 krinkle-tools.grizzdesign.nl/mw-allajax.js
  24. +33 −0 krinkle-tools.grizzdesign.nl/noscript-head/index.php
  25. +1 −0 krinkle-tools.grizzdesign.nl/noscript-head/is-js.css
  26. +1 −0 krinkle-tools.grizzdesign.nl/noscript-head/no-js.css
  27. +93 −0 krinkle-tools.grizzdesign.nl/replace-n-repeat.php
@@ -0,0 +1,44 @@
<!DOCTYPE html>
<html dir="ltr" lang="en">
<head>
<meta charset="UTF-8" />
<title>MW | LicenseIntegration</title>
<link rel="stylesheet" type="text/css" href="../main.css" />
<style type="text/css">
ul li { list-style: none; clear: both; border-bottom: 1px solid #DFDFDF; margin-bottom: 15px; padding-bottom: 15px; }
li span { display: inline-block; width: 150px; overflow: hidden; }
li p { font-weight: bold; }
</style>
</head>
<body>
<div id="page-wrap">
<h1>MW | LicenseIntegration</h1>
<small><em>Version 0.1.0 as uploaded on 2011-01-21 by Krinkle</em></small>
<hr />
<h3 id="mockups">Mockups</h3>
<ul>
<li>
<p>Special:LicenseManager/5</p>
<a href="SpecialLicenseManager_edit.png">
<span><img src="SpecialLicenseManager_edit.png" height="150" alt="" /></span>
SpecialLicenseManager edit.png
</a>
</li>
<li>
<p>Special:LicenseManager</p>
<a href="SpecialLicenseManager_index.png">
<span><img src="SpecialLicenseManager_index.png" height="150" alt="" /></span>
SpecialLicenseManager index.png
</a>
</li>
<li>
<p>Special:Log/licensemanager</p>
<a href="SpecialLog_licensemanager.png">
<span><img src="SpecialLog_licensemanager.png" height="150" alt="" /></span>
SpecialLog licensemanager.png
</a>
</li>
</ul>
</div>
</body>
</html>
@@ -0,0 +1,81 @@
package {
// Simple Set Clipboard System
// Author: Joseph Huckaby
import flash.display.Stage;
import flash.display.Sprite;
import flash.display.LoaderInfo;
import flash.display.StageScaleMode;
import flash.events.*;
import flash.display.StageAlign;
import flash.display.StageScaleMode;
import flash.external.ExternalInterface;
import flash.system.Security;
import flash.utils.*;
import flash.system.System;
public class ZeroClipboard extends Sprite {
private var id:String = '';
private var button:Sprite;
private var clipText:String = '';
public function ZeroClipboard() {
// constructor, setup event listeners and external interfaces
stage.scaleMode = StageScaleMode.EXACT_FIT;
flash.system.Security.allowDomain("*");
// import flashvars
var flashvars:Object = LoaderInfo( this.root.loaderInfo ).parameters;
id = flashvars.id;
// invisible button covers entire stage
button = new Sprite();
button.buttonMode = true;
button.useHandCursor = true;
button.graphics.beginFill(0xCCFF00);
button.graphics.drawRect(0, 0, Math.floor(flashvars.width), Math.floor(flashvars.height));
button.alpha = 0.0;
addChild(button);
button.addEventListener(MouseEvent.CLICK, clickHandler);
button.addEventListener(MouseEvent.MOUSE_OVER, function(event:Event) {
ExternalInterface.call( 'ZeroClipboard.dispatch', id, 'mouseOver', null );
} );
button.addEventListener(MouseEvent.MOUSE_OUT, function(event:Event) {
ExternalInterface.call( 'ZeroClipboard.dispatch', id, 'mouseOut', null );
} );
button.addEventListener(MouseEvent.MOUSE_DOWN, function(event:Event) {
ExternalInterface.call( 'ZeroClipboard.dispatch', id, 'mouseDown', null );
} );
button.addEventListener(MouseEvent.MOUSE_UP, function(event:Event) {
ExternalInterface.call( 'ZeroClipboard.dispatch', id, 'mouseUp', null );
} );
// external functions
ExternalInterface.addCallback("setHandCursor", setHandCursor);
ExternalInterface.addCallback("setText", setText);
// signal to the browser that we are ready
ExternalInterface.call( 'ZeroClipboard.dispatch', id, 'load', null );
}
public function setText(newText) {
// set the maximum number of files allowed
clipText = newText;
}
public function setHandCursor(enabled:Boolean) {
// control whether the hand cursor is shown on rollover (true)
// or the default arrow cursor (false)
button.useHandCursor = enabled;
}
private function clickHandler(event:Event):void {
// user click copies text to clipboard
// as of flash player 10, this MUST happen from an in-movie flash click event
System.setClipboard( clipText );
ExternalInterface.call( 'ZeroClipboard.dispatch', id, 'complete', clipText );
}
}
}
Binary file not shown.
Oops, something went wrong.

0 comments on commit a41a93d

Please sign in to comment.