Changeset 31492


Ignore:
Timestamp:
03/22/16 17:50:46 (4 years ago)
Author:
ddtddt
Message:

[extensions] - meta - 2.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/meta/initadmin.php

    r31491 r31492  
    126126  if (isset($_GET['cat_id'])) { 
    127127        global $template, $prefixeTable; 
     128        $PAED = pwg_db_fetch_assoc(pwg_query("SELECT state FROM " . PLUGINS_TABLE . " WHERE id = 'ExtendedDescription';")); 
     129        if($PAED['state'] == 'active'){ 
     130          $template->assign('useED',1); 
     131    }else{ 
     132      $template->assign('useED',0); 
     133    } 
    128134        $query = 'SELECT id,metaKeycat,metadescat FROM ' . meta_cat_TABLE . ' WHERE id = ' . $_GET['cat_id'] . ';'; 
    129135        $result = pwg_query($query); 
Note: See TracChangeset for help on using the changeset viewer.