Changeset 17731

Show
Ignore:
Timestamp:
09/26/08 14:23:22 (2 months ago)
Author:
bergie
Message:

Remove .html suffixes, refs #47

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/midcom/midcom.core/midcom/application.php

    r17578 r17731  
    544544     * 
    545545     * <code> 
    546      * $blog = '/blog/latest/3.html'; 
     546     * $blog = '/blog/latest/3/'; 
    547547     * $substyle = 'homepage'; 
    548548     * $_MIDCOM->dynamic_load("/midcom-substyle-{$substyle}/{$blog}"); 
  • trunk/midcom/midcom.core/midcom/baseclasses/components/interface.php

    r17358 r17731  
    181181 *         } 
    182182 * 
    183  *         return "{$article->name}.html"; 
     183 *         return "{$article->name}/"; 
    184184 *     } 
    185185 * } 
     
    768768     * 
    769769     * If the guid could be successfully resolved, a URL local to the given topic without a 
    770      * leading slash must be returned (f.x. 'article.html'), empty strings ('') are allowed 
     770     * leading slash must be returned (f.x. 'article/'), empty strings ('') are allowed 
    771771     * indicating root page access. If the GUID is invalid, null will be returned. 
    772772     * 
     
    984984     * 
    985985     * If the guid could be successfully resolved, a URL local to the given topic without a 
    986      * leading slash must be returned (f.x. 'article.html'), empty strings ('') are allowed 
     986     * leading slash must be returned (f.x. 'article/'), empty strings ('') are allowed 
    987987     * indicating root page access. If the GUID is invalid, null will be returned. 
    988988     * 
  • trunk/midcom/midcom.core/midcom/baseclasses/components/navigation.php

    r17359 r17731  
    136136     *  while ($articles->fetch ()) { 
    137137     *      // Match the toolbar to the correct URL. 
    138      *      $toolbar[50][MIDCOM_TOOLBAR_URL] = "edit/{$articles->id}.html"; 
    139      *      $toolbar[51][MIDCOM_TOOLBAR_URL] = "delete/{$articles->id}.html"; 
     138     *      $toolbar[50][MIDCOM_TOOLBAR_URL] = "edit/{$articles->id}/"; 
     139     *      $toolbar[51][MIDCOM_TOOLBAR_URL] = "delete/{$articles->id}/"; 
    140140     * 
    141141     *      $leaves[$articles->id] = array 
     
    143143     *          MIDCOM_NAV_SITE => Array 
    144144     *          ( 
    145      *              MIDCOM_NAV_URL => $articles->name . ".html", 
     145     *              MIDCOM_NAV_URL => $articles->name . "/", 
    146146     *              MIDCOM_NAV_NAME => ($articles->title != "") ? $articles->title : $articles->name 
    147147     *          ), 
     
    184184     *  $toolbar[100] = Array 
    185185     *  ( 
    186      *      MIDCOM_TOOLBAR_URL => 'config.html', 
     186     *      MIDCOM_TOOLBAR_URL => 'config/', 
    187187     *      MIDCOM_TOOLBAR_LABEL => $this->_l10n_midcom->get('component configuration'), 
    188188     *      MIDCOM_TOOLBAR_HELPTEXT => $this->_l10n_midcom->get('component configuration helptext'), 
  • trunk/midcom/midcom.core/midcom/core/handler/configdm.php

    r17556 r17731  
    4949 * 
    5050 * $this->_node_toolbar->add_item(Array( 
    51  *     MIDCOM_TOOLBAR_URL => 'config.html', 
     51 *     MIDCOM_TOOLBAR_URL => 'config/', 
    5252 *     MIDCOM_TOOLBAR_LABEL => $this->_l10n_midcom->get('component configuration'), 
    5353 *     MIDCOM_TOOLBAR_HELPTEXT => $this->_l10n_midcom->get('component configuration helptext'), 
     
    217217        $tmp[] = Array 
    218218        ( 
    219             MIDCOM_NAV_URL => 'config.html', 
     219            MIDCOM_NAV_URL => 'config/', 
    220220            MIDCOM_NAV_NAME => $_MIDCOM->i18n->get_string('component configuration', 'midcom'), 
    221221        ); 
     
    224224        // Hide the button in toolbar 
    225225        // TODO: Figure out the real URL of the config editor 
    226         // $this->_node_toolbar->hide_item('config.html'); 
     226        // $this->_node_toolbar->hide_item('config/'); 
    227227 
    228228        // Set page title 
  • trunk/midcom/midcom.core/midcom/core/handler/configdm2.php

    r17557 r17731  
    191191        $tmp[] = Array 
    192192        ( 
    193             MIDCOM_NAV_URL => "config.html", 
     193            MIDCOM_NAV_URL => "config/", 
    194194            MIDCOM_NAV_NAME => $this->_l10n_midcom->get('component configuration'), 
    195195        ); 
  • trunk/midcom/midcom.core/midcom/helper/_basicnav.php

    r17694 r17731  
    104104 * ); 
    105105 * $toolbar[100] = Array( 
    106  *     MIDCOM_TOOLBAR_URL => 'config.html', 
     106 *     MIDCOM_TOOLBAR_URL => 'config/', 
    107107 *     MIDCOM_TOOLBAR_LABEL => $this->_l10n_midcom->get('component configuration'), 
    108108 *     MIDCOM_TOOLBAR_HELPTEXT => $this->_l10n_midcom->get('component configuration helptext'), 
  • trunk/midcom/midcom.core/midcom/helper/nav.php

    r17558 r17731  
    655655     *     Array 
    656656     *     ( 
    657      *         MIDCOM_NAV_URL => "list/{$this->_category}/{$this->_mode}/1.html", 
     657     *         MIDCOM_NAV_URL => "list/{$this->_category}/{$this->_mode}/1/", 
    658658     *         MIDCOM_NAV_NAME => $this->_category_name, 
    659659     *     ), 
  • trunk/midcom/midcom.core/midcom/helper/toolbar.php

    r17558 r17731  
    209209        if (is_null($component)) 
    210210        { 
    211             $uri = "__ais/help/{$help_id}.html"; 
     211            $uri = "__ais/help/{$help_id}/"; 
    212212        } 
    213213        else 
    214214        { 
    215             $uri = "__ais/help/{$component}/{$help_id}.html"; 
     215            $uri = "__ais/help/{$component}/{$help_id}/"; 
    216216        } 
    217217 
  • trunk/midcom/midcom.core/midcom/services/toolbars.php

    r17568 r17731  
    340340                array 
    341341                ( 
    342                     MIDCOM_TOOLBAR_URL => "__ais/folder/edit.html", 
     342                    MIDCOM_TOOLBAR_URL => "__ais/folder/edit/", 
    343343                    MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('edit folder', 'midcom.admin.folder'), 
    344344                    MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/edit.png', 
     
    352352                array 
    353353                ( 
    354                     MIDCOM_TOOLBAR_URL => "__ais/folder/metadata/{$topic->guid}.html", 
     354                    MIDCOM_TOOLBAR_URL => "__ais/folder/metadata/{$topic->guid}/", 
    355355                    MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('edit folder metadata', 'midcom.admin.folder'), 
    356356                    MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/metadata.png', 
     
    366366                    array 
    367367                    ( 
    368                         MIDCOM_TOOLBAR_URL => "__ais/folder/move/{$topic->guid}.html", 
     368                        MIDCOM_TOOLBAR_URL => "__ais/folder/move/{$topic->guid}/", 
    369369                        MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('move', 'midcom.admin.folder'), 
    370370                        MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/save-as.png', 
     
    377377                array 
    378378                ( 
    379                     MIDCOM_TOOLBAR_URL => "__ais/folder/order.html", 
     379                    MIDCOM_TOOLBAR_URL => "__ais/folder/order/", 
    380380                    MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('order navigation', 'midcom.admin.folder'), 
    381381                    MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/topic-score.png', 
     
    409409                    array 
    410410                    ( 
    411                         MIDCOM_TOOLBAR_URL => "__ais/folder/unapprove.html", 
     411                        MIDCOM_TOOLBAR_URL => "__ais/folder/unapprove/", 
    412412                        MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('unapprove topic', 'midcom'), 
    413413                        MIDCOM_TOOLBAR_HELPTEXT => $_MIDCOM->i18n->get_string('approved', 'midcom'), 
     
    428428                    array 
    429429                    ( 
    430                         MIDCOM_TOOLBAR_URL => "__ais/folder/approve.html", 
     430                        MIDCOM_TOOLBAR_URL => "__ais/folder/approve/", 
    431431                        MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('approve topic', 'midcom'), 
    432432                        MIDCOM_TOOLBAR_HELPTEXT => $_MIDCOM->i18n->get_string('unapproved', 'midcom'), 
     
    475475                array 
    476476                ( 
    477                     MIDCOM_TOOLBAR_URL => "__ais/folder/create.html", 
     477                    MIDCOM_TOOLBAR_URL => "__ais/folder/create/", 
    478478                    MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('create subfolder', 'midcom.admin.folder'), 
    479479                    MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/new-dir.png', 
     
    489489                array 
    490490                ( 
    491                     MIDCOM_TOOLBAR_URL => "__ais/folder/delete.html", 
     491                    MIDCOM_TOOLBAR_URL => "__ais/folder/delete/", 
    492492                    MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('delete folder', 'midcom.admin.folder'), 
    493493                    MIDCOM_TOOLBAR_ICON => 'stock-icons/16x16/trash.png', 
     
    710710            { 
    711711                $toolbar->add_item(Array( 
    712                     MIDCOM_TOOLBAR_URL => "{$prefix}__ais/folder/unapprove.html", 
     712                    MIDCOM_TOOLBAR_URL => "{$prefix}__ais/folder/unapprove/", 
    713713                    MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('unapprove', 'midcom'), 
    714714                    MIDCOM_TOOLBAR_HELPTEXT => $_MIDCOM->i18n->get_string('approved', 'midcom'), 
     
    726726            { 
    727727                $toolbar->add_item(Array( 
    728                     MIDCOM_TOOLBAR_URL => "{$prefix}__ais/folder/approve.html", 
     728                    MIDCOM_TOOLBAR_URL => "{$prefix}__ais/folder/approve/", 
    729729                    MIDCOM_TOOLBAR_LABEL => $_MIDCOM->i18n->get_string('approve', 'midcom'), 
    730730                    MIDCOM_TOOLBAR_HELPTEXT => $_MIDCOM->i18n->get_string('unapproved', 'midcom'),