Ticket #6019: 6019.diff

File 6019.diff, 6.3 KB (added by iammattthomas, 5 years ago)

Updates in #6019

Line 
1Index: wp-admin.css
2===================================================================
3--- wp-admin.css        (revision 7063)
4+++ wp-admin.css        (working copy)
5@@ -1,10 +1,24 @@
6-.plugins p {
7-       margin: 4px;
8+#plugins .active td {
9+       opacity:1;
10+       filter:alpha(opacity=100)
11+}
12+
13+#plugins .active td.name {
14+       font-weight: bold;
15+}
16+
17+#plugins td {
18+       opacity:0.70;
19+       filter:alpha(opacity=70)
20+}
21+
22+#plugins p {
23+       margin: 0 4px;
24        padding: 0;
25 }
26 
27-.plugins .name {
28-       font-size: 16px;
29+#plugins .togl {
30+       width: 150px;
31 }
32 
33 .import-system {
34@@ -116,7 +130,9 @@
35 }
36 
37 .submit {
38-       margin: 1.5em 0 0 0;
39+       border-top: 1px solid #ccc;
40+       padding: 1.5em 0 0 0;
41+       margin: 10px 0 0 0;
42        -moz-border-radius-bottomleft: 3px;
43        -khtml-border-bottom-left-radius: 3px;
44        -webkit-border-bottom-left-radius: 3px;
45@@ -197,7 +213,7 @@
46        margin-left: 15px;
47        padding: 0 15px;
48        margin-bottom: 20px;
49-       margin-right: 15%;
50+       margin-right: 15px;
51 }
52 
53 .updated a, .error a {
54@@ -395,19 +411,6 @@
55        zoom: 1;
56 }
57 
58-.active td {
59-       background: #BEB;
60-}
61-.active .name {
62-       background: #9C9;
63-}
64-.alternate.active td {
65-       background: #ADA;
66-}
67-.alternate.active .name {
68-       background: #8B8;
69-}
70-
71 #ajax-response {
72        padding: .5em;
73 }
74@@ -522,6 +525,11 @@
75        border-color: #e4f2fd;
76 }
77 
78+.tablenav a.button-secondary {
79+       display: inline-block;
80+       margin-right: 8px;
81+}
82+
83 .tablenav .next, .tablenav .prev{
84        border-color: #e4f2fd;
85        background-color: #e4f2fd;
86@@ -603,7 +611,7 @@
87 
88 #user_info {
89        position: absolute;
90-       right: 25px;
91+       right: 15px;
92        top: 11px;
93        color: #ccc;
94        font-size: 11px;
95@@ -742,7 +750,7 @@
96 }
97 
98 #sidemenu {
99-       margin: -30px 15% 0 315px;
100+       margin: -30px 15px 0 315px;
101        color: #999;
102        list-style: none;
103        position: relative;
104@@ -912,6 +920,7 @@
105        border-collapse: collapse;
106        margin-top: 1em;
107        width: 100%;
108+       margin-bottom: -8px;
109 }
110 
111 .form-table td {
112@@ -925,6 +934,7 @@
113        text-align: left;
114        padding: 10px;
115        border-bottom: 8px solid #fff;
116+       width: 150px;
117 }
118 
119 .form-table tr {
120@@ -1134,7 +1144,7 @@
121        position: absolute;
122        background-color: #eaf3fa;
123        width: 200px;
124-       right: 25px;
125+       right: 15px;
126 }
127 
128 
129@@ -1386,7 +1396,7 @@
130 
131 #the-comment-list td {
132        vertical-align: top;
133-       font-size: 11px;
134+       font-size: 12px;
135 }
136 
137 #the-comment-list td.comment {
138Index: plugins.php
139===================================================================
140--- plugins.php (revision 7063)
141+++ plugins.php (working copy)
142@@ -81,15 +81,38 @@
143        echo '</p>';
144 } else {
145 ?>
146-<table class="widefat plugins">
147+
148+<div class="tablenav">
149+       <div style="float: left">
150+       <?php
151+       $active = get_option('active_plugins');
152+       $inactive = get_option('deactivated_plugins');
153+       if ( !empty($active) ) {
154+       ?>
155+       <a class="button-secondary" href="<?php echo wp_nonce_url('plugins.php?action=deactivate-all', 'deactivate-all'); ?>" class="delete"><?php _e('Deactivate All Plugins'); ?></a>
156+       <?php
157+       } elseif ( empty($active) && !empty($inactive) ) {
158+       ?>
159+       <a class="button-secondary" href="<?php echo wp_nonce_url('plugins.php?action=reactivate-all', 'reactivate-all'); ?>" class="delete"><?php _e('Reactivate All Plugins'); ?></a>
160+       <?php
161+       } // endif active/inactive plugin check
162+       ?>
163+       </div>
164+       <br style="clear:both;">
165+</div>
166+
167+<br style="clear:both;">
168+
169+<table class="widefat">
170        <thead>
171        <tr>
172                <th><?php _e('Plugin'); ?></th>
173                <th style="text-align: center"><?php _e('Version'); ?></th>
174                <th><?php _e('Description'); ?></th>
175-               <th style="text-align: center"<?php if ( current_user_can('edit_plugins') ) echo ' colspan="2"'; ?>><?php _e('Action'); ?></th>
176+               <th <?php if ( current_user_can('edit_plugins') ) echo ' colspan="2"'; ?>><?php _e('Action'); ?></th>
177        </tr>
178        </thead>
179+       <tbody id="plugins">
180 <?php
181        $style = '';
182 
183@@ -126,36 +149,15 @@
184                <td class='name'>{$plugin_data['Title']}</td>
185                <td class='vers'>{$plugin_data['Version']}</td>
186                <td class='desc'><p>{$plugin_data['Description']}$author</p></td>
187-               <td class='togl'>$toggle</td>";
188-               if ( current_user_can('edit_plugins') )
189-               echo "
190-               <td>$edit</td>";
191+               <td class='togl'>$toggle"; if ( current_user_can('edit_plugins') ) echo " | $edit</td>";
192                echo"
193        </tr>";
194        do_action( 'after_plugin_row', $plugin_file );
195        }
196 ?>
197+       </tbody>
198+</table>
199 
200-<tr>
201-       <td colspan="3">&nbsp;</td>
202-       <td colspan="2" style="width:12em;">
203-       <?php
204-       $active = get_option('active_plugins');
205-       $inactive = get_option('deactivated_plugins');
206-       if ( !empty($active) ) {
207-       ?>
208-       <a href="<?php echo wp_nonce_url('plugins.php?action=deactivate-all', 'deactivate-all'); ?>" class="delete"><?php _e('Deactivate All Plugins'); ?></a>
209-       <?php
210-       } elseif ( empty($active) && !empty($inactive) ) {
211-       ?>
212-       <a href="<?php echo wp_nonce_url('plugins.php?action=reactivate-all', 'reactivate-all'); ?>" class="delete"><?php _e('Reactivate All Plugins'); ?></a>
213-       <?php
214-       } // endif active/inactive plugin check
215-       ?>
216-       </td>
217-</tr>
218-
219-</table>
220 <?php
221 }
222 ?>
223Index: css/global.css
224===================================================================
225--- css/global.css      (revision 7062)
226+++ css/global.css      (working copy)
227@@ -65,8 +65,8 @@
228 
229 .widefat td, .widefat th {
230        border-bottom: 1px solid #ccc;
231-       font-size: 10px;
232-       padding: 10px 6px 20px 6px;
233+       font-size: 12px;
234+       padding: 10px 10px 20px;
235        vertical-align: text-top;
236 }
237 
238@@ -87,7 +87,7 @@
239 .wrap {
240        margin: 0;
241        margin-left: 15px;
242-       margin-right: 25px;
243+       margin-right: 15px;
244        padding: 0;
245 }
246 
247Index: export.php
248===================================================================
249--- export.php  (revision 7063)
250+++ export.php  (working copy)
251@@ -14,16 +14,15 @@
252 
253 <div class="wrap">
254 <h2><?php _e('Export'); ?></h2>
255-<div class="narrow">
256 <p><?php _e('When you click the button below WordPress will create an XML file for you to save to your computer.'); ?></p>
257 <p><?php _e('This format, which we call WordPress eXtended RSS or WXR, will contain your posts, comments, custom fields, and categories.'); ?></p>
258 <p><?php _e('Once you&#8217;ve saved the download file, you can use the Import function on another WordPress blog to import this blog.'); ?></p>
259 <form action="" method="get">
260-<h3><?php _e('Optional options'); ?></h3>
261+<h3><?php _e('Options'); ?></h3>
262 
263-<table class="niceblue">
264+<table class="form-table">
265 <tr>
266-<th><?php _e('Restrict Author:'); ?></th>
267+<th><?php _e('Restrict Author'); ?></th>
268 <td>
269 <select name="author">
270 <option value="all" selected="selected"><?php _e('All Authors'); ?></option>
271@@ -43,7 +42,6 @@
272 </p>
273 </form>
274 </div>
275-</div>
276 
277 <?php
278