Changeset 31363 for extensions/manage_properties_photos
- Timestamp:
- Feb 22, 2016, 6:37:21 PM (8 years ago)
- Location:
- extensions/manage_properties_photos
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/manage_properties_photos/admin.php
r30702 r31363 48 48 )); 49 49 50 $PAED = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'ExtendedDescription';"));51 50 $PAED = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'ExtendedDescription';")); 52 51 if($PAED['state'] == 'active'){ -
extensions/manage_properties_photos/initadmin.php
r31361 r31363 60 60 61 61 $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 } 64 68 65 69 while ($row = pwg_db_fetch_assoc($propertieslist2)) … … 71 75 $template->append('element_set_global_plugins_actions', array( 72 76 'ID' => 'MPP', 73 'NAME' => l10n('Change p roperties'),77 'NAME' => l10n('Change photos properties'), 74 78 'CONTENT' => $template->parse('MMPP', true) 75 79 )); -
extensions/manage_properties_photos/language/en_UK/plugin.lang.php
r31361 r31363 33 33 $lang['Properties List'] = 'Properties List'; 34 34 $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.