diff options
author | Git <git@what.cd> | 2014-04-02 08:00:56 +0000 |
---|---|---|
committer | Git <git@what.cd> | 2014-04-02 08:00:56 +0000 |
commit | aedb32c7d0c5810ce1f85bb96571d79784a43e5d (patch) | |
tree | d115219b48c4495372af73ef2af1d9f4cd9997d4 | |
parent | e624e2824baa19c92a626f5327755b55c2a7ad49 (diff) | |
download | Gazelle-aedb32c7d0c5810ce1f85bb96571d79784a43e5d.zip Gazelle-aedb32c7d0c5810ce1f85bb96571d79784a43e5d.tar.gz Gazelle-aedb32c7d0c5810ce1f85bb96571d79784a43e5d.tar.bz2 |
Empty commit
-rw-r--r-- | gazelle.sql | 6 | ||||
-rw-r--r-- | ocelot-0.7.tar.bz2 | bin | 118350 -> 0 bytes | |||
-rw-r--r-- | sections/user/takemoderate.php | 2 | ||||
-rw-r--r-- | static/functions/script_start.js | 4 | ||||
-rw-r--r-- | static/styles/mono/style.css | 4 | ||||
-rw-r--r-- | static/styles/postmod/style.css | 89 |
6 files changed, 70 insertions, 35 deletions
diff --git a/gazelle.sql b/gazelle.sql index 1a29b2f..9ff51f1 100644 --- a/gazelle.sql +++ b/gazelle.sql @@ -1042,9 +1042,11 @@ CREATE TABLE `staff_pm_responses` ( ) ENGINE=InnoDB CHARSET utf8; CREATE TABLE `styles_backup` ( - `UserID` int(10) DEFAULT NULL, + `UserID` int(10) NOT NULL DEFAULT '0', `StyleID` int(10) DEFAULT NULL, - `StyleURL` varchar(255) DEFAULT NULL + `StyleURL` varchar(255) DEFAULT NULL, + PRIMARY KEY (`UserID`), + KEY `StyleURL` (`StyleURL`) ) ENGINE=InnoDB CHARSET utf8; CREATE TABLE `stylesheets` ( diff --git a/ocelot-0.7.tar.bz2 b/ocelot-0.7.tar.bz2 Binary files differdeleted file mode 100644 index 90a74e4..0000000 --- a/ocelot-0.7.tar.bz2 +++ /dev/null diff --git a/sections/user/takemoderate.php b/sections/user/takemoderate.php index 86d2514..405263f 100644 --- a/sections/user/takemoderate.php +++ b/sections/user/takemoderate.php @@ -152,7 +152,7 @@ if (!check_perms('users_mod', $Cur['Class'])) { die(); } -if (!empty($_POST['donor_points_submit']) && isset($_POST['donation_value']) && isset($_POST['donation_currency'])) { +if (!empty($_POST['donor_points_submit']) && !empty($_POST['donation_value']) && is_number($_POST['donation_value'])) { Donations::regular_donate($UserID, $_POST['donation_value'], "Add Points", $_POST['donation_reason'], $_POST['donation_currency']); } elseif (!empty($_POST['donor_values_submit'])) { Donations::update_rank($UserID, $_POST['donor_rank'], $_POST['total_donor_rank'], $_POST['reason']); diff --git a/static/functions/script_start.js b/static/functions/script_start.js index 209f5b7..3d06902 100644 --- a/static/functions/script_start.js +++ b/static/functions/script_start.js @@ -360,7 +360,9 @@ $.fn.extend({ // Disable unset form elements to allow search URLs cleanups disableUnset: function() { - $('input[value=""]:text, select[value=""]', this).disable(); + $('input, select', this).filter(function() { + return $(this).val() === ""; + }).disable(); return this; }, diff --git a/static/styles/mono/style.css b/static/styles/mono/style.css index 327421a..3a93963 100644 --- a/static/styles/mono/style.css +++ b/static/styles/mono/style.css @@ -353,6 +353,7 @@ div.thin > h3:first-child { textarea, input[type="text"], +input[type="email"], input[type="search"], input[type="password"], .select { @@ -372,6 +373,7 @@ input[type="password"], textarea:focus, input[type="text"]:focus, +input[type="email"]:focus, input[type="search"]:focus, input[type="password"]:focus { -webkit-box-shadow: inset -1px 1px 3px rgba(0,0,0,0.15),0 0 5px rgba(0,140,180,0.5); @@ -387,6 +389,7 @@ textarea { } .sidebar input[type="text"], +.sidebar input[type="email"], .sidebar input[type="search"], .sidebar textarea { width: 202px; @@ -1073,6 +1076,7 @@ ul#artistcomplete { form[action="user.php"] table textarea, form[action="user.php"] table input[type="text"], +form[action="user.php"] table input[type="email"], form[action="user.php"] table input[type="search"] { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; diff --git a/static/styles/postmod/style.css b/static/styles/postmod/style.css index 166a422..aa0ec56 100644 --- a/static/styles/postmod/style.css +++ b/static/styles/postmod/style.css @@ -850,30 +850,30 @@ tr.unreadpm { /* Layout (Permission Page) */ .permission_head { - width:400px; - margin-left:auto; - margin-right:auto; + width: 400px; + margin-left: auto; + margin-right: auto; } .permissions { - width:930px; - margin-left:auto; - margin-right:auto; + width: 930px; + margin-left: auto; + margin-right: auto; } .permission_container { float: left; - width:300px; - padding:5px; + width: 300px; + padding: 5px; } .permission_container input { - margin:0px 3px 5px 0px; - vertical-align:top; + margin: 0px 3px 5px 0px; + vertical-align: top; } .submit_container { - clear:both; - text-align:right; + clear: both; + text-align: right; } /* Layout (Invite tree) */ @@ -890,7 +890,8 @@ ul .invitetree { /*.thin .body a:hover, .thin .box a:hover, .thin .body a:focus, .thin .box a:focus { background: ; }*/ .head a:hover, .colhead a:hover, .colhead_dark a:hover, .head a:focus, .colhead a:focus, .colhead_dark a:focus { - background: transparent !important; outline: 0 + background: transparent !important; + outline: 0; } /* Layout (User options) */ @@ -901,13 +902,13 @@ ul .invitetree { /* Layout (MISC) */ -.poll{list-style:none; padding:10px; margin:5px} -.poll li{clear:both} -.poll .graph{padding:0 0 15px 0} -.poll .graph span{display:block; height:19px; float:left} -.poll .graph .left_poll{width:9px; background:url('images/poll_left.png') top left no-repeat} -.poll .graph .center_poll{background:url('images/poll_middle.png') top left repeat-x} -.poll .graph .right_poll{width:11px; background:url('images/poll_right.png') top left no-repeat} +.poll { list-style: none; padding: 10px; margin: 5px; } +.poll li { clear: both; } +.poll .graph { padding: 0 0 15px 0; } +.poll .graph span { display: block; height: 19px; float: left; } +.poll .graph .left_poll { width: 9px; background: url('images/poll_left.png') top left no-repeat; } +.poll .graph .center_poll { background: url('images/poll_middle.png') top left repeat-x; } +.poll .graph .right_poll { width: 11px; background: url('images/poll_right.png') top left no-repeat; } .curtain { position: fixed; @@ -916,9 +917,9 @@ ul .invitetree { width: 100%; height: 100%; background: #111 50% 0 no-repeat fixed; - z-index:1001; + z-index: 1001; -moz-opacity: 0.9; - opacity:.90; + opacity: 0.90; filter: alpha(opacity=90); } @@ -930,7 +931,7 @@ ul .invitetree { width: 90%; height: 90%; padding: 0px; - z-index:1002; + z-index: 1002; overflow: auto; } @@ -941,7 +942,7 @@ ul .invitetree { z-index: -1; } -input[type=button], input[type=submit] { +input[type="button"], input[type="submit"] { background: #111 url(images/alert-overlay.png) repeat-x; display: inline-block; padding: 3px 6px 4px; @@ -959,8 +960,13 @@ input[type=button], input[type=submit] { cursor: pointer; } -input[type=button]:hover, input[type=submit]:hover { background-color: #000; color: #FFF; } -input[type=button]:active , input[type=submit]:active { top: 1px; } +input[type="button"]:hover, input[type="submit"]:hover { + background-color: #000; + color: #FFF; +} +input[type="button"]:active , input[type="submit"]:active { + top: 1px; +} input[type="button"]:active, input[type="button"]:focus, input[type="submit"]:active, input[type="submit"]:focus { /* background: #262626 url(images/load.gif) no-repeat center center; */ @@ -980,7 +986,7 @@ input[type="button"]:active, input[type="button"]:focus, input[type="submit"]:ac cursor: pointer; } -input[type=text], input[type="password"], input[type="search"] { +input[type="text"], input[type="email"], input[type="password"], input[type="search"] { background: #111 url(images/alert-overlay.png) repeat-x; display: inline-block; padding: 3px; @@ -993,11 +999,32 @@ input[type=text], input[type="password"], input[type="search"] { border-bottom: 1px solid #333; } -input[type=text]:hover, input[type=text]:focus, input[type="search"]:hover, input[type="search"]:focus, input[type="password"]:hover, input[type="password"]:focus { background-color: #000; color: #FFF; } -input[type=text]:active, input[type="search"]:active, input[type="password"]:active { top: 1px; } +input[type="text"]:hover, +input[type="text"]:focus, +input[type="email"]:hover, +input[type="email"]:focus, +input[type="search"]:hover, +input[type="search"]:focus, +input[type="password"]:hover, +input[type="password"]:focus { + background-color: #000; + color: #FFF; +} +input[type="text"]:active, +input[type="email"]:active, +input[type="search"]:active, +input[type="password"]:active { + top: 1px; +} -input[disabled=disabled] { background: #4F4F4F url(images/alert-overlay.png) repeat-x; color: #DFDFDF; } -input[disabled=disabled]:hover, input[disabled=disabled]:focus, input[disabled=disabled]:active { background-color: #4F4F4F; color: #DFDFDF; } +input[disabled="disabled"] { + background: #4F4F4F url(images/alert-overlay.png) repeat-x; + color: #DFDFDF; +} +input[disabled="disabled"]:hover, input[disabled="disabled"]:focus, input[disabled="disabled"]:active { + background-color: #4F4F4F; + color: #DFDFDF; +} /* textarea[disabled=disabled] { background: #4F4F4F; color: #DFDFDF; } |