Changeset 14002

Show
Ignore:
Timestamp:
12/19/07 17:07:50 (10 months ago)
Author:
flack
Message:

a few more spelling fixes

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/de.linkm.sitemap/handler/sitemap.php

    r12498 r14002  
    263263            if (!$this->_show_node($this->_root_node_id, $data)) 
    264264            { 
    265                 $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "An error occured: de_linkm_sitemap_viewer::_show_node({$this->_root_node_id}) returned false. Aborting."); 
     265                $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "An error occurred: de_linkm_sitemap_viewer::_show_node({$this->_root_node_id}) returned false. Aborting."); 
    266266            } 
    267267        }  
     
    271271            if ($subnodes === false) 
    272272            { 
    273                 $_MIDCOM->generate_error(MIDCOM_ERRCRIT, 'An error occured: de_linkm_sitemap_viewer::show: Could not list root\'s subnodes'); 
     273                $_MIDCOM->generate_error(MIDCOM_ERRCRIT, 'An error occurred: de_linkm_sitemap_viewer::show: Could not list root\'s subnodes'); 
    274274            } 
    275275             
     
    278278                if (!$this->_show_node($id, $data)) 
    279279                { 
    280                     $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "An error occured: de_linkm_sitemap_viewer::_show_node({$id}) returned false. Aborting."); 
     280                    $_MIDCOM->generate_error(MIDCOM_ERRCRIT, "An error occurred: de_linkm_sitemap_viewer::_show_node({$id}) returned false. Aborting."); 
    281281                } 
    282282            } 
  • trunk/midcom/midcom.core/midcom/baseclasses/components/interface.php

    r13884 r14002  
    834834     * for more specific processing. 
    835835     * 
    836      * @param int $operation The operation that has occured. 
    837      * @param mixed $object The object on which the operation occured. The system will 
     836     * @param int $operation The operation that has occurred. 
     837     * @param mixed $object The object on which the operation occurred. The system will 
    838838     *     do is_a checks against any registered class restriction on the watch. 
    839839     */ 
     
    881881     * @param int $operation The operation identifier (one of the MIDCOM_OPERATION constants) 
    882882     *     which applies. 
    883      * @param obect $object The object on which the operation has occured. 
     883     * @param obect $object The object on which the operation has occurred. 
    884884     */ 
    885885    function _on_watched_operation($operation, $object) {} 
     
    895895     * It is called after the generic _on_watched_operation event handler. 
    896896     * 
    897      * @param obect $object The object on which the operation has occured. 
     897     * @param obect $object The object on which the operation has occurred. 
    898898     */ 
    899899    function _on_watched_dba_create($object) {} 
     
    909909     * It is called after the generic _on_watched_operation event handler. 
    910910     * 
    911      * @param obect $object The object on which the operation has occured. 
     911     * @param obect $object The object on which the operation has occurred. 
    912912     */ 
    913913    function _on_watched_dba_update($object) {} 
     
    923923     * It is called after the generic _on_watched_operation event handler. 
    924924     * 
    925      * @param obect $object The object on which the operation has occured. 
     925     * @param obect $object The object on which the operation has occurred. 
    926926     */ 
    927927    function _on_watched_dba_delete($object) {} 
  • trunk/midcom/midcom.core/midcom/baseclasses/core/dbobject.php

    r13738 r14002  
    13041304     * </pre> 
    13051305     * 
    1306      * If you query only a single domain, the result will be a single accociative 
     1306     * If you query only a single domain, the result will be a single associative 
    13071307     * array containing the parameter name/value pairs. For example: 
    13081308     * 
  • trunk/midcom/midcom.core/midcom/core/manifest.php

    r13625 r14002  
    2020 * background. 
    2121 * 
    22  * The component manifest on-disk actually consists of a relatively simple accociative 
     22 * The component manifest on-disk actually consists of a relatively simple associative 
    2323 * array which describes the component. The following example shows an average manifest 
    2424 * using all available options and should serve us as an example: 
     
    8080 * added automatically when the information is registered. 
    8181 * 
    82  * This array is an accociative one, indexing permission names and their 
     82 * This array is an associative one, indexing permission names and their 
    8383 * default values. Simple string values are required for the permission 
    8484 * names, they must validate against the regular expression <i>/[a-z0-9]+/</i>. 
  • trunk/midcom/midcom.core/midcom/helper/_basicnav.php

    r13625 r14002  
    158158    /** 
    159159     * This is the leaf cache. It is an array which contains elements indexed by 
    160      * their leaf ID. The data is again stored in an accociative array: 
     160     * their leaf ID. The data is again stored in an associative array: 
    161161     * 
    162162     * - MIDCOM_NAV_NODEID => ID of the parent node (int) 
     
    175175    /** 
    176176     * This is the node cache. It is an array which contains elements indexed by 
    177      * their node ID. The data is again stored in an accociative array: 
     177     * their node ID. The data is again stored in an associative array: 
    178178     * 
    179179     * - MIDCOM_NAV_NODEID => ID of the parent node (-1 for the root node) (int) 
  • trunk/midcom/midcom.core/midcom/helper/_componentloader.php

    r13625 r14002  
    840840     * have the same $guid property value. 
    841841     * 
    842      * @param int $operation The operation that has occured. 
    843      * @param mixed $object The object on which the operation occured. The system will 
     842     * @param int $operation The operation that has occurred. 
     843     * @param mixed $object The object on which the operation occurred. The system will 
    844844     *     do is_a checks against any registered class restriction on the watch. The object 
    845845     *     is not taken by-reference but refreshed before actually executing the hook at the 
  • trunk/midcom/midcom.core/midcom/helper/nav.php

    r13625 r14002  
    570570     * <b>Return Value</b> 
    571571     * 
    572      * The breadcrumb data will be returned as a list of accociative arrays each 
     572     * The breadcrumb data will be returned as a list of associative arrays each 
    573573     * containing these keys: 
    574574     * 
  • trunk/midcom/midcom.core/midcom/services/auth.php

    r13945 r14002  
    391391    /** 
    392392     * Internal cache of the effective privileges of users on content objects, this is 
    393      * an accociative array using a combination of the user identifier and the objects' 
     393     * an associative array using a combination of the user identifier and the objects' 
    394394     * guid as index. The privileges for the anonymous user use the magic 
    395395     * EVERYONE as user identifier. 
     
    14371437     * default, the second one for the owner privilege set. 
    14381438     * 
    1439      * @param Array $privileges An accociative privilege_name => default_values listing. 
     1439     * @param Array $privileges An associative privilege_name => default_values listing. 
    14401440     */ 
    14411441    function register_default_privileges ($privileges) 
     
    14651465     * Returns a listing of all known(!) virtual groups. 
    14661466     * 
    1467      * @result An accociative vgroup_id (including the vgroup: prefix) => vgroup_name listing. 
     1467     * @result An associative vgroup_id (including the vgroup: prefix) => vgroup_name listing. 
    14681468     */ 
    14691469    function get_all_vgroups() 
  • trunk/midcom/midcom.core/midcom/services/auth/frontend.php

    r13625 r14002  
    3636     * or null for anonymous access. 
    3737     *  
    38      * @return Array A simple accociative array with the two indexes 'username' and 
     38     * @return Array A simple associative array with the two indexes 'username' and 
    3939     *     'password' holding the information read by the driver or NULL if no  
    4040     *     information could be read. 
  • trunk/midcom/midcom.core/midcom/services/auth/frontend/form.php

    r13590 r14002  
    3131     * it reads and returns their values. 
    3232     * 
    33      * @return Array A simple accociative array with the two indexes 'username' and 
     33     * @return Array A simple associative array with the two indexes 'username' and 
    3434     *     'password' holding the information read by the driver or NULL if no 
    3535     *     information could be read. 
  • trunk/midcom/midcom.core/midcom/services/cron.php

    r13590 r14002  
    1616 * <b>Cron Job configuration</b> 
    1717 * 
    18  * Each cron job is defined by an accociative array containing the following keys: 
     18 * Each cron job is defined by an associative array containing the following keys: 
    1919 * 
    2020 * - <i>string handler</i> holds the full class name which should handle the cron job invocation, 
  • trunk/midcom/midcom.core/support/export_style.php

    r6116 r14002  
    277277        if ($files === false) 
    278278        { 
    279             // error occured, what to do ?? 
     279            // error occurred, what to do ?? 
    280280        } 
    281281        if (is_array($files)) 
  • trunk/midcom/midcom.helper.datamanager/datamanager.php

    r13625 r14002  
    827827     * constant returned: 
    828828     * 
    829      * - <b>MIDCOM_DATAMGR_FAILED:</b> Something critical occured, processing failed. 
     829     * - <b>MIDCOM_DATAMGR_FAILED:</b> Something critical occurred, processing failed. 
    830830     * - <b>MIDCOM_DATAMGR_CANCELLED:</b> Editing has been cancelled by the user, you 
    831831     *   should return to view-mode, no changes made. In case of a creation loop, 
  • trunk/midcom/midcom.helper.datamanager/widget_multiselect.php

    r487 r14002  
    4949 
    5050    /** 
    51      * The accociative array with the choices available. 
     51     * The associative array with the choices available. 
    5252     *  
    5353     * @var Array 
  • trunk/midcom/midcom.helper.datamanager/widget_radiobox.php

    r2506 r14002  
    4848 
    4949    /** 
    50      * The accociative array with the choices available. 
     50     * The associative array with the choices available. 
    5151     * 
    5252     * @var Array 
  • trunk/midcom/midcom.helper.datamanager/widget_select.php

    r13590 r14002  
    5858 
    5959    /** 
    60      * The accociative array with the choices available. 
     60     * The associative array with the choices available. 
    6161     *  
    6262     * @var Array 
  • trunk/midcom/midcom.helper.datamanager2/datamanager.php

    r13842 r14002  
    4747     */ 
    4848    var $schema_name = ''; 
    49      
     49 
    5050    /** 
    5151     * This is the storage implementation which is used for operation on the types. It encaspulates 
     
    6767 
    6868    /** 
    69      * This variable contains an Array of all validation errors that have occured 
     69     * This variable contains an Array of all validation errors that have occurred 
    7070     * during saving. As outlined in the type, these messages my have inline-html 
    7171     * in it and it is assumed to be localized. 
     
    7777     */ 
    7878    var $validation_errors = Array(); 
    79      
     79 
    8080    /** 
    8181     * Reference to the form manager instance which is currently in use. Usually, it is created and referenced here by the controller 
     
    8383     * 
    8484     * @var midcom_helper_datamanager2_formmanager 
    85      */     
     85     */ 
    8686    var $formmanager = null; 
    87      
     87 
    8888    /** 
    8989     * The constructor loads the schema database to use but does nothing else 
     
    178178            $this->storage =& $object; 
    179179        } 
    180          
     180 
    181181        // For reasons I do not completely comprehend, PHP drops the storage references into the types 
    182182        // in the lines above. Right now the only solution (except debugging this 5 hours long line 
     
    325325 
    326326    /** 
    327      * Little helper function returning an accociative array of all field values converted to HTML 
     327     * Little helper function returning an associative array of all field values converted to HTML 
    328328     * using their default convert_to_html option. 
    329329     * 
     
    341341 
    342342    /** 
    343      * Little helper function returning an accociative array of all field values converted to XML 
     343     * Little helper function returning an associative array of all field values converted to XML 
    344344     * using their default convert_to_csv or convert_to_raw options. 
    345345     * 
     
    370370 
    371371    /** 
    372      * Little helper function returning an accociative array of all field values converted to CSV 
     372     * Little helper function returning an associative array of all field values converted to CSV 
    373373     * using their default convert_to_csv option. 
    374374     * 
     
    386386 
    387387    /** 
    388      * Little helper function returning an accociative array of all field values converted to 
     388     * Little helper function returning an associative array of all field values converted to 
    389389     * their raw storage representation.. 
    390390     * 
     
    399399            { 
    400400                continue; 
    401             }         
     401            } 
    402402            $result[$name] = $this->types[$name]->convert_to_storage(); 
    403403        } 
     
    422422            echo '<div class="title" style="font-weight: bold;">' . $this->schema->translate_schema_string($this->schema->fields[$name]['title']) . "</div>\n"; 
    423423            echo '<div class="value" style="margin-left: 5em; min-height: 1em;">'; 
    424              
     424 
    425425            if ($config['widget'] == 'chooser') 
    426             {                 
     426            { 
    427427                $this->formmanager =& new midcom_helper_datamanager2_formmanager($this->schema, $this->types); 
    428428                $this->formmanager->initialize(); 
     
    431431            else 
    432432            { 
    433                 echo $this->types[$name]->convert_to_html();                 
    434             } 
    435              
     433                echo $this->types[$name]->convert_to_html(); 
     434            } 
     435 
    436436            echo "</div>\n"; 
    437437            echo "</div>\n"; 
  • trunk/midcom/midcom.helper.datamanager2/formmanager.php

    r13969 r14002  
    7070     * 
    7171     * If the configuration option 'default_renderer' (and possibly 'default_renderer_src') 
    72      * are set, the class will create instances of these renderes during startup, so that 
     72     * are set, the class will create instances of these renderers during startup, so that 
    7373     * site users can directly use these defaults without further work. The following 
    7474     * rules are used when determining which renderer to use: 
     
    108108     */ 
    109109    var $namespace = ''; 
    110      
     110 
    111111    /** 
    112112     * Number of open fieldsets. This will be used to close the same amount to prevent open fieldset tags 
     
    234234                continue; 
    235235            } 
    236              
     236 
    237237            // Start the fieldsets if required 
    238238            $this->_start_fieldset($name, $config); 
    239              
     239 
    240240            if ($config['static_prepend'] !== null) 
    241241            { 
     
    267267                } 
    268268            } 
    269              
     269 
    270270            if (!is_null($config['default'])) 
    271271            { 
     
    294294                $this->form->addElement('static', $static_name, '', $config['static_append']); 
    295295            } 
    296              
     296 
    297297            // End the fieldsets if required 
    298298            $this->_end_fieldset($name, $config); 
     
    301301        // Set the collected defaults. 
    302302        $this->form->setDefaults($defaults); 
    303          
     303 
    304304        // Close the fieldsets left open 
    305305        if ($this->_fieldsets > 0) 
     
    440440        return true; 
    441441    } 
    442      
     442 
    443443    /** 
    444444     * Start a fieldset and set the styles accordingly. Fieldsets can be initialized either 
    445445     * by key `start_fieldset` or `start_fieldgroup` to provide backwards compatibility to 
    446446     * @see midcom_helper_datamanager_schema 
    447      *  
     447     * 
    448448     * @access private 
    449449     * @param string $name 
     
    458458            $config['start_fieldset'] = $config['start_fieldgroup']; 
    459459        } 
    460          
     460 
    461461        // Return if fieldsets are not requested 
    462462        if (!isset($config['start_fieldset'])) 
     
    464464            return; 
    465465        } 
    466          
     466 
    467467        // Enable multiple fieldset starts in the same schema field 
    468468        $fieldsets = array(); 
     
    475475            $fieldsets = $config['start_fieldset']; 
    476476        } 
    477          
     477 
    478478        // Output the fieldsets 
    479479        foreach ($fieldsets as $key => $fieldset) 
     
    487487                $class = $name; 
    488488            } 
    489              
     489 
    490490            $html = "<fieldset class=\"{$class}\">\n"; 
    491              
     491 
    492492            if (isset($fieldset['title'])) 
    493493            { 
     
    500500                    $class = " class=\"{$name}\""; 
    501501                } 
    502                  
     502 
    503503                $html .= "    <legend{$class}>\n"; 
    504504                $html .= "        ". $this->_translate($fieldset['title']) ."\n"; 
    505505                $html .= "    </legend>\n"; 
    506506            } 
    507              
     507 
    508508            if (isset($fieldset['description'])) 
    509509            { 
    510510                $html .= "<p>". $this->_translate($fieldset['description']) . "</p>\n"; 
    511511            } 
    512              
     512 
    513513            $set =& HTML_QuickForm::createElement('static', "__fieldset_start_{$name}_{$key}", $html); 
    514514            $this->form->addElement($set); 
     
    516516        } 
    517517    } 
    518      
     518 
    519519    /** 
    520520     * End a fieldset. Ends the requested amount of fieldsets when 'end_fieldset' key is 
    521521     * defined in the schema field or at least once when the key exists in the field. 
    522      *  
     522     * 
    523523     * @access private 
    524524     * @param string $name 
     
    533533            $config['end_fieldset'] = $config['end_fieldgroup']; 
    534534        } 
    535          
     535 
    536536        if (   !isset($config['end_fieldset']) 
    537537            || $this->_fieldsets <= 0) 
     
    539539            return; 
    540540        } 
    541          
     541 
    542542        $html = ''; 
    543          
     543 
    544544        // Interface for closing the fieldsets 
    545545        if (is_numeric($config['end_fieldset'])) 
     
    549549                $html .= "</fieldset>\n"; 
    550550                $this->_fieldsets--; 
    551                  
     551 
    552552                if ($this->_fieldsets <= 0) 
    553553                { 
     
    561561            $this->_fieldsets--; 
    562562        } 
    563          
     563 
    564564        $set =& HTML_QuickForm::createElement('static', "__fieldset_end_{$name}", $html); 
    565565        $this->form->addElement($set); 
     
    765765 
    766766    /** 
    767      * Set the value of a formelement.  
     767     * Set the value of a formelement. 
    768768     * @var $key the form field name 
    769769     * @var $value the new value to set 
     
    819819    { 
    820820        if (   ! $this->renderer 
    821             ||  ( is_string($this->renderer) && $this->renderer == 'none'))  
     821            ||  ( is_string($this->renderer) && $this->renderer == 'none')) 
    822822        { 
    823823            echo $this->form->toHtml(); 
     
    884884     * 
    885885     */ 
    886     function get_submit_values(  )  
     886    function get_submit_values(  ) 
    887887    { 
    888888        return $this->form->getSubmitValues( true ); 
  • trunk/midcom/midcom.helper.datamanager2/static/position/jquery.tabs.js

    r12256 r14002  
    443443        tabs.bind('click', function(e) { 
    444444 
    445             var trueClick = e.clientX; // add to history only if true click occured, not a triggered click 
     445            var trueClick = e.clientX; // add to history only if true click occurred, not a triggered click 
    446446            var clicked = this, li = $(this).parents('li:eq(0)'), toShow = $(this.hash), toHide = containers.filter(':visible'); 
    447447 
     
    474474                // switch tab, animation prevents browser scrolling to the fragment 
    475475                function switchTab() { 
    476                     if (settings.bookmarkable && trueClick) { // add to history only if true click occured, not a triggered click 
     476                    if (settings.bookmarkable && trueClick) { // add to history only if true click occurred, not a triggered click 
    477477                        $.ajaxHistory.update(clicked.hash); 
    478478                    } 
  • trunk/midcom/midcom.helper.datamanager2/type/select.php

    r13625 r14002  
    350350     * Returns the full listing of all available key/value pairs. 
    351351     * 
    352      * @return Array Listing of all keys, as an accociative array. 
     352     * @return Array Listing of all keys, as an associative array. 
    353353     */ 
    354354    function list_all() 
  • trunk/midcom/midcom.helper.datamanager2/type/tagselect.php

    r13590 r14002  
    329329     * Returns the full listing of all available key/data pairs. 
    330330     * 
    331      * @return Array Listing of all keys, as an accociative array. 
     331     * @return Array Listing of all keys, as an associative array. 
    332332     */ 
    333333    function list_all() 
  • trunk/midcom/midcom.helper.datamanager2/widget.php

    r13625 r14002  
    9797 
    9898    /** 
    99      * Whether widget should always load its dependencies on initialization, or only during  
     99     * Whether widget should always load its dependencies on initialization, or only during 
    100100     * add_elements_to_form call. 
    101101     * 
  • trunk/midcom/net.nehmer.account/remote.php

    r3581 r14002  
    110110 
    111111    /** 
    112      * This helper lists an accociative array with account types and their titles. 
     112     * This helper lists an associative array with account types and their titles. 
    113113     * 
    114114     * @return Array Account name => Description listing. 
  • trunk/midcom/net.nehmer.blog/handler/archive.php

    r13992 r14002  
    218218 
    219219            // Loop over the months, start month is either first posting month 
    220             // or January in all other cases. End months are treated similarily, 
     220            // or January in all other cases. End months are treated similarly, 
    221221            // being december by default unless for the current year. 
    222222            if ($year == $first_year) 
     
    304304     * - array month_data (the monthly data) 
    305305     * 
    306      * month_data will contain an accociative array containing the following array of data 
     306     * month_data will contain an associative array containing the following array of data 
    307307     * indexed by month number (1-12): 
    308308     * 
  • trunk/midcom/net.nehmer.publications/handler/archive.php

    r13625 r14002  
    199199 
    200200            // Loop over the months, start month is either first posting month 
    201             // or January in all other cases. End months are treated similarily, 
     201            // or January in all other cases. End months are treated similarly, 
    202202            // being december by default unless for the current year. 
    203203            if ($year == $first_year) 
     
    285285     * - array month_data (the monthly data) 
    286286     * 
    287      * month_data will contain an accociative array containing the following array of data 
     287     * month_data will contain an associative array containing the following array of data 
    288288     * indexed by month number (1-12): 
    289289     * 
  • trunk/midcom/net.nemein.calendar/handler/archive.php

    r13625 r14002  
    390390     * - array month_data (the monthly data) 
    391391     * 
    392      * month_data will contain an accociative array containing the following array of data 
     392     * month_data will contain an associative array containing the following array of data 
    393393     * indexed by month number (1-12): 
    394394     * 
  • trunk/midcom/net.nemein.payment/handler.php

    r13625 r14002  
    169169     * Initializes the class, populates the config member variable. 
    170170     *  
    171      * @param Array $config The accociative configuration array for this handler. 
     171     * @param Array $config The associative configuration array for this handler. 
    172172     */ 
    173173    function net_nemein_payment_handler ($config) 
  • trunk/midcom/org.maemo.socialnews/handler/archive.php

    r13625 r14002  
    170170 
    171171            // Loop over the months, start month is either first posting month 
    172             // or January in all other cases. End months are treated similarily, 
     172            // or January in all other cases. End months are treated similarly, 
    173173            // being december by default unless for the current year. 
    174174            if ($year == $first_year) 
     
    256256     * - array month_data (the monthly data) 
    257257     * 
    258      * month_data will contain an accociative array containing the following array of data 
     258     * month_data will contain an associative array containing the following array of data 
    259259     * indexed by month number (1-12): 
    260260     * 
  • trunk/midcom/org.openpsa.contacts/duplicates_merge.php

    r13625 r14002  
    151151        if (!$this->merge($obj1, $obj2, 'all')) 
    152152        { 
    153             // Some error occured during merges, abort 
     153            // Some error occurred during merges, abort 
    154154            return false; 
    155155        } 
  • trunk/midcom/org.openpsa.directmarketing/handler/subscriber.php

    r12364 r14002  
    266266        if ($memberships === false) 
    267267        { 
    268             //Some error occured with QB 
     268            //Some error occurred with QB 
    269269            $_MIDCOM->auth->drop_sudo(); 
    270270            debug_pop(); 
  • trunk/midcom/static/jQuery/ui/ui.tabs.js

    r12986 r14002  
    260260            // switch a tab 
    261261            function switchTab(clicked, $hide, $show) { 
    262                 /*if (o.bookmarkable && trueClick) { // add to history only if true click occured, not a triggered click 
     262                /*if (o.bookmarkable && trueClick) { // add to history only if true click occurred, not a triggered click 
    263263                    $.ajaxHistory.update(clicked.hash); 
    264264                }*/ 
     
    271271            function tabClick(e) { 
    272272 
    273                 //var trueClick = e.clientX; // add to history only if true click occured, not a triggered click 
     273                //var trueClick = e.clientX; // add to history only if true click occurred, not a triggered click 
    274274                var $li = $(this).parents('li:eq(0)'), 
    275275                    $hide = self.$containers.filter(':visible'),