Changeset 31363


Ignore:
Timestamp:
02/22/16 18:37:21 (4 years ago)
Author:
ddtddt
Message:

[extensions] - manage_properties_photos - add manage by batch Manager language

Location:
extensions/manage_properties_photos
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • extensions/manage_properties_photos/admin.php

    r30702 r31363  
    4848    )); 
    4949     
    50     $PAED = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'ExtendedDescription';")); 
    5150    $PAED = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'ExtendedDescription';")); 
    5251    if($PAED['state'] == 'active'){ 
  • extensions/manage_properties_photos/initadmin.php

    r31361 r31363  
    6060 
    6161  $PAED = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'ExtendedDescription';")); 
    62     if ($PAED['state'] == 'active') 
    63     add_event_handler('AP_render_content', 'get_user_language_desc');   
     62        if($PAED['state'] == 'active'){ 
     63                add_event_handler('AP_render_content', 'get_user_language_desc'); 
     64                $template->assign('useED',1); 
     65    }else{ 
     66        $template->assign('useED',0); 
     67    } 
    6468 
    6569  while ($row = pwg_db_fetch_assoc($propertieslist2)) 
     
    7175$template->append('element_set_global_plugins_actions', array( 
    7276    'ID' => 'MPP',  
    73     'NAME' => l10n('Change properties'),  
     77    'NAME' => l10n('Change photos properties'),  
    7478    'CONTENT' => $template->parse('MMPP', true) 
    7579        )); 
  • extensions/manage_properties_photos/language/en_UK/plugin.lang.php

    r31361 r31363  
    3333$lang['Properties List'] = 'Properties List'; 
    3434$lang['Properties additionals'] = 'Properties additionals'; 
    35 $lang['You need to confirm'] = 'Vous devez confirmer'; 
     35$lang['You need to confirm'] = 'You need to confirm'; 
     36$lang['Change photos properties'] = 'Change photos properties'; 
Note: See TracChangeset for help on using the changeset viewer.