Changeset 13129

Show
Ignore:
Timestamp:
10/27/07 19:47:20 (1 year ago)
Author:
flack
Message:

fixed a few spelling errors

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.core/midcom/baseclasses/components/request.php

    r12933 r13129  
    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 completly location independant. 
     228 * not to the component running the problem. You are thus completely location independant. 
    229229 * The handler callback must be statically callable. 
    230230 * 
     
    867867     * this phase to load plugins that need registering in the request switch on demand. 
    868868     * 
    869      * The advantage of this is that it is not neccessary, to load all plugins completly, 
     869     * The advantage of this is that it is not neccessary, to load all plugins completely, 
    870870     * you just have to know the "root" URL space (f.x. "/plugins/$name/"). 
    871871     * 
  • trunk/midcom/midcom.core/midcom/baseclasses/components/request_admin.php

    r12014 r13129  
    1313 * component interface. 
    1414 * 
    15  * This is largly equivalent to the regular request base class midcom_baseclasses_components_request 
     15 * This is largely equivalent to the regular request base class midcom_baseclasses_components_request 
    1616 * with the exception, that helper handlers exist for configuration management. 
    1717 * 
  • trunk/midcom/midcom.core/midcom/exec/index-legacy-attachments.php

    r11907 r13129  
    1111 *   varibales, recognized by their data_ name prefix. 
    1212 * - Any blob/image type attachments, recognized by some of their parameters. 
    13  * - Any leaves associated with net.siriux.photos topics are skipped completly. 
     13 * - Any leaves associated with net.siriux.photos topics are skipped completely. 
    1414 *  
    1515 * NAP will used to traverse the registered topic tree, indexing all attachments 
  • trunk/midcom/midcom.core/midcom/helper/metadata.php

    r12094 r13129  
    2828 * - <b>timestamp schedule_start:</b> The time upon which the object should be made visible. 0 for no restriction. 
    2929 * - <b>timestamp schedule_end:</b> The time upon which the object should be made invisible. 0 for no restriction. 
    30  * - <b>bool nav_noentry:</b> Set this to true if you do not want this object to appear in the navigation without it beeing completly hidden. 
     30 * - <b>bool nav_noentry:</b> Set this to true if you do not want this object to appear in the navigation without it beeing completely hidden. 
    3131 * - <b>bool hide:</b> Set this to true to hide the object on-site, overriding scheduling. 
    3232 * - <b>string keywords:</b> The keywords for this object, should be used for META HTML headers. 
  • trunk/midcom/midcom.core/midcom/helper/toolbar.php

    r12908 r13129  
    8282 * The hidden boolean flag is very similar to the enabled one: Instead of 
    8383 * having unclickable links, it just hides the toolbar button entirely. 
    84  * This is useful for access control checks, where you want to completly 
     84 * This is useful for access control checks, where you want to completely 
    8585 * hide items without access. The difference from just not adding the 
    8686 * corresponding variable is that you can have a consistent set of 
  • trunk/midcom/midcom.core/midcom/services/_i18n_l10n.php

    r12949 r13129  
    3535 *  
    3636 * All keys and values will be trim'ed when encountered, so leading and trailing 
    37  * whitespace will be eliminated completly. 
     37 * whitespace will be eliminated completely. 
    3838 *  
    3939 * Windows-style line endings (\r\n) will be silently converted to the UNIX 
     
    145145    /** 
    146146     * The constructor loads the translation library indicated by the snippetdir 
    147      * path $library and initializes the system completly. The output character  
     147     * path $library and initializes the system completely. The output character  
    148148     * set will be initizialized to the language's default. 
    149149     *  
     
    578578     * @param string $laguage           The language to edit. 
    579579     * @param string $translation       The UTF-8 encoded string to add to the translation table. 
    580      * @deprecated This method is deprecated and will be dismissed in 2.2.0, the update method replaces this one completly. 
     580     * @deprecated This method is deprecated and will be dismissed in 2.2.0, the update method replaces this one completely. 
    581581     */ 
    582582    function create ($string, $language, $translation) { 
  • trunk/midcom/midcom.core/midcom/services/auth.php

    r13067 r13129  
    2121 * the basic requirements for the ACL system undergone a major chance during the implementation, 
    2222 * as the DBA layer with full access control even for database I/O was added. The proposals 
    23  * from the mRFC are largly outdated therefore. What is documented on the main MidCOM 
     23 * from the mRFC are largely outdated therefore. What is documented on the main MidCOM 
    2424 * documentation has to take priority obviously. 
    2525 * 
     
    5757 * The value is one of MIDCOM_PRIVILEGE_ALLOW or MIDCOM_PRIVLEGE_DENY, which either grants or 
    5858 * revokes a privlege. Be aware, that unsetting a privilege does not set it to MIDCOM_PRIVLEGE_DENY, 
    59  * but clears the entry completly, which means that the privilege value inherited from the parents 
     59 * but clears the entry completely, which means that the privilege value inherited from the parents 
    6060 * is now in effect. 
    6161 * 
     
    7474 * and ensure, that there is a value set for all privileges. 
    7575 * 
    76  * These defaults are defined by the MidCOM core and the components respectivly and are very restrictive, 
     76 * These defaults are defined by the MidCOM core and the components respectively and are very restrictive, 
    7777 * basically granting read-only access to all non sensitive information. 
    7878 * 
     
    108108 * 
    109109 * This kind of privileges are rights, assigned directly to a user. Similar to the systemwide defaults, 
    110  * they too apply to any operation done by the user / group respectivly throughout the system. The magic 
     110 * they too apply to any operation done by the user / group respectively throughout the system. The magic 
    111111 * assignee SELF is used to denote such privileges, which can obviously only be assigned to users or 
    112112 * groups. These privileges are loaded at the time of user authentication only. 
     
    126126 * 
    127127 * The basic idea is, that you can assign privileges based on the combination of users/groups and 
    128  * content objects. In other words, you can say The user x has the privilege midgard:update for 
     128 * content objects. In other words, you can say the user x has the privilege midgard:update for 
    129129 * this object (and its decendants) only. This works with (virtual) groups as well. 
    130130 * 
     
    133133 * 
    134134 * Be aware, that Midgard Persons and Groups count as content object when loaded from the database 
    135  * in a tool like net.nemein.personell, as the groups are not used for authentication but for 
     135 * in a tool like net.nemein.personnel, as the groups are not used for authentication but for 
    136136 * regular site operation there. Therefore, the SELF privileges mentioned above are not taken into 
    137137 * account when determining the content object privileges! 
     
    172172 * Implementation notes: Internally, MidCOM separates the "user privilege set" which is everything 
    173173 * down to the line User above, and the content object privileges, which constitutes of the rest. 
    174  * This separation has been done for performance reasons, as the user's privileges are loade 
     174 * This separation has been done for performance reasons, as the user's privileges are loaded 
    175175 * immediately upon authentication of the user, and the privileges of the actual content objects 
    176176 * are merged into this set then. Normally, this should be of no importance for ACL users, but it 
     
    714714        { 
    715715            return false; 
    716         }     
     716        } 
    717717        return $this->can_do_byguid($privilege, $content_object->guid, get_class($content_object), $user); 
    718718    } 
     
    732732    function can_do_byguid($privilege, $object_guid, $object_class, $user = null) 
    733733    { 
    734          
     734 
    735735        if (   is_null($user) 
    736736            && ! is_null($this->user) 
     
    740740            return true; 
    741741        } 
    742          
     742 
    743743        if ($this->_internal_sudo) 
    744744        { 
     
    785785        if (!isset($cached_privileges[$privilege_key])) 
    786786        { 
    787             debug_push_class(__CLASS__, __FUNCTION__);         
     787            debug_push_class(__CLASS__, __FUNCTION__); 
    788788            debug_add("Cache {$privilege_key} miss, fetching privileges for {$object_guid}"); 
    789789            debug_pop(); 
     
    800800                } 
    801801            } 
    802              
     802 
    803803            if (! array_key_exists($privilege, $full_privileges)) 
    804804            { 
    805                 debug_push_class(__CLASS__, __FUNCTION__);             
     805                debug_push_class(__CLASS__, __FUNCTION__); 
    806806                debug_add("The privilege {$privilege} is unknown at this point. Assuming not granted privilege.", MIDCOM_LOG_WARN); 
    807807                debug_pop(); 
     
    892892                    $tmp_class_name = $tmp_object->__new_class_name__; 
    893893                } 
    894                  
     894 
    895895                $default_magic_class_privileges = array_merge 
    896896                ( 
     
    917917                    $tmp_class_name = $tmp_object->__new_class_name__; 
    918918                } 
    919                  
     919 
    920920                $user_per_class_privileges = $user->get_per_class_privileges($tmp_object); 
    921921                $default_magic_class_privileges = array_merge 
     
    10641064            debug_push_class(__CLASS__, __FUNCTION__); 
    10651065            debug_add("Cache miss for {$cache_id}"); 
    1066             debug_pop();         
     1066            debug_pop(); 
    10671067            if (   is_object($user) 
    10681068                && method_exists($user, 'get_privileges') 
     
    11901190            $user =& $this->user; 
    11911191        } 
    1192          
     1192 
    11931193        if ($this->admin) 
    11941194        { 
     
    13431343        debug_add("require_valid_user called", MIDCOM_LOG_DEBUG); 
    13441344        debug_print_function_stack("require_valid_user called at this level"); 
    1345         debug_pop();         
     1345        debug_pop(); 
    13461346        if (! $this->is_valid_user()) 
    13471347        { 
     
    13511351                    $this->_http_basic_auth(); 
    13521352                    break; 
    1353              
     1353 
    13541354                case 'form': 
    13551355                default: 
     
    13591359        } 
    13601360    } 
    1361      
     1361 
    13621362    /** 
    13631363     * Handles HTTP Basic authentication 
     
    15391539            return false; 
    15401540        } 
    1541          
     1541 
    15421542        $qb = new midgard_query_builder('midgard_person'); 
    15431543        $qb->add_constraint('email', '=', $email); 
     
    15491549            return false; 
    15501550        } 
    1551          
     1551 
    15521552        if (count($results) > 1) 
    15531553        { 
     
    15591559            return $users; 
    15601560        } 
    1561          
     1561 
    15621562        return $this->get_user($results[0]); 
    15631563    } 
     
    19061906        return true; 
    19071907    } 
    1908      
     1908 
    19091909    /** 
    19101910     * This call tells the backend to log in. 
     
    19561956        session_destroy(); 
    19571957    } 
    1958      
     1958 
    19591959    function _generate_http_response() 
    19601960    { 
     
    19641964            return false; 
    19651965        } 
    1966          
     1966 
    19671967        switch ($GLOBALS['midcom_config']['auth_login_form_httpcode']) 
    19681968        { 
     
    19701970                header('HTTP/1.0 200 OK'); 
    19711971                break; 
    1972                  
     1972 
    19731973            case 403: 
    19741974            default: 
     
    20472047        ; 
    20482048        $_MIDCOM->cache->content->_obrunning = false; 
    2049          
     2049 
    20502050        $this->_generate_http_response(); 
    20512051 
     
    20922092                        <div id="content"> 
    20932093                <div id="login"> 
    2094                     <?php  
    2095                     $_MIDCOM->auth->show_login_form();  
     2094                    <?php 
     2095                    $_MIDCOM->auth->show_login_form(); 
    20962096                    ?> 
    20972097                    <div class="clear"></div> 
     
    21002100                <div id="error"><?php echo "<div>{$login_warning}</div><div>{$message}</div>"; ?></div> 
    21012101            </div> 
    2102              
     2102 
    21032103            <div id="bottom"> 
    21042104                <div id="version">version <?php echo mgd_version(); ?></div> 
    21052105            </div> 
    2106      
     2106 
    21072107            <div id="footer"> 
    21082108                <div class="midgard"> 
     
    22182218                        <div id="content"> 
    22192219                <div id="login"> 
    2220                     <?php  
    2221                     $_MIDCOM->auth->show_login_form();  
     2220                    <?php 
     2221                    $_MIDCOM->auth->show_login_form(); 
    22222222                    ?> 
    22232223                    <div class="clear"></div> 
     
    22342234                ?> 
    22352235            </div> 
    2236              
     2236 
    22372237            <div id="bottom"> 
    22382238                <div id="version">version <?php echo mgd_version(); ?></div> 
    22392239            </div> 
    2240      
     2240 
    22412241            <div id="footer"> 
    22422242                <div class="midgard"> 
     
    22972297            $loadable_class = $class->__new_class_name__; 
    22982298        } 
    2299          
     2299 
    23002300        if (array_key_exists($loadable_class, $this->_default_magic_class_privileges)) 
    23012301        { 
     
    23132313            return; 
    23142314        } 
    2315          
     2315 
    23162316        $privs = $class->get_class_magic_default_privileges(); 
    23172317        $this->_default_magic_class_privileges[$loadable_class] = $privs; 
  • trunk/midcom/midcom.core/midcom/services/cache.php

    r11900 r13129  
    126126 
    127127    /** 
    128      * Invalidate all caches completly. 
     128     * Invalidate all caches completely. 
    129129     * 
    130130     * Use this, if you have, f.x. changes in the layout. The URL function 
     
    136136        foreach ($this->_unload_queue as $name) 
    137137        { 
    138             debug_add("Invalidating the cache module {$name} completly."); 
     138            debug_add("Invalidating the cache module {$name} completely."); 
    139139            $this->_modules[$name]->invalidate_all(); 
    140140        } 
  • trunk/midcom/midcom.core/midcom/services/cache/backend/flatfile.php

    r11907 r13129  
    9494    { 
    9595        // This will rename the current directory, create a new empty one and  
    96         // then completly delete the original directory. 
     96        // then completely delete the original directory. 
    9797        $tmpdir = "{$this->_dirname}." . getmypid(); 
    9898        rename($this->_dirname, $tmpdir); 
  • trunk/midcom/midcom.core/midcom/services/cache/module.php

    r11907 r13129  
    146146     
    147147    /** 
    148      * Invalidate the cache completly, dropping all entries. The default implementation will  
     148     * Invalidate the cache completely, dropping all entries. The default implementation will  
    149149     * drop all entries from all registered cache backends using  
    150150     * midcom_services_cache_backend::remove_all(). Override this function, if this behavoir  
  • trunk/midcom/midcom.core/midcom/services/i18n.php

    r12933 r13129  
    3030 * All language codes used here are ISO 639-1 two-letter codes. 
    3131 * 
    32  * <b>Important note:</b> The MidCOM I18n system is currently completly unaware 
     32 * <b>Important note:</b> The MidCOM I18n system is currently completely unaware 
    3333 * of the Midgard Multilang features. The integration of this is not yet scheduled 
    3434 * for any release. 
  • trunk/midcom/midcom.core/midcom/services/indexer.php

    r12937 r13129  
    220220 
    221221    /** 
    222      * Clear the index completly. 
     222     * Clear the index completely. 
    223223     * 
    224224     * This will drop the current index. 
  • trunk/midcom/midcom.core/midcom/services/indexer/backend.php

    r3766 r13129  
    5353     
    5454    /** 
    55      * Clear the index completly. 
     55     * Clear the index completely. 
    5656     *  
    5757     * This will drop the current index. 
  • trunk/midcom/midcom.core/midcom/services/indexer/backend/solr.php

    r12963 r13129  
    8989     
    9090    /** 
    91      * Clear the index completly. 
     91     * Clear the index completely. 
    9292     * This will drop the current index. 
    9393     * NB: It is probably better to just stop the indexer and delete the data/index directory! 
  • trunk/midcom/midcom.core/midcom/services/indexer/backend/xmlshell.php

    r11907 r13129  
    8989     
    9090    /** 
    91      * Clear the index completly. 
     91     * Clear the index completely. 
    9292     *  
    9393     * This will drop the current index. 
  • trunk/midcom/midcom.core/midcom/services/indexer/backend/xmltcp.php

    r3766 r13129  
    9595     
    9696    /** 
    97      * Clear the index completly. 
     97     * Clear the index completely. 
    9898     *  
    9999     * This will drop the current index. 
  • trunk/midcom/midcom.core/midcom/services/indexer/document/datamanager.php

    r11907 r13129  
    3636 * abstract field for the indexing process. In the same way, fields named  
    3737 * <i>title</i> or <i>author</i> will be used for the index document's title 
    38  * or author respectivly. The contents of abstract, title and author will also 
     38 * or author respectively. The contents of abstract, title and author will also 
    3939 * be appended to the content field at the end of the object construction,  
    4040 * easing searching over this fields. 
  • trunk/midcom/midcom.core/midcom/services/indexer/document/datamanager2.php

    r3766 r13129  
    3636 * abstract field for the indexing process. In the same way, fields named 
    3737 * <i>title</i> or <i>author</i> will be used for the index document's title 
    38  * or author respectivly. The contents of abstract, title and author will also 
     38 * or author respectively. The contents of abstract, title and author will also 
    3939 * be appended to the content field at the end of the object construction, 
    4040 * easing searching over this fields. 
     
    6666 * - The default <i>auto</i> mode will use the above guidelines to determine 
    6767 *   the indexing destination automatically, adding data to the content, abstract, 
    68  *   title and author fields respectivly. 
     68 *   title and author fields respectively. 
    6969 * - You can specify <i>abstract,</i> <i>content,</i> <i>title</i> or 
    7070 *   <i>author</i> to indicate that the field should be used for the indicated 
  • trunk/midcom/midcom.core/midcom/services/toolbars.php

    r12930 r13129  
    2525 * 
    2626 * It is important to understand, that these default toolbars made available through this 
    27  * service are completly specific to a given request context. If you have a dynamic_load 
     27 * service are completely specific to a given request context. If you have a dynamic_load 
    2828 * running on a given site, it will have its own set of toolbars for each instance. 
    2929 * 
     
    3131 * the general control of MidCOM, the <em>Object</em> toolbars. They apply to a single 
    3232 * database object (like a bound <em>View</em> toolbar). The usage of this kind of 
    33  * toolbars is completly component-specific: It is recommended to use them only for 
     33 * toolbars is completely component-specific: It is recommended to use them only for 
    3434 * cases where multiple objects are displayed simultaneously. For example, the 
    3535 * index page of a Newsticker or Image Gallery might provide them. 
  • trunk/midcom/midcom.helper.datamanager/datamanager.php

    r13119 r13129  
    142142 * 
    143143 * The special fields hidden and readonly affect the bevahoir of the form and view 
    144  * generators. Hidden fields are ignored completly, nothing will be displayed 
     144 * generators. Hidden fields are ignored completely, nothing will be displayed 
    145145 * either in view- or in form-mode. Readonly fields are displayed in both views, 
    146146 * but instead of drawing the widget in form-mode, the datamanager draws the 
  • trunk/midcom/midcom.helper.datamanager/datatype_collection.php

    r11359 r13129  
    2424        } 
    2525         
    26         // Override central default constructor completly, as the isnull handling of the 
     26        // Override central default constructor completely, as the isnull handling of the 
    2727        // storage object is quite different here. 
    2828         
  • trunk/midcom/midcom.helper.datamanager/widget_mailtemplate.php

    r11907 r13129  
    3030 * <b>CSS Styles in use by the Widget</b> 
    3131 * 
    32  * All input fields use the class input.shorttext or textarea.longtext respectivly. 
     32 * All input fields use the class input.shorttext or textarea.longtext respectively. 
    3333 * The fieldset is set to fieldset.mailtemplate. 
    3434 * 
  • trunk/midcom/midcom.helper.datamanager2/storage.php

    r10966 r13129  
    1313 * It implements the basic interface required for data storage operations. Naturally, 
    1414 * only the construction of storage backends is suspect to class specific code, the actual 
    15  * operation should be completly transparent across all storage implementations. 
     15 * operation should be completely transparent across all storage implementations. 
    1616 * 
    1717 * See the individual subclasses for details about their operation. 
     
    222222 
    223223    /** 
    224      * This callback is invoked once the storage object has been completly updated with 
     224     * This callback is invoked once the storage object has been completely updated with 
    225225     * the information from all types. You need to store it to the database at this point. 
    226226     * 
  • trunk/midcom/midcom.helper.datamanager2/type/mnrelation.php

    r10966 r13129  
    248248 
    249249    /** 
    250      * Reads all entries from the mapping table. This overrides the base types I/O code completly. 
     250     * Reads all entries from the mapping table. This overrides the base types I/O code completely. 
    251251     * 
    252252     * @var mixed $source UNUSED. 
  • trunk/midcom/midcom.helper.datamanager2/widget/captcha.php

    r10966 r13129  
    1717 * Uses the PEAR Text_Password package to generate a captcha passphrase. 
    1818 * 
    19  * The captcha is completly auto-generated, you should not have to worry about any 
     19 * The captcha is completely auto-generated, you should not have to worry about any 
    2020 * defaults. The captcha rendering is done using a midcom-exec callback linking into 
    2121 * the current PHP session (where the captcha phrase is stored). 
  • trunk/midcom/net.nehmer.account/config/config.inc

    r12967 r13129  
    2727'administrator_email' => '', 
    2828 
    29 // This option is not yet completly implemented. 
     29// This option is not yet completely implemented. 
    3030'fallback_type' => null,  
    3131 
  • trunk/midcom/net.nehmer.branchenbuch/schemamgr.php

    r11359 r13129  
    8888     *     500 error. 
    8989     * - string default_view: One of 'alpha' or 'all', used only in the display code 
    90      *     deciding wether the alphabetical or full listing respectivly should be 
     90     *     deciding wether the alphabetical or full listing respectively should be 
    9191     *     displayed by default. 
    9292     * 
  • trunk/midcom/net.nehmer.buddylist/handler/request.php

    r12467 r13129  
    120120     * Shows the request page. 
    121121     * 
    122      * Normally, you should completly customize this page anyway, therefore the 
     122     * Normally, you should completely customize this page anyway, therefore the 
    123123     * default styles are rather primitive at this time. 
    124124     */ 
  • trunk/midcom/net.nehmer.buddylist/handler/welcome.php

    r12554 r13129  
    148148     * Shows the welcome page. 
    149149     * 
    150      * Normally, you should completly customize this page anyway, therefore the 
     150     * Normally, you should completely customize this page anyway, therefore the 
    151151     * default styles are rather primitive at this time. 
    152152     */ 
  • trunk/midcom/net.nehmer.jobmarket/handler/welcome.php

    r3524 r13129  
    196196     * Shows the welcome page. 
    197197     * 
    198      * Normally, you should completly customize this page anyway, therefore the 
     198     * Normally, you should completely customize this page anyway, therefore the 
    199199     * default styles are rather primitive at this time. 
    200200     */ 
  • trunk/midcom/net.nehmer.marketplace/handler/welcome.php

    r2405 r13129  
    139139     * Shows the welcome page. 
    140140     * 
    141      * Normally, you should completly customize this page anyway, therefore the 
     141     * Normally, you should completely customize this page anyway, therefore the 
    142142     * default styles are rather primitive at this time. 
    143143     */ 
     
    250250     * Shows the mode specific welcome page. 
    251251     * 
    252      * Normally, you should completly customize this page anyway, therefore the 
     252     * Normally, you should completely customize this page anyway, therefore the 
    253253     * default styles are rather primitive at this time. 
    254254     */ 
  • trunk/midcom/net.nehmer.publications/query.php

    r3337 r13129  
    2424 * 
    2525 * This means, that you can essentially use this function in place of a QB you'd normally run 
    26  * against. It follows the QB API completly, which means that the documentation of the core 
    27  * class is completly valid for this class unless mentioned otherwise. 
     26 * against. It follows the QB API completely, which means that the documentation of the core 
     27 * class is completely valid for this class unless mentioned otherwise. 
    2828 * 
    2929 * The new_query_builder method of the publication class is overridden to deliver an instance