Changeset 30053
- Timestamp:
- Oct 14, 2014, 9:28:26 PM (10 years ago)
- Location:
- extensions/modus
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/modus/css/picture.css.tpl
r26836 r30053 1 2 #imageToolBar .imageNumber { 1 #imageHeaderBar .imageNumber { 2 /* moved by prefilter from imageToolBar*/ 3 3 float: right; 4 margin:-28px 9px 0 0;5 4 } 6 5 -
extensions/modus/functions.inc.php
r29569 r30053 47 47 } 48 48 49 /* move imageNumber from imageToolBar to imageHeaderBar*/ 50 if (preg_match('#<div[ a-zA-Z"=]+id="?imageHeaderBar"?>#', $source, $matches, PREG_OFFSET_CAPTURE) 51 && preg_match('#<div class="?imageNumber"?>{\\$PHOTO}</div>#', $source, $matches2, PREG_OFFSET_CAPTURE, $matches[0][1]+20)) 52 { 53 $source = substr_replace($source, '', $matches2[0][1], strlen($matches2[0][0])); 54 $source = substr_replace($source, $matches2[0][0], $matches[0][1]+strlen($matches[0][0]),0); 55 } 56 49 57 if ( ($pos=strpos($source, '<ul class="categoryActions">'))!==false || ($pos=strpos($source, '<ul class=categoryActions>'))!==false){ 50 58 if ( ($pos2=strpos($source, '</ul>', $pos))!==false -
extensions/modus/themeconf.inc.php
r29799 r30053 26 26 27 27 $this->assign('MODUS_CSS_VERSION', crc32(implode(',', array( 28 ' a'.@$conf['modus_theme']['skin'],28 'd'.@$conf['modus_theme']['skin'], 29 29 @$conf['modus_theme']['album_thumb_size'], 30 30 ImageStdParams::get_by_type(IMG_SQUARE)->max_width(), … … 402 402 } 403 403 404 /*$debug[]= "avsize ".implode(',', $available_size); 405 $debug[]= "selsize ".implode(',', $selected_derivative->get_size());*/ 406 404 407 if ($available_size[2]>1 && $selected_derivative) 405 408 { … … 415 418 else 416 419 $display_size = array( round($size[0]/$available_size[2]), round($size[1]/$available_size[2]) ); 420 421 /*$debug[]= "dsize ".implode(',', $display_size); 422 $debug[]= "nsize ".implode(',', $size);*/ 423 417 424 $template->assign( array( 418 425 'rvas_display_size' => $display_size, … … 420 427 )); 421 428 } 429 /*if (is_admin()) 430 $template->append('footer_elements', implode("\n", $debug));*/ 422 431 423 432 if (isset($picture['next'])
Note: See TracChangeset
for help on using the changeset viewer.