Created
December 18, 2016 08:47
-
-
Save dlenettr/a657963f1c0460a36eeb06892d6717c7 to your computer and use it in GitHub Desktop.
Film Reader Resim Galerisi Düzenleme (2459)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Ekran Görüntüleri Eklentisi | |
$_temp = explode("<br />", $xfieldsdata['screens'] ); | |
if ( count( $_temp ) > 0 ) { | |
$html = "<ul class=\"movie-images\" style=\"display: block;\">"; | |
foreach( $_temp as $link ) { | |
if ( ! empty( $link ) ) { | |
$html .= "<li class=\"image\"><a class=\"swipebox\" title=\"\" href=\"" . $link . "\"><img alt=\"screen\" src=\"" . $link . "\" title=\"Scene 1\"><span><i class=\"fa fa-search-plus\"> </i></span></a></li>"; | |
} | |
} | |
$html .= "</ul>"; | |
$tpl->set( "{screen-shots}", $html ); unset( $_temp ); | |
} else { | |
$tpl->set( "{screen-shots}", "" ); | |
} | |
// Ekran Görüntüleri Eklentisi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment