Sociable - Version 4.0.3

Version Description

  • Fix IIS 6.0 and PHP 5.3.x
Download this release

Release Info

Developer sociable
Plugin Icon wp plugin Sociable
Version 4.0.3
Comparing to
See all releases

Code changes from version 4.0.2 to 4.0.3

includes/class-sociable_Admin_Options.php CHANGED
@@ -203,11 +203,11 @@ class sociable_Admin_Options{
203
  <BR/>
204
 
205
  <DIV class="Content-Box" id="Preview-Content">
206
- <DIV style="margin:0 0 0 25px" align="left" class="Live-Preview" id="Live-Preview" ><? _e("Live preview of how Sociable will appear on your blog.","sociable")?></DIV>
207
 
208
  <BR/>
209
 
210
- <DIV style="margin:0 0 0 25px" class="Post-TXT" id="Post-TXT" ><? _e("This is your post here...","sociable")?></DIV>
211
 
212
  <DIV style="margin:0 0 0 25px" class="Post-subTXT" id="Post-subTXT" >Lorem ipsum dolor sit amet, consectetur adipiscing elit.</DIV>
213
 
@@ -216,22 +216,22 @@ class sociable_Admin_Options{
216
  </DIV>
217
  <TABLE class="Title-Box" cellspacing="0" cellpadding="0" id="Tagline-Title">
218
  <TR>
219
- <TD class="Border-Left" ></TD><TD class="BG-Middle" ><?_e("Tagline","sociable");?></TD><TD class="Border-Right"></TD>
220
  </TR>
221
  </TABLE>
222
  <BR/>
223
 
224
  <DIV class="Content-Box" id="Tagline-Content">
225
- <DIV class="Tagline-TXT" id="Tagline-TXT" ><? _e('Previously we used "Share and Enjoy", remember the good old days?',"sociable");?></DIV>
226
 
227
  <BR/>
228
  <DIV style="width:100%;height:60px;">
229
  <INPUT type="text" class="Tagline-INPUT" id="tagline" name="sociable_options[tagline]" value="<?php echo$sociable_options["tagline"];?>" />
230
 
231
  <DIV class="ToSociable" >
232
- <INPUT type="checkbox" <? if (!empty($sociable_options["help_grow"])) echo "checked = 'checked'";?> name="sociable_options[help_grow]" id="LinkToSociable" />
233
- <? _e("Link to Sociable","sociable");?><BR/>
234
- <SPAN style="font-size:14px;"><? _e("(Help us grow, please leave the link so others discover Sociable from your blog)","sociable");?></SPAN>
235
  </DIV>
236
  </DIV>
237
  </DIV>
@@ -239,14 +239,14 @@ class sociable_Admin_Options{
239
 
240
  <TABLE class="Title-Box" cellspacing="0" cellpadding="0" id="Tagline-Title">
241
  <TR>
242
- <TD class="Border-Left" ></TD><TD class="BG-Middle" ><? _e("Icons to Include","sociable");?></TD><TD class="Border-Right"></TD>
243
  </TR>
244
  </TABLE>
245
  <BR/>
246
 
247
  <DIV class="Content-Box" id="IconsToInclude-Box" style="">
248
  <DIV class="IconsToInclude-TXT" id="IconsToInclude-TXT" >
249
- <? _e("Check the sites you want to appear on your blog.","sociable");?>
250
  </DIV>
251
 
252
  <BR/>
@@ -258,13 +258,13 @@ class sociable_Admin_Options{
258
 
259
  <TABLE class="Title-Box" cellspacing="0" cellpadding="0" id="IconSize-Title" style="margin-top:20px;">
260
  <TR>
261
- <TD class="Border-Left" ></TD><TD class="BG-Middle" ><? _e("Icons Size","sociable");?></TD><TD class="Border-Right"></TD>
262
  </TR>
263
  </TABLE>
264
  <BR/>
265
 
266
  <DIV class="Content-Box" style="margin-left:-3px" id="IconSize-Content">
267
- <?
268
  $checked16 = "";
269
  $checked32 = "";
270
  $checked48 = "";
@@ -288,14 +288,14 @@ class sociable_Admin_Options{
288
 
289
  <TABLE class="Title-Box" cellspacing="0" cellpadding="0" id="IconSize-Title" style="margin-top:20px;">
290
  <TR>
291
- <TD class="Border-Left" ></TD><TD class="BG-Middle" ><? _e("Icons Style","sociable");?></TD><TD class="Border-Right"></TD>
292
  </TR>
293
  </TABLE>
294
  <BR/>
295
 
296
  <DIV class="Content-Box" id="IconSize-Content" style="padding:20px;">
297
 
298
- <?
299
  $checked1 = "";
300
  $checked2 = "";
301
  $checked3 = "";
@@ -335,103 +335,103 @@ class sociable_Admin_Options{
335
 
336
  <TABLE class="Title-Box" style="cursor:pointer;" cellspacing="0" cellpadding="0" onclick="hideOrShow('Locations');" >
337
  <TR>
338
- <TD class="Border-Left" ></TD><TD class="BG-Middle" id="Locations-Title" ><span id="Locations-Tab">+ </span><? _e("Locations","sociable");?></TD><TD class="Border-Right"></TD>
339
  </TR>
340
  </TABLE>
341
  <BR/>
342
 
343
  <DIV class="Content-Box" id="Locations-Content" style="display:none;" >
344
- <DIV class="Locations-TXT" id="Locations-TXT" ><? _e("Please select the locations that you wish to allow the Sociable plugin to insert itself.","sociable");?></DIV>
345
 
346
  <BR/>
347
  <DIV align="center" style="width:100%;">
348
  <TABLE align="center" class="Locations-List" cellspacing="0" border=0 cellpadding="10">
349
  <TR valign="top" >
350
- <TD align="right" class="Title" ><? _e("Home page","sociable");?></TD>
351
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["locations"]["is_front_page"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_front_page]" id="HomePage" /></TD>
352
  <TD align="left" class="Content">
353
- <SPAN class="TXT"><? _e("The front page of the blog (if set to a static page), or the main blog page (if set to your latest posts).","sociable");?></SPAN>
354
 
355
  </TD>
356
  </TR>
357
 
358
  <TR valign="top" >
359
- <TD align="right" class="Title" ><? _e("Blog page","sociable");?></TD>
360
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["locations"]["is_home"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_home]" id="BlogPage" /></TD>
361
  <TD align="left" class="Content">
362
- <SPAN class="TXT"><? _e("The home page of the blog if is set to your latest posts, or the posts page if the home page is set to a static page","sociable");?></SPAN>
363
 
364
  </TD>
365
  </TR>
366
 
367
  <TR valign="top" >
368
- <TD align="right" class="Title" ><? _e("Posts","sociable");?></TD>
369
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["locations"]["is_single"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_single]" id="Posts" /></TD>
370
  <TD align="left" class="Content">
371
- <SPAN class="TXT"><? _e("Single post pages","sociable");?></SPAN>
372
 
373
  </TD>
374
  </TR>
375
 
376
  <TR valign="top" >
377
- <TD align="right" class="Title" ><? _e("Pages","sociable");?></TD>
378
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["locations"]["is_page"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_page]" id="Pages" /></TD>
379
  <TD align="left" class="Content">
380
- <SPAN class="TXT"><? _e("Individual Wordpress pages","sociable");?></SPAN>
381
 
382
  </TD>
383
  </TR>
384
 
385
  <TR valign="top" >
386
- <TD align="right" class="Title" ><? _e("Category archives","sociable");?></TD>
387
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["locations"]["is_category"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_category]" id="CategoryArchives" /></TD>
388
  <TD align="left" class="Content">
389
- <SPAN class="TXT"><? _e("Category archive pages","sociable");?></SPAN>
390
 
391
  </TD>
392
  </TR>
393
 
394
  <TR valign="top" >
395
- <TD align="right" class="Title" ><? _e("Date archives","sociable");?></TD>
396
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["locations"]["is_date"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_date]" id="DateArchives" /></TD>
397
  <TD align="left" class="Content">
398
- <SPAN class="TXT"><? _e("Date archive pages","sociable");?> </SPAN>
399
 
400
  </TD>
401
  </TR>
402
 
403
  <TR valign="top" >
404
- <TD align="right" class="Title" ><? _e("Tag archives","sociable");?></TD>
405
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["locations"]["is_tag"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_tag]" id="TagArchives" /></TD>
406
  <TD align="left" class="Content">
407
- <SPAN class="TXT"><? _e("Tag archive pages","sociable");?> </SPAN>
408
 
409
  </TD>
410
  </TR>
411
 
412
  <TR valign="top" >
413
- <TD align="right" class="Title" ><? _e("Author archives","sociable");?></TD>
414
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["locations"]["is_author"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_author]" id="AuthorArchives" /></TD>
415
  <TD align="left" class="Content">
416
- <SPAN class="TXT"><? _e("Author archive pages","sociable");?></SPAN>
417
 
418
  </TD>
419
  </TR>
420
 
421
  <TR valign="top" >
422
- <TD align="right" class="Title" ><? _e("Search results","sociable");?></TD>
423
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["locations"]["is_search"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_search]" id="SearchResults" /></TD>
424
  <TD align="left" class="Content">
425
- <SPAN class="TXT"><? _e("Search results pages","sociable");?></SPAN>
426
 
427
  </TD>
428
  </TR>
429
 
430
  <TR valign="top" >
431
- <TD align="right" class="Title" ><? _e("RSS feeds","sociable");?></TD>
432
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["locations"]["is_rss"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_rss]" id="RssFeeds" /></TD>
433
  <TD align="left" class="Content">
434
- <SPAN class="TXT"><? _e("RSS feeds","sociable");?></SPAN>
435
 
436
  </TD>
437
  </TR>
@@ -444,7 +444,7 @@ class sociable_Admin_Options{
444
 
445
  <TABLE class="Title-Box" style="cursor:pointer;" cellspacing="0" cellpadding="0" onclick="hideOrShow('GeneralOptions');">
446
  <TR>
447
- <TD class="Border-Left" ></TD><TD class="BG-Middle" id="GeneralOptions-Title" ><span id="GeneralOptions-Tab"> + </span> <? _e("General Options","sociable");?></TD><TD class="Border-Right"></TD>
448
  </TR>
449
  </TABLE>
450
  <BR/>
@@ -455,13 +455,13 @@ class sociable_Admin_Options{
455
  <DIV align="center" style="width:100%;">
456
  <TABLE align="center" class="GeneralOptions-List" cellspacing="0" border=0 cellpadding ="10" >
457
  <TR valign="top" >
458
- <TD align="right" class="Title" ><?_e("Automatic mode","sociable")?></TD>
459
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["automatic_mode"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[automatic_mode]" id="AutoMode" /></TD>
460
  <TD align="left" class="Content">
461
- <SPAN class="TXT"><? _e("Do you want to automatically use Sociable on the locations specified?","sociable");?> </SPAN>
462
  <BR/>
463
  <SPAN class="sTXT">
464
- <? _e("If this is unchecked, you will have to use the shortcode[sociable/] or template","sociable");?> tag ?php if( function_exists( do_sociable() ) ){ do_sociable(); }
465
  </SPAN>
466
 
467
  </TD>
@@ -470,41 +470,41 @@ class sociable_Admin_Options{
470
 
471
  </TR>
472
  <TR valign="top" >
473
- <TD align="right" class="Title" ><? _e("Use styleSheet","sociable");?></TD>
474
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["use_stylesheet"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[use_stylesheet]" id="UseStyleSheets" /></TD>
475
  <TD align="left" class="Content">
476
- <SPAN class="TXT"><? _e("Do you want to use the default stylesheet for sociable?","sociable");?></SPAN>
477
  </TD>
478
  </TR>
479
  <TR valign="top" >
480
- <TD align="right" class="Title" ><? _e("Use your own icons","sociable");?></TD>
481
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["custom_icons"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[custom_icons]" id="UseStyleSheets" /></TD>
482
  <TD align="left" class="Content">
483
- <SPAN class="TXT"><? _e("Do you want to use your own icons for sociable?","sociable");?></SPAN>
484
  </TD>
485
  </TR>
486
  <TR valign="top" >
487
- <TD align="right" class="Title" ><? _e("Use images","sociable");?></TD>
488
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["use_images"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[use_images]" id="UseImages" /></TD>
489
  <TD align="left" class="Content">
490
- <SPAN class="TXT"><? _e("Do you want to use the Sociable images? If not, the plugin will insert plain text links.","sociable");?></SPAN>
491
  </TD>
492
  </TR>
493
 
494
 
495
  <TR valign="top" >
496
- <TD align="right" class="Title" ><? _e("Use alpha mask","sociable");?></TD>
497
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["use_alphamask"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[use_alphamask]" id="AlphaMask" /></TD>
498
  <TD align="left" class="Content">
499
- <SPAN class="TXT"><? _e("Do you want to use alpha masks on the images (available only on the Original Sociable)?","sociable");?></SPAN>
500
  </TD>
501
  </TR>
502
 
503
  <TR valign="top" >
504
- <TD align="right" class="Title" ><? _e("Open in new window","sociable");?></TD>
505
- <TD align="left" style="width:5px;" ><INPUT <? if(!empty($sociable_options["new_window"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[new_window]" id="OpenNewWindow" /></TD>
506
  <TD align="left" class="Content">
507
- <SPAN class="TXT"><? _e("do you want to open the links in a new window?","sociable");?></SPAN>
508
  </TD>
509
  </TR>
510
 
@@ -516,19 +516,19 @@ class sociable_Admin_Options{
516
  </DIV>
517
  </DIV>
518
 
519
- <? //<HR style="height:10px;background:#18305d;"/>?>
520
  <?php settings_fields( 'sociable_options_group' ); ?>
521
  </FORM>
522
  <DIV class="Content-Box" >
523
  <DIV id="ActionsBar">
524
  <DIV class="SaveChanges" onClick="document.getElementById('form1').submit();" style="cursor:pointer;line-height:15px;"><br/>
525
- <span style="margin:30px;"><? _e("Save Changes","sociable");?></span>
526
  </DIV>
527
  <DIV class="ResetSociable" id="sociable_reset" name="sociable_reset" onClick="document.getElementById('sociable_reset_form').submit();" style="cursor:pointer;line-height:15px;font-size:12px;"><br/>
528
- <span style="margin:40px;margin-left:35px;"><? _e("Reset Sociable","sociable");?></span>
529
  </DIV>
530
  <DIV class="UninstallSociable" onClick="document.getElementById('sociable_remove_form').submit();" style="cursor:pointer;line-height:15px;font-size:12px;"><br/>
531
- <span style="margin:25px;margin-left:20px;"><? _e("Completly Uninstall Sociable","sociable");?></span>
532
  </DIV>
533
  </DIV>
534
  </DIV>
203
  <BR/>
204
 
205
  <DIV class="Content-Box" id="Preview-Content">
206
+ <DIV style="margin:0 0 0 25px" align="left" class="Live-Preview" id="Live-Preview" ><?php _e("Live preview of how Sociable will appear on your blog.","sociable")?></DIV>
207
 
208
  <BR/>
209
 
210
+ <DIV style="margin:0 0 0 25px" class="Post-TXT" id="Post-TXT" ><?php _e("This is your post here...","sociable")?></DIV>
211
 
212
  <DIV style="margin:0 0 0 25px" class="Post-subTXT" id="Post-subTXT" >Lorem ipsum dolor sit amet, consectetur adipiscing elit.</DIV>
213
 
216
  </DIV>
217
  <TABLE class="Title-Box" cellspacing="0" cellpadding="0" id="Tagline-Title">
218
  <TR>
219
+ <TD class="Border-Left" ></TD><TD class="BG-Middle" ><?php _e("Tagline","sociable");?></TD><TD class="Border-Right"></TD>
220
  </TR>
221
  </TABLE>
222
  <BR/>
223
 
224
  <DIV class="Content-Box" id="Tagline-Content">
225
+ <DIV class="Tagline-TXT" id="Tagline-TXT" ><?php _e('Previously we used "Share and Enjoy", remember the good old days?',"sociable");?></DIV>
226
 
227
  <BR/>
228
  <DIV style="width:100%;height:60px;">
229
  <INPUT type="text" class="Tagline-INPUT" id="tagline" name="sociable_options[tagline]" value="<?php echo$sociable_options["tagline"];?>" />
230
 
231
  <DIV class="ToSociable" >
232
+ <INPUT type="checkbox" <?php if (!empty($sociable_options["help_grow"])) echo "checked = 'checked'";?> name="sociable_options[help_grow]" id="LinkToSociable" />
233
+ <?php _e("Link to Sociable","sociable");?><BR/>
234
+ <SPAN style="font-size:14px;"><?php _e("(Help us grow, please leave the link so others discover Sociable from your blog)","sociable");?></SPAN>
235
  </DIV>
236
  </DIV>
237
  </DIV>
239
 
240
  <TABLE class="Title-Box" cellspacing="0" cellpadding="0" id="Tagline-Title">
241
  <TR>
242
+ <TD class="Border-Left" ></TD><TD class="BG-Middle" ><?php _e("Icons to Include","sociable");?></TD><TD class="Border-Right"></TD>
243
  </TR>
244
  </TABLE>
245
  <BR/>
246
 
247
  <DIV class="Content-Box" id="IconsToInclude-Box" style="">
248
  <DIV class="IconsToInclude-TXT" id="IconsToInclude-TXT" >
249
+ <?php _e("Check the sites you want to appear on your blog.","sociable");?>
250
  </DIV>
251
 
252
  <BR/>
258
 
259
  <TABLE class="Title-Box" cellspacing="0" cellpadding="0" id="IconSize-Title" style="margin-top:20px;">
260
  <TR>
261
+ <TD class="Border-Left" ></TD><TD class="BG-Middle" ><?php _e("Icons Size","sociable");?></TD><TD class="Border-Right"></TD>
262
  </TR>
263
  </TABLE>
264
  <BR/>
265
 
266
  <DIV class="Content-Box" style="margin-left:-3px" id="IconSize-Content">
267
+ <?php
268
  $checked16 = "";
269
  $checked32 = "";
270
  $checked48 = "";
288
 
289
  <TABLE class="Title-Box" cellspacing="0" cellpadding="0" id="IconSize-Title" style="margin-top:20px;">
290
  <TR>
291
+ <TD class="Border-Left" ></TD><TD class="BG-Middle" ><?php _e("Icons Style","sociable");?></TD><TD class="Border-Right"></TD>
292
  </TR>
293
  </TABLE>
294
  <BR/>
295
 
296
  <DIV class="Content-Box" id="IconSize-Content" style="padding:20px;">
297
 
298
+ <?php
299
  $checked1 = "";
300
  $checked2 = "";
301
  $checked3 = "";
335
 
336
  <TABLE class="Title-Box" style="cursor:pointer;" cellspacing="0" cellpadding="0" onclick="hideOrShow('Locations');" >
337
  <TR>
338
+ <TD class="Border-Left" ></TD><TD class="BG-Middle" id="Locations-Title" ><span id="Locations-Tab">+ </span><?php _e("Locations","sociable");?></TD><TD class="Border-Right"></TD>
339
  </TR>
340
  </TABLE>
341
  <BR/>
342
 
343
  <DIV class="Content-Box" id="Locations-Content" style="display:none;" >
344
+ <DIV class="Locations-TXT" id="Locations-TXT" ><?php _e("Please select the locations that you wish to allow the Sociable plugin to insert itself.","sociable");?></DIV>
345
 
346
  <BR/>
347
  <DIV align="center" style="width:100%;">
348
  <TABLE align="center" class="Locations-List" cellspacing="0" border=0 cellpadding="10">
349
  <TR valign="top" >
350
+ <TD align="right" class="Title" ><?php _e("Home page","sociable");?></TD>
351
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["locations"]["is_front_page"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_front_page]" id="HomePage" /></TD>
352
  <TD align="left" class="Content">
353
+ <SPAN class="TXT"><?php _e("The front page of the blog (if set to a static page), or the main blog page (if set to your latest posts).","sociable");?></SPAN>
354
 
355
  </TD>
356
  </TR>
357
 
358
  <TR valign="top" >
359
+ <TD align="right" class="Title" ><?php _e("Blog page","sociable");?></TD>
360
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["locations"]["is_home"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_home]" id="BlogPage" /></TD>
361
  <TD align="left" class="Content">
362
+ <SPAN class="TXT"><?php _e("The home page of the blog if is set to your latest posts, or the posts page if the home page is set to a static page","sociable");?></SPAN>
363
 
364
  </TD>
365
  </TR>
366
 
367
  <TR valign="top" >
368
+ <TD align="right" class="Title" ><?php _e("Posts","sociable");?></TD>
369
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["locations"]["is_single"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_single]" id="Posts" /></TD>
370
  <TD align="left" class="Content">
371
+ <SPAN class="TXT"><?php _e("Single post pages","sociable");?></SPAN>
372
 
373
  </TD>
374
  </TR>
375
 
376
  <TR valign="top" >
377
+ <TD align="right" class="Title" ><?php _e("Pages","sociable");?></TD>
378
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["locations"]["is_page"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_page]" id="Pages" /></TD>
379
  <TD align="left" class="Content">
380
+ <SPAN class="TXT"><?php _e("Individual Wordpress pages","sociable");?></SPAN>
381
 
382
  </TD>
383
  </TR>
384
 
385
  <TR valign="top" >
386
+ <TD align="right" class="Title" ><?php _e("Category archives","sociable");?></TD>
387
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["locations"]["is_category"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_category]" id="CategoryArchives" /></TD>
388
  <TD align="left" class="Content">
389
+ <SPAN class="TXT"><?php _e("Category archive pages","sociable");?></SPAN>
390
 
391
  </TD>
392
  </TR>
393
 
394
  <TR valign="top" >
395
+ <TD align="right" class="Title" ><?php _e("Date archives","sociable");?></TD>
396
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["locations"]["is_date"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_date]" id="DateArchives" /></TD>
397
  <TD align="left" class="Content">
398
+ <SPAN class="TXT"><?php _e("Date archive pages","sociable");?> </SPAN>
399
 
400
  </TD>
401
  </TR>
402
 
403
  <TR valign="top" >
404
+ <TD align="right" class="Title" ><?php _e("Tag archives","sociable");?></TD>
405
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["locations"]["is_tag"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_tag]" id="TagArchives" /></TD>
406
  <TD align="left" class="Content">
407
+ <SPAN class="TXT"><?php _e("Tag archive pages","sociable");?> </SPAN>
408
 
409
  </TD>
410
  </TR>
411
 
412
  <TR valign="top" >
413
+ <TD align="right" class="Title" ><?php _e("Author archives","sociable");?></TD>
414
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["locations"]["is_author"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_author]" id="AuthorArchives" /></TD>
415
  <TD align="left" class="Content">
416
+ <SPAN class="TXT"><?php _e("Author archive pages","sociable");?></SPAN>
417
 
418
  </TD>
419
  </TR>
420
 
421
  <TR valign="top" >
422
+ <TD align="right" class="Title" ><?php _e("Search results","sociable");?></TD>
423
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["locations"]["is_search"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_search]" id="SearchResults" /></TD>
424
  <TD align="left" class="Content">
425
+ <SPAN class="TXT"><?php _e("Search results pages","sociable");?></SPAN>
426
 
427
  </TD>
428
  </TR>
429
 
430
  <TR valign="top" >
431
+ <TD align="right" class="Title" ><?php _e("RSS feeds","sociable");?></TD>
432
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["locations"]["is_rss"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[locations][is_rss]" id="RssFeeds" /></TD>
433
  <TD align="left" class="Content">
434
+ <SPAN class="TXT"><?php _e("RSS feeds","sociable");?></SPAN>
435
 
436
  </TD>
437
  </TR>
444
 
445
  <TABLE class="Title-Box" style="cursor:pointer;" cellspacing="0" cellpadding="0" onclick="hideOrShow('GeneralOptions');">
446
  <TR>
447
+ <TD class="Border-Left" ></TD><TD class="BG-Middle" id="GeneralOptions-Title" ><span id="GeneralOptions-Tab"> + </span> <?php _e("General Options","sociable");?></TD><TD class="Border-Right"></TD>
448
  </TR>
449
  </TABLE>
450
  <BR/>
455
  <DIV align="center" style="width:100%;">
456
  <TABLE align="center" class="GeneralOptions-List" cellspacing="0" border=0 cellpadding ="10" >
457
  <TR valign="top" >
458
+ <TD align="right" class="Title" ><?php _e("Automatic mode","sociable")?></TD>
459
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["automatic_mode"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[automatic_mode]" id="AutoMode" /></TD>
460
  <TD align="left" class="Content">
461
+ <SPAN class="TXT"><?php _e("Do you want to automatically use Sociable on the locations specified?","sociable");?> </SPAN>
462
  <BR/>
463
  <SPAN class="sTXT">
464
+ <?php _e("If this is unchecked, you will have to use the shortcode[sociable/] or template","sociable");?> tag ?php if( function_exists( do_sociable() ) ){ do_sociable(); }
465
  </SPAN>
466
 
467
  </TD>
470
 
471
  </TR>
472
  <TR valign="top" >
473
+ <TD align="right" class="Title" ><?php _e("Use styleSheet","sociable");?></TD>
474
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["use_stylesheet"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[use_stylesheet]" id="UseStyleSheets" /></TD>
475
  <TD align="left" class="Content">
476
+ <SPAN class="TXT"><?php _e("Do you want to use the default stylesheet for sociable?","sociable");?></SPAN>
477
  </TD>
478
  </TR>
479
  <TR valign="top" >
480
+ <TD align="right" class="Title" ><?php _e("Use your own icons","sociable");?></TD>
481
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["custom_icons"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[custom_icons]" id="UseStyleSheets" /></TD>
482
  <TD align="left" class="Content">
483
+ <SPAN class="TXT"><?php _e("Do you want to use your own icons for sociable?","sociable");?></SPAN>
484
  </TD>
485
  </TR>
486
  <TR valign="top" >
487
+ <TD align="right" class="Title" ><?php _e("Use images","sociable");?></TD>
488
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["use_images"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[use_images]" id="UseImages" /></TD>
489
  <TD align="left" class="Content">
490
+ <SPAN class="TXT"><?php _e("Do you want to use the Sociable images? If not, the plugin will insert plain text links.","sociable");?></SPAN>
491
  </TD>
492
  </TR>
493
 
494
 
495
  <TR valign="top" >
496
+ <TD align="right" class="Title" ><?php _e("Use alpha mask","sociable");?></TD>
497
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["use_alphamask"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[use_alphamask]" id="AlphaMask" /></TD>
498
  <TD align="left" class="Content">
499
+ <SPAN class="TXT"><?php _e("Do you want to use alpha masks on the images (available only on the Original Sociable)?","sociable");?></SPAN>
500
  </TD>
501
  </TR>
502
 
503
  <TR valign="top" >
504
+ <TD align="right" class="Title" ><?php _e("Open in new window","sociable");?></TD>
505
+ <TD align="left" style="width:5px;" ><INPUT <?php if(!empty($sociable_options["new_window"])) echo "checked='checked'"?> type="checkbox" name="sociable_options[new_window]" id="OpenNewWindow" /></TD>
506
  <TD align="left" class="Content">
507
+ <SPAN class="TXT"><?php _e("do you want to open the links in a new window?","sociable");?></SPAN>
508
  </TD>
509
  </TR>
510
 
516
  </DIV>
517
  </DIV>
518
 
519
+ <?php //<HR style="height:10px;background:#18305d;"/>?>
520
  <?php settings_fields( 'sociable_options_group' ); ?>
521
  </FORM>
522
  <DIV class="Content-Box" >
523
  <DIV id="ActionsBar">
524
  <DIV class="SaveChanges" onClick="document.getElementById('form1').submit();" style="cursor:pointer;line-height:15px;"><br/>
525
+ <span style="margin:30px;"><?php _e("Save Changes","sociable");?></span>
526
  </DIV>
527
  <DIV class="ResetSociable" id="sociable_reset" name="sociable_reset" onClick="document.getElementById('sociable_reset_form').submit();" style="cursor:pointer;line-height:15px;font-size:12px;"><br/>
528
+ <span style="margin:40px;margin-left:35px;"><?php _e("Reset Sociable","sociable");?></span>
529
  </DIV>
530
  <DIV class="UninstallSociable" onClick="document.getElementById('sociable_remove_form').submit();" style="cursor:pointer;line-height:15px;font-size:12px;"><br/>
531
+ <span style="margin:25px;margin-left:20px;"><?php _e("Completly Uninstall Sociable","sociable");?></span>
532
  </DIV>
533
  </DIV>
534
  </DIV>
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tested up to version: 3.2.1
6
  Requires at least: 2.6
7
 
8
  Tested up to: 2.8.5
9
- Stable tag: 4.0.2
10
  == Description ==
11
  Sociable continues being the leader in the sharing space of WordPress plugins. Started more than 2 years ago, and with over 1,2mm downloads now, here comes the version 4.0, with everything you expect to get, and then some.
12
 
@@ -25,7 +25,7 @@ What happened to the old icons? You can still use them in the new version, but t
25
 
26
  Sociable finds its home outside of the WordPress environment on Blogplay.com-
27
 
28
- *** Sociable 4.0.2 ***
29
 
30
  = Recent Updates =
31
  * Changed the old motto "share and enjoy" for "Be Sociable, Share" much more attractive. Of cours you can customize it to whatever you want.
@@ -73,8 +73,8 @@ Please send us an email to sociable [ at ] startups.com
73
 
74
  == Changelog ==
75
 
76
- = 4.0.2 =
77
- Fix IIS 6.0 and PHP 5.3.x
78
 
79
  = 4.0.1 =
80
  * Changed the old motto "share and enjoy" for "Be Sociable, Share" much more attractive. Of cours you can customize it to whatever you want.
6
  Requires at least: 2.6
7
 
8
  Tested up to: 2.8.5
9
+ Stable tag: 4.0.3
10
  == Description ==
11
  Sociable continues being the leader in the sharing space of WordPress plugins. Started more than 2 years ago, and with over 1,2mm downloads now, here comes the version 4.0, with everything you expect to get, and then some.
12
 
25
 
26
  Sociable finds its home outside of the WordPress environment on Blogplay.com-
27
 
28
+ *** Sociable 4.0.3 ***
29
 
30
  = Recent Updates =
31
  * Changed the old motto "share and enjoy" for "Be Sociable, Share" much more attractive. Of cours you can customize it to whatever you want.
73
 
74
  == Changelog ==
75
 
76
+ = 4.0.3 =
77
+ * Fix IIS 6.0 and PHP 5.3.x
78
 
79
  = 4.0.1 =
80
  * Changed the old motto "share and enjoy" for "Be Sociable, Share" much more attractive. Of cours you can customize it to whatever you want.
sociable.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Sociable
4
  Plugin URI: http://blogplay.com/plugin
5
  Description: Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites.
6
- Version: 4.0.2
7
  Author: Blogplay
8
  Author URI: http://blogplay.com/
9
 
3
  Plugin Name: Sociable
4
  Plugin URI: http://blogplay.com/plugin
5
  Description: Automatically add links on your posts, pages and RSS feed to your favorite social bookmarking sites.
6
+ Version: 4.0.3
7
  Author: Blogplay
8
  Author URI: http://blogplay.com/
9