Commit Graph

123 Commits

Author SHA1 Message Date
Andrew Ozz f5fa5294ed Delete widgets when dragged back to Available Widgets, add ui.droppable.js and ui.selectable.js, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11445 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-24 15:46:09 +00:00
Andrew Ozz 29ed683636 Fix saving and deleting of widgets settings for no-js and for some non-standard widgets, run the actions from the widgets screen when saving with ajax, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11427 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-22 12:08:51 +00:00
Mark Jaquith f0336cfa7d deprecate wp_specialchars() in favor of esc_html(). Encode quotes for esc_html() as in esc_attr(), to improve plugin security.
git-svn-id: https://develop.svn.wordpress.org/trunk@11380 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-18 15:11:07 +00:00
Mark Jaquith c638e8d8de _a(), _ea(), _xa(), attr() are now esc_attr__(), esc_attr_e(), esc_attr_x(), esc_attr() -- still short, but less cryptic. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11204 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 19:43:53 +00:00
Andrew Ozz 8788a2520e Add wpspin_light and wpspin_dark spinners
git-svn-id: https://develop.svn.wordpress.org/trunk@11203 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-05 18:57:43 +00:00
Andrew Ozz 90e500ae36 Widgets UI improvements: arrows, some more help
git-svn-id: https://develop.svn.wordpress.org/trunk@11166 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-04 01:19:10 +00:00
Andrew Ozz 263b761408 Do not import sidebars by index after switching themes, props Denis-de-Bernardy, see #9695
git-svn-id: https://develop.svn.wordpress.org/trunk@11161 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-03 07:53:54 +00:00
Andrew Ozz d578c68a73 Widgets UI styling, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11160 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-03 05:27:13 +00:00
Andrew Ozz aac1622495 Add wpspin.gif and replace all spinners
git-svn-id: https://develop.svn.wordpress.org/trunk@11150 602fd350-edb4-49c9-b593-d223f7449a82
2009-05-01 19:43:22 +00:00
Andrew Ozz 84c56e062e Add some help for the widgets screen, make css class .description usable everywhere, fixes #5859
git-svn-id: https://develop.svn.wordpress.org/trunk@11133 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-30 02:33:22 +00:00
Ryan Boren 3b7130bbae attr escaping. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11110 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 06:37:51 +00:00
Ryan Boren fe7c34b6fd s/attribute_escape/attr/. see #9650
git-svn-id: https://develop.svn.wordpress.org/trunk@11109 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-28 05:58:45 +00:00
Andrew Ozz e3830feb21 Remove remnants from widgets search, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11041 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-22 01:06:15 +00:00
Andrew Ozz cf45258321 Add and edit widget when js is disabled, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@11009 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-20 10:58:50 +00:00
Andrew Ozz bc4f2492df Match old/new sidebars by index when switching themes, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@10927 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-14 01:17:57 +00:00
Andrew Ozz a902058b25 Resizing and animation for widgets, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@10916 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-13 01:17:59 +00:00
Andrew Ozz 8e48888e47 Widgets page, first run, see #9511
git-svn-id: https://develop.svn.wordpress.org/trunk@10912 602fd350-edb4-49c9-b593-d223f7449a82
2009-04-11 14:37:24 +00:00
Ryan Boren b05ffb1229 Separate widget form and update callbacks.
git-svn-id: https://develop.svn.wordpress.org/trunk@10798 602fd350-edb4-49c9-b593-d223f7449a82
2009-03-17 00:59:42 +00:00
Ryan Boren b62d27d733 Fix notice. Props ionfish. fixes #9018
git-svn-id: https://develop.svn.wordpress.org/trunk@10631 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-23 06:12:53 +00:00
Ryan Boren de0b36d4b4 Use _n(). Props mrmist. fixes #9190
git-svn-id: https://develop.svn.wordpress.org/trunk@10605 602fd350-edb4-49c9-b593-d223f7449a82
2009-02-20 19:22:34 +00:00
Ryan Boren baaaa352ba Strip trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@10150 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 18:03:31 +00:00
Mark Jaquith 00152d6124 Move from generic "Save" to better "Update X", more consistent use of button-primary for major actions. fixes #8374. props azaozz, FFEMTcJ
git-svn-id: https://develop.svn.wordpress.org/trunk@10137 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-09 09:07:36 +00:00
Mark Jaquith dfed4a90c2 Add the screen_icon() for Widgetless themes too
git-svn-id: https://develop.svn.wordpress.org/trunk@10033 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 07:47:11 +00:00
Mark Jaquith a5052d5bf2 Better display and wording for themes with no widget-enabled sidebars
git-svn-id: https://develop.svn.wordpress.org/trunk@10032 602fd350-edb4-49c9-b593-d223f7449a82
2008-12-04 07:44:16 +00:00
Andrew Ozz 90c37c1792 Screen icons
git-svn-id: https://develop.svn.wordpress.org/trunk@9903 602fd350-edb4-49c9-b593-d223f7449a82
2008-11-26 13:51:25 +00:00
Andrew Ozz 4d59069999 Fix button styling inconsistency on settings pages, props sivel, fixes #7975
git-svn-id: https://develop.svn.wordpress.org/trunk@9369 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-27 20:41:05 +00:00
Mark Jaquith 202c2fc0be Covering our XSS bases
git-svn-id: https://develop.svn.wordpress.org/trunk@9233 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-17 20:06:22 +00:00
Mark Jaquith 377ad4f01d Bring back the H2s. Rough draft.
git-svn-id: https://develop.svn.wordpress.org/trunk@9232 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-17 20:02:03 +00:00
Andrew Ozz add18cc478 Fix widgets page when multiple class="wrap" are used.
git-svn-id: https://develop.svn.wordpress.org/trunk@9194 602fd350-edb4-49c9-b593-d223f7449a82
2008-10-16 01:18:33 +00:00
Ryan Boren 8ab0313390 Widgets page updates
git-svn-id: https://develop.svn.wordpress.org/trunk@9004 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-27 20:26:26 +00:00
Andrew Ozz 0bfa8da71c Fix the position of the search field on all admin pages.
git-svn-id: https://develop.svn.wordpress.org/trunk@8867 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-11 18:54:05 +00:00
Peter Westwood dcaeef483c Untrailingslash link. Fixes #7700 props Viper007Bond.
git-svn-id: https://develop.svn.wordpress.org/trunk@8841 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-06 07:15:03 +00:00
Peter Westwood 7eef4199e6 Make widget search a search box.
git-svn-id: https://develop.svn.wordpress.org/trunk@8840 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-06 07:11:17 +00:00
Ryan Boren 96af4719ae Label colonectomy
git-svn-id: https://develop.svn.wordpress.org/trunk@8839 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-06 06:56:56 +00:00
Peter Westwood 6a9f61d633 We now have Widgitization documentation on the codex so link to it.
git-svn-id: https://develop.svn.wordpress.org/trunk@8820 602fd350-edb4-49c9-b593-d223f7449a82
2008-09-05 19:00:28 +00:00
Peter Westwood e1adf1d070 More phpdoc updates for wp-adming. See #7496 props santosj.
git-svn-id: https://develop.svn.wordpress.org/trunk@8656 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-16 07:27:34 +00:00
Ryan Boren 2272a1a950 Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@8600 602fd350-edb4-49c9-b593-d223f7449a82
2008-08-09 05:36:14 +00:00
Ryan Boren 0198c04b6d wp_admin_css() improvements. Props mdawaffe. see #7011
git-svn-id: https://develop.svn.wordpress.org/trunk@7979 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-22 00:06:41 +00:00
Peter Westwood f70f8d56cc Associate lables with form fields. Fixes #6859 props MarcoZ.
git-svn-id: https://develop.svn.wordpress.org/trunk@7883 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 10:37:06 +00:00
Ryan Boren 38bcb99561 Widget arrangement fix from azaozz. fixes #6876 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7881 602fd350-edb4-49c9-b593-d223f7449a82
2008-05-04 02:05:18 +00:00
Ryan Boren 393f8a33a5 Fix text widget cropping in IE6. Props mdawaffe. fixes #6792 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7780 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-22 23:48:28 +00:00
Ryan Boren b5a1a0e113 array_shift() error fixes from DD32. fixes #6499 for trunk
git-svn-id: https://develop.svn.wordpress.org/trunk@7713 602fd350-edb4-49c9-b593-d223f7449a82
2008-04-16 23:09:51 +00:00
Ryan Boren 21539c80a4 Fix multi-widget addition with JS disabled. Props mdawaffe. see #6239
git-svn-id: https://develop.svn.wordpress.org/trunk@7362 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-17 23:25:05 +00:00
Ryan Boren 2c6b7b2b1f Remove unfinished widget contextual help. Pros mdawaffe. fixes #6203
git-svn-id: https://develop.svn.wordpress.org/trunk@7345 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-17 18:07:06 +00:00
Ryan Boren 62d3bef1f4 Avoid integer overflow with widget IDs. Props mdawaffe. fixes #6210
git-svn-id: https://develop.svn.wordpress.org/trunk@7281 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-14 06:48:23 +00:00
Ryan Boren 9dacb23732 Make titles for multiple instances of a widget distinct. Props mdawaffe. fixes #6108
git-svn-id: https://develop.svn.wordpress.org/trunk@7219 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-10 23:23:32 +00:00
Ryan Boren a7e4b47750 Typo fix
git-svn-id: https://develop.svn.wordpress.org/trunk@7208 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-10 08:38:17 +00:00
Ryan Boren 68b4b44a20 Relocate Save Changes button. Props mdawaffe. fixes #6118
git-svn-id: https://develop.svn.wordpress.org/trunk@7192 602fd350-edb4-49c9-b593-d223f7449a82
2008-03-10 05:19:12 +00:00
Ryan Boren 18875a91a8 Validation fixes from nbachiyski. fixes #5962
git-svn-id: https://develop.svn.wordpress.org/trunk@6980 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-22 17:30:43 +00:00
Ryan Boren 6e73f36982 Admin styling updates from mt. fixes #5940
git-svn-id: https://develop.svn.wordpress.org/trunk@6950 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-21 00:27:23 +00:00
Ryan Boren 49797f0f70 Standardize button and select treatments. Props mt. fixes #5925
git-svn-id: https://develop.svn.wordpress.org/trunk@6918 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-19 20:33:59 +00:00
Ryan Boren a909ed26c1 Widget interface updates from mdawaffe. see #5583
git-svn-id: https://develop.svn.wordpress.org/trunk@6754 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-07 21:57:54 +00:00
Ryan Boren 3a18b96c9b Trailing whitespace cleanup
git-svn-id: https://develop.svn.wordpress.org/trunk@6726 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-05 06:47:27 +00:00
Ryan Boren 7512648b3d No need to re-register widgets. see #5750
git-svn-id: https://develop.svn.wordpress.org/trunk@6718 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-04 20:51:10 +00:00
Ryan Boren dc8a36221f Dashboard fixes from mdawaffe. No longer stomps sidebar. see #5750
git-svn-id: https://develop.svn.wordpress.org/trunk@6717 602fd350-edb4-49c9-b593-d223f7449a82
2008-02-04 20:38:48 +00:00
Ryan Boren 6dc06a8e41 Widget admin redesign from mdawaffe. see #5583
git-svn-id: https://develop.svn.wordpress.org/trunk@6556 602fd350-edb4-49c9-b593-d223f7449a82
2008-01-04 23:34:33 +00:00
Ryan Boren 7a43c01e08 Remove trailing whitespace
git-svn-id: https://develop.svn.wordpress.org/trunk@6026 602fd350-edb4-49c9-b593-d223f7449a82
2007-09-03 23:32:58 +00:00
Ryan Boren e38abfba84 Make css cache busting and rtl inclusion uniform across admin. Props mdawaffe. fixes #4830
git-svn-id: https://develop.svn.wordpress.org/trunk@5965 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-28 23:23:38 +00:00
Ryan Boren 1941794a98 jquery for widgets admin. Props filosofo. see #3824
git-svn-id: https://develop.svn.wordpress.org/trunk@5934 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-23 22:34:15 +00:00
Ryan Boren ee08912b51 RTL CSS fixes from sewar. fixes #4655
git-svn-id: https://develop.svn.wordpress.org/trunk@5884 602fd350-edb4-49c9-b593-d223f7449a82
2007-08-16 18:49:32 +00:00
Ryan Boren b046d67f41 Trim empty lines. Nothing but newline.
git-svn-id: https://develop.svn.wordpress.org/trunk@5700 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-14 02:25:30 +00:00
rob1n 42a1f116d5 Move JavaScript to js subfolder, and CSS to css subfolder. see #4334
git-svn-id: https://develop.svn.wordpress.org/trunk@5631 602fd350-edb4-49c9-b593-d223f7449a82
2007-06-02 00:37:51 +00:00
rob1n 759b2afb2a Run the i through the parseInt to avoid IE 7 errors. fixes #4268
git-svn-id: https://develop.svn.wordpress.org/trunk@5520 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-22 22:52:29 +00:00
rob1n 543cda098a Doh. fixes #4292
git-svn-id: https://develop.svn.wordpress.org/trunk@5496 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 23:44:37 +00:00
Ryan Boren 2b9d09d88e Fix widget admin layout for IE7. Props Denis-de-Bernardy. fixes #4264 for 2.3
git-svn-id: https://develop.svn.wordpress.org/trunk@5494 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-19 17:24:25 +00:00
Matt Mullenweg ab123c415b This button gets buried, especially when you have a lot of widgets, and it needs to be at the top too.
git-svn-id: https://develop.svn.wordpress.org/trunk@5471 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-14 03:39:05 +00:00
Ryan Boren 37f7c36ac0 Left, right, dragChange, hop. s/left/right/. Props Lawrence Pit. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5437 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-10 21:18:21 +00:00
Ryan Boren ed0260ac9e Do a cap check at the top of widgets since it won't always inherit the menu cap check.
git-svn-id: https://develop.svn.wordpress.org/trunk@5385 602fd350-edb4-49c9-b593-d223f7449a82
2007-05-04 17:52:22 +00:00
rob1n 68ae6680ea Move widgets' JS into the <head> of widgets.php. Should fix text/rss widget controls. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5343 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-29 20:16:26 +00:00
rob1n 9b3becf6ea Widgets RTL CSS, and a few little widget bugfixes. Props Sewar. fixes #4185
git-svn-id: https://develop.svn.wordpress.org/trunk@5324 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-27 00:51:19 +00:00
rob1n 7a6aba312d WordPress.com -> .org and change widgetize link to Automattic's site for now. We still need to make a Codex page, just to make it more "WordPressy."
Props foolswisdom. fixes #4200


git-svn-id: https://develop.svn.wordpress.org/trunk@5316 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-26 02:13:18 +00:00
rob1n 8028b4b6bf Variable name fix. Props filosofo. see #4169
git-svn-id: https://develop.svn.wordpress.org/trunk@5310 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-25 03:02:28 +00:00
rob1n ffc63c60e3 Widgets for 2.3. fixes #4186
git-svn-id: https://develop.svn.wordpress.org/trunk@5297 602fd350-edb4-49c9-b593-d223f7449a82
2007-04-24 01:05:17 +00:00