Changeset 20320 for extensions/Piwecard/include/piwecard.class.php
- Timestamp:
- Jan 22, 2013, 12:54:05 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/Piwecard/include/piwecard.class.php
r20284 r20320 180 180 181 181 if (!empty($page['category'])) { 182 // Gets all upper categories from the image category to test 183 // - if the upper category is activated for this function 182 // Gets all upper categories from the image category 184 183 $query = 'SELECT * FROM '.CATEGORIES_TABLE.' WHERE id = '.pwg_db_real_escape_string($page['category']['id']).';'; 185 184 $cat = pwg_db_fetch_assoc(pwg_query($query)); … … 477 476 global $page, $conf; 478 477 478 $border_config = $this->config['image_border']; 479 479 $smarty->assign(array( 480 'BORDER' => (($border_config['display']) ? 'border-style: '.$border_config['style'].'; border-width: '.$border_config['width'].'; border-color: #'.$border_config['color'].';' : ''), 480 481 'CONTENT_ENCODING' => get_pwg_charset(), 481 482 'GALLERY_URL' => get_absolute_root_url(),
Note: See TracChangeset
for help on using the changeset viewer.