Changeset 1798 for trunk/w


Ignore:
Timestamp:
08/17/2010 12:21:25 PM (21 months ago)
Author:
Xiping.Wang
Message:

[trunk]merged from trunk

Location:
trunk
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • trunk

  • trunk/w

  • trunk/w/LocalSettings.php

    r1778 r1798  
    322322 */ 
    323323//$wgDefaultUserOptions['riched_start_disabled']=false; 
     324$wgDefaultUserOptions['cols']=65; // Added by zhongzhen to decrease textarea box width in wiki Edit page on 2010-08-16. 
    324325 
    325326 
  • trunk/w/extensions/omCollabSingleSignon.php

    r1778 r1798  
    215215        setcookie( $sPassCookie, md5( md5( $_POST['wpPassword'] ) ), time() + 31536000, RR_OMCOLLAB_DIRECTORY . 'blogs/' ); 
    216216     
    217         setcookie( 'omCollabExplore', $wgUser->getName(), time() + 31536000, RR_OMCOLLAB_DIRECTORY . '/' ); 
     217         
     218        setcookie( 'omCollabExplore', $wgUser->getName(), time() + 31536000, RR_OMCOLLAB_DIRECTORY); 
    218219        setcookie( 'omCollabExplore', $wgUser->getName(), time() + 31536000, RR_OMCOLLAB_DIRECTORY . 'home/' ); 
    219220        setcookie( 'omCollabExplore', $wgUser->getName(), time() + 31536000, RR_OMCOLLAB_DIRECTORY . 'wiki/' ); 
     
    298299 
    299300        // omExplore                                                                         
    300         setcookie( 'omCollabExplore', false, time() + 31536000, RR_OMCOLLAB_DIRECTORY . '/' ); 
     301        setcookie( 'omCollabExplore', false, time() + 31536000, RR_OMCOLLAB_DIRECTORY ); 
    301302        setcookie( 'omCollabExplore', false, time() + 31536000, RR_OMCOLLAB_DIRECTORY . 'home/' );             
    302303    setcookie( 'omCollabExplore', false, time() + 31536000, RR_OMCOLLAB_DIRECTORY . 'wiki/' ); 
  • trunk/w/includes/specials/SpecialDocConvert.php

    r1075 r1798  
    169169                                 
    170170                                $wgOut->addHTML("Your document was converted successfully.  Please press Preview below to preview and save the page.<br /><br />"); 
     171                                // Edited by zhongzhen on 2010-08-16. cols value was changed from 80 to 65 
    171172                                $wgOut->addHTML(" 
    172173                                        <form id='editform' name='editform' method='post' action='$title' enctype='multipart/form-data'> 
    173                                         <textarea tabindex='1' accesskey=',' name='wpTextbox1' id='wpTextbox1' rows='25' cols='80' >$mediaWikiTxtData</textarea> 
     174                                        <textarea tabindex='1' accesskey=',' name='wpTextbox1' id='wpTextbox1' rows='25' cols='65' >$mediaWikiTxtData</textarea> 
    174175                                        <input id='wpPreview' name='wpPreview' type='submit' tabindex='4' value='Show preview' accesskey='p' title='Preview your changes, please use this before saving! [p]' /> 
    175176                                        </form> 
  • trunk/w/skins/Mike2.php

    r1778 r1798  
    111111                        <?php 
    112112                        # Allow MediaWiki:Sidebar article to be wikitext 
    113                         /*global $wgUser,$wgTitle,$wgParser; 
     113                        global $wgUser,$wgTitle,$wgParser; 
    114114                        $side = new Article(Title::newFromText('Sidebar',NS_MEDIAWIKI)); 
    115115                        if (is_object($wgParser)) { $psr = $wgParser; $opt = $wgParser->mOptions; } 
     
    117117                        if (!is_object($opt)) $opt = ParserOptions::newFromUser($wgUser); 
    118118                        $html = $psr->parse($side->fetchContent(),$wgTitle,$opt,true,true)->getText(); 
    119                         echo preg_replace("/<li>\\s*<\\/li>/",'',$html);*/ ?> 
     119                        echo preg_replace("/<li>\\s*<\\/li>/",'',$html); ?> 
    120120                        <!-- Submenu End --> 
    121121 
Note: See TracChangeset for help on using the changeset viewer.