Changeset 93
- Timestamp:
- 05/25/2003 12:33:40 AM (23 years ago)
- Location:
- trunk
- Files:
-
- 2 deleted
- 4 edited
-
sproxy.pl (deleted)
-
wp-admin/b2bookmarklet.php (modified) (5 diffs)
-
wp-admin/b2footer.php (modified) (1 diff)
-
wp-admin/b2sidebar.php (modified) (5 diffs)
-
wp-admin/b2spell.php (deleted)
-
wp-admin/b2upload.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/b2bookmarklet.php
r84 r93 30 30 <title>WordPress > Bookmarklet</title> 31 31 <link rel="stylesheet" href="b2.css" type="text/css" /> 32 <?php 33 if ($use_spellchecker) { 34 ?><script type="text/javascript" language="javascript"> 35 <!-- 36 37 function DoSpell(formname, subject, body) { 38 document.SPELLDATA.formname.value=formname 39 document.SPELLDATA.subjectname.value=subject 40 document.SPELLDATA.messagebodyname.value=body 41 document.SPELLDATA.companyID.value="custom\\http://cafelog.com" 42 document.SPELLDATA.language.value=1033 43 document.SPELLDATA.opener.value="sproxy.pl" 44 document.SPELLDATA.formaction.value="http://www.spellchecker.com/spell/startspelling.asp " 45 window.open("b2spell.php","Spell", 46 "toolbar=no,directories=no,location=yes,urlbar=yes,resizable=yes,width=620,height=600,top=100,left=100") 47 } 48 32 <script type="text/javascript" language="javascript"> 33 <!-- 49 34 function preview(form) { 50 35 var preview_date = "<?php echo date("Y-m-d H:i:s"); ?>"; … … 53 38 var preview_category = form.post_category.value; 54 39 var preview_content = form.content.value; 55 var preview_autobr = form.post_autobr.value;56 40 preview_date = escape(preview_date); 57 41 preview_userid = escape(preview_userid); … … 59 43 preview_category = escape(preview_category); 60 44 preview_content = escape(preview_content); 61 preview_autobr = escape(preview_autobr); 62 window.open ("<?php echo "$siteurl/$blogfilename" ?>?preview=1&preview_date="+preview_date +"&preview_userid="+preview_userid +"&preview_title="+preview_title +"&preview_category="+preview_category +"&preview_content="+preview_content +"&preview_autobr="+preview_autobr ,"Preview", "location=0,menubar=1,resizable=1,scrollbars=yes,status=1,toolbar=0"); 45 window.open ("<?php echo "$siteurl/$blogfilename" ?>?preview=1&preview_date="+preview_date +"&preview_userid="+preview_userid +"&preview_title="+preview_title +"&preview_category="+preview_category +"&preview_content="+preview_content,"Preview", "location=0,menubar=1,resizable=1,scrollbars=yes,status=1,toolbar=0"); 63 46 } 64 47 … … 69 52 //--> 70 53 </script> 71 <?php72 }73 ?>74 54 <style type="text/css"> 75 55 <!-- … … 200 180 </table> 201 181 202 <?php if ( $use_preview) { ?>182 <?php if (0 /*$use_preview*/) { ?> 203 183 <input type="button" value="preview" onClick="preview(this.form);" class="search" tabindex="8" /> 204 184 <?php } ?> -
trunk/wp-admin/b2footer.php
r38 r93 9 9 <div align="center" style="width: 100%" class="tabletoprow"><strong><a href="http://wordpress.org">WordPress</a></strong> <?php echo $b2_version ?> <a href="http://wordpress.org/support/">Support Forums</a></div> 10 10 11 <!-- this is for the spellchecker -->12 <form name="SPELLDATA"><div>13 <input name="formname" type="hidden" value="">14 <input name="messagebodyname" type="hidden" value="">15 <input name="subjectname" type="hidden" value="">16 <input name="companyID" type="hidden" value="">17 <input name="language" type="hidden" value="">18 <input name="opener" type="hidden" value="">19 <input name="formaction" type="hidden" value="">20 </div></form>21 22 11 </body> 23 12 </html> -
trunk/wp-admin/b2sidebar.php
r86 r93 22 22 while($row = mysql_fetch_object($result)) { 23 23 $time_difference=$row->time_difference; 24 $autobr=$row->AutoBR;25 24 } 26 25 … … 50 49 <title>WordPress > sidebar</title> 51 50 <link rel="stylesheet" href="b2.css" type="text/css"> 52 <?php53 if ($use_spellchecker) {54 ?><script type="text/javascript" language="javascript">55 <!--56 function DoSpell(formname, subject, body)57 {58 document.SPELLDATA.formname.value=formname59 document.SPELLDATA.subjectname.value=subject60 document.SPELLDATA.messagebodyname.value=body61 document.SPELLDATA.companyID.value="custom\\http://cafelog.com"62 document.SPELLDATA.language.value=103363 document.SPELLDATA.opener.value="<?php echo $siteurl ?>/sproxy.pl"64 document.SPELLDATA.formaction.value="http://www.spellchecker.com/spell/startspelling.asp "65 window.open("<?php echo $siteurl ?>/b2spell.php","Spell",66 "toolbar=no,directories=no,location=yes,resizable=yes,width=620,height=400,top=100,left=100")67 }68 //-->69 </script><?php70 }71 ?>72 51 73 52 <style type="text/css"> … … 118 97 <textarea rows="8" cols="12" style="width: 100%" name="content" tabindex="2" class="postform" wrap="virtual" onFocus="if (this.value=='Post') { this.value='';}" onBlur="if (this.value=='') {this.value='Post';}">Post</textarea> 119 98 120 <input type="checkbox" name="post_autobr" value="1" <?php if ($autobr) echo " checked" ?> tabindex="4" class="checkbox" id="autobr" /><label for="autobr"> Auto-BR</label><br />121 122 99 <?php if ($use_pingback) { ?> 123 100 <input type="checkbox" class="checkbox" name="post_pingback" value="1" checked="checked" tabindex="5" id="pingback" /><label for="pingback"> PingBack</label> … … 126 103 <input type="submit" name="submit" value="Blog this !" class="search" tabindex="3" /> 127 104 128 <?php if ($use_spellchecker) { ?> 129 <!--<input type = "button" value = "Spell Check" onclick="var f=document.forms[0]; doSpell( 'en', f.post_content, '<?php echo $spellchecker_url ?>/sproxy.cgi', true);" class="search" tabindex="5" />--> 130 <input type="button" value="Spellcheck" onclick="DoSpell 131 ('post','content','');" class="search" tabindex="9"/> 132 133 <?php } 134 105 <?php 135 106 if ($use_trackback) { ?> 136 107 <br /><label for="trackback"><b>TrackBack</b> an URL:</label><br /><input type="text" name="trackback_url" style="width: 100%" id="trackback" tabindex="7" /> … … 149 120 </form> 150 121 151 <!-- this is for the spellchecker -->152 <form name="SPELLDATA"><div>153 <input name="formname" type="hidden" value="">154 <input name="messagebodyname" type="hidden" value="">155 <input name="subjectname" type="hidden" value="">156 <input name="companyID" type="hidden" value="">157 <input name="language" type="hidden" value="">158 <input name="opener" type="hidden" value="">159 <input name="formaction" type="hidden" value="">160 </div></form>161 122 162 123 </body> -
trunk/wp-admin/b2upload.php
r86 r93 15 15 <title>b2 > upload images/files</title> 16 16 <link rel="stylesheet" href="<?php echo $b2inc; ?>/b2.css" type="text/css"> 17 <?php if ($use_spellchecker) { ?>18 <script type="text/javascript" language="javascript" src="<?php echo $spch_url; ?>"></script><?php } ?>19 17 <style type="text/css"> 20 18 <!--
Note: See TracChangeset
for help on using the changeset viewer.