Changeset 12214 for extensions


Ignore:
Timestamp:
Sep 24, 2011, 12:57:26 PM (13 years ago)
Author:
grum
Message:

fix bugs
bug:2444 - Manage extended description for categories names

Location:
extensions/GMaps
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • extensions/GMaps/gmaps_ajax.php

    r12211 r12214  
    602602          $tmp=array(
    603603            'id' => $row['id'],
    604             'catName' => ($row['categoryId']==0)?l10n('gmaps_applyForAllTheGallery'):$row['catName'],
     604            'catName' => ($row['categoryId']==0)?l10n('gmaps_applyForAllTheGallery'):GPCCore::getUserLanguageDesc($row['catName']),
    605605            'applySubCat' => l10n('gmaps_'.$row['applySubCat']),
    606606            'mapName' => $row['mapName'],
     
    12641264            foreach($tmpCatsId as $key => $id)
    12651265            {
    1266               $tmpCatsNames[$key]=substr($tmpCatsNames[$key],7);
     1266              $tmpCatsNames[$key]=GPCCore::getUserLanguageDesc(substr($tmpCatsNames[$key],7));
    12671267
    12681268              $tmpCatsUrl[]=make_picture_url(
     
    12711271                  'category' => array(
    12721272                    'id' => $id,
    1273                     'name' => GPCCore::getUserLanguageDesc($tmpCatsNames[$key]),
     1273                    'name' => $tmpCatsNames[$key],
    12741274                    'permalink' => (substr($tmpCatsPLinks[$key],0,1)=='*')?'':$tmpCatsPLinks[$key],
    12751275                  )
  • extensions/GMaps/main.inc.php

    r12213 r12214  
    120120|         |            |     subcategories" is not selected
    121121|         |            |
     122|         |            | * mantis bug:2444
     123|         |            |   . Manage extended description for categories names
     124|         |            |
     125|         |            |
     126|         |            |
    122127|         |            |
    123128|         |            |
Note: See TracChangeset for help on using the changeset viewer.