WordPress.org

Plugin Directory


Ignore:
Timestamp:
01/01/12 13:14:40 (2 years ago)
Author:
contrid
Message:

v1.4.2.3 with an XSS vulnerability fix and other small improvements.

Location:
wordpress-whois-search/trunk
Files:
2 added
2 deleted
10 edited

Legend:

Unmodified
Added
Removed
  • wordpress-whois-search/trunk/js/wp-whois.js

    r237227 r482954  
    3030    jQuery('#wpwhoisresults' + number).hide(); 
    3131     
    32     jQuery.post(wpwhoisAjax + "?cmd=wpwhoisform&ms=" + number, formValues, function(data) { 
     32    jQuery.post(ajaxurl + "action=wpwhoisform&ms=" + number, formValues, function(data) { 
    3333        var htmlCode = data; 
    3434        jQuery("#" + updateDiv).html(htmlCode); 
  • wordpress-whois-search/trunk/languages/wp-whois-en_US.po

    r185464 r482954  
    33"Project-Id-Version: WordPress WHOIS Plugin\n" 
    44"Report-Msgid-Bugs-To: \n" 
    5 "POT-Creation-Date: 2009-12-21 00:32+0200\n" 
     5"POT-Creation-Date: 2012-01-01 15:05+0200\n" 
    66"PO-Revision-Date: \n" 
    7 "Last-Translator: Antonie Potgieter <antonie.potgieter@gmail.com>\n" 
     7"Last-Translator: Tribulant Software <support@tribulant.com>\n" 
    88"Language-Team: Tribulant Software <support@tribulant.com>\n" 
    99"MIME-Version: 1.0\n" 
     
    1414"X-Poedit-SourceCharset: utf-8\n" 
    1515"X-Poedit-KeywordsList: __;_e\n" 
    16 "X-Poedit-Basepath: ../\n" 
     16"X-Poedit-Basepath: .\n" 
    1717"X-Poedit-SearchPath-0: ..\n" 
    1818 
    19 #: ../wp-whois/wp-whois.php:59 
    20 #: ../wp-whois/wp-whois.php:78 
    21 #: ../wp-whois/wp-whois.php:103 
    22 #: ../wp-whois/views/admin/index.php:19 
     19#: ../wp-whois.php:110 
     20msgid "Selected TLDs and their order have been saved" 
     21msgstr "" 
     22 
     23#: ../wp-whois.php:112 
     24msgid "TLDs list seems to be empty. Please debug." 
     25msgstr "" 
     26 
     27#: ../wp-whois.php:123 
     28#: ../wp-whois.php:158 
     29#: ../wp-whois.php:239 
     30#: ../views/admin/index.php:12 
    2331msgid "WHOIS" 
    2432msgstr "" 
    2533 
    26 #: ../wp-whois/wp-whois.php:76 
     34#: ../wp-whois.php:135 
     35msgid "Configuration Settings" 
     36msgstr "" 
     37 
     38#: ../wp-whois.php:136 
     39msgid "Support &amp; Credits" 
     40msgstr "" 
     41 
     42#: ../wp-whois.php:137 
     43msgid "General Settings" 
     44msgstr "" 
     45 
     46#: ../wp-whois.php:138 
     47msgid "TLD Settings" 
     48msgstr "" 
     49 
     50#: ../wp-whois.php:139 
     51msgid "CSS Configuration" 
     52msgstr "" 
     53 
     54#: ../wp-whois.php:156 
    2755msgid "Insert a domain whois search form into your sidebar(s)" 
    2856msgstr "" 
    2957 
    30 #: ../wp-whois/wp-whois.php:130 
    31 #: ../wp-whois/wp-whois.php:369 
     58#: ../wp-whois.php:272 
     59#: ../wp-whois.php:530 
    3260msgid "You are running the free, ad links version. Please " 
    3361msgstr "" 
    3462 
    35 #: ../wp-whois/wp-whois.php:130 
    36 #: ../wp-whois/wp-whois.php:369 
     63#: ../wp-whois.php:272 
     64#: ../wp-whois.php:530 
    3765msgid "WordPress WHOIS Plugin" 
    3866msgstr "" 
    3967 
    40 #: ../wp-whois/wp-whois.php:130 
    41 #: ../wp-whois/wp-whois.php:369 
     68#: ../wp-whois.php:272 
     69#: ../wp-whois.php:530 
    4270msgid "purchase the WHOIS plugin" 
    4371msgstr "" 
    4472 
    45 #: ../wp-whois/wp-whois.php:130 
    46 #: ../wp-whois/wp-whois.php:369 
     73#: ../wp-whois.php:272 
     74#: ../wp-whois.php:530 
    4775msgid " to remove all the ad links." 
    4876msgstr "" 
    4977 
    50 #: ../wp-whois/wp-whois.php:285 
     78#: ../wp-whois.php:439 
     79msgid "TLDs have been updated accordingly." 
     80msgstr "" 
     81 
     82#: ../wp-whois.php:446 
    5183msgid "Configuration settings have been reset to their defaults" 
    5284msgstr "" 
    5385 
    54 #: ../wp-whois/wp-whois.php:288 
     86#: ../wp-whois.php:449 
    5587msgid "Configuration settings could not be reset" 
    5688msgstr "" 
    5789 
    58 #: ../wp-whois/wp-whois.php:350 
     90#: ../wp-whois.php:511 
    5991msgid "Stylesheet \"/vendors/samswhois/" 
    6092msgstr "" 
    6193 
    62 #: ../wp-whois/wp-whois.php:362 
     94#: ../wp-whois.php:523 
    6395msgid "Configuration settings have been saved" 
    6496msgstr "" 
    6597 
    66 #: ../wp-whois/vendors/samswhois/samswhois.class.php:36 
     98#: ../vendors/samswhois/samswhois.class.php:36 
    6799msgid "Error" 
    68100msgstr "" 
    69101 
    70 #: ../wp-whois/vendors/samswhois/samswhois.class.php:36 
     102#: ../vendors/samswhois/samswhois.class.php:36 
    71103msgid "{domain} is Available." 
    72104msgstr "" 
    73105 
    74 #: ../wp-whois/vendors/samswhois/samswhois.class.php:36 
     106#: ../vendors/samswhois/samswhois.class.php:36 
    75107msgid "{domain} is Registered." 
    76108msgstr "" 
    77109 
    78 #: ../wp-whois/vendors/samswhois/samswhois.class.php:37 
     110#: ../vendors/samswhois/samswhois.class.php:37 
    79111msgid "whois lookup at {server}..." 
    80112msgstr "" 
    81113 
    82 #: ../wp-whois/vendors/samswhois/samswhois.class.php:309 
     114#: ../vendors/samswhois/samswhois.class.php:201 
     115msgid "This domain is registered, you can" 
     116msgstr "" 
     117 
     118#: ../vendors/samswhois/samswhois.class.php:202 
     119msgid "view the WHOIS information" 
     120msgstr "" 
     121 
     122#: ../vendors/samswhois/samswhois.class.php:319 
    83123msgid "" 
    84124"\n" 
    85 "\\Error - could not open a connection to" 
    86 msgstr "" 
    87  
    88 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:56 
     125"Error - could not open a connection to " 
     126msgstr "" 
     127 
     128#: ../vendors/samswhois/samswhois.inc.php:56 
    89129msgid "For security reasons, please provide the answer to the given mathematical calculation" 
    90130msgstr "" 
    91131 
    92 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:62 
     132#: ../vendors/samswhois/samswhois.inc.php:62 
    93133msgid "Check Domain" 
    94134msgstr "" 
    95135 
    96 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:66 
     136#: ../vendors/samswhois/samswhois.inc.php:66 
    97137msgid "Enter a domain name and select a tld from the box above" 
    98138msgstr "" 
    99139 
    100 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:68 
     140#: ../vendors/samswhois/samswhois.inc.php:68 
    101141msgid "Enter a domain name including extension in the box above" 
    102142msgstr "" 
    103143 
    104 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:73 
     144#: ../vendors/samswhois/samswhois.inc.php:73 
    105145msgid "For security reasons, you MUST enter the 4 digit code shown above." 
    106146msgstr "" 
    107147 
    108 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:77 
     148#: ../vendors/samswhois/samswhois.inc.php:77 
    109149msgid "Sorry, an error occurred." 
    110150msgstr "" 
    111151 
    112 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:81 
     152#: ../vendors/samswhois/samswhois.inc.php:81 
    113153msgid "For security purposes, please also enter the 4 digit code." 
    114154msgstr "" 
    115155 
    116 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:85 
     156#: ../vendors/samswhois/samswhois.inc.php:85 
    117157msgid "Sorry, that tld is not supported." 
    118158msgstr "" 
    119159 
    120 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:89 
     160#: ../vendors/samswhois/samswhois.inc.php:89 
    121161msgid "Whois Lookup" 
    122162msgstr "" 
    123163 
    124 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:196 
     164#: ../vendors/samswhois/samswhois.inc.php:210 
    125165msgid "The sum you filled in is incorrect" 
    126166msgstr "" 
    127167 
    128 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:201 
     168#: ../vendors/samswhois/samswhois.inc.php:215 
    129169msgid "Please fill in a sum for the mathematical calculation" 
    130170msgstr "" 
    131171 
    132 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:276 
     172#: ../vendors/samswhois/samswhois.inc.php:308 
    133173msgid "+" 
    134174msgstr "" 
    135175 
    136 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:276 
     176#: ../vendors/samswhois/samswhois.inc.php:308 
    137177msgid "=" 
    138178msgstr "" 
    139179 
    140 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:292 
     180#: ../vendors/samswhois/samswhois.inc.php:324 
    141181msgid "Clean whois output?" 
    142182msgstr "" 
    143183 
    144 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:299 
     184#: ../vendors/samswhois/samswhois.inc.php:331 
    145185msgid "Highlight Important Fields?" 
    146186msgstr "" 
    147187 
    148 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:309 
     188#: ../vendors/samswhois/samswhois.inc.php:341 
    149189msgid "Supported Tlds: " 
    150190msgstr "" 
    151191 
    152 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:325 
    153 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:479 
     192#: ../vendors/samswhois/samswhois.inc.php:357 
     193#: ../vendors/samswhois/samswhois.inc.php:502 
    154194msgid "WHOIS powered by " 
    155195msgstr "" 
    156196 
    157 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:401 
     197#: ../vendors/samswhois/samswhois.inc.php:424 
    158198msgid "The Domain Status Is" 
    159199msgstr "" 
    160200 
    161 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:405 
    162 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:409 
     201#: ../vendors/samswhois/samswhois.inc.php:428 
     202#: ../vendors/samswhois/samswhois.inc.php:432 
    163203msgid "ERROR" 
    164204msgstr "" 
    165205 
    166 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:412 
     206#: ../vendors/samswhois/samswhois.inc.php:435 
    167207msgid "AVAILABLE" 
    168208msgstr "" 
    169209 
    170 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:415 
     210#: ../vendors/samswhois/samswhois.inc.php:438 
    171211msgid "REGISTERED" 
    172212msgstr "" 
    173213 
    174 #: ../wp-whois/vendors/samswhois/samswhois.inc.php:431 
     214#: ../vendors/samswhois/samswhois.inc.php:454 
    175215msgid "Domain WHOIS" 
    176216msgstr "" 
    177217 
    178 #: ../wp-whois/views/admin/index.php:7 
    179 msgid "Configuration Settings" 
    180 msgstr "" 
    181  
    182 #: ../wp-whois/views/admin/index.php:8 
    183 msgid "Support &amp; Credits" 
    184 msgstr "" 
    185  
    186 #: ../wp-whois/views/admin/index.php:9 
    187 msgid "General Settings" 
    188 msgstr "" 
    189  
    190 #: ../wp-whois/views/admin/index.php:10 
    191 msgid "TLD Settings" 
    192 msgstr "" 
    193  
    194 #: ../wp-whois/views/admin/index.php:11 
    195 msgid "CSS Configuration" 
    196 msgstr "" 
    197  
    198 #: ../wp-whois/views/admin/widget.php:3 
     218#: ../views/admin/widget.php:3 
    199219msgid "Title" 
    200220msgstr "" 
    201221 
    202 #: ../wp-whois/views/admin/widget.php:10 
     222#: ../views/admin/widget.php:9 
    203223msgid "Show Link when FREE" 
    204224msgstr "" 
    205225 
    206 #: ../wp-whois/views/admin/widget.php:11 
    207 #: ../wp-whois/views/admin/metaboxes/settings-css.php:6 
    208 #: ../wp-whois/views/admin/metaboxes/settings-general.php:35 
    209 #: ../wp-whois/views/admin/metaboxes/settings-general.php:43 
    210 #: ../wp-whois/views/admin/metaboxes/settings-general.php:57 
     226#: ../views/admin/widget.php:10 
     227#: ../views/admin/metaboxes/settings-css.php:6 
     228#: ../views/admin/metaboxes/settings-general.php:64 
     229#: ../views/admin/metaboxes/settings-general.php:72 
     230#: ../views/admin/metaboxes/settings-general.php:86 
    211231msgid "Yes" 
    212232msgstr "" 
    213233 
    214 #: ../wp-whois/views/admin/widget.php:12 
    215 #: ../wp-whois/views/admin/metaboxes/settings-css.php:7 
    216 #: ../wp-whois/views/admin/metaboxes/settings-general.php:36 
    217 #: ../wp-whois/views/admin/metaboxes/settings-general.php:44 
    218 #: ../wp-whois/views/admin/metaboxes/settings-general.php:58 
     234#: ../views/admin/widget.php:11 
     235#: ../views/admin/metaboxes/settings-css.php:7 
     236#: ../views/admin/metaboxes/settings-general.php:65 
     237#: ../views/admin/metaboxes/settings-general.php:73 
     238#: ../views/admin/metaboxes/settings-general.php:87 
    219239msgid "No" 
    220240msgstr "" 
    221241 
    222 #: ../wp-whois/views/admin/widget.php:13 
     242#: ../views/admin/widget.php:12 
    223243msgid "Link will be shown when domain is available" 
    224244msgstr "" 
    225245 
    226 #: ../wp-whois/views/admin/widget.php:20 
     246#: ../views/admin/widget.php:19 
    227247msgid "Referral Link Title" 
    228248msgstr "" 
    229249 
    230 #: ../wp-whois/views/admin/widget.php:22 
     250#: ../views/admin/widget.php:21 
    231251msgid "anchor text for the referral link" 
    232252msgstr "" 
    233253 
    234 #: ../wp-whois/views/admin/widget.php:28 
     254#: ../views/admin/widget.php:27 
    235255msgid "Referral Link URL" 
    236256msgstr "" 
    237257 
    238 #: ../wp-whois/views/admin/widget.php:30 
     258#: ../views/admin/widget.php:29 
    239259msgid "URL of referral link to show" 
    240260msgstr "" 
    241261 
    242 #: ../wp-whois/views/admin/widget.php:36 
     262#: ../views/admin/widget.php:35 
    243263msgid "Link Target" 
    244264msgstr "" 
    245265 
    246 #: ../wp-whois/views/admin/widget.php:37 
    247 #: ../wp-whois/views/admin/metaboxes/settings-general.php:81 
     266#: ../views/admin/widget.php:36 
     267#: ../views/admin/metaboxes/settings-general.php:110 
    248268msgid "Same Window" 
    249269msgstr "" 
    250270 
    251 #: ../wp-whois/views/admin/widget.php:38 
    252 #: ../wp-whois/views/admin/metaboxes/settings-general.php:82 
     271#: ../views/admin/widget.php:37 
     272#: ../views/admin/metaboxes/settings-general.php:111 
    253273msgid "New Window" 
    254274msgstr "" 
    255275 
    256 #: ../wp-whois/views/admin/widget.php:39 
     276#: ../views/admin/widget.php:38 
    257277msgid "let the link open in the same or a new window" 
    258278msgstr "" 
    259279 
    260 #: ../wp-whois/views/admin/metaboxes/settings-credits.php:2 
    261 msgid "Berrie Pelser from BerArt Visual Design" 
    262 msgstr "" 
    263  
    264 #: ../wp-whois/views/admin/metaboxes/settings-credits.php:3 
     280#: ../views/admin/metaboxes/settings-credits.php:2 
    265281msgid "Antonie Potgieter from Tribulant Software" 
    266282msgstr "" 
    267283 
    268 #: ../wp-whois/views/admin/metaboxes/settings-css.php:4 
     284#: ../views/admin/metaboxes/settings-css.php:4 
    269285msgid "Custom CSS" 
    270286msgstr "" 
    271287 
    272 #: ../wp-whois/views/admin/metaboxes/settings-css.php:8 
     288#: ../views/admin/metaboxes/settings-css.php:8 
    273289msgid "use custom CSS for the front-end" 
    274290msgstr "" 
    275291 
    276 #: ../wp-whois/views/admin/metaboxes/settings-css.php:24 
     292#: ../views/admin/metaboxes/settings-css.php:24 
    277293msgid "Stylesheet wp-whois/vendors/samswhois/" 
    278294msgstr "" 
    279295 
    280 #: ../wp-whois/views/admin/metaboxes/settings-general.php:4 
     296#: ../views/admin/metaboxes/settings-general.php:4 
    281297msgid "Search Form Method" 
    282298msgstr "" 
    283299 
    284 #: ../wp-whois/views/admin/metaboxes/settings-general.php:6 
     300#: ../views/admin/metaboxes/settings-general.php:6 
    285301msgid "Regular POST" 
    286302msgstr "" 
    287303 
    288 #: ../wp-whois/views/admin/metaboxes/settings-general.php:7 
     304#: ../views/admin/metaboxes/settings-general.php:7 
    289305msgid "Ajax Request" 
    290306msgstr "" 
    291307 
    292 #: ../wp-whois/views/admin/metaboxes/settings-general.php:11 
     308#: ../views/admin/metaboxes/settings-general.php:11 
    293309msgid "Security Check" 
    294310msgstr "" 
    295311 
    296 #: ../wp-whois/views/admin/metaboxes/settings-general.php:13 
     312#: ../views/admin/metaboxes/settings-general.php:13 
    297313msgid "Captcha Image" 
    298314msgstr "" 
    299315 
    300 #: ../wp-whois/views/admin/metaboxes/settings-general.php:13 
    301 msgid "turing number image" 
    302 msgstr "" 
    303  
    304 #: ../wp-whois/views/admin/metaboxes/settings-general.php:14 
     316#: ../views/admin/metaboxes/settings-general.php:13 
     317msgid "turing number image. requires <a href=\"http://wordpress.org/extend/plugins/really-simple-captcha/\" target=\"_blank\">Really Simple Captcha</a> plugin." 
     318msgstr "" 
     319 
     320#: ../views/admin/metaboxes/settings-general.php:14 
    305321msgid "Human Check" 
    306322msgstr "" 
    307323 
    308 #: ../wp-whois/views/admin/metaboxes/settings-general.php:14 
     324#: ../views/admin/metaboxes/settings-general.php:14 
    309325msgid "mathematical calculation" 
    310326msgstr "" 
    311327 
    312 #: ../wp-whois/views/admin/metaboxes/settings-general.php:15 
     328#: ../views/admin/metaboxes/settings-general.php:15 
    313329msgid "OFF" 
    314330msgstr "" 
    315331 
    316 #: ../wp-whois/views/admin/metaboxes/settings-general.php:16 
     332#: ../views/admin/metaboxes/settings-general.php:16 
    317333msgid "displays an image or calculation for accurate human input recognition" 
    318334msgstr "" 
    319335 
    320 #: ../wp-whois/views/admin/metaboxes/settings-general.php:20 
     336#: ../views/admin/metaboxes/settings-general.php:36 
     337msgid "Background Color" 
     338msgstr "" 
     339 
     340#: ../views/admin/metaboxes/settings-general.php:39 
     341msgid "hexadecimal background color of the captcha image eg. #FFFFFF" 
     342msgstr "" 
     343 
     344#: ../views/admin/metaboxes/settings-general.php:49 
    321345msgid "WHOIS Output" 
    322346msgstr "" 
    323347 
    324 #: ../wp-whois/views/admin/metaboxes/settings-general.php:22 
     348#: ../views/admin/metaboxes/settings-general.php:51 
    325349msgid "Full Information" 
    326350msgstr "" 
    327351 
    328 #: ../wp-whois/views/admin/metaboxes/settings-general.php:23 
     352#: ../views/admin/metaboxes/settings-general.php:52 
    329353msgid "Short: Available/Not Available Only" 
    330354msgstr "" 
    331355 
    332 #: ../wp-whois/views/admin/metaboxes/settings-general.php:33 
     356#: ../views/admin/metaboxes/settings-general.php:62 
    333357msgid "Highlight Fields" 
    334358msgstr "" 
    335359 
    336 #: ../wp-whois/views/admin/metaboxes/settings-general.php:37 
     360#: ../views/admin/metaboxes/settings-general.php:66 
    337361msgid "highlight important fields in the whois output (eg. status, nameservers, etc)" 
    338362msgstr "" 
    339363 
    340 #: ../wp-whois/views/admin/metaboxes/settings-general.php:41 
     364#: ../views/admin/metaboxes/settings-general.php:70 
    341365msgid "Clean Output" 
    342366msgstr "" 
    343367 
    344 #: ../wp-whois/views/admin/metaboxes/settings-general.php:45 
     368#: ../views/admin/metaboxes/settings-general.php:74 
    345369msgid "\"clean\" the whois output of extraneous text" 
    346370msgstr "" 
    347371 
    348 #: ../wp-whois/views/admin/metaboxes/settings-general.php:55 
     372#: ../views/admin/metaboxes/settings-general.php:84 
    349373msgid "Redirect When \"Available\"" 
    350374msgstr "" 
    351375 
    352 #: ../wp-whois/views/admin/metaboxes/settings-general.php:59 
     376#: ../views/admin/metaboxes/settings-general.php:88 
    353377msgid "when a domain searched for is available, the plugin can do a redirect" 
    354378msgstr "" 
    355379 
    356 #: ../wp-whois/views/admin/metaboxes/settings-general.php:69 
     380#: ../views/admin/metaboxes/settings-general.php:98 
    357381msgid "Redirect URL" 
    358382msgstr "" 
    359383 
    360 #: ../wp-whois/views/admin/metaboxes/settings-general.php:73 
     384#: ../views/admin/metaboxes/settings-general.php:102 
    361385msgid "URL to redirect to when a domain is available (not registered)" 
    362386msgstr "" 
    363387 
    364 #: ../wp-whois/views/admin/metaboxes/settings-general.php:74 
     388#: ../views/admin/metaboxes/settings-general.php:103 
    365389msgid "you may use <code>{domain}</code> and <code>{tld}</code> in the URL where you want it to be replaced" 
    366390msgstr "" 
    367391 
    368 #: ../wp-whois/views/admin/metaboxes/settings-general.php:79 
     392#: ../views/admin/metaboxes/settings-general.php:108 
    369393msgid "Redirect Target" 
    370394msgstr "" 
    371395 
    372 #: ../wp-whois/views/admin/metaboxes/settings-general.php:83 
     396#: ../views/admin/metaboxes/settings-general.php:112 
    373397msgid "open \"Redirect URL\" above in the same or a new window" 
    374398msgstr "" 
    375399 
    376 #: ../wp-whois/views/admin/metaboxes/settings-general.php:94 
     400#: ../views/admin/metaboxes/settings-general.php:123 
    377401msgid "Turn on Cache" 
    378402msgstr "" 
    379403 
    380 #: ../wp-whois/views/admin/metaboxes/settings-general.php:96 
     404#: ../views/admin/metaboxes/settings-general.php:125 
     405#: ../views/admin/metaboxes/settings-general.php:142 
    381406msgid "On" 
    382407msgstr "" 
    383408 
    384 #: ../wp-whois/views/admin/metaboxes/settings-general.php:97 
     409#: ../views/admin/metaboxes/settings-general.php:126 
     410#: ../views/admin/metaboxes/settings-general.php:143 
    385411msgid "Off" 
    386412msgstr "" 
    387413 
    388 #: ../wp-whois/views/admin/metaboxes/settings-general.php:104 
     414#: ../views/admin/metaboxes/settings-general.php:133 
    389415msgid "Cache directory is NOT writable. Please CHMOD wp-whois/vendors/samswhois/cache to 0777." 
    390416msgstr "" 
    391417 
    392 #: ../wp-whois/views/admin/metaboxes/settings-submit.php:5 
     418#: ../views/admin/metaboxes/settings-general.php:140 
     419msgid "TinyMCE Button" 
     420msgstr "" 
     421 
     422#: ../views/admin/metaboxes/settings-general.php:144 
     423msgid "turn this On for a TinyMCE button to quickly insert WHOIS form" 
     424msgstr "" 
     425 
     426#: ../views/admin/metaboxes/settings-submit.php:5 
    393427msgid "Restore all configuration settings to their defaults" 
    394428msgstr "" 
    395429 
    396 #: ../wp-whois/views/admin/metaboxes/settings-submit.php:5 
     430#: ../views/admin/metaboxes/settings-submit.php:5 
    397431msgid "Are you sure you wish to reset all configuration settings to their defaults?" 
    398432msgstr "" 
    399433 
    400 #: ../wp-whois/views/admin/metaboxes/settings-submit.php:5 
     434#: ../views/admin/metaboxes/settings-submit.php:5 
    401435msgid "Reset Configuration Settings" 
    402436msgstr "" 
    403437 
    404 #: ../wp-whois/views/admin/metaboxes/settings-submit.php:11 
     438#: ../views/admin/metaboxes/settings-submit.php:8 
     439msgid "Reload any changes to TLDs in the config file" 
     440msgstr "" 
     441 
     442#: ../views/admin/metaboxes/settings-submit.php:8 
     443msgid "Reload all TLDs from config file" 
     444msgstr "" 
     445 
     446#: ../views/admin/metaboxes/settings-submit.php:14 
    405447msgid "Save Configuration" 
    406448msgstr "" 
    407449 
    408 #: ../wp-whois/views/admin/metaboxes/settings-tlds.php:5 
     450#: ../views/admin/metaboxes/settings-tlds.php:5 
    409451msgid "Check All" 
    410452msgstr "" 
    411453 
    412 #: ../wp-whois/views/admin/metaboxes/settings-tlds.php:6 
     454#: ../views/admin/metaboxes/settings-tlds.php:6 
    413455msgid "Inverse Selection" 
    414456msgstr "" 
    415457 
    416 #: ../wp-whois/views/admin/metaboxes/settings-tlds.php:51 
     458#: ../views/admin/metaboxes/settings-tlds.php:52 
    417459msgid "No domain TLDs were found. Please check your configuration file" 
    418460msgstr "" 
    419461 
    420 #: ../wp-whois.132/views/admin/index.php:4 
    421 msgid "Other Actions" 
    422 msgstr "" 
    423  
  • wordpress-whois-search/trunk/readme.txt

    r442508 r482954  
    11=== Plugin Name === 
    2 Contributors: Berrie Pelser, Antonie Potgieter 
     2Contributors: contrid 
    33Donate link: http://tribulant.com 
    44Tags: whois, domain, search, whois search, wp whois, wordpress whois, domain whois, whois plugin, wordpress whois plugin 
    55Requires at least: 2.9 
    6 Tested up to: 3.2.1 
    7 Stable tag: 1.4.2.2 
     6Tested up to: 3.3 
     7Stable tag: 1.4.2.3 
    88 
    99Get information on any domain name 
     
    1313The plugin allows you to insert a tag into any WordPress post or page to generate a WHOIS search form for your users to get information on domain names with different TLDs. 
    1414 
    15 * Antonie Potgieter : http://tribulant.com (Author/Developer & Partner) 
     15* Antonie Potgieter : http://tribulant.com (Author/Developer) 
    1616 
    1717Please have a look at the <a href="http://docs.tribulant.com/wordpress-whois-plugin/630" title="WordPress WHOIS Change Log">WordPress WHOIS plugin release notes</a>. 
     
    9898* FIXED: The .co.za WHOIS server was not accepting requests anymore. 
    9999* IMPROVED: Small improvements throughout the plugin. 
     100 
     101= 1.4.2.3 = 
     102* FIXED: XSS Vulnerability via Ajax query string. 
     103* IMPROVE: Static stylesheet LINK tag to wp_enqueue_style. 
     104* CHANGE: Custom Ajax call to wp_ajax_ and wp_ajax_nopriv_ hook. 
     105* CHANGE: Locale load_textdomain to load_plugin_textdomain function. 
  • wordpress-whois-search/trunk/views/admin/index.php

    r237227 r482954  
    2121            <div id="post-body" class="has-sidebar"> 
    2222                <div id="post-body-content" class="has-sidebar-content"> 
    23                     <div id="normal-sortables" class="meta-box-sortables ui-sortable"> 
    24                         <?php do_meta_boxes("tools_page_" . $this -> sections -> welcome, 'normal', $post); ?> 
    25                         <?php do_meta_boxes("tools_page_" . $this -> sections -> welcome, 'advanced', $post); ?> 
    26                     </div> 
     23                    <?php do_meta_boxes("tools_page_" . $this -> sections -> welcome, 'normal', $post); ?> 
     24                    <?php do_meta_boxes("tools_page_" . $this -> sections -> welcome, 'advanced', $post); ?> 
    2725                </div> 
    2826            </div> 
  • wordpress-whois-search/trunk/views/admin/metaboxes/settings-tlds.php

    r237227 r482954  
    2626            }, 
    2727            stop: function(request) {                    
    28                 jQuery("#<?php echo $this -> pre; ?>message").load(wpwhoisAjax + "?cmd=order_tlds", jQuery("ul#tldslist").sortable('serialize')).slideDown("slow"); 
     28                jQuery("#<?php echo $this -> pre; ?>message").load(ajaxurl + "?action=wpwhoisordertlds", jQuery("ul#tldslist").sortable('serialize')).slideDown("slow"); 
    2929            }, 
    3030            axis: "y", 
  • wordpress-whois-search/trunk/views/default/head.php

    r237227 r482954  
    1 <link rel="stylesheet" href="<?php echo $this -> url(); ?>/vendors/samswhois/swstyles.css" type="text/css" media="screen" /> 
    2  
    31<script type="text/javascript"> 
    42var wpwhoisUrl = "<?php echo $this -> url(); ?>"; 
    53var wpwhoisAjax = "<?php echo $this -> url(); ?>/<?php echo $this -> plugin_name; ?>-ajax.php"; 
     4var ajaxurl = "<?php echo admin_url('admin-ajax.php'); ?>?"; 
    65</script> 
  • wordpress-whois-search/trunk/wp-whois-ajax.php

    r237227 r482954  
    11<?php 
    22 
    3 define('DS', DIRECTORY_SEPARATOR); 
    4 include_once('../../../wp-config.php'); 
     3if (!defined('DS')) { define('DS', DIRECTORY_SEPARATOR); } 
     4 
     5$root = __FILE__; 
     6for ($i = 0; $i < 4; $i++) $root = dirname($root); 
     7for ($i = 0; $i < 3; $i++) $rootup = dirname($root); 
     8 
     9if (file_exists($root . DS . 'wp-config.php')) { 
     10    require_once($root . DS . 'wp-config.php'); 
     11} else { 
     12    require_once($rootup . DS . 'wp-config.php'); 
     13} 
     14 
    515include_once(ABSPATH . 'wp-admin' . DS . 'admin-functions.php'); 
    616 
    717class wpWhoisAjax extends wpWhoisPlugin { 
    818 
    9     var $safecommands = array('wpwhoisform'); 
     19    var $safecommands = array(); 
    1020 
    1121    function wpWhoisAjax($cmd) { 
     
    2030        } 
    2131    } 
    22      
    23     function order_tlds() { 
    24         $tldslist = $_REQUEST['item']; 
    25          
    26         if (!empty($tldslist)) { 
    27             $this -> update_option('alltlds', $tldslist); 
    28             _e('Selected TLDs and their order have been saved', $this -> plugin_name); 
    29             return true; 
    30         } else { 
    31             _e('TLDs list seems to be empty. Please debug.', $this -> plugin_name);  
    32         } 
    33          
    34         return false; 
    35     } 
    36      
    37     function wpwhoisform() { 
    38         $isajax = true; 
    39          
    40         if (!empty($_REQUEST['widget']) && $_REQUEST['widget'] == "Y") { 
    41             global $wp_registered_sidebars; 
    42             if (!empty($wp_registered_sidebars)) { 
    43                 foreach ($wp_registered_sidebars as $skey => $sidebar) { 
    44                     $args = $sidebar; 
    45                     break 1; 
    46                 } 
    47             } 
    48              
    49             $number = $_REQUEST['number']; 
    50             $options = $this -> get_option('-widget'); 
    51             $options = $options[$number]; 
    52             $options['number'] = $number; 
    53              
    54             $this -> render('widget', array('isajax' => $isajax, 'args' => $args, 'options' => $options), true, 'default'); 
    55         } else { 
    56             ob_start(); 
    57             $swWidget = false; 
    58             $number = $_REQUEST['ms']; 
    59             include($this -> samswhoisinc); 
    60             $whois = ob_get_clean(); 
    61             print $whois; 
    62         } 
    63              
    64         return true; 
    65     } 
    6632} 
    6733 
  • wordpress-whois-search/trunk/wp-whois-plugin.php

    r442508 r482954  
    1313    var $debug_level = 2; 
    1414     
    15     var $version = '1.4.2.2'; 
     15    var $version = '1.4.2.3'; 
    1616     
    1717    var $sections = array('welcome' => "whois"); 
     
    2323        $this -> samswhoisinc = $this -> plugin_base . DS . 'vendors' . DS . 'samswhois' . DS . 'samswhois.inc.php'; 
    2424         
    25         if (function_exists('load_plugin_textdomain')) {         
    26             //load plugin text domain. used for localization and translation 
    27             $currentlocale = get_locale(); 
    28             if(!empty($currentlocale)) { 
    29                 $moFile = dirname(__FILE__) . DS . "languages" . DS . $this -> plugin_name . "-" . $currentlocale . ".mo";               
    30                 if(@file_exists($moFile) && is_readable($moFile)) { 
    31                     load_textdomain($this -> plugin_name, $moFile); 
    32                 } 
    33             } 
    34         } 
    35          
    3625        global $wpdb; 
    3726        if ($this -> debugging == true) { 
     
    5948         
    6049        return false; 
     50    } 
     51     
     52    function print_scripts() { 
     53        $this -> enqueue_scripts(); 
     54    } 
     55     
     56    function print_styles() { 
     57        $this -> enqueue_styles(); 
    6158    } 
    6259     
     
    7875                wp_enqueue_script('postbox'); 
    7976                 
    80                 if ($_GET['page'] == $this -> sections -> welcome) { wp_enqueue_script('whois-editor', '/wp-content/plugins/' . $this -> plugin_name . '/js/editors/whois-editor.js', array('jquery')); } 
    81             } 
    82         } 
     77                if ($_GET['page'] == $this -> sections -> welcome) { wp_enqueue_script('whois-editor', WP_PLUGIN_URL . '/' . $this -> plugin_name . '/js/editors/whois.js', array('jquery')); } 
     78            } 
     79        } 
     80         
     81        return true; 
     82    } 
     83     
     84    function enqueue_styles() { 
     85        wp_enqueue_style('wp-whois', WP_PLUGIN_URL . '/' . $this -> plugin_name . '/vendors/samswhois/swstyles.css', false, $this -> version, "all"); 
    8386         
    8487        return true; 
  • wordpress-whois-search/trunk/wp-whois.php

    r442508 r482954  
    77Author URI: http://tribulant.com 
    88Description: Place a domain whois search form on your WordPress website for users to use do domain searches and get information on domains. 
    9 Version: 1.4.2.2 
     9Version: 1.4.2.3 
    1010*/ 
    1111 
    1212//directory separator constant 
    13 define('DS', DIRECTORY_SEPARATOR); 
     13if (!defined('DS')) { define('DS', DIRECTORY_SEPARATOR); } 
    1414 
    1515//Include the 'wp-whois-plugin.php' file for the use of the wpWhoisPlugin class 
     
    4343        $this -> add_action('admin_notices'); 
    4444        $this -> add_action('init', 'init_getpost'); 
     45        $this -> add_action('init', 'init_textdomain'); 
    4546        $this -> add_action('after_plugin_row_' . plugin_basename(__FILE__), 'after_plugin_row', 1, 2); 
     47         
     48        /* Ajax hooks */ 
     49        add_action('wp_ajax_wpwhoisform', array($this, 'ajax_wpwhoisform')); 
     50        add_action('wp_ajax_nopriv_wpwhoisform', array($this, 'ajax_wpwhoisform')); 
     51        add_action('wp_ajax_wpwhoisordertlds', array($this, 'ajax_ordertlds')); 
     52         
     53        $this -> add_action('wp_print_styles', 'print_styles'); 
     54        $this -> add_action('admin_print_styles', 'print_styles'); 
     55        $this -> add_action('wp_print_scripts', 'print_scripts'); 
     56        $this -> add_action('admin_print_scripts', 'print_scripts'); 
    4657         
    4758        if ($this -> get_option('tinymcebutton') == "Y") { 
     
    6172    } 
    6273     
     74    function ajax_wpwhoisform() { 
     75        $isajax = true; 
     76         
     77        if (!empty($_REQUEST['widget']) && $_REQUEST['widget'] == "Y") { 
     78            global $wp_registered_sidebars; 
     79            if (!empty($wp_registered_sidebars)) { 
     80                foreach ($wp_registered_sidebars as $skey => $sidebar) { 
     81                    $args = $sidebar; 
     82                    break 1; 
     83                } 
     84            } 
     85             
     86            $number = $_REQUEST['number']; 
     87            $options = $this -> get_option('-widget'); 
     88            $options = $options[$number]; 
     89            $options['number'] = $number; 
     90             
     91            $this -> render('widget', array('isajax' => $isajax, 'args' => $args, 'options' => $options), true, 'default'); 
     92        } else { 
     93            ob_start(); 
     94            $swWidget = false; 
     95            $number = $_REQUEST['ms']; 
     96            include($this -> samswhoisinc); 
     97            $whois = ob_get_clean(); 
     98            print $whois; 
     99        } 
     100             
     101        exit(); 
     102        die(); 
     103    } 
     104     
     105    function ajax_ordertlds() { 
     106        $tldslist = $_REQUEST['item']; 
     107         
     108        if (!empty($tldslist)) { 
     109            $this -> update_option('alltlds', $tldslist); 
     110            _e('Selected TLDs and their order have been saved', $this -> plugin_name); 
     111        } else { 
     112            _e('TLDs list seems to be empty. Please debug.', $this -> plugin_name);  
     113        } 
     114         
     115        exit(); 
     116        die(); 
     117    } 
     118     
    63119    function admin_menu() { 
    64120        $menus = array(); 
     
    66122        //add a WordPress management page under "Tools" in the Dashboard 
    67123        $menus['whois'] = add_management_page(__('WHOIS', $this -> plugin_name), __('WHOIS', $this -> plugin_name), 10, $this -> sections -> welcome, array($this, 'admin')); 
     124         
     125        $this -> debug($menus); 
    68126         
    69127        add_action('admin_head-' . $menus['whois'], array($this, 'admin_head_whois')); 
     
    200258         
    201259        return true; 
     260    } 
     261     
     262    function init_textdomain() {         
     263        if (function_exists('load_plugin_textdomain')) { 
     264            load_plugin_textdomain($this -> plugin_name, $this -> plugin_name . DS . 'languages', dirname(plugin_basename(__FILE__)) . DS . 'languages'); 
     265        }    
    202266    } 
    203267     
Note: See TracChangeset for help on using the changeset viewer.