Changeset 180051
- Timestamp:
- 12/06/2009 01:14:14 AM (16 years ago)
- Location:
- ip-allowed-list
- Files:
-
- 6 added
- 4 edited
-
tags/1.1 (added)
-
tags/1.1/admin.css (added)
-
tags/1.1/allowed-admin.php (added)
-
tags/1.1/allowed-list.php (added)
-
tags/1.1/blocked-content.htm (added)
-
tags/1.1/readme.txt (added)
-
trunk/admin.css (modified) (1 diff)
-
trunk/allowed-admin.php (modified) (3 diffs)
-
trunk/allowed-list.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
ip-allowed-list/trunk/admin.css
r178213 r180051 28 28 fieldset#curList ul { clear:both; padding-top:10px; } 29 29 30 form #wlistContent { padding:30px 10px; }31 form #wlistContent iframe { height:30em !important; width:99% !important; }30 form.wlistContent { padding:30px 10px; } 31 form.wlistContent iframe { height:30em !important; width:99% !important; } -
ip-allowed-list/trunk/allowed-admin.php
r179097 r180051 57 57 if (!wp_verify_nonce($_POST['_wpnonce'], 'wlistContent')) { echo '<p class="alert">Invalid Security</p></div>'."\n"; return; } 58 58 // Save HTML content 59 $content = stripslashes($_POST[' ContentHTML']);59 $content = stripslashes($_POST['newcontent']); 60 60 file_put_contents(WLIST_CONTENTFILE, $content); 61 //echo WLIST_CONTENTFILE.'<br /><br />'.$content; 62 //echo '<pre>'; print_r($_POST); echo '</pre>'; 61 63 echo '<div id="message" class="updated fade"><p><strong>Changes to Blocked Content file saved.</strong></p></div>'; 62 64 } … … 107 109 108 110 <div id="tabContent"> 109 <form id=" wlistContent" class="wlist" method="post" action="<?php echo esc_url($_SERVER['REQUEST_URI']); ?>">111 <form id="template" class="wlist wlistContent" method="post" action="<?php echo esc_url($_SERVER['REQUEST_URI']); ?>#tabContent"> 110 112 <?php wp_nonce_field('wlistContent') ?> 111 113 <?php … … 118 120 $fileContent = file_get_contents(WLIST_CONTENTFILE); 119 121 ?> 120 <textarea name=" ContentHTML" id="ContentHTML" class="large-text codepress html" rows="25" cols="50"><?php echo $fileContent; ?></textarea>122 <textarea name="newcontent" id="newcontent" class="large-text codepress html" rows="25" cols="50"><?php echo $fileContent; ?></textarea> 121 123 <div class="save"><input type="submit" name="SaveListContent" value="Save Changes" id="Save" class="button-primary" /></div> 124 122 125 </form> 126 127 128 123 129 </div><!-- tab --> 124 130 </div><!-- container --> -
ip-allowed-list/trunk/allowed-list.php
r179096 r180051 4 4 Plugin URI: http://www.fergusweb.net/software/ip-allowed-list/ 5 5 Description: Limits access to the site to people on an allowed list of IP addresses. If you're not on the list, you only get to see a customisable "Coming Soon" style of page. To remove protection, simply disable this plugin. 6 Version: 1. 016 Version: 1.1 7 7 Author: Anthony Ferguson 8 8 Author URI: http://www.fergusweb.net -
ip-allowed-list/trunk/readme.txt
r179096 r180051 5 5 Tested up to: 2.8.6 6 6 Requires at least: 2.5 7 Stable tag: 1. 0.17 Stable tag: 1.1 8 8 9 9 Limits access to the site to people on an allowed list of IP addresses. … … 40 40 == Changelog == 41 41 42 = 1.1 = 43 * The codepress editor for editing your "Coming Soon" page HTML has been fixed. 42 44 = 1.01 = 43 45 * Minor fix in definitions, improved is_writable error message.
Note: See TracChangeset
for help on using the changeset viewer.