# rvm_maintenance v0.5 # Maintenance Mode # # License: GNU GPLv2 or later # # Ruud van Melick # http://vanmelick.com/ # ...................................................................... # This is a plugin for Textpattern - http://textpattern.com/ # To install: textpattern > admin > plugins # Paste the following text into the 'Install plugin' box: # ...................................................................... YTo5OntzOjc6InZlcnNpb24iO3M6MzoiMC41IjtzOjY6ImF1dGhvciI7czoxNToiUnV1ZCB2 YW4gTWVsaWNrIjtzOjEwOiJhdXRob3JfdXJpIjtzOjIxOiJodHRwOi8vdmFubWVsaWNrLmNv bS8iO3M6MTE6ImRlc2NyaXB0aW9uIjtzOjE2OiJNYWludGVuYW5jZSBNb2RlIjtzOjQ6InR5 cGUiO2k6MDtzOjQ6Im5hbWUiO3M6MTU6InJ2bV9tYWludGVuYW5jZSI7czo0OiJoZWxwIjtz OjEwMjI6IjxoMT5NYWludGVuYW5jZSBNb2RlPC9oMT4KCjxwPlRoaXMgcGx1Z2luLCB3aGVu IGFjdGl2YXRlZCwgd2lsbCBzaG93IGEgbWFpbnRlbmFuY2UgcGFnZSB0byBhbGwgdmlzaXRv cnMgd2hvIGFyZSBub3QgbG9nZ2VkIGluIG9uIHRoZSBhZG1pbiBzaWRlIG9mIFRleHRwYXR0 ZXJuLjwvcD4KCjxwPkFmdGVyIGVuYWJsaW5nIHRoZSBwbHVnaW4sIGNsaWNrIHRoZSA8ZW0+ VmlldyBTaXRlPC9lbT4gdGFiLiBUaGlzIHdpbGwgYWxsb3cgeW91IHRvIHNlZSB3aGF0IHlv dXIgd2Vic2l0ZSB3aWxsIGxvb2sgbGlrZSB0byB2aXNpdG9ycyBvbmNlIHRoZSBtYWludGVu YW5jZSBtb2RlIGlzIGRlYWN0aXZhdGVkLjwvcD4KClRoZXJlIGFyZSB0d28gd2F5cyB0byBj dXN0b21pemUgdGhlIG1haW50ZW5hbmNlIG1vZGUgZXJyb3IgcGFnZTxzdXAgY2xhc3M9ImZv b3Rub3RlIiBpZD0iZm5yZXY0MjgyNDQwNzM2NzY2ZWZkZTZm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