Changeset 13945

Show
Ignore:
Timestamp:
12/18/07 12:23:56 (9 months ago)
Author:
flack
Message:

a few more spelling fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.core/documentation/CHANGES

    r13625 r13945  
    8181    metadata about the component itself. This will allow the processing of 
    8282    Privileges, Classes etc. without loading the full component. 
    83   + Introduced a temporary system to accociate a permalink and a last modified 
     83  + Introduced a temporary system to associate a permalink and a last modified 
    8484    timestamp with a context. This will be superseeded with a full request 
    8585    rewrite after the release of MidCOM 2.6 
     
    228228    in place, but it will be deprecated in 2.6. Components not using the 
    229229    new interface base class will then cease to work. 
    230   + Added a Metadata interface that is independant of the actual object. 
     230  + Added a Metadata interface that is independent of the actual object. 
    231231    It uses GUIDs to link to the conent objects, which can be retrieved 
    232232    using NAP. This is finally a single way to set and retrieve metadata 
     
    700700    strcmp instead of a "==". This is geared for configuration UIs 
    701701    which need a strict difference between "" (parameter unset) and 
    702     "0" (mostly false), which is impossible to distinguish safly in an 
     702    "0" (mostly false), which is impossible to distinguish safely in an 
    703703    PHP-supported auto-typecasted way. 
    704704  + Added mgd_update_article_created() support to the unixdate datatype. 
     
    791791  - The datamanager now visually distinguishes required fields 
    792792    and missing required fields from regular ones. There are 
    793     two CSS classes to faciliate this. 
     793    two CSS classes to facilitate this. 
    794794  - Fix for #58 (errors during upload of a PDF file) 
    795795 
  • trunk/midcom/midcom.core/midcom/application.php

    r13884 r13945  
    2424 * - Provide a specialized mechanism to dynamically invoke a component's 
    2525 *   Administration Interface. 
    26  * - Provide a basic context mechanism that allows each independant component 
     26 * - Provide a basic context mechanism that allows each independent component 
    2727 *   invocation to access its own context information. 
    2828 * 
     
    109109    /** 
    110110     * Holds the component context information. This is an array of arrays, the outer 
    111      * one indexed by context IDs, thie inner one indexed by context keys. Only valid 
     111     * one indexed by context IDs, the inner one indexed by context keys. Only valid 
    112112     * of the system has left the code-init phase. 
    113113     * 
     
    651651     * global $view; 
    652652     * $_MIDCOM->dynamic_load($view['url1']); 
    653      * // You will most probably fail, could even loop infinitly! 
     653     * // You will most probably fail, could even loop infinitely! 
    654654     * $_MIDCOM->dynamic_load($view['url2']); 
    655655     * ?> 
     
    657657     * 
    658658     * The reason why this usually fails is, that the $view you have been using during 
    659      * the first call was overwritten by the othter component during it, $view['url2'] 
     659     * the first call was overwritten by the other component during it, $view['url2'] 
    660660     * is now empty. If you are now on the homepage, the homepage would start loading 
    661661     * itself again and again. 
     
    700700        // enter that context and prepare its data structure. 
    701701        $context = $this->_create_context(null, $_MIDCOM->get_context_data(MIDCOM_CONTEXT_ROOTTOPIC)); 
    702          
     702 
    703703        if ($pass_get) 
    704704        { 
     
    714714        $this->_currentcontext = $context; 
    715715 
    716         /* "content-cache" for DLs, check_hit */  
     716        /* "content-cache" for DLs, check_hit */ 
    717717        if ($this->cache->content->check_dl_hit($context, $config)) 
    718718        { 
     
    745745            // Leave Context 
    746746            $this->_currentcontext = $oldcontext; 
    747              
     747 
    748748            return; 
    749749        } 
     
    997997        { 
    998998            $object = $this->_parser->get_current_object(); 
    999             if (   !is_object($object)  
     999            if (   !is_object($object) 
    10001000                || !$object->guid ) 
    10011001            { 
     
    10371037                //$this->_handle($path); 
    10381038                $this->_handle( $this->get_context_data( MIDCOM_CONTEXT_COMPONENT ) ); 
    1039                  
     1039 
    10401040                $success = true; 
    10411041                break; 
     
    11071107     * 
    11081108     * from the Component Loader and instruct it to handle a request. If the handler 
    1109      * hook returnes false (i.e. handling failed), it will produce an Errorpage 
     1109     * hook returns false (i.e. handling failed), it will produce an Errorpage 
    11101110     * according to the error code and -string of the component in question. 
    11111111     * 
     
    11891189     * Used by _process(), it checks if the component associated to $object is able 
    11901190     * to handle the request. First it will load the component associated to $object. 
    1191      * Then it will fetch the COMPONENT class accoicated to the MidCOM. After the 
     1191     * Then it will fetch the COMPONENT class associated to the MidCOM. After the 
    11921192     * local configuration is retrieved from the object in question the component will 
    11931193     * be asked, if it can handle the request. TRUE or FALSE will be returned 
     
    12481248     * 
    12491249     * This is a small wrapper function that retrieves all local configuration data 
    1250      * attachted to $object. The assigned component is used to determine which 
     1250     * attached to $object. The assigned component is used to determine which 
    12511251     * parameter domain has to be used. 
    12521252     * 
     
    12631263        } 
    12641264 
    1265         $path = $this->get_context_data(MIDCOM_CONTEXT_COMPONENT);         
     1265        $path = $this->get_context_data(MIDCOM_CONTEXT_COMPONENT); 
    12661266        if (!isset($configs[$context_id][$object->guid])) 
    12671267        { 
    12681268            $configs[$context_id][$object->guid] = new midcom_helper_configuration($object, $path); 
    12691269        } 
    1270          
     1270 
    12711271        return $configs[$context_id][$object->guid]; 
    12721272    } 
     
    15061506     * 
    15071507     * Returns Component Context Information associated to the component with the 
    1508      * context ID $contextid idetentified by $key. Omitting $contextid will yield 
     1508     * context ID $contextid identified by $key. Omitting $contextid will yield 
    15091509     * the variable from the current context. 
    15101510     * 
     
    15911591     * 
    15921592     * This method allows you to get custom data to a given context. 
    1593      * The system will automatically accociate this data with the component from the 
     1593     * The system will automatically associate this data with the component from the 
    15941594     * currently active context. You cannot access the custom data of any other 
    15951595     * component this way, it is private to the context. You may attach information 
    15961596     * to other contexts, which will be associated with the current component, so 
    1597      * you have a clean namespace independantly from which component or context you 
     1597     * you have a clean namespace independently from which component or context you 
    15981598     * are operating of. All calls honor references of passed data, so you can use 
    15991599     * this for central controlling objects. 
    16001600     * 
    16011601     * Note, that if you are working from a library like the datamanager is, you 
    1602      * cannot override the component accociation done by the system. Instead you 
     1602     * cannot override the component association done by the system. Instead you 
    16031603     * should add your libraries name (like midcom.helper.datamanager) as a prefix, 
    16041604     * separated by a dot. I know, that this is not really an elegant solution and 
     
    16271627     * </code> 
    16281628     * 
    1629      * A very important cavet of PHP references can be seen here: You must never give 
    1630      * a reference to $this outside of a clas within a constructor. class_one uses an 
     1629     * A very important caveat of PHP references can be seen here: You must never give 
     1630     * a reference to $this outside of a class within a constructor. class_one uses an 
    16311631     * init function therefore. See the PHP documentation for a few more details on 
    1632      * all this. Component authors can usually safly set this up at the beginning of the 
     1632     * all this. Component authors can usually safely set this up at the beginning of the 
    16331633     * can_handle() and/or handle() calls. 
    16341634     * 
     
    16551655     * 
    16561656     * Note, that if you are working from a library like the datamanager is, you 
    1657      * cannot override the component accociation done by the system. Instead you 
     1657     * cannot override the component association done by the system. Instead you 
    16581658     * should add your libraries name (like midcom.helper.datamanager) as a prefix, 
    16591659     * separated by a dot. I know, that this is not really an elegant solution and 
     
    17241724     * Appends a substyle after the currently selected component style. 
    17251725     * 
    1726      * Appends a substyle after the currently selected component style, effectivly 
     1726     * Appends a substyle after the currently selected component style, effectively 
    17271727     * enabling a depth of more then one style during substyle selection. This is only 
    1728      * effecitve if done during the handle phase of the component and allows the 
     1728     * effective if done during the handle phase of the component and allows the 
    17291729     * component. The currently selected substyle therefore is now searched one level 
    17301730     * deeper below "subStyle". 
     
    17581758     * Prepends a substyle before the currently selected component style. 
    17591759     * 
    1760      * Prepends a substyle before the currently selected component style, effectivly 
     1760     * Prepends a substyle before the currently selected component style, effectively 
    17611761     * enabling a depth of more then one style during substyle selection. This is only 
    1762      * effecitve if done during the handle phase of the component and allows the 
     1762     * effective if done during the handle phase of the component and allows the 
    17631763     * component. The currently selected substyle therefore is now searched one level 
    17641764     * deeper below "subStyle". 
     
    18911891    /** 
    18921892     * Returns the Client Status Array which gives you all available information about 
    1893      * the client accessing us.Currently incorprated is a recognition of client OS 
     1893     * the client accessing us.Currently incorporated is a recognition of client OS 
    18941894     * and client browser. 
    18951895     * 
     
    20622062     * serve_attachment   - Serves attachment including all necessary headers 
    20632063     * get_midgard        - Returns mgd_get_midgard with updated "self" member 
    2064      * _l10n_edit_wrapper - Invoces the l10n string editor 
     2064     * _l10n_edit_wrapper - Invokes the l10n string editor 
    20652065     * add_jsfile         - Add a JavaScript URL to the load queue 
    20662066     * add_jscript        - Add JavaScript code to the load queue 
     
    20702070     * add_meta_head      - Add metatags to the page's head. 
    20712071     * print_jscripts     - Print the queued-up JavaScript code (for inclusion in the HEAD section) 
    2072      * pirnt jsonload     - Prints the onload command if required (for inclusion as a BODY attribute) 
     2072     * print jsonload     - Prints the onload command if required (for inclusion as a BODY attribute) 
    20732073     * check_memberships  - Checks whether the user is in a given group 
    20742074     * relocate           - executes a HTTP relocation to the given URL 
     
    23552355            } 
    23562356        } 
    2357      
     2357 
    23582358        debug_push("midcom_application::serve_attachment"); 
    23592359 
     
    24482448     * 
    24492449     * The script file is executed in the cache's live mode to allow for long running 
    2450      * scripts (just produce any output regularily, or Apache will kill you after ~ 2 mins.). 
     2450     * scripts (just produce any output regularly, or Apache will kill you after ~ 2 mins.). 
    24512451     * 
    24522452     * The remaining arguments will be placed into the globals $argc/argv. 
     
    28042804 
    28052805    /** 
    2806      * Echo the registred javascript code. 
     2806     * Echo the registered javascript code. 
    28072807     * 
    28082808     * This allows MidCOM components to register JavaScript code 
     
    29652965     * Relocate to another URL. 
    29662966     * 
    2967      * Helper function to faciliate HTTP relocation (Location: ...) headers. The helper 
     2967     * Helper function to facilitate HTTP relocation (Location: ...) headers. The helper 
    29682968     * actually can distinguish between site-local, absolute redirects and external 
    29692969     * redirects. If you add an absolute URL starting with a "/", it will 
     
    30943094 
    30953095    /** 
    3096      * This is a temporary tranisition function used to set the currently known and required 
     3096     * This is a temporary transition function used to set the currently known and required 
    30973097     * Request Metadata: The last modified timestamp and the permalink GUID. 
    30983098     * 
    30993099     * <i>Author's note:</i> This function is a temporary solution which is used until the 
    3100      * Request handling code of MidCOM has been rewritten. Hence the _26_ secition in its name. 
     3100     * Request handling code of MidCOM has been rewritten. Hence the _26_ section in its name. 
    31013101     * I have decided to put them into their own function instead of letting you access the 
    31023102     * corresponding context keys directly. Thus, there is also corresponding getter-function, 
     
    31173117 
    31183118    /** 
    3119      * This is a temporary tranisition function used to get the currently known and required 
     3119     * This is a temporary transition function used to get the currently known and required 
    31203120     * Request Metadata: The last modified timestamp and the permalink GUID. 
    31213121     * 
    31223122     * <i>Author's note:</i> This function is a temporary solution which is used until the 
    3123      * Request handling code of MidCOM has been rewritten. Hence the _26_ secition in its name. 
     3123     * Request handling code of MidCOM has been rewritten. Hence the _26_ section in its name. 
    31243124     * I have decided to put them into their own function instead of letting you access the 
    31253125     * corresponding context keys directly. Thus, there is also corresponding setter-function, 
  • trunk/midcom/midcom.core/midcom/baseclasses/components/request.php

    r13625 r13945  
    226226 * an array of standard request handler declarations. Both handler identifiers and 
    227227 * argument lists are <em>relative</em> to the base URL of the plugin (see below), 
    228  * not to the component running the problem. You are thus completely location independant. 
     228 * not to the component running the problem. You are thus completely location independent. 
    229229 * The handler callback must be statically callable. 
    230230 * 
  • trunk/midcom/midcom.core/midcom/helper/imagefilter.php

    r13625 r13945  
    1414 * of the individual methods. 
    1515 * 
    16  * This clas always works on existing files at this time. It supports scripting 
     16 * This class always works on existing files at this time. It supports scripting 
    1717 * support by using the process_chain / process_command helper functions, which 
    1818 * allow the application to let the user specifiy a list of filters that should 
  • trunk/midcom/midcom.core/midcom/helper/mailtemplate.php

    r13625 r13945  
    6767 * "__KEY_SUBKEY__". This mode will use the CSV (string-only) representation of 
    6868 * the various datatypes as a replacement value. This way even BLOB-Types and 
    69  * the like can be safly put into an E-Mail. 
     69 * the like can be safely put into an E-Mail. 
    7070 *  
    7171 * The dump syntax will omit all values tagged as "hidden" or "aisonly", they 
  • trunk/midcom/midcom.core/midcom/services/auth.php

    r13824 r13945  
    297297     * Midgard Administrator, false otherwise. 
    298298     * 
    299      * This effectivly maps to $_MIDGARD['admin']; but it is suggested to use the auth class 
     299     * This effectively maps to $_MIDGARD['admin']; but it is suggested to use the auth class 
    300300     * for consistency reasons nevertheless. 
    301301     * 
  • trunk/midcom/midcom.core/midcom/services/cache.php

    r13129 r13945  
    3030 * services available (as a component/core author). 
    3131 * 
    32  * The cache service is independant from the MidCOM Core, as it has to be started up at the 
     32 * The cache service is independent from the MidCOM Core, as it has to be started up at the 
    3333 * beginning of the request. Cache modules are loaded on-demand. 
    3434 * 
  • trunk/midcom/midcom.core/midcom/services/i18n.php

    r13882 r13945  
    2121 * /lib/midcom/services/_i18n_language-db.dat for details. 
    2222 * 
    23  * This class is able to run independantly from midcom_application 
     23 * This class is able to run independently from midcom_application 
    2424 * due to the fact that it is used in the cache_hit code. 
    2525 * 
  • trunk/midcom/midcom.core/midcom/services/indexer/document.php

    r13625 r13945  
    221221    /** 
    222222     * The full path to the topic that houses the document. For external resources, 
    223      * this should be either a MidCOM topic, to which this resource is accociated or 
     223     * this should be either a MidCOM topic, to which this resource is associated or 
    224224     * some "directory" after which you could filter. You may also leave 
    225225     * it empty prohibiting it to appear on any topic-specific search. 
    226226     * 
    227227     * The value should be fully qualified, as returned by MIDCOM_NAV_FULLURL, including 
    228      * a trailing slahs, f.x. https://host/path/to/topic/ 
     228     * a trailing slash, f.x. https://host/path/to/topic/ 
    229229     * 
    230230     * This is optional. 
  • trunk/midcom/midcom.core/midcom/services/rcs/config.php

    r5529 r13945  
    1212  
    1313/** 
    14  * The clas containing the configurationoptions for RCS. 
     14 * The class containing the configurationoptions for RCS. 
    1515 * @see midcom_services_rcs for an overview of the options 
    1616 */ 
  • trunk/midcom/midcom.helper.datamanager/datatype.php

    r13625 r13945  
    270270     *  
    271271     * The default behavior is to simply store 
    272      * the variable's string representation into the database. It returne
     272     * the variable's string representation into the database. It return
    273273     * one of the MIDCOM Datamanager's process_form() returncodes accordingly. 
    274274     *  
  • trunk/midcom/midcom.helper.datamanager/datatype_boolean.php

    r1080 r13945  
    2929    function save_to_storage()  
    3030    { 
    31         /* Transform value to string, so that it works safly even with parameters */ 
     31        /* Transform value to string, so that it works safely even with parameters */ 
    3232        $oldvalue = $this->_value; 
    3333        if ($this->_value) 
  • trunk/midcom/midcom.helper.datamanager/widget_schemaselect.php

    r11907 r13945  
    3232 * <b>widget_schemaselect_linkto:</b> Contains the name of the field from the current 
    3333 * schema which will contain the path of the schema database. As usual, you  
    34  * can either directly write the path to a snippet or use thie file: prefix to refer 
     34 * can either directly write the path to a snippet or use the file: prefix to refer 
    3535 * to a MidCOM library file. This field is mandatory. 
    3636 *  
  • trunk/midcom/midcom.helper.datamanager2/widget/password.php

    r10966 r13945  
    1717 * (and should not) display an existing password. The rule is, that as long as the value 
    1818 * is empty, no password change will be given to the caller during the synchronization 
    19  * (effectivly skipping the operation). 
     19 * (effectively skipping the operation). 
    2020 * 
    2121 * <b>Available configuration options:</b> 
  • trunk/midcom/midcom.helper.datamanager2/widget/simpledate.php

    r12831 r13945  
    1111 * Datamanager 2 simple date widget 
    1212 * 
    13  * This widget is built around the PEAR QuickForm Date widget, which effectivly 
     13 * This widget is built around the PEAR QuickForm Date widget, which effectively 
    1414 * consists of a set of input fields for each part of the date/time. It is limited 
    1515 * to seconds precision therefore. Currently unsupported are the Day options (selects 
  • trunk/midcom/midcom.helper.imagepopup/documentation/TODO

    r3249 r13945  
    383817:26 < torben> creat a simple dm2 schema with a single images type in it 
    393917:27 < torben> create a datamanager instance and use the setimage calls of the type to add images to it (you don't need the formmanager / widget here obviously) 
    40 17:27 < torben> cavets: 
     4017:27 < torben> caveats: 
    414117:27 < torben> attachment deletion needs very careful treatment 
    424217:27 < torben> many attachments are grouped together, as you already discovered yourself 
  • trunk/midcom/net.nehmer.account/documentation/CHANGES

    r13788 r13945  
    4747  + The config option register_allow_types can now be used to 
    4848    limit the account types that are open for registration. This 
    49     is independant of the account definitons. 
     49    is independent of the account definitons. 
    5050 
    51512006-04-06 (1.0.1) torben 
  • trunk/midcom/net.nehmer.account/handler/view.php

    r13720 r13945  
    710710        if ($this->_view_quick) 
    711711        { 
    712             // This will effectivly hide all user-defined fields. 
     712            // This will effectively hide all user-defined fields. 
    713713            $this->_visible_fields_user_selection = Array(); 
    714714        } 
  • trunk/midcom/net.nehmer.branchenbuch/branche.php

    r11359 r13945  
    298298     * Basically, the system runs two queries, one for the main categories, another for the 
    299299     * subcategories. The lists are merged on the PHP level afterwards. This should be faster 
    300      * as having independant queries for the subcategories for each category. 
     300     * as having independent queries for the subcategories for each category. 
    301301     * 
    302302     * The logic should take over the sorting from the SQL resultset, so no explicit sort() 
  • trunk/midcom/net.nemein.payment/handler/nordea.php

    r13424 r13945  
    218218 
    219219    /** 
    220      * Renders the payment link, preparation in thie order: 
     220     * Renders the payment link, preparation in this order: 
    221221     *  
    222222     * 1. Format the amount string 
  • trunk/midcom/net.nemein.registrations/config/schemadb_default.inc

    r5497 r13945  
    118118'person' => Array 
    119119( 
    120     'description' => 'Registred Person Record', 
     120    'description' => 'Registered Person Record', 
    121121    'fields' => Array 
    122122    ( 
  • trunk/midcom/net.nemein.registrations/documentation/CHANGES

    r13624 r13945  
    8181 
    82822004-06-14 torben 
    83   - Moved the event management to faciliate the datamanager. 
     83  - Moved the event management to facilitate the datamanager. 
    8484    Event creation/deletion is currently missing, as is a code 
    8585    cleanup. A example schema with its requirements in the docs