This file contains hidden or 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
// ==UserScript== | |
// @name NanNvShen Self Voting | |
// @namespace name.xen0n | |
// @description Enables self-voting on hui.renren.com/daren13 campaign. | |
// @include http://hui.renren.com/daren13/user/profile* | |
// @version 1 | |
// @grant none | |
// @run-at document-start | |
// ==/UserScript== |
This file contains hidden or 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
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
Copyright 2012 GitHub Inc. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |
This file contains hidden or 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
diff -Nur a//admin/forms.py b//admin/forms.py | |
--- a//admin/forms.py 2012-07-17 09:56:36.060026507 +0800 | |
+++ b//admin/forms.py 2012-08-28 23:14:08.606910058 +0800 | |
@@ -1,8 +1,9 @@ | |
# -*- coding: utf-8 -*- | |
from cms.apphook_pool import apphook_pool | |
from cms.forms.widgets import UserSelectAdminWidget | |
+from cms.forms.textmodelfield import TextModelMultipleChoiceField | |
from cms.models import (Page, PagePermission, PageUser, ACCESS_PAGE, | |
- PageUserGroup) |
NewerOlder