Changeset 13424

Show
Ignore:
Timestamp:
11/14/07 20:04:24 (10 months ago)
Author:
flack
Message:

more spelling fixes ("a" and "an").
Hurray for regular expressions!

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/build/installMidcom.php

    r3767 r13424  
    169169    } 
    170170    /** 
    171      * returns a list of subdirectories and files as a assosiative  
     171     * returns a list of subdirectories and files as an assosiative  
    172172     * array 
    173173     * dirname => dirname  
  • trunk/midcom/build/installMidcomCore.php

    r5280 r13424  
    232232    } 
    233233    /** 
    234      * returns a list of subdirectories and files as a assosiative  
     234     * returns a list of subdirectories and files as an assosiative  
    235235     * array 
    236236     * dirname => dirname  
  • trunk/midcom/cc.kaktus.exhibitions/handler/create.php

    r10959 r13424  
    126126                $extra = ''; 
    127127                 
    128                 // Do until an unique name in the root event has been found 
     128                // Do until a unique name in the root event has been found 
    129129                do 
    130130                { 
  • trunk/midcom/de.bitfolge.feedcreator/feedcreator.php

    r12046 r13424  
    5858        changed default content-type to application/xml 
    5959        added character encoding setting 
    60         fixed numerous smaller bugs (thanks to Sšren Fuhrmann of golem.de) 
     60        fixed numerous smaller bugs (thanks to Sᅵren Fuhrmann of golem.de) 
    6161        improved changing ATOM versions handling (thanks to August Trometer) 
    62         improved the UniversalFeedCreator's useCached method (thanks to Sšren Fuhrmann of golem.de) 
    63         added charset output in HTTP headers (thanks to Sšren Fuhrmann of golem.de) 
    64         added Slashdot namespace to RSS 1.0 (thanks to Sšren Fuhrmann of golem.de) 
     62        improved the UniversalFeedCreator's useCached method (thanks to Sᅵren Fuhrmann of golem.de) 
     63        added charset output in HTTP headers (thanks to Sᅵren Fuhrmann of golem.de) 
     64        added Slashdot namespace to RSS 1.0 (thanks to Sᅵren Fuhrmann of golem.de) 
    6565 
    6666v1.6    05-10-04 
     
    8080 
    8181v1.5.1  01-27-04 
    82         fixed some RSS 1.0 glitches (thanks to StŽphane Vanpoperynghe) 
     82        fixed some RSS 1.0 glitches (thanks to Stᅵphane Vanpoperynghe) 
    8383        fixed some inconsistencies between documentation and code (thanks to Timothy Martin) 
    8484 
     
    246246 
    247247/** 
    248  * An FeedImage may be added to a FeedCreator feed. 
     248 * A FeedImage may be added to a FeedCreator feed. 
    249249 * @author Kai Blankenhorn <kaib@bitfolge.de> 
    250250 * @since 1.3 
     
    295295 
    296296/** 
    297  * An FeedHtmlField describes and generates 
     297 * A FeedHtmlField describes and generates 
    298298 * a feed, item or image html field (probably a description). Output is  
    299299 * generated based on $truncSize, $syndicateHtml properties. 
     
    565565     
    566566        /** 
    567          * Adds an FeedItem to the feed. 
     567         * Adds a FeedItem to the feed. 
    568568         * 
    569569         * @param object FeedItem $item The FeedItem to add to the feed. 
     
    12631263 
    12641264/** 
    1265  * PHPCreator is a FeedCreator that implements a PHP output, suitable for a include 
     1265 * PHPCreator is a FeedCreator that implements a PHP output, suitable for an include 
    12661266 * 
    12671267 * @since 1.7.3 
     
    19721972//while ($data = mysql_fetch_object($res)) {  
    19731973        $item = new FeedItem();  
    1974         $item->title = "This is an the test title of an item";  
     1974        $item->title = "This is a the test title of an item";  
    19751975        $item->link = "http://localhost/item/";  
    19761976        $item->description = "<b>description in </b><br/>HTML";  
  • trunk/midcom/de.linkm.fontrenderer/main.php

    r3784 r13424  
    354354         
    355355        if ($info === false || $info[2] != 3) { 
    356             debug_add("This does not look like an PNG Image, getimagesize returned this:", $info, MIDCOM_LOG_ERROR); 
     356            debug_add("This does not look like a PNG Image, getimagesize returned this:", $info, MIDCOM_LOG_ERROR); 
    357357            debug_pop(); 
    358358            return false; 
  • trunk/midcom/midcom.admin.settings/editor.php

    r12923 r13424  
    142142 
    143143    /** 
    144      * Displays an config edit view. 
     144     * Displays a config edit view. 
    145145     * 
    146146     */ 
  • trunk/midcom/midcom.core/autoload.php

    r13378 r13424  
    322322                         
    323323                        /* Generate php cache file */ 
    324                         $cache_content = "<?php\n\t// this is a automatically generated cache file.\n" 
     324                        $cache_content = "<?php\n\t// this is an automatically generated cache file.\n" 
    325325                                ."\t// it serves as 'class name' / 'class file' association index for the SmartLoader\n"; 
    326326                        foreach($this->classIndex as $class_name => $class_file) { 
  • trunk/midcom/midcom.core/constants.php

    r13295 r13424  
    200200 
    201201/** 
    202  * Optional arguments for an POST request. 
     202 * Optional arguments for a POST request. 
    203203 * 
    204204 * @see midcom_helper_toolbar 
  • trunk/midcom/midcom.core/midcom/application.php

    r13404 r13424  
    2222 * - Provide a mechanism to dynmaically load a second component during a page 
    2323 *   run. 
    24  * - Provide an specialized mechanism to dynamically invocate a component's 
     24 * - Provide a specialized mechanism to dynamically invocate a component's 
    2525 *   Administration Interface. 
    2626 * - Provide a basic context mechanism that allows each independant component 
     
    536536     * code-init      - Handle the current request 
    537537     * content        - Show the current pages output 
    538      * dynamic_load   - Dynamically load and execute an URL 
     538     * dynamic_load   - Dynamically load and execute a URL 
    539539     * finish         - Cleanup Work 
    540540     */ 
     
    627627     * - This function can (and usually will be) called during the content output phase 
    628628     *   of the system. 
    629      * - A call to generate_error will result in an regular error page output if 
     629     * - A call to generate_error will result in a regular error page output if 
    630630     *   we still are in the code-init phase. 
    631631     * 
     
    20382038     * 
    20392039     * generate_error     - Generate HTTP Error 
    2040      * load_snippet       - Load an snippet with error-checking 
     2040     * load_snippet       - Load a snippet with error-checking 
    20412041     * serve_snippet      - Serves snippet including all neccessary headers 
    20422042     * serve_attachment   - Serves attachment including all neccessary headers 
     
    25392539            } 
    25402540        } 
    2541         // Adds an URL for a <script type="text/javascript" src="tinymce.js"></script> 
     2541        // Adds a URL for a <script type="text/javascript" src="tinymce.js"></script> 
    25422542        // like call. $url is inserted into src. Duplicates are omitted. 
    25432543        if (! in_array($url, $this->_jsfiles)) 
     
    26822682     * Register a linkelement to be placed in the pagehead. 
    26832683     * This allows MidCom components to register extra css-links in the pagehead. 
    2684      * Example to use this to include an css link: 
     2684     * Example to use this to include a css link: 
    26852685     * <pre> 
    26862686     * $attributes = array ('rel' => 'stylesheet', 
     
    27702770    function add_jsonload($method) 
    27712771    { 
    2772         // Adds an method name for <body onload=".."> The string must not end with a ;, it is added automagically 
     2772        // Adds a method name for <body onload=".."> The string must not end with a ;, it is added automagically 
    27732773        $this->_jsonload[] = $method; 
    27742774    } 
     
    29412941     * automatically add an http[s]://$servername:$server_port in front of that URL; 
    29422942     * note that the server_port is optional and only added if non-standard ports are 
    2943      * used. If the url does not start with http[s], it is taken as an URL relative to 
     2943     * used. If the url does not start with http[s], it is taken as a URL relative to 
    29442944     * the current anchor prefix, which gets prepended automatically (no other characters 
    29452945     * as the anchor prefix get inserted). 
     
    29702970                } 
    29712971                $url =  "{$prefix}{$url}"; 
    2972                 debug_add("This is an relative URL from the local MidCOM site, prepending anchor prefix: {$url}"); 
     2972                debug_add("This is a relative URL from the local MidCOM site, prepending anchor prefix: {$url}"); 
    29732973            } 
    29742974            else 
     
    31023102     * @return Array An array with the two keys 'lastmodified' and 'permalinkguid' containing the 
    31033103     *     values set with the setter pendant. For ease of use, there is also a key 'permalink' 
    3104      *     which contains an ready-made permalink. 
     3104     *     which contains a ready-made permalink. 
    31053105     * @see set_26_reqeust_metadata 
    31063106     */ 
  • trunk/midcom/midcom.core/midcom/baseclasses/components/interface.php

    r13392 r13424  
    786786     * MidCOM content tree (it is checked through NAP). 
    787787     * 
    788      * If the guid could be successfully resolved, an URL local to the given topic without a 
     788     * If the guid could be successfully resolved, a URL local to the given topic without a 
    789789     * leading slash must be returned (f.x. 'article.html'), emtpy strings ('') are allowed 
    790790     * indicating root page access. If the GUID is invalid, null will be returned. 
     
    10021002     * MidCOM content tree (it is checked through NAP). 
    10031003     * 
    1004      * If the guid could be successfully resolved, an URL local to the given topic without a 
     1004     * If the guid could be successfully resolved, a URL local to the given topic without a 
    10051005     * leading slash must be returned (f.x. 'article.html'), emtpy strings ('') are allowed 
    10061006     * indicating root page access. If the GUID is invalid, null will be returned. 
  • trunk/midcom/midcom.core/midcom/baseclasses/components/request.php

    r13404 r13424  
    5050 *   request handler class, in that case you just supply the name of the method. Alternativly, 
    5151 *   you can refer to an external class for request processing using an array syntax. The 
    52  *   first array member must either contain the name of a existing class or a reference to 
     52 *   first array member must either contain the name of an existing class or a reference to 
    5353 *   an already instantiated class. This value has 
    5454 *   no default and must be set. The actual methods called will have either an _handle_ or _show_ 
     
    177177 * <b>Automatic handler class instantination</b> 
    178178 * 
    179  * If you specify a class name instead of a class isntance as a exec handler, MidCOM will 
     179 * If you specify a class name instead of a class isntance as an exec handler, MidCOM will 
    180180 * automatically create an instance of that class type and initialize it. These 
    181181 * so-called handler classes must be a subclass of midcom_baseclasses_components_handler. 
     
    734734 
    735735    /** 
    736      * This is an helper function used during handler startup. It ensures that handler class is 
     736     * This is a helper function used during handler startup. It ensures that handler class is 
    737737     * loaded. It has auto-class-loading support, which allows the component author to have 
    738738     * the handler classes only loaded on demand (see class introduction). 
  • trunk/midcom/midcom.core/midcom/baseclasses/components/request_admin.php

    r13378 r13424  
    1010 
    1111/** 
    12  * Base class to encaspulate a admin request to the component, instantiated by the MidCOM 
     12 * Base class to encaspulate an admin request to the component, instantiated by the MidCOM 
    1313 * component interface. 
    1414 * 
     
    2727 * Finally, 'disable_return_to_topic', if set to true, will hide the automatically 
    2828 * added "Return to topic" toolbar item. This is useful for components which have only 
    29  * an configuration interface but nothing more, it defaults to false. 
     29 * a configuration interface but nothing more, it defaults to false. 
    3030 * 
    3131 * It uses the MidCOM l10n string 'return to topic' as title for the leaf-toolbar-item added 
  • trunk/midcom/midcom.core/midcom/baseclasses/database/article.php

    r12719 r13424  
    1717 * obtainable as midcom_application::dbfactory. 
    1818 * 
    19  * This class uses a auto-generated base class provided by midcom_services_dbclassloader. 
     19 * This class uses an auto-generated base class provided by midcom_services_dbclassloader. 
    2020 * 
    2121 * <i>Automatic updaets:</i> 
     
    4343     * 
    4444     * This has mainly been introduced to aid backwards compatibility with 
    45      * legacy Midgard code. If a author id is invalid, the mgd_list_* calls 
     45     * legacy Midgard code. If an author id is invalid, the mgd_list_* calls 
    4646     * will fail. 
    4747     */ 
     
    9595    /** 
    9696     * Returns the Parent of the Article. This can either be another article if we have 
    97      * an reply article, or a topic otherwise. 
     97     * a reply article, or a topic otherwise. 
    9898     * 
    9999     * @return MidgardObject Parent Article or topic. 
  • trunk/midcom/midcom.core/midcom/baseclasses/database/attachment.php

    r12376 r13424  
    1717 * obtainable as midcom_application::dbfactory. 
    1818 * 
    19  * This class uses a auto-generated base class provided by midcom_services_dbclassloader. 
     19 * This class uses an auto-generated base class provided by midcom_services_dbclassloader. 
    2020 * 
    2121 * @package midcom.baseclasses 
  • trunk/midcom/midcom.core/midcom/baseclasses/database/element.php

    r3766 r13424  
    1717 * obtainable through the statically callable new_query_builder() DBA methods. 
    1818 * 
    19  * This class uses a auto-generated base class provided by midcom_services_dbclassloader. 
     19 * This class uses an auto-generated base class provided by midcom_services_dbclassloader. 
    2020 * 
    2121 * @package midcom.baseclasses 
  • trunk/midcom/midcom.core/midcom/baseclasses/database/event.php

    r11359 r13424  
    1717 * obtainable through the statically callable new_query_builder() DBA methods. 
    1818 * 
    19  * This class uses a auto-generated base class provided by midcom_services_dbclassloader. 
     19 * This class uses an auto-generated base class provided by midcom_services_dbclassloader. 
    2020 * 
    2121 * @package midcom.baseclasses 
     
    3131    /** 
    3232     * Returns the Parent of the Event. This can either be another event if we have 
    33      * an reply event, or a topic otherwise. 
     33     * a reply event, or a topic otherwise. 
    3434     * 
    3535     * @return MidgardObject Parent object or NULL if there is none. 
  • trunk/midcom/midcom.core/midcom/baseclasses/database/eventmember.php

    r3766 r13424  
    1919 * obtainable through the statically callable new_query_builder() DBA methods. 
    2020 *  
    21  * This class uses a auto-generated base class provided by midcom_services_dbclassloader. 
     21 * This class uses an auto-generated base class provided by midcom_services_dbclassloader. 
    2222 *  
    2323 * @package midcom.baseclasses 
  • trunk/midcom/midcom.core/midcom/baseclasses/database/group.php

    r12717 r13424  
    1717 * obtainable as midcom_application::dbfactory. 
    1818 *  
    19  * This class uses a auto-generated base class provided by midcom_services_dbclassloader. 
     19 * This class uses an auto-generated base class provided by midcom_services_dbclassloader. 
    2020 *  
    2121 * @package midcom.baseclasses 
  • trunk/midcom/midcom.core/midcom/baseclasses/database/host.php

    r3766 r13424  
    1919 * obtainable through the statically callable new_query_builder() DBA methods. 
    2020 *  
    21  * This class uses a auto-generated base class provided by midcom_services_dbclassloader. 
     21 * This class uses an auto-generated base class provided by midcom_services_dbclassloader. 
    2222 *  
    2323