Changeset 32221 for extensions
- Timestamp:
- Jun 1, 2020, 9:26:37 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/manage_properties_photos/initadmin.php
r32188 r32221 53 53 54 54 function MPP_loc_end_element_set_global(){ 55 global $template ;55 global $template, $pwg_loaded_plugins; 56 56 57 57 $template->assign(array( … … 65 65 $propertieslist = array(); 66 66 $propertieslist2 = tab_add_info_by_photo(); 67 $PAED = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'ExtendedDescription';")); 68 if($PAED['state'] == 'active'){ 67 if (isset($pwg_loaded_plugins['ExtendedDescription'])){ 69 68 add_event_handler('AP_render_content', 'get_user_language_desc'); 70 69 $template->assign('useED',1);
Note: See TracChangeset
for help on using the changeset viewer.