Version Description
- After plugin update go to Skins page and update skins with 'Update skins' button.
- If you use Facebook template and copied it in the root directory, then after each plugin update click 'Copy facebook.php file to root directory'.
- If GRAND FlAGallery displays an error message after upgrade, go to FlAGallery Overview page and press 'Reset settings'.
- Have some troubles with plugin? Try first reseting settings, deactivate and reactivate plugin.
Download this release
Release Info
Developer | pasyuk |
Plugin | Gallery – Flagallery Photo Portfolio |
Version | 2.50 |
Comparing to | |
See all releases |
Code changes from version 2.18 to 2.50
- admin/css/flagallery_noflash.css +14 -8
- admin/flag_install.php +2 -2
- admin/images/like.png +0 -0
- admin/images/views.png +0 -0
- admin/jgallery.php +4 -2
- admin/skins.php +2 -26
- changelog.txt +4 -0
- flag.php +3 -3
- lib/shortcodes.php +1 -1
- lib/swfobject.php +22 -3
- readme.txt +9 -5
- skins/default/default.php +0 -192
- skins/default/gallery.php +0 -84
- skins/default/gallery.swf +0 -0
- skins/default/index.php +0 -3
- skins/default/license.txt +0 -674
- skins/default/old_colors.php +0 -43
- skins/default/screenshot.png +0 -0
- skins/default/settings.php +0 -20
- skins/minima_jn/gallery.swf +0 -0
- skins/minima_jn/minima_jn.php +12 -0
- skins/minima_jn/screenshot.png +0 -0
- skins/minima_jn/settings/settings.xml +174 -0
- widgets/widgets.php +2 -2
admin/css/flagallery_noflash.css
CHANGED
@@ -2,19 +2,25 @@
|
|
2 |
** Flash Album Gallery StyleSheet (no flash)
|
3 |
*/
|
4 |
.flashalbum {
|
5 |
-
-webkit-user-select: none;
|
6 |
-
-khtml-user-select: none;
|
7 |
-
-moz-user-select: -moz-none;
|
8 |
-
-ms-user-select: none;
|
9 |
-
-o-user-select: none;
|
10 |
-
user-select: none;
|
11 |
}
|
12 |
div.flashalbum br { display: none; }
|
13 |
.flag_alternate { margin: 7px 0; }
|
14 |
.flag_alternate .flagcategory { width: 100%; height: auto; position: relative; text-align: center; padding-bottom: 4px; }
|
15 |
-
.flag_alternate .flagcategory a.flag_pic_alt { display: inline-block; margin: 1px 0 0 1px; padding: 0; height:
|
16 |
.flag_alternate .flagcategory a.flag_pic_alt > .flag_pic_desc { display: none; padding: 4px; line-height: 140%; font-size: 12px; }
|
17 |
.flag_alternate .flagcategory a.flag_pic_alt > .flag_pic_desc * { display: none; line-height: 140%; font-size: 12px !important; }
|
18 |
.flag_alternate .flagcategory a.flag_pic_alt:hover { background-color: #ffffff; border: 2px solid #4a4a4a; color: #4a4a4a; text-decoration: none; z-index: 3; }
|
19 |
.flag_alternate .flagcategory a.flag_pic_alt.current, .flag_alternate .flagcategory a.flag_pic_alt.last { border-color: #4a4a4a; }
|
20 |
-
.flag_alternate .flagcategory a.flag_pic_alt > img { vertical-align: middle; display:inline-block; position: static; margin: 0 auto; padding: 0; border: none; height:
|
|
|
|
|
|
|
|
|
|
|
|
2 |
** Flash Album Gallery StyleSheet (no flash)
|
3 |
*/
|
4 |
.flashalbum {
|
5 |
+
-webkit-user-select: none;
|
6 |
+
-khtml-user-select: none;
|
7 |
+
-moz-user-select: -moz-none;
|
8 |
+
-ms-user-select: none;
|
9 |
+
-o-user-select: none;
|
10 |
+
user-select: none;
|
11 |
}
|
12 |
div.flashalbum br { display: none; }
|
13 |
.flag_alternate { margin: 7px 0; }
|
14 |
.flag_alternate .flagcategory { width: 100%; height: auto; position: relative; text-align: center; padding-bottom: 4px; }
|
15 |
+
.flag_alternate .flagcategory a.flag_pic_alt { display: inline-block; margin: 1px 0 0 1px; padding: 0; height: 120px; width: 120px; line-height: 96px; position:relative; overflow: hidden; text-align: center; z-index:99; cursor:pointer; background-color: #ffffff; border: 2px solid #ffffff; text-decoration: none; background-image: url(../images/loadingAnimation.gif); background-repeat: no-repeat; background-position: 50% 50%; font-size: 8px; color: #ffffff; }
|
16 |
.flag_alternate .flagcategory a.flag_pic_alt > .flag_pic_desc { display: none; padding: 4px; line-height: 140%; font-size: 12px; }
|
17 |
.flag_alternate .flagcategory a.flag_pic_alt > .flag_pic_desc * { display: none; line-height: 140%; font-size: 12px !important; }
|
18 |
.flag_alternate .flagcategory a.flag_pic_alt:hover { background-color: #ffffff; border: 2px solid #4a4a4a; color: #4a4a4a; text-decoration: none; z-index: 3; }
|
19 |
.flag_alternate .flagcategory a.flag_pic_alt.current, .flag_alternate .flagcategory a.flag_pic_alt.last { border-color: #4a4a4a; }
|
20 |
+
.flag_alternate .flagcategory a.flag_pic_alt > img { vertical-align: middle; display:inline-block; position: static; margin: 0 auto; padding: 0; border: none; height: 120px; width: 120px; min-height: 120px !important; min-width: 120px !important; max-height: 150px; max-width: 150px; line-height: 96px; font-size: 0; }
|
21 |
+
.flag_alternate .flagcategory a.flag_pic_alt .flag_pic_counters { position: absolute; left: 0; bottom: 0; right: 0; height: 20px; display: block; line-height: 20px; margin: 0; padding: 0 10px; text-align: left; visibility: hidden; opacity: 0.85; filter: "alpha(opacity=85)"; }
|
22 |
+
.flag_alternate .flagcategory a.flag_pic_alt:hover .flag_pic_counters { visibility: visible; }
|
23 |
+
.flag_alternate .flagcategory .flag_pic_counters i { display: inline-block; line-height: 20px; margin: 0; padding: 0 0 0 16px; background: url(../images/views.png) 0 50% no-repeat; font-style: normal; font-size: 12px; float: left; }
|
24 |
+
.flag_alternate .flagcategory .flag_pic_counters b { display: inline-block; line-height: 20px; margin: 0; padding: 0 0 0 16px; background: url(../images/like.png) 0 50% no-repeat; font-weight: normal; font-size: 12px; float: right; width: 25%; }
|
25 |
+
|
26 |
+
|
admin/flag_install.php
CHANGED
@@ -204,7 +204,7 @@ function flag_list_options() {
|
|
204 |
// Flash settings
|
205 |
$flag_options['skinsDirABS'] = str_replace("\\","/", WP_PLUGIN_DIR . '/flagallery-skins/' );
|
206 |
$flag_options['skinsDirURL'] = WP_PLUGIN_URL . '/flagallery-skins/';
|
207 |
-
$flag_options['flashSkin'] = '
|
208 |
$flag_options['flashWidth'] = '100%';
|
209 |
$flag_options['flashHeight'] = '500';
|
210 |
|
@@ -219,7 +219,7 @@ function flag_list_options() {
|
|
219 |
$flag_options['thumbFix'] = true; // Fix the dimension
|
220 |
$flag_options['thumbQuality'] = 100; // Thumb Quality
|
221 |
|
222 |
-
// Flash default skin colors settings
|
223 |
$flag_options['flashBacktransparent'] = false;
|
224 |
$flag_options['flashBackcolor'] = '262626';
|
225 |
$flag_options['buttonsBG'] = '000000';
|
204 |
// Flash settings
|
205 |
$flag_options['skinsDirABS'] = str_replace("\\","/", WP_PLUGIN_DIR . '/flagallery-skins/' );
|
206 |
$flag_options['skinsDirURL'] = WP_PLUGIN_URL . '/flagallery-skins/';
|
207 |
+
$flag_options['flashSkin'] = 'minima_jn';
|
208 |
$flag_options['flashWidth'] = '100%';
|
209 |
$flag_options['flashHeight'] = '500';
|
210 |
|
219 |
$flag_options['thumbFix'] = true; // Fix the dimension
|
220 |
$flag_options['thumbQuality'] = 100; // Thumb Quality
|
221 |
|
222 |
+
// Flash default skin colors settings TODO remove old settings
|
223 |
$flag_options['flashBacktransparent'] = false;
|
224 |
$flag_options['flashBackcolor'] = '262626';
|
225 |
$flag_options['buttonsBG'] = '000000';
|
admin/images/like.png
ADDED
Binary file
|
admin/images/views.png
ADDED
Binary file
|
admin/jgallery.php
CHANGED
@@ -20,7 +20,7 @@ if($BarsBG) {
|
|
20 |
$xml['alt'] .= "#fancybox-title-over .title { color: #{$TitleColor}; }
|
21 |
#fancybox-title-over .descr { color: #{$DescrColor}; }
|
22 |
.flag_alternate .flagcatlinks { background-color: #{$BarsBG}; }
|
23 |
-
.flag_alternate .flagcatlinks a.flagcat { color: #{$CatColor}; background-color: #{$CatBGColor}; }
|
24 |
.flag_alternate .flagcatlinks a.active, .flag_alternate .flagcatlinks a.flagcat:hover { color: #{$CatColorOver}; background-color: #{$CatBGColorOver}; }".PHP_EOL;
|
25 |
}
|
26 |
$xml['alt'] .= ".flag_alternate .flagcategory a.flag_pic_alt { background-color: #{$ThumbBG}; border: 2px solid #{$ThumbBG}; color: #{$ThumbBG}; }
|
@@ -97,7 +97,9 @@ foreach ( $gID as $galID ) {
|
|
97 |
if ($isCrawler){
|
98 |
$xml['alt'] .= '<a style="display:block; overflow: hidden; height: 100px; width: 115px; margin-bottom: 10px; background-color: #eeeeee; background-position: 22px 44px; text-align: left;" class="i'. $j++ .' flag_pic_alt" href="'.$siteurl.'/'.$thegalleries['path'].'/'.$picture['filename'].'" id="flag_pic_'.$pid.'" rel="gid_'.$galID.'_'.$skinID.'"><img style="float:left; margin-right: 10px; width: auto; height: auto; min-height:100px; min-width:115px;" title="'.strip_tags($picture['alttext']).'" alt="'.strip_tags($picture['alttext']).'" src="'.$siteurl.'/'.$thegalleries['path'].'/thumbs/thumbs_'.$picture['filename'].'" /><span style="display: block; overflow: hidden; text-decoration: none; color: #000; font-weight: normal;" class="flag_pic_desc" id="flag_desc_'.$pid.'"><strong>'.strip_tags($picture['alttext']).'</strong><br />'.strip_tags($picture['description'],'<b><u><i><span>').'</span></a>'.PHP_EOL;
|
99 |
} else {
|
100 |
-
$
|
|
|
|
|
101 |
}
|
102 |
}
|
103 |
$xml['alt'] .= '</div>'.PHP_EOL;
|
20 |
$xml['alt'] .= "#fancybox-title-over .title { color: #{$TitleColor}; }
|
21 |
#fancybox-title-over .descr { color: #{$DescrColor}; }
|
22 |
.flag_alternate .flagcatlinks { background-color: #{$BarsBG}; }
|
23 |
+
.flag_alternate .flagcatlinks a.flagcat, span.flag_pic_counters { color: #{$CatColor}; background-color: #{$CatBGColor}; }
|
24 |
.flag_alternate .flagcatlinks a.active, .flag_alternate .flagcatlinks a.flagcat:hover { color: #{$CatColorOver}; background-color: #{$CatBGColorOver}; }".PHP_EOL;
|
25 |
}
|
26 |
$xml['alt'] .= ".flag_alternate .flagcategory a.flag_pic_alt { background-color: #{$ThumbBG}; border: 2px solid #{$ThumbBG}; color: #{$ThumbBG}; }
|
97 |
if ($isCrawler){
|
98 |
$xml['alt'] .= '<a style="display:block; overflow: hidden; height: 100px; width: 115px; margin-bottom: 10px; background-color: #eeeeee; background-position: 22px 44px; text-align: left;" class="i'. $j++ .' flag_pic_alt" href="'.$siteurl.'/'.$thegalleries['path'].'/'.$picture['filename'].'" id="flag_pic_'.$pid.'" rel="gid_'.$galID.'_'.$skinID.'"><img style="float:left; margin-right: 10px; width: auto; height: auto; min-height:100px; min-width:115px;" title="'.strip_tags($picture['alttext']).'" alt="'.strip_tags($picture['alttext']).'" src="'.$siteurl.'/'.$thegalleries['path'].'/thumbs/thumbs_'.$picture['filename'].'" /><span style="display: block; overflow: hidden; text-decoration: none; color: #000; font-weight: normal;" class="flag_pic_desc" id="flag_desc_'.$pid.'"><strong>'.strip_tags($picture['alttext']).'</strong><br />'.strip_tags($picture['description'],'<b><u><i><span>').'</span></a>'.PHP_EOL;
|
99 |
} else {
|
100 |
+
$views = (intval($picture['hitcounter']) < 10000) ? $picture['hitcounter'] : round($picture['hitcounter']/1000, 1).'k';
|
101 |
+
$likes = (intval($picture['total_votes']) < 10000) ? $picture['total_votes'] : round($picture['total_votes']/1000, 1).'k';
|
102 |
+
$xml['alt'] .= '<a class="i'. $j++ .' flag_pic_alt" href="'.$siteurl.'/'.$thegalleries['path'].'/'.$picture['filename'].'" id="flag_pic_'.$pid.'" rel="gid_'.$galID.'_'.$skinID.'" title="'.strip_tags($picture['alttext']).'">[img src='.$siteurl.'/'.$thegalleries['path'].'/thumbs/thumbs_'.$picture['filename'].']<span class="flag_pic_counters"><i>'.$views.'</i><b>'.$picture['total_votes'].'</b></span><span class="flag_pic_desc" id="flag_desc_'.$pid.'"><strong>'.htmlspecialchars($picture['alttext']).'</strong><br /><span>'.htmlspecialchars($picture['description']).'</span></span></a>'.PHP_EOL;
|
103 |
}
|
104 |
}
|
105 |
$xml['alt'] .= '</div>'.PHP_EOL;
|
admin/skins.php
CHANGED
@@ -77,30 +77,6 @@ function upload_skin() {
|
|
77 |
$local_file = $uploads['basedir'] . '/' . $filename;
|
78 |
}
|
79 |
$installed_skin = do_skin_install_local_package($local_file, $filename);
|
80 |
-
if( $installed_skin && is_string($installed_skin) ) {
|
81 |
-
if ( file_exists($installed_skin.basename($installed_skin).'.png') ) {
|
82 |
-
@rename($installed_skin.basename($installed_skin).'.png', $installed_skin.'screenshot.png');
|
83 |
-
}
|
84 |
-
if( !file_exists( $installed_skin.'settings.php' ) ) {
|
85 |
-
if( file_exists( $installed_skin.'xml.php' ) ) {
|
86 |
-
if ( !@copy(dirname($installed_skin).'/default/old_colors.php', $installed_skin.'colors.php') ) {
|
87 |
-
echo "<p>".sprintf(__('Failed to copy and rename %1$s to %2$s','flag'),
|
88 |
-
dirname($installed_skin).'/default/old_colors.php', $installed_skin.'colors.php').'</p>';
|
89 |
-
}
|
90 |
-
$content = file_get_contents($installed_skin.'xml.php');
|
91 |
-
$pos = strpos($content,'/../../flash-album-gallery/flag-config.php');
|
92 |
-
if($pos === false) {
|
93 |
-
$content = str_replace('/../../flag-config.php','/../../flash-album-gallery/flag-config.php',$content);
|
94 |
-
$fp = fopen($installed_skin.'xml.php','w');
|
95 |
-
if( fwrite($fp,$content) === FALSE ) {
|
96 |
-
echo "<p>".sprintf(__('Failed to search string \'/../../flag-config.php\' and replace with \'/../../flash-album-gallery/flag-config.php\' in file \'%1$s\'','flag'),
|
97 |
-
$installed_skin.'xml.php').'</p>';
|
98 |
-
}
|
99 |
-
fclose($fp);
|
100 |
-
}
|
101 |
-
}
|
102 |
-
}
|
103 |
-
}
|
104 |
}
|
105 |
}
|
106 |
echo '</div>';
|
@@ -246,7 +222,7 @@ if( isset($_GET['skin']) ) {
|
|
246 |
$flag_options['flashSkin'] = $set_skin;
|
247 |
include_once($active_skin);
|
248 |
update_option('flag_options', $flag_options);
|
249 |
-
flagGallery::show_message( __('Skin','flag').' \''.$set_skin.'\' '.__('activated successfully','flag') );
|
250 |
}
|
251 |
}
|
252 |
$type = isset($_GET['type'])? $_GET['type'] : '';
|
@@ -416,7 +392,7 @@ $total_all_skins = count($all_skins);
|
|
416 |
?>
|
417 |
<?php echo implode(' | ', $skin_meta); ?>
|
418 |
</td>
|
419 |
-
<td class="skin-activate action-links">
|
420 |
<?php
|
421 |
if(isset($_GET['type']) && !empty($_GET['type'])) {
|
422 |
} else {
|
77 |
$local_file = $uploads['basedir'] . '/' . $filename;
|
78 |
}
|
79 |
$installed_skin = do_skin_install_local_package($local_file, $filename);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
80 |
}
|
81 |
}
|
82 |
echo '</div>';
|
222 |
$flag_options['flashSkin'] = $set_skin;
|
223 |
include_once($active_skin);
|
224 |
update_option('flag_options', $flag_options);
|
225 |
+
flagGallery::show_message( __('Skin','flag').' \''.$set_skin.'\' '.__('activated successfully. Optionally it can be overwritten with shortcode parameter.','flag') );
|
226 |
}
|
227 |
}
|
228 |
$type = isset($_GET['type'])? $_GET['type'] : '';
|
392 |
?>
|
393 |
<?php echo implode(' | ', $skin_meta); ?>
|
394 |
</td>
|
395 |
+
<td class="skin-activate action-links" style="white-space: nowrap;">
|
396 |
<?php
|
397 |
if(isset($_GET['type']) && !empty($_GET['type'])) {
|
398 |
} else {
|
changelog.txt
CHANGED
@@ -1,6 +1,10 @@
|
|
1 |
GRAND FlAGallery
|
2 |
by Rattus & CodEasily DEV Team
|
3 |
|
|
|
|
|
|
|
|
|
4 |
= v2.18 - 23.01.2013 =
|
5 |
* Fixed: Minor fix for skin settings. Skin settings not saved on some servers.
|
6 |
|
1 |
GRAND FlAGallery
|
2 |
by Rattus & CodEasily DEV Team
|
3 |
|
4 |
+
= v2.50 - 05.02.2013 =
|
5 |
+
* Added: New Default 'Minima' skin - better, faster, nicer.
|
6 |
+
* Added: Image views and likes now visible in alternative gallery
|
7 |
+
|
8 |
= v2.18 - 23.01.2013 =
|
9 |
* Fixed: Minor fix for skin settings. Skin settings not saved on some servers.
|
10 |
|
flag.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: GRAND Flash Album Gallery
|
4 |
Plugin URI: http://codeasily.com/wordpress-plugins/flash-album-gallery/flag/
|
5 |
Description: The GRAND FlAGallery plugin - provides a comprehensive interface for managing photos and images through a set of admin pages, and it displays photos in a way that makes your web site look very professional.
|
6 |
-
Version: 2.
|
7 |
Author: Rattus
|
8 |
Author URI: http://codeasily.com/
|
9 |
|
@@ -23,10 +23,10 @@ if(preg_match('#' . basename(__FILE__) . '#', $_SERVER['PHP_SELF'])) { die('You
|
|
23 |
if (!class_exists('flagLoad')) {
|
24 |
class flagLoad {
|
25 |
|
26 |
-
var $version = '2.
|
27 |
var $dbversion = '1.24';
|
28 |
var $minium_WP = '3.0';
|
29 |
-
var $minium_WPMU = '
|
30 |
var $flagAdminPanel;
|
31 |
var $options = '';
|
32 |
var $manage_page;
|
3 |
Plugin Name: GRAND Flash Album Gallery
|
4 |
Plugin URI: http://codeasily.com/wordpress-plugins/flash-album-gallery/flag/
|
5 |
Description: The GRAND FlAGallery plugin - provides a comprehensive interface for managing photos and images through a set of admin pages, and it displays photos in a way that makes your web site look very professional.
|
6 |
+
Version: 2.50
|
7 |
Author: Rattus
|
8 |
Author URI: http://codeasily.com/
|
9 |
|
23 |
if (!class_exists('flagLoad')) {
|
24 |
class flagLoad {
|
25 |
|
26 |
+
var $version = '2.50';
|
27 |
var $dbversion = '1.24';
|
28 |
var $minium_WP = '3.0';
|
29 |
+
var $minium_WPMU = '3.0';
|
30 |
var $flagAdminPanel;
|
31 |
var $options = '';
|
32 |
var $manage_page;
|
lib/shortcodes.php
CHANGED
@@ -98,7 +98,7 @@ class FlAG_shortcodes {
|
|
98 |
if($skin == '') $skin = $flag_options['flashSkin'];
|
99 |
$skinpath = trailingslashit( $flag_options['skinsDirABS'] ).$skin;
|
100 |
if(!is_dir($skinpath)) {
|
101 |
-
$skin = '
|
102 |
$skinpath = trailingslashit( $flag_options['skinsDirABS'] ).$skin;
|
103 |
}
|
104 |
$this->flag_shortcode = true;
|
98 |
if($skin == '') $skin = $flag_options['flashSkin'];
|
99 |
$skinpath = trailingslashit( $flag_options['skinsDirABS'] ).$skin;
|
100 |
if(!is_dir($skinpath)) {
|
101 |
+
$skin = 'minima_jn';
|
102 |
$skinpath = trailingslashit( $flag_options['skinsDirABS'] ).$skin;
|
103 |
}
|
104 |
$this->flag_shortcode = true;
|
lib/swfobject.php
CHANGED
@@ -28,7 +28,7 @@ function flagShowFlashAlbum($galleryID, $name='', $width='', $height='', $skin='
|
|
28 |
if($skin == '') $skin = $flag_options['flashSkin'];
|
29 |
$skinpath = ABSPATH.'wp-content/plugins/flagallery-skins/'.$skin;
|
30 |
if(!is_dir($skinpath)) {
|
31 |
-
$skin = '
|
32 |
$skinpath = ABSPATH.'wp-content/plugins/flagallery-skins/'.$skin;
|
33 |
}
|
34 |
$swfmousewheel = '';
|
@@ -71,6 +71,7 @@ function flagShowFlashAlbum($galleryID, $name='', $width='', $height='', $skin='
|
|
71 |
$altColors['DescrColor'] = $flag_options['DescrColor'];
|
72 |
$altColors['FullWindow'] = $fullwindow;
|
73 |
|
|
|
74 |
include(FLAG_ABSPATH."admin/jgallery.php");
|
75 |
if($flag_options['jAlterGal']) {
|
76 |
$alternate = $xml['alt'];
|
@@ -182,6 +183,11 @@ function flagShowVPlayer($playlist, $width, $height, $wmode='') {
|
|
182 |
$skin = $playlist_data['skin'];
|
183 |
$skinpath = ABSPATH.'wp-content/plugins/flagallery-skins/'.$skin;
|
184 |
include_once ( $skinpath.'/'.$skin.'.php' );
|
|
|
|
|
|
|
|
|
|
|
185 |
$isCrawler = flagGetUserNow($_SERVER['HTTP_USER_AGENT']);
|
186 |
$args = array(
|
187 |
'playlist' => $playlist,
|
@@ -189,6 +195,7 @@ function flagShowVPlayer($playlist, $width, $height, $wmode='') {
|
|
189 |
'width' => $width,
|
190 |
'height' => $height,
|
191 |
'wmode' => $wmode,
|
|
|
192 |
'crawler' => $isCrawler
|
193 |
);
|
194 |
$out = apply_filters( 'flagShowVideoSkin', $args );
|
@@ -256,15 +263,21 @@ function flagShowBanner($xml, $width, $height, $wmode='') {
|
|
256 |
$items = $playlist_data['items'];
|
257 |
$skinpath = ABSPATH.'wp-content/plugins/flagallery-skins/'.$skin;
|
258 |
include_once ( $skinpath.'/'.$skin.'.php' );
|
|
|
|
|
|
|
|
|
|
|
259 |
$isCrawler = flagGetUserNow($_SERVER['HTTP_USER_AGENT']);
|
260 |
$args = array(
|
261 |
-
'xml'
|
262 |
'skin' => $skin,
|
263 |
'items' => $items,
|
264 |
'width' => $width,
|
265 |
'height' => $height,
|
266 |
'wmode' => $wmode,
|
267 |
-
'
|
|
|
268 |
);
|
269 |
$out = apply_filters( 'flagShowBannerSkin', $args );
|
270 |
return $out;
|
@@ -284,9 +297,15 @@ function flagShowWidgetBanner($xml, $width, $height, $skin) {
|
|
284 |
$items = $playlist_data['items'];
|
285 |
$skinpath = ABSPATH.'wp-content/plugins/flagallery-skins/'.$skin;
|
286 |
include_once ( $skinpath.'/'.$skin.'.php' );
|
|
|
|
|
|
|
|
|
|
|
287 |
$args = array(
|
288 |
'xml' => $xml,
|
289 |
'skin' => $skin,
|
|
|
290 |
'items' => $items,
|
291 |
'width' => $width,
|
292 |
'height' => $height
|
28 |
if($skin == '') $skin = $flag_options['flashSkin'];
|
29 |
$skinpath = ABSPATH.'wp-content/plugins/flagallery-skins/'.$skin;
|
30 |
if(!is_dir($skinpath)) {
|
31 |
+
$skin = 'minima_jn';
|
32 |
$skinpath = ABSPATH.'wp-content/plugins/flagallery-skins/'.$skin;
|
33 |
}
|
34 |
$swfmousewheel = '';
|
71 |
$altColors['DescrColor'] = $flag_options['DescrColor'];
|
72 |
$altColors['FullWindow'] = $fullwindow;
|
73 |
|
74 |
+
/** @var $xml array */
|
75 |
include(FLAG_ABSPATH."admin/jgallery.php");
|
76 |
if($flag_options['jAlterGal']) {
|
77 |
$alternate = $xml['alt'];
|
183 |
$skin = $playlist_data['skin'];
|
184 |
$skinpath = ABSPATH.'wp-content/plugins/flagallery-skins/'.$skin;
|
185 |
include_once ( $skinpath.'/'.$skin.'.php' );
|
186 |
+
if(isset($flag_options['license_key'])){
|
187 |
+
$lkey = $flag_options['license_key'];
|
188 |
+
} else {
|
189 |
+
$lkey = '';
|
190 |
+
}
|
191 |
$isCrawler = flagGetUserNow($_SERVER['HTTP_USER_AGENT']);
|
192 |
$args = array(
|
193 |
'playlist' => $playlist,
|
195 |
'width' => $width,
|
196 |
'height' => $height,
|
197 |
'wmode' => $wmode,
|
198 |
+
'lkey' => $lkey,
|
199 |
'crawler' => $isCrawler
|
200 |
);
|
201 |
$out = apply_filters( 'flagShowVideoSkin', $args );
|
263 |
$items = $playlist_data['items'];
|
264 |
$skinpath = ABSPATH.'wp-content/plugins/flagallery-skins/'.$skin;
|
265 |
include_once ( $skinpath.'/'.$skin.'.php' );
|
266 |
+
if(isset($flag_options['license_key'])){
|
267 |
+
$lkey = $flag_options['license_key'];
|
268 |
+
} else {
|
269 |
+
$lkey = '';
|
270 |
+
}
|
271 |
$isCrawler = flagGetUserNow($_SERVER['HTTP_USER_AGENT']);
|
272 |
$args = array(
|
273 |
+
'xml' => $xml,
|
274 |
'skin' => $skin,
|
275 |
'items' => $items,
|
276 |
'width' => $width,
|
277 |
'height' => $height,
|
278 |
'wmode' => $wmode,
|
279 |
+
'lkey' => $lkey,
|
280 |
+
'crawler' => $isCrawler
|
281 |
);
|
282 |
$out = apply_filters( 'flagShowBannerSkin', $args );
|
283 |
return $out;
|
297 |
$items = $playlist_data['items'];
|
298 |
$skinpath = ABSPATH.'wp-content/plugins/flagallery-skins/'.$skin;
|
299 |
include_once ( $skinpath.'/'.$skin.'.php' );
|
300 |
+
if(isset($flag_options['license_key'])){
|
301 |
+
$lkey = $flag_options['license_key'];
|
302 |
+
} else {
|
303 |
+
$lkey = '';
|
304 |
+
}
|
305 |
$args = array(
|
306 |
'xml' => $xml,
|
307 |
'skin' => $skin,
|
308 |
+
'lkey' => $lkey,
|
309 |
'items' => $items,
|
310 |
'width' => $width,
|
311 |
'height' => $height
|
readme.txt
CHANGED
@@ -1,4 +1,4 @@
|
|
1 |
-
=== GRAND FlAGallery ===
|
2 |
Contributors: Rattus
|
3 |
Donate link: http://photogallerycreator.com/grand-flagallery/
|
4 |
Tags: admin, flash, fullscreen gallery, gallery, image, images, image gallery, mp3, music, page, photo, slider, plugin, Post, posts, slideshow, video, widget, iOS gallery, iphone gallery
|
@@ -21,15 +21,15 @@ New version of Banner Rotator!!! Now it is responsive. Full support of iPhone/iP
|
|
21 |
|
22 |
Music/Video Player: Each instance (player copy) can play different file. All instances are connected between, so as soon as one start playing the previous is stopped automatically. Playlists also available.
|
23 |
|
24 |
-
* iPhone, iPad, Android, Blackberry
|
25 |
* Full-screen mobile friendly slideshow with touch controls (optional, if set PhotoSwipe library script for alternative gallery).
|
26 |
-
*
|
27 |
|
28 |
Added: GRAND Pages - Full Window Gallery Template. Now you can display your image gallery in full window separate page (gallery template). [View Demo 1](http://photogallerycreator.com/flagallery/grand-pages-full-window-gallery-template/), [View Demo 2](http://photogallerycreator.com/flagallery/3d-sphere-v2-0-full-window-mode/)
|
29 |
|
30 |
-
|
31 |
|
32 |
-
|
33 |
|
34 |
* Demo [Photo Galleries](http://photogallerycreator.com/grand-flagallery/)
|
35 |
* Demo [Full Window Gallery Template](http://photogallerycreator.com/flagallery/grand-pages-full-window-gallery-template/)
|
@@ -41,6 +41,10 @@ Starting with version 1.70 and with new [PhotoBlog skin](http://photogallerycrea
|
|
41 |
|
42 |
== Changelog ==
|
43 |
|
|
|
|
|
|
|
|
|
44 |
= v2.18 - 23.01.2013 =
|
45 |
* Fixed: Minor fix for skin settings. Skin settings not saved on some servers.
|
46 |
|
1 |
+
=== GRAND FlAGallery ===
|
2 |
Contributors: Rattus
|
3 |
Donate link: http://photogallerycreator.com/grand-flagallery/
|
4 |
Tags: admin, flash, fullscreen gallery, gallery, image, images, image gallery, mp3, music, page, photo, slider, plugin, Post, posts, slideshow, video, widget, iOS gallery, iphone gallery
|
21 |
|
22 |
Music/Video Player: Each instance (player copy) can play different file. All instances are connected between, so as soon as one start playing the previous is stopped automatically. Playlists also available.
|
23 |
|
24 |
+
* iPhone, iPad, Android, Blackberry and Desktop friendly photo gallery, SEO optimized.
|
25 |
* Full-screen mobile friendly slideshow with touch controls (optional, if set PhotoSwipe library script for alternative gallery).
|
26 |
+
* Widgets for Banner Rotator, Photo Gallery and Video Gallery.
|
27 |
|
28 |
Added: GRAND Pages - Full Window Gallery Template. Now you can display your image gallery in full window separate page (gallery template). [View Demo 1](http://photogallerycreator.com/flagallery/grand-pages-full-window-gallery-template/), [View Demo 2](http://photogallerycreator.com/flagallery/3d-sphere-v2-0-full-window-mode/)
|
29 |
|
30 |
+
You have the opportunity to create image gallery, as separate pages. It looks very cool when you open image gallery, and gallery images occupies the entire page... such a large and beautiful. Wow! And there is a button with which you can go back to the previous page. You can also specify the name of the button and link.
|
31 |
|
32 |
+
Now you can see "Views" of each photo in the gallery and visitors can "Like" image and see image "Rating".
|
33 |
|
34 |
* Demo [Photo Galleries](http://photogallerycreator.com/grand-flagallery/)
|
35 |
* Demo [Full Window Gallery Template](http://photogallerycreator.com/flagallery/grand-pages-full-window-gallery-template/)
|
41 |
|
42 |
== Changelog ==
|
43 |
|
44 |
+
= v2.50 - 05.02.2013 =
|
45 |
+
* Added: New Default 'Minima' skin - better, faster, nicer.
|
46 |
+
* Added: Image views and likes now visible in alternative gallery
|
47 |
+
|
48 |
= v2.18 - 23.01.2013 =
|
49 |
* Fixed: Minor fix for skin settings. Skin settings not saved on some servers.
|
50 |
|
skins/default/default.php
DELETED
@@ -1,192 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
/*
|
3 |
-
Skin Name: Default Skin (Midnight)
|
4 |
-
Skin URI:
|
5 |
-
Description: Midnight skin for Flash Album Gallery. <br /><strong>Compatible:</strong><li>HitCounter</li><li>Alternate jQuery gallery for iPhone / iPad and devices without flash player.</li><li>SEO optimized and support feed RSS2.</li><li>GRAND Pages - FullWindow Mode</li><strong style="color: red;">Recommended - GRAND FlAGallery v1.7 or higher.</strong><br /><br />You can use any language you want for album name, alt/title and description in FlAGallery ;)<br /><br />Details: system font for image description, bottom thumbnails, 'FS' (full screen) button, 'SL' (slideshow) button, image description button (i)
|
6 |
-
Author: PGC
|
7 |
-
Author URI: http://PhotoGalleryCreator.com
|
8 |
-
Version: 4.1
|
9 |
-
*/
|
10 |
-
|
11 |
-
function flag_skin_options() {
|
12 |
-
require_once( str_replace("\\","/", dirname(__FILE__).'/settings.php') );
|
13 |
-
$file_settings = str_replace("\\","/", dirname(dirname(__FILE__)).'/'.basename( dirname(__FILE__) ).'_settings.php');
|
14 |
-
if ( file_exists( $file_settings ) ) {
|
15 |
-
include_once( $file_settings );
|
16 |
-
}
|
17 |
-
?>
|
18 |
-
<script type="text/javascript">
|
19 |
-
jQuery(document).ready(function() {
|
20 |
-
jQuery('#colors .colorPick').each( function(){
|
21 |
-
var inpID = jQuery(this).attr('name');
|
22 |
-
jQuery('#cp_'+inpID).farbtastic('#'+inpID);
|
23 |
-
jQuery('#'+inpID).focus( function(){
|
24 |
-
jQuery('#cp_'+inpID).show();
|
25 |
-
});
|
26 |
-
jQuery('#'+inpID).blur( function(){
|
27 |
-
jQuery('#cp_'+inpID).hide();
|
28 |
-
});
|
29 |
-
});
|
30 |
-
function tChecked() {
|
31 |
-
if( jQuery('#flashBacktransparent').attr('checked') ) {
|
32 |
-
var dclone=jQuery('#flashBackcolor').clone();
|
33 |
-
jQuery('#flashBackcolor').hide();
|
34 |
-
dclone.removeAttr('style').removeAttr('id').removeAttr('name').addClass('flashBackcolor').attr('disabled','disabled').insertAfter('#flashBackcolor');
|
35 |
-
} else {
|
36 |
-
jQuery('.flashBackcolor').remove();
|
37 |
-
jQuery('#flashBackcolor').show();
|
38 |
-
}
|
39 |
-
}
|
40 |
-
tChecked();
|
41 |
-
jQuery("#flashBacktransparent").click(tChecked);
|
42 |
-
jQuery("#skin_default").click(function(){
|
43 |
-
jQuery("#flashBacktransparent").removeAttr('checked');
|
44 |
-
jQuery("#flashBackcolor") .val('262626');
|
45 |
-
jQuery("#buttonsBG") .val('000000');
|
46 |
-
jQuery("#buttonsMouseOver") .val('7485c2');
|
47 |
-
jQuery("#buttonsMouseOut") .val('717171');
|
48 |
-
jQuery("#catButtonsMouseOver") .val('000000');
|
49 |
-
jQuery("#catButtonsMouseOut") .val('000000');
|
50 |
-
jQuery("#catButtonsTextMouseOver") .val('7485c2');
|
51 |
-
jQuery("#catButtonsTextMouseOut") .val('bcbcbc');
|
52 |
-
jQuery("#thumbMouseOver") .val('7485c2');
|
53 |
-
jQuery("#thumbMouseOut") .val('000000');
|
54 |
-
jQuery("#mainTitle") .val('ffffff');
|
55 |
-
jQuery("#categoryTitle") .val('7485c2');
|
56 |
-
jQuery("#itemBG") .val('eae6ef');
|
57 |
-
jQuery("#itemTitle") .val('7485c2');
|
58 |
-
jQuery("#itemDescription") .val('e0e0e0');
|
59 |
-
tChecked();
|
60 |
-
return false;
|
61 |
-
});
|
62 |
-
jQuery("#slideshow_default").click(function(){
|
63 |
-
jQuery('#autoSlideShow option[value="false"]').attr('selected','selected');
|
64 |
-
jQuery('#slDelay option[value="4"]:first').attr('selected','selected');
|
65 |
-
return false;
|
66 |
-
});
|
67 |
-
});
|
68 |
-
</script>
|
69 |
-
<form method="POST"><div>
|
70 |
-
<?php wp_nonce_field('skin_settings'); ?>
|
71 |
-
<input type="hidden" name="skin_options" value="autoSlideShow,slDelay,flashBackcolor,buttonsBG,flashBacktransparent,buttonsMouseOver,buttonsMouseOut,catButtonsMouseOver,catButtonsMouseOut,catButtonsTextMouseOver,catButtonsTextMouseOut,thumbMouseOver,thumbMouseOut,mainTitle,categoryTitle,itemBG,itemTitle,itemDescription" />
|
72 |
-
<!-- Slideshow settings -->
|
73 |
-
<h3><?php _e('Slideshow Settings','flag'); ?> <small style="margin-left:20px;"><a href="#" id="slideshow_default">(<?php _e('set default settings','flag'); ?>)</a></small></h3>
|
74 |
-
<table id="slideshow" class="form-table flag-options">
|
75 |
-
<tr>
|
76 |
-
<th style="width: 30%;"><?php _e('Auto Slideshow','flag'); ?>:</th>
|
77 |
-
<td><select name="autoSlideShow" id="autoSlideShow" style="width: 72px;">
|
78 |
-
<option value="false" <?php selected('false', $autoSlideShow); ?>> <?php _e('Off', 'flag') ;?></option>
|
79 |
-
<option value="true" <?php selected('true', $autoSlideShow); ?>> <?php _e('On', 'flag') ;?></option>
|
80 |
-
</select></td>
|
81 |
-
</tr>
|
82 |
-
<tr>
|
83 |
-
<th style="width: 30%;"><?php _e('Slideshow Delay','flag'); ?>:</th>
|
84 |
-
<td><select name="slDelay" id="slDelay" style="width: 72px;">
|
85 |
-
<option value="4" <?php selected('4', $slDelay); ?>> Default</option>
|
86 |
-
<option value="1" <?php selected('1', $slDelay); ?>> 1</option>
|
87 |
-
<option value="2" <?php selected('2', $slDelay); ?>> 2</option>
|
88 |
-
<option value="3" <?php selected('3', $slDelay); ?>> 3</option>
|
89 |
-
<option value="4"> 4</option>
|
90 |
-
<option value="5" <?php selected('5', $slDelay); ?>> 5</option>
|
91 |
-
<option value="6" <?php selected('6', $slDelay); ?>> 6</option>
|
92 |
-
<option value="7" <?php selected('7', $slDelay); ?>> 7</option>
|
93 |
-
<option value="8" <?php selected('8', $slDelay); ?>> 8</option>
|
94 |
-
<option value="9" <?php selected('9', $slDelay); ?>> 9</option>
|
95 |
-
<option value="10" <?php selected('10', $slDelay); ?>> 10</option>
|
96 |
-
<option value="11" <?php selected('11', $slDelay); ?>> 11</option>
|
97 |
-
<option value="12" <?php selected('12', $slDelay); ?>> 12</option>
|
98 |
-
<option value="13" <?php selected('13', $slDelay); ?>> 13</option>
|
99 |
-
<option value="14" <?php selected('14', $slDelay); ?>> 14</option>
|
100 |
-
<option value="15" <?php selected('15', $slDelay); ?>> 15</option>
|
101 |
-
<option value="16" <?php selected('16', $slDelay); ?>> 16</option>
|
102 |
-
<option value="17" <?php selected('17', $slDelay); ?>> 17</option>
|
103 |
-
<option value="18" <?php selected('18', $slDelay); ?>> 18</option>
|
104 |
-
<option value="19" <?php selected('19', $slDelay); ?>> 19</option>
|
105 |
-
<option value="20" <?php selected('20', $slDelay); ?>> 20</option>
|
106 |
-
<option value="21" <?php selected('21', $slDelay); ?>> 21</option>
|
107 |
-
<option value="22" <?php selected('22', $slDelay); ?>> 22</option>
|
108 |
-
<option value="23" <?php selected('23', $slDelay); ?>> 23</option>
|
109 |
-
<option value="24" <?php selected('24', $slDelay); ?>> 24</option>
|
110 |
-
<option value="25" <?php selected('25', $slDelay); ?>> 25</option>
|
111 |
-
<option value="26" <?php selected('26', $slDelay); ?>> 26</option>
|
112 |
-
<option value="27" <?php selected('27', $slDelay); ?>> 27</option>
|
113 |
-
<option value="28" <?php selected('28', $slDelay); ?>> 28</option>
|
114 |
-
<option value="29" <?php selected('29', $slDelay); ?>> 29</option>
|
115 |
-
<option value="30" <?php selected('30', $slDelay); ?>> 30</option>
|
116 |
-
</select></td>
|
117 |
-
</tr>
|
118 |
-
</table>
|
119 |
-
|
120 |
-
<!-- Color settings -->
|
121 |
-
<h3><?php _e('Color Settings','flag'); ?> <small style="margin-left:20px;"><a href="#" id="skin_default">(<?php _e('set default settings','flag'); ?>)</a></small></h3>
|
122 |
-
<table id="colors" class="form-table flag-options">
|
123 |
-
<tr>
|
124 |
-
<th style="width: 30%;"><?php _e('Background Color','flag'); ?>:</th>
|
125 |
-
<td><input class="colorPick" type="text" size="7" maxlength="6" id="flashBackcolor" name="flashBackcolor" value="<?php echo $flashBackcolor?>" /><div id="cp_flashBackcolor" style="background:#F9F9F9;position:absolute;display:none;"></div> <label><input type="checkbox" id="flashBacktransparent" name="flashBacktransparent" value="transparent" <?php checked('transparent', $flashBacktransparent); ?> /> transparent</label></td>
|
126 |
-
</tr>
|
127 |
-
<tr>
|
128 |
-
<th><?php _e('Buttons Background Color','flag'); ?>:</th>
|
129 |
-
<td><input class="colorPick" type="text" size="7" maxlength="6" id="buttonsBG" name="buttonsBG" value="<?php echo $buttonsBG; ?>" /><div id="cp_buttonsBG" style="background:#F9F9F9;position:absolute;display:none;"></div></td>
|
130 |
-
</tr>
|
131 |
-
<tr>
|
132 |
-
<th><?php _e('Buttons Text Color','flag'); ?>:</th>
|
133 |
-
<td>
|
134 |
-
<input class="colorPick" type="text" size="7" maxlength="6" id="buttonsMouseOver" name="buttonsMouseOver" value="<?php echo $buttonsMouseOver; ?>" /> mouseOver<br />
|
135 |
-
<div id="cp_buttonsMouseOver" style="background:#F9F9F9;position:absolute;display:none;"></div>
|
136 |
-
<input class="colorPick" type="text" size="7" maxlength="6" id="buttonsMouseOut" name="buttonsMouseOut" value="<?php echo $buttonsMouseOut; ?>" /> mouseOut<br />
|
137 |
-
<div id="cp_buttonsMouseOut" style="background:#F9F9F9;position:absolute;display:none;"></div>
|
138 |
-
</td>
|
139 |
-
</tr>
|
140 |
-
<tr>
|
141 |
-
<th><?php _e('Category Buttons Color','flag'); ?>:</th>
|
142 |
-
<td>
|
143 |
-
<input class="colorPick" type="text" size="7" maxlength="6" id="catButtonsMouseOver" name="catButtonsMouseOver" value="<?php echo $catButtonsMouseOver; ?>" /> mouseOver<br />
|
144 |
-
<div id="cp_catButtonsMouseOver" style="background:#F9F9F9;position:absolute;display:none;"></div>
|
145 |
-
<input class="colorPick" type="text" size="7" maxlength="6" id="catButtonsMouseOut" name="catButtonsMouseOut" value="<?php echo $catButtonsMouseOut; ?>" /> mouseOut<br />
|
146 |
-
<div id="cp_catButtonsMouseOut" style="background:#F9F9F9;position:absolute;display:none;"></div>
|
147 |
-
</td>
|
148 |
-
</tr>
|
149 |
-
<tr>
|
150 |
-
<th><?php _e('Category Buttons Text Color','flag'); ?>:</th>
|
151 |
-
<td>
|
152 |
-
<input class="colorPick" type="text" size="7" maxlength="6" id="catButtonsTextMouseOver" name="catButtonsTextMouseOver" value="<?php echo $catButtonsTextMouseOver; ?>" /> mouseOver<br />
|
153 |
-
<div id="cp_catButtonsTextMouseOver" style="background:#F9F9F9;position:absolute;display:none;"></div>
|
154 |
-
<input class="colorPick" type="text" size="7" maxlength="6" id="catButtonsTextMouseOut" name="catButtonsTextMouseOut" value="<?php echo $catButtonsTextMouseOut; ?>" /> mouseOut<br />
|
155 |
-
<div id="cp_catButtonsTextMouseOut" style="background:#F9F9F9;position:absolute;display:none;"></div>
|
156 |
-
</td>
|
157 |
-
</tr>
|
158 |
-
<tr>
|
159 |
-
<th><?php _e('Thumbs Rollover Color','flag'); ?>:</th>
|
160 |
-
<td>
|
161 |
-
<input class="colorPick" type="text" size="7" maxlength="6" id="thumbMouseOver" name="thumbMouseOver" value="<?php echo $thumbMouseOver; ?>" /> mouseOver<br />
|
162 |
-
<div id="cp_thumbMouseOver" style="background:#F9F9F9;position:absolute;display:none;"></div>
|
163 |
-
<input class="colorPick" type="text" size="7" maxlength="6" id="thumbMouseOut" name="thumbMouseOut" value="<?php echo $thumbMouseOut; ?>" /> mouseOut<br />
|
164 |
-
<div id="cp_thumbMouseOut" style="background:#F9F9F9;position:absolute;display:none;"></div>
|
165 |
-
</td>
|
166 |
-
</tr>
|
167 |
-
<tr>
|
168 |
-
<th><?php _e('Main Title','flag'); ?>:</th>
|
169 |
-
<td><input class="colorPick" type="text" size="7" maxlength="6" id="mainTitle" name="mainTitle" value="<?php echo $mainTitle; ?>" /><div id="cp_mainTitle" style="background:#F9F9F9;position:absolute;display:none;"></div></td>
|
170 |
-
</tr>
|
171 |
-
<tr>
|
172 |
-
<th><?php _e('Category Title','flag'); ?>:</th>
|
173 |
-
<td><input class="colorPick" type="text" size="7" maxlength="6" id="categoryTitle" name="categoryTitle" value="<?php echo $categoryTitle; ?>" /><div id="cp_categoryTitle" style="background:#F9F9F9;position:absolute;display:none;"></div></td>
|
174 |
-
</tr>
|
175 |
-
<tr>
|
176 |
-
<th><?php _e('Item Background','flag'); ?>:</th>
|
177 |
-
<td><input class="colorPick" type="text" size="7" maxlength="6" id="itemBG" name="itemBG" value="<?php echo $itemBG; ?>" /><div id="cp_itemBG" style="background:#F9F9F9;position:absolute;display:none;"></div></td>
|
178 |
-
</tr>
|
179 |
-
<tr>
|
180 |
-
<th><?php _e('Item Title','flag'); ?>:</th>
|
181 |
-
<td><input class="colorPick" type="text" size="7" maxlength="6" id="itemTitle" name="itemTitle" value="<?php echo $itemTitle; ?>" /><div id="cp_itemTitle" style="background:#F9F9F9;position:absolute;display:none;"></div></td>
|
182 |
-
</tr>
|
183 |
-
<tr>
|
184 |
-
<th><?php _e('Item Description','flag'); ?>:</th>
|
185 |
-
<td><input class="colorPick" type="text" size="7" maxlength="6" id="itemDescription" name="itemDescription" value="<?php echo $itemDescription; ?>" /><div id="cp_itemDescription" style="background:#F9F9F9;position:absolute;display:none;"></div></td>
|
186 |
-
</tr>
|
187 |
-
</table>
|
188 |
-
|
189 |
-
<div class="clear"> </div>
|
190 |
-
<div class="submit"><input class="button-primary" type="submit" name="updateskinoption" value="<?php _e('Save Changes', 'flag'); ?>"/></div>
|
191 |
-
</div></form>
|
192 |
-
<?php } ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
skins/default/gallery.php
DELETED
@@ -1,84 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
// Create XML output
|
3 |
-
header("content-type:text/xml;charset=utf-8");
|
4 |
-
|
5 |
-
// look up for the path
|
6 |
-
if(file_exists(dirname(dirname(dirname(__FILE__))) . "/flash-album-gallery/flag-config.php")) {
|
7 |
-
require_once( str_replace("\\","/", dirname(dirname(dirname(__FILE__))) . "/flash-album-gallery/flag-config.php") );
|
8 |
-
} else if(file_exists(dirname(dirname(dirname(__FILE__))) . "/flag-config.php")) {
|
9 |
-
require_once( str_replace("\\","/", dirname(dirname(dirname(__FILE__))) . "/flag-config.php") );
|
10 |
-
}
|
11 |
-
|
12 |
-
global $wpdb;
|
13 |
-
|
14 |
-
$flag_options = get_option ('flag_options');
|
15 |
-
$siteurl = get_option ('siteurl');
|
16 |
-
$siteurl = rtrim($siteurl, '/');
|
17 |
-
$url_plug = plugins_url() . '/' . FLAGFOLDER . '/';
|
18 |
-
|
19 |
-
// get the gallery id
|
20 |
-
$gID = explode( '_', $_GET['gid'] );
|
21 |
-
|
22 |
-
if ( is_user_logged_in() )
|
23 |
-
$exclude_clause = '';
|
24 |
-
else
|
25 |
-
$exclude_clause = ' AND exclude<>1 ';
|
26 |
-
|
27 |
-
require_once( str_replace("\\","/", dirname(__FILE__).'/settings.php') );
|
28 |
-
$file_settings = str_replace("\\","/", dirname(dirname(__FILE__)).'/'.basename( dirname(__FILE__) ).'_settings.php');
|
29 |
-
if ( file_exists( $file_settings ) ) {
|
30 |
-
include_once( $file_settings );
|
31 |
-
}
|
32 |
-
$background = $flashBacktransparent ? '' : "0x{$flashBackcolor}";
|
33 |
-
echo "<xml>\n"; ?>
|
34 |
-
<color>
|
35 |
-
<!--graphic elements-->
|
36 |
-
<background color="<?php echo $background; ?>"/>
|
37 |
-
<buttons_bg color="0x<?php echo $buttonsBG; ?>"/>
|
38 |
-
<buttons mouseOver="0x<?php echo $buttonsMouseOver; ?>" mouseOut="0x<?php echo $buttonsMouseOut; ?>"/>
|
39 |
-
<categoryButtons mouseOver="0x<?php echo $catButtonsMouseOver; ?>" mouseOut="0x<?php echo $catButtonsMouseOut; ?>"/>
|
40 |
-
<categoryButtonsText mouseOver="0x<?php echo $catButtonsTextMouseOver; ?>" mouseOut="0x<?php echo $catButtonsTextMouseOut; ?>"/>
|
41 |
-
<thumbnail mouseOver="0x<?php echo $thumbMouseOver; ?>" mouseOut="0x<?php echo $thumbMouseOut; ?>"/>
|
42 |
-
<!--text elements-->
|
43 |
-
<mainTitle textColor="0x<?php echo $mainTitle; ?>"/>
|
44 |
-
<categoryTitle textColor="0x<?php echo $categoryTitle; ?>"/>
|
45 |
-
<item_bg color="0x<?php echo $itemBG; ?>"/>
|
46 |
-
<itemTitle textColor="0x<?php echo $itemTitle; ?>"/>
|
47 |
-
<itemDescription textColor="0x<?php echo $itemDescription; ?>"/>
|
48 |
-
<autoSlideShow data="<?php echo $autoSlideShow; ?>"/>
|
49 |
-
<slDelay data="<?php echo $slDelay; ?>"/>
|
50 |
-
<plug data="<?php echo $url_plug; ?>"/>
|
51 |
-
</color>
|
52 |
-
<?php
|
53 |
-
$order_dir = ( $flag_options['galSortDir'] == 'DESC') ? 'DESC' : 'ASC';
|
54 |
-
$order_by = ( empty($flag_options['galSort']) ) ? 'tt.sortorder' : 'tt.'.$flag_options['galSort'];
|
55 |
-
if($order_by == 'tt.rand()'){
|
56 |
-
$order_by = 'rand()';
|
57 |
-
$order_dir = '';
|
58 |
-
}
|
59 |
-
|
60 |
-
echo "<gallery title='".attribute_escape(stripslashes($_GET['albumname']))."'>\n";
|
61 |
-
// get the pictures
|
62 |
-
foreach ( $gID as $galleryID ) {
|
63 |
-
$galleryID = (int) $galleryID;
|
64 |
-
if ( $galleryID == 0) {
|
65 |
-
$thepictures = $wpdb->get_results("SELECT t.*, tt.* FROM $wpdb->flaggallery AS t INNER JOIN $wpdb->flagpictures AS tt ON t.gid = tt.galleryid WHERE 1=1 {$exclude_clause} ORDER BY {$order_by} {$order_dir} ");
|
66 |
-
} else {
|
67 |
-
$thepictures = $wpdb->get_results("SELECT t.*, tt.* FROM $wpdb->flaggallery AS t INNER JOIN $wpdb->flagpictures AS tt ON t.gid = tt.galleryid WHERE t.gid = '$galleryID' {$exclude_clause} ORDER BY {$order_by} {$order_dir} ");
|
68 |
-
}
|
69 |
-
|
70 |
-
echo " <category id='".$galleryID."' title='".attribute_escape(flagGallery::i18n(strip_tags(stripslashes($thepictures[0]->title))))."'>\n";
|
71 |
-
echo " <items>\n";
|
72 |
-
|
73 |
-
if (is_array ($thepictures)){
|
74 |
-
foreach ($thepictures as $picture) {
|
75 |
-
$picture_path = trim($picture->path, '/');
|
76 |
-
echo " <item id='".$picture->pid."' image_icon='".$siteurl."/".$picture_path."/thumbs/thumbs_".$picture->filename."' pic='".$siteurl."/".$picture_path."/".$picture->filename."' title ='".attribute_escape(flagGallery::i18n(strip_tags(stripslashes($picture->alttext))))."'><![CDATA[".html_entity_decode(attribute_escape(flagGallery::i18n(stripslashes($picture->description))))."]]></item>\n";
|
77 |
-
}
|
78 |
-
}
|
79 |
-
|
80 |
-
echo " </items>\n";
|
81 |
-
echo " </category>\n";
|
82 |
-
}
|
83 |
-
echo "</gallery>\n";
|
84 |
-
echo "</xml>"; ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
skins/default/gallery.swf
DELETED
Binary file
|
skins/default/index.php
DELETED
@@ -1,3 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
// Silence is golden.
|
3 |
-
?>
|
|
|
|
|
|
skins/default/license.txt
DELETED
@@ -1,674 +0,0 @@
|
|
1 |
-
GNU GENERAL PUBLIC LICENSE
|
2 |
-
Version 3, 29 June 2007
|
3 |
-
|
4 |
-
Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
|
5 |
-
Everyone is permitted to copy and distribute verbatim copies
|
6 |
-
of this license document, but changing it is not allowed.
|
7 |
-
|
8 |
-
Preamble
|
9 |
-
|
10 |
-
The GNU General Public License is a free, copyleft license for
|
11 |
-
software and other kinds of works.
|
12 |
-
|
13 |
-
The licenses for most software and other practical works are designed
|
14 |
-
to take away your freedom to share and change the works. By contrast,
|
15 |
-
the GNU General Public License is intended to guarantee your freedom to
|
16 |
-
share and change all versions of a program--to make sure it remains free
|
17 |
-
software for all its users. We, the Free Software Foundation, use the
|
18 |
-
GNU General Public License for most of our software; it applies also to
|
19 |
-
any other work released this way by its authors. You can apply it to
|
20 |
-
your programs, too.
|
21 |
-
|
22 |
-
When we speak of free software, we are referring to freedom, not
|
23 |
-
price. Our General Public Licenses are designed to make sure that you
|
24 |
-
have the freedom to distribute copies of free software (and charge for
|
25 |
-
them if you wish), that you receive source code or can get it if you
|
26 |
-
want it, that you can change the software or use pieces of it in new
|
27 |
-
free programs, and that you know you can do these things.
|
28 |
-
|
29 |
-
To protect your rights, we need to prevent others from denying you
|
30 |
-
these rights or asking you to surrender the rights. Therefore, you have
|
31 |
-
certain responsibilities if you distribute copies of the software, or if
|
32 |
-
you modify it: responsibilities to respect the freedom of others.
|
33 |
-
|
34 |
-
For example, if you distribute copies of such a program, whether
|
35 |
-
gratis or for a fee, you must pass on to the recipients the same
|
36 |
-
freedoms that you received. You must make sure that they, too, receive
|
37 |
-
or can get the source code. And you must show them these terms so they
|
38 |
-
know their rights.
|
39 |
-
|
40 |
-
Developers that use the GNU GPL protect your rights with two steps:
|
41 |
-
(1) assert copyright on the software, and (2) offer you this License
|
42 |
-
giving you legal permission to copy, distribute and/or modify it.
|
43 |
-
|
44 |
-
For the developers' and authors' protection, the GPL clearly explains
|
45 |
-
that there is no warranty for this free software. For both users' and
|
46 |
-
authors' sake, the GPL requires that modified versions be marked as
|
47 |
-
changed, so that their problems will not be attributed erroneously to
|
48 |
-
authors of previous versions.
|
49 |
-
|
50 |
-
Some devices are designed to deny users access to install or run
|
51 |
-
modified versions of the software inside them, although the manufacturer
|
52 |
-
can do so. This is fundamentally incompatible with the aim of
|
53 |
-
protecting users' freedom to change the software. The systematic
|
54 |
-
pattern of such abuse occurs in the area of products for individuals to
|
55 |
-
use, which is precisely where it is most unacceptable. Therefore, we
|
56 |
-
have designed this version of the GPL to prohibit the practice for those
|
57 |
-
products. If such problems arise substantially in other domains, we
|
58 |
-
stand ready to extend this provision to those domains in future versions
|
59 |
-
of the GPL, as needed to protect the freedom of users.
|
60 |
-
|
61 |
-
Finally, every program is threatened constantly by software patents.
|
62 |
-
States should not allow patents to restrict development and use of
|
63 |
-
software on general-purpose computers, but in those that do, we wish to
|
64 |
-
avoid the special danger that patents applied to a free program could
|
65 |
-
make it effectively proprietary. To prevent this, the GPL assures that
|
66 |
-
patents cannot be used to render the program non-free.
|
67 |
-
|
68 |
-
The precise terms and conditions for copying, distribution and
|
69 |
-
modification follow.
|
70 |
-
|
71 |
-
TERMS AND CONDITIONS
|
72 |
-
|
73 |
-
0. Definitions.
|
74 |
-
|
75 |
-
"This License" refers to version 3 of the GNU General Public License.
|
76 |
-
|
77 |
-
"Copyright" also means copyright-like laws that apply to other kinds of
|
78 |
-
works, such as semiconductor masks.
|
79 |
-
|
80 |
-
"The Program" refers to any copyrightable work licensed under this
|
81 |
-
License. Each licensee is addressed as "you". "Licensees" and
|
82 |
-
"recipients" may be individuals or organizations.
|
83 |
-
|
84 |
-
To "modify" a work means to copy from or adapt all or part of the work
|
85 |
-
in a fashion requiring copyright permission, other than the making of an
|
86 |
-
exact copy. The resulting work is called a "modified version" of the
|
87 |
-
earlier work or a work "based on" the earlier work.
|
88 |
-
|
89 |
-
A "covered work" means either the unmodified Program or a work based
|
90 |
-
on the Program.
|
91 |
-
|
92 |
-
To "propagate" a work means to do anything with it that, without
|
93 |
-
permission, would make you directly or secondarily liable for
|
94 |
-
infringement under applicable copyright law, except executing it on a
|
95 |
-
computer or modifying a private copy. Propagation includes copying,
|
96 |
-
distribution (with or without modification), making available to the
|
97 |
-
public, and in some countries other activities as well.
|
98 |
-
|
99 |
-
To "convey" a work means any kind of propagation that enables other
|
100 |
-
parties to make or receive copies. Mere interaction with a user through
|
101 |
-
a computer network, with no transfer of a copy, is not conveying.
|
102 |
-
|
103 |
-
An interactive user interface displays "Appropriate Legal Notices"
|
104 |
-
to the extent that it includes a convenient and prominently visible
|
105 |
-
feature that (1) displays an appropriate copyright notice, and (2)
|
106 |
-
tells the user that there is no warranty for the work (except to the
|
107 |
-
extent that warranties are provided), that licensees may convey the
|
108 |
-
work under this License, and how to view a copy of this License. If
|
109 |
-
the interface presents a list of user commands or options, such as a
|
110 |
-
menu, a prominent item in the list meets this criterion.
|
111 |
-
|
112 |
-
1. Source Code.
|
113 |
-
|
114 |
-
The "source code" for a work means the preferred form of the work
|
115 |
-
for making modifications to it. "Object code" means any non-source
|
116 |
-
form of a work.
|
117 |
-
|
118 |
-
A "Standard Interface" means an interface that either is an official
|
119 |
-
standard defined by a recognized standards body, or, in the case of
|
120 |
-
interfaces specified for a particular programming language, one that
|
121 |
-
is widely used among developers working in that language.
|
122 |
-
|
123 |
-
The "System Libraries" of an executable work include anything, other
|
124 |
-
than the work as a whole, that (a) is included in the normal form of
|
125 |
-
packaging a Major Component, but which is not part of that Major
|
126 |
-
Component, and (b) serves only to enable use of the work with that
|
127 |
-
Major Component, or to implement a Standard Interface for which an
|
128 |
-
implementation is available to the public in source code form. A
|
129 |
-
"Major Component", in this context, means a major essential component
|
130 |
-
(kernel, window system, and so on) of the specific operating system
|
131 |
-
(if any) on which the executable work runs, or a compiler used to
|
132 |
-
produce the work, or an object code interpreter used to run it.
|
133 |
-
|
134 |
-
The "Corresponding Source" for a work in object code form means all
|
135 |
-
the source code needed to generate, install, and (for an executable
|
136 |
-
work) run the object code and to modify the work, including scripts to
|
137 |
-
control those activities. However, it does not include the work's
|
138 |
-
System Libraries, or general-purpose tools or generally available free
|
139 |
-
programs which are used unmodified in performing those activities but
|
140 |
-
which are not part of the work. For example, Corresponding Source
|
141 |
-
includes interface definition files associated with source files for
|
142 |
-
the work, and the source code for shared libraries and dynamically
|
143 |
-
linked subprograms that the work is specifically designed to require,
|
144 |
-
such as by intimate data communication or control flow between those
|
145 |
-
subprograms and other parts of the work.
|
146 |
-
|
147 |
-
The Corresponding Source need not include anything that users
|
148 |
-
can regenerate automatically from other parts of the Corresponding
|
149 |
-
Source.
|
150 |
-
|
151 |
-
The Corresponding Source for a work in source code form is that
|
152 |
-
same work.
|
153 |
-
|
154 |
-
2. Basic Permissions.
|
155 |
-
|
156 |
-
All rights granted under this License are granted for the term of
|
157 |
-
copyright on the Program, and are irrevocable provided the stated
|
158 |
-
conditions are met. This License explicitly affirms your unlimited
|
159 |
-
permission to run the unmodified Program. The output from running a
|
160 |
-
covered work is covered by this License only if the output, given its
|
161 |
-
content, constitutes a covered work. This License acknowledges your
|
162 |
-
rights of fair use or other equivalent, as provided by copyright law.
|
163 |
-
|
164 |
-
You may make, run and propagate covered works that you do not
|
165 |
-
convey, without conditions so long as your license otherwise remains
|
166 |
-
in force. You may convey covered works to others for the sole purpose
|
167 |
-
of having them make modifications exclusively for you, or provide you
|
168 |
-
with facilities for running those works, provided that you comply with
|
169 |
-
the terms of this License in conveying all material for which you do
|
170 |
-
not control copyright. Those thus making or running the covered works
|
171 |
-
for you must do so exclusively on your behalf, under your direction
|
172 |
-
and control, on terms that prohibit them from making any copies of
|
173 |
-
your copyrighted material outside their relationship with you.
|
174 |
-
|
175 |
-
Conveying under any other circumstances is permitted solely under
|
176 |
-
the conditions stated below. Sublicensing is not allowed; section 10
|
177 |
-
makes it unnecessary.
|
178 |
-
|
179 |
-
3. Protecting Users' Legal Rights From Anti-Circumvention Law.
|
180 |
-
|
181 |
-
No covered work shall be deemed part of an effective technological
|
182 |
-
measure under any applicable law fulfilling obligations under article
|
183 |
-
11 of the WIPO copyright treaty adopted on 20 December 1996, or
|
184 |
-
similar laws prohibiting or restricting circumvention of such
|
185 |
-
measures.
|
186 |
-
|
187 |
-
When you convey a covered work, you waive any legal power to forbid
|
188 |
-
circumvention of technological measures to the extent such circumvention
|
189 |
-
is effected by exercising rights under this License with respect to
|
190 |
-
the covered work, and you disclaim any intention to limit operation or
|
191 |
-
modification of the work as a means of enforcing, against the work's
|
192 |
-
users, your or third parties' legal rights to forbid circumvention of
|
193 |
-
technological measures.
|
194 |
-
|
195 |
-
4. Conveying Verbatim Copies.
|
196 |
-
|
197 |
-
You may convey verbatim copies of the Program's source code as you
|
198 |
-
receive it, in any medium, provided that you conspicuously and
|
199 |
-
appropriately publish on each copy an appropriate copyright notice;
|
200 |
-
keep intact all notices stating that this License and any
|
201 |
-
non-permissive terms added in accord with section 7 apply to the code;
|
202 |
-
keep intact all notices of the absence of any warranty; and give all
|
203 |
-
recipients a copy of this License along with the Program.
|
204 |
-
|
205 |
-
You may charge any price or no price for each copy that you convey,
|
206 |
-
and you may offer support or warranty protection for a fee.
|
207 |
-
|
208 |
-
5. Conveying Modified Source Versions.
|
209 |
-
|
210 |
-
You may convey a work based on the Program, or the modifications to
|
211 |
-
produce it from the Program, in the form of source code under the
|
212 |
-
terms of section 4, provided that you also meet all of these conditions:
|
213 |
-
|
214 |
-
a) The work must carry prominent notices stating that you modified
|
215 |
-
it, and giving a relevant date.
|
216 |
-
|
217 |
-
b) The work must carry prominent notices stating that it is
|
218 |
-
released under this License and any conditions added under section
|
219 |
-
7. This requirement modifies the requirement in section 4 to
|
220 |
-
"keep intact all notices".
|
221 |
-
|
222 |
-
c) You must license the entire work, as a whole, under this
|
223 |
-
License to anyone who comes into possession of a copy. This
|
224 |
-
License will therefore apply, along with any applicable section 7
|
225 |
-
additional terms, to the whole of the work, and all its parts,
|
226 |
-
regardless of how they are packaged. This License gives no
|
227 |
-
permission to license the work in any other way, but it does not
|
228 |
-
invalidate such permission if you have separately received it.
|
229 |
-
|
230 |
-
d) If the work has interactive user interfaces, each must display
|
231 |
-
Appropriate Legal Notices; however, if the Program has interactive
|
232 |
-
interfaces that do not display Appropriate Legal Notices, your
|
233 |
-
work need not make them do so.
|
234 |
-
|
235 |
-
A compilation of a covered work with other separate and independent
|
236 |
-
works, which are not by their nature extensions of the covered work,
|
237 |
-
and which are not combined with it such as to form a larger program,
|
238 |
-
in or on a volume of a storage or distribution medium, is called an
|
239 |
-
"aggregate" if the compilation and its resulting copyright are not
|
240 |
-
used to limit the access or legal rights of the compilation's users
|
241 |
-
beyond what the individual works permit. Inclusion of a covered work
|
242 |
-
in an aggregate does not cause this License to apply to the other
|
243 |
-
parts of the aggregate.
|
244 |
-
|
245 |
-
6. Conveying Non-Source Forms.
|
246 |
-
|
247 |
-
You may convey a covered work in object code form under the terms
|
248 |
-
of sections 4 and 5, provided that you also convey the
|
249 |
-
machine-readable Corresponding Source under the terms of this License,
|
250 |
-
in one of these ways:
|
251 |
-
|
252 |
-
a) Convey the object code in, or embodied in, a physical product
|
253 |
-
(including a physical distribution medium), accompanied by the
|
254 |
-
Corresponding Source fixed on a durable physical medium
|
255 |
-
customarily used for software interchange.
|
256 |
-
|
257 |
-
b) Convey the object code in, or embodied in, a physical product
|
258 |
-
(including a physical distribution medium), accompanied by a
|
259 |
-
written offer, valid for at least three years and valid for as
|
260 |
-
long as you offer spare parts or customer support for that product
|
261 |
-
model, to give anyone who possesses the object code either (1) a
|
262 |
-
copy of the Corresponding Source for all the software in the
|
263 |
-
product that is covered by this License, on a durable physical
|
264 |
-
medium customarily used for software interchange, for a price no
|
265 |
-
more than your reasonable cost of physically performing this
|
266 |
-
conveying of source, or (2) access to copy the
|
267 |
-
Corresponding Source from a network server at no charge.
|
268 |
-
|
269 |
-
c) Convey individual copies of the object code with a copy of the
|
270 |
-
written offer to provide the Corresponding Source. This
|
271 |
-
alternative is allowed only occasionally and noncommercially, and
|
272 |
-
only if you received the object code with such an offer, in accord
|
273 |
-
with subsection 6b.
|
274 |
-
|
275 |
-
d) Convey the object code by offering access from a designated
|
276 |
-
place (gratis or for a charge), and offer equivalent access to the
|
277 |
-
Corresponding Source in the same way through the same place at no
|
278 |
-
further charge. You need not require recipients to copy the
|
279 |
-
Corresponding Source along with the object code. If the place to
|
280 |
-
copy the object code is a network server, the Corresponding Source
|
281 |
-
may be on a different server (operated by you or a third party)
|
282 |
-
that supports equivalent copying facilities, provided you maintain
|
283 |
-
clear directions next to the object code saying where to find the
|
284 |
-
Corresponding Source. Regardless of what server hosts the
|
285 |
-
Corresponding Source, you remain obligated to ensure that it is
|
286 |
-
available for as long as needed to satisfy these requirements.
|
287 |
-
|
288 |
-
e) Convey the object code using peer-to-peer transmission, provided
|
289 |
-
you inform other peers where the object code and Corresponding
|
290 |
-
Source of the work are being offered to the general public at no
|
291 |
-
charge under subsection 6d.
|
292 |
-
|
293 |
-
A separable portion of the object code, whose source code is excluded
|
294 |
-
from the Corresponding Source as a System Library, need not be
|
295 |
-
included in conveying the object code work.
|
296 |
-
|
297 |
-
A "User Product" is either (1) a "consumer product", which means any
|
298 |
-
tangible personal property which is normally used for personal, family,
|
299 |
-
or household purposes, or (2) anything designed or sold for incorporation
|
300 |
-
into a dwelling. In determining whether a product is a consumer product,
|
301 |
-
doubtful cases shall be resolved in favor of coverage. For a particular
|
302 |
-
product received by a particular user, "normally used" refers to a
|
303 |
-
typical or common use of that class of product, regardless of the status
|
304 |
-
of the particular user or of the way in which the particular user
|
305 |
-
actually uses, or expects or is expected to use, the product. A product
|
306 |
-
is a consumer product regardless of whether the product has substantial
|
307 |
-
commercial, industrial or non-consumer uses, unless such uses represent
|
308 |
-
the only significant mode of use of the product.
|
309 |
-
|
310 |
-
"Installation Information" for a User Product means any methods,
|
311 |
-
procedures, authorization keys, or other information required to install
|
312 |
-
and execute modified versions of a covered work in that User Product from
|
313 |
-
a modified version of its Corresponding Source. The information must
|
314 |
-
suffice to ensure that the continued functioning of the modified object
|
315 |
-
code is in no case prevented or interfered with solely because
|
316 |
-
modification has been made.
|
317 |
-
|
318 |
-
If you convey an object code work under this section in, or with, or
|
319 |
-
specifically for use in, a User Product, and the conveying occurs as
|
320 |
-
part of a transaction in which the right of possession and use of the
|
321 |
-
User Product is transferred to the recipient in perpetuity or for a
|
322 |
-
fixed term (regardless of how the transaction is characterized), the
|
323 |
-
Corresponding Source conveyed under this section must be accompanied
|
324 |
-
by the Installation Information. But this requirement does not apply
|
325 |
-
if neither you nor any third party retains the ability to install
|
326 |
-
modified object code on the User Product (for example, the work has
|
327 |
-
been installed in ROM).
|
328 |
-
|
329 |
-
The requirement to provide Installation Information does not include a
|
330 |
-
requirement to continue to provide support service, warranty, or updates
|
331 |
-
for a work that has been modified or installed by the recipient, or for
|
332 |
-
the User Product in which it has been modified or installed. Access to a
|
333 |
-
network may be denied when the modification itself materially and
|
334 |
-
adversely affects the operation of the network or violates the rules and
|
335 |
-
protocols for communication across the network.
|
336 |
-
|
337 |
-
Corresponding Source conveyed, and Installation Information provided,
|
338 |
-
in accord with this section must be in a format that is publicly
|
339 |
-
documented (and with an implementation available to the public in
|
340 |
-
source code form), and must require no special password or key for
|
341 |
-
unpacking, reading or copying.
|
342 |
-
|
343 |
-
7. Additional Terms.
|
344 |
-
|
345 |
-
"Additional permissions" are terms that supplement the terms of this
|
346 |
-
License by making exceptions from one or more of its conditions.
|
347 |
-
Additional permissions that are applicable to the entire Program shall
|
348 |
-
be treated as though they were included in this License, to the extent
|
349 |
-
that they are valid under applicable law. If additional permissions
|
350 |
-
apply only to part of the Program, that part may be used separately
|
351 |
-
under those permissions, but the entire Program remains governed by
|
352 |
-
this License without regard to the additional permissions.
|
353 |
-
|
354 |
-
When you convey a copy of a covered work, you may at your option
|
355 |
-
remove any additional permissions from that copy, or from any part of
|
356 |
-
it. (Additional permissions may be written to require their own
|
357 |
-
removal in certain cases when you modify the work.) You may place
|
358 |
-
additional permissions on material, added by you to a covered work,
|
359 |
-
for which you have or can give appropriate copyright permission.
|
360 |
-
|
361 |
-
Notwithstanding any other provision of this License, for material you
|
362 |
-
add to a covered work, you may (if authorized by the copyright holders of
|
363 |
-
that material) supplement the terms of this License with terms:
|
364 |
-
|
365 |
-
a) Disclaiming warranty or limiting liability differently from the
|
366 |
-
terms of sections 15 and 16 of this License; or
|
367 |
-
|
368 |
-
b) Requiring preservation of specified reasonable legal notices or
|
369 |
-
author attributions in that material or in the Appropriate Legal
|
370 |
-
Notices displayed by works containing it; or
|
371 |
-
|
372 |
-
c) Prohibiting misrepresentation of the origin of that material, or
|
373 |
-
requiring that modified versions of such material be marked in
|
374 |
-
reasonable ways as different from the original version; or
|
375 |
-
|
376 |
-
d) Limiting the use for publicity purposes of names of licensors or
|
377 |
-
authors of the material; or
|
378 |
-
|
379 |
-
e) Declining to grant rights under trademark law for use of some
|
380 |
-
trade names, trademarks, or service marks; or
|
381 |
-
|
382 |
-
f) Requiring indemnification of licensors and authors of that
|
383 |
-
material by anyone who conveys the material (or modified versions of
|
384 |
-
it) with contractual assumptions of liability to the recipient, for
|
385 |
-
any liability that these contractual assumptions directly impose on
|
386 |
-
those licensors and authors.
|
387 |
-
|
388 |
-
All other non-permissive additional terms are considered "further
|
389 |
-
restrictions" within the meaning of section 10. If the Program as you
|
390 |
-
received it, or any part of it, contains a notice stating that it is
|
391 |
-
governed by this License along with a term that is a further
|
392 |
-
restriction, you may remove that term. If a license document contains
|
393 |
-
a further restriction but permits relicensing or conveying under this
|
394 |
-
License, you may add to a covered work material governed by the terms
|
395 |
-
of that license document, provided that the further restriction does
|
396 |
-
not survive such relicensing or conveying.
|
397 |
-
|
398 |
-
If you add terms to a covered work in accord with this section, you
|
399 |
-
must place, in the relevant source files, a statement of the
|
400 |
-
additional terms that apply to those files, or a notice indicating
|
401 |
-
where to find the applicable terms.
|
402 |
-
|
403 |
-
Additional terms, permissive or non-permissive, may be stated in the
|
404 |
-
form of a separately written license, or stated as exceptions;
|
405 |
-
the above requirements apply either way.
|
406 |
-
|
407 |
-
8. Termination.
|
408 |
-
|
409 |
-
You may not propagate or modify a covered work except as expressly
|
410 |
-
provided under this License. Any attempt otherwise to propagate or
|
411 |
-
modify it is void, and will automatically terminate your rights under
|
412 |
-
this License (including any patent licenses granted under the third
|
413 |
-
paragraph of section 11).
|
414 |
-
|
415 |
-
However, if you cease all violation of this License, then your
|
416 |
-
license from a particular copyright holder is reinstated (a)
|
417 |
-
provisionally, unless and until the copyright holder explicitly and
|
418 |
-
finally terminates your license, and (b) permanently, if the copyright
|
419 |
-
holder fails to notify you of the violation by some reasonable means
|
420 |
-
prior to 60 days after the cessation.
|
421 |
-
|
422 |
-
Moreover, your license from a particular copyright holder is
|
423 |
-
reinstated permanently if the copyright holder notifies you of the
|
424 |
-
violation by some reasonable means, this is the first time you have
|
425 |
-
received notice of violation of this License (for any work) from that
|
426 |
-
copyright holder, and you cure the violation prior to 30 days after
|
427 |
-
your receipt of the notice.
|
428 |
-
|
429 |
-
Termination of your rights under this section does not terminate the
|
430 |
-
licenses of parties who have received copies or rights from you under
|
431 |
-
this License. If your rights have been terminated and not permanently
|
432 |
-
reinstated, you do not qualify to receive new licenses for the same
|
433 |
-
material under section 10.
|
434 |
-
|
435 |
-
9. Acceptance Not Required for Having Copies.
|
436 |
-
|
437 |
-
You are not required to accept this License in order to receive or
|
438 |
-
run a copy of the Program. Ancillary propagation of a covered work
|
439 |
-
occurring solely as a consequence of using peer-to-peer transmission
|
440 |
-
to receive a copy likewise does not require acceptance. However,
|
441 |
-
nothing other than this License grants you permission to propagate or
|
442 |
-
modify any covered work. These actions infringe copyright if you do
|
443 |
-
not accept this License. Therefore, by modifying or propagating a
|
444 |
-
covered work, you indicate your acceptance of this License to do so.
|
445 |
-
|
446 |
-
10. Automatic Licensing of Downstream Recipients.
|
447 |
-
|
448 |
-
Each time you convey a covered work, the recipient automatically
|
449 |
-
receives a license from the original licensors, to run, modify and
|
450 |
-
propagate that work, subject to this License. You are not responsible
|
451 |
-
for enforcing compliance by third parties with this License.
|
452 |
-
|
453 |
-
An "entity transaction" is a transaction transferring control of an
|
454 |
-
organization, or substantially all assets of one, or subdividing an
|
455 |
-
organization, or merging organizations. If propagation of a covered
|
456 |
-
work results from an entity transaction, each party to that
|
457 |
-
transaction who receives a copy of the work also receives whatever
|
458 |
-
licenses to the work the party's predecessor in interest had or could
|
459 |
-
give under the previous paragraph, plus a right to possession of the
|
460 |
-
Corresponding Source of the work from the predecessor in interest, if
|
461 |
-
the predecessor has it or can get it with reasonable efforts.
|
462 |
-
|
463 |
-
You may not impose any further restrictions on the exercise of the
|
464 |
-
rights granted or affirmed under this License. For example, you may
|
465 |
-
not impose a license fee, royalty, or other charge for exercise of
|
466 |
-
rights granted under this License, and you may not initiate litigation
|
467 |
-
(including a cross-claim or counterclaim in a lawsuit) alleging that
|
468 |
-
any patent claim is infringed by making, using, selling, offering for
|
469 |
-
sale, or importing the Program or any portion of it.
|
470 |
-
|
471 |
-
11. Patents.
|
472 |
-
|
473 |
-
A "contributor" is a copyright holder who authorizes use under this
|
474 |
-
License of the Program or a work on which the Program is based. The
|
475 |
-
work thus licensed is called the contributor's "contributor version".
|
476 |
-
|
477 |
-
A contributor's "essential patent claims" are all patent claims
|
478 |
-
owned or controlled by the contributor, whether already acquired or
|
479 |
-
hereafter acquired, that would be infringed by some manner, permitted
|
480 |
-
by this License, of making, using, or selling its contributor version,
|
481 |
-
but do not include claims that would be infringed only as a
|
482 |
-
consequence of further modification of the contributor version. For
|
483 |
-
purposes of this definition, "control" includes the right to grant
|
484 |
-
patent sublicenses in a manner consistent with the requirements of
|
485 |
-
this License.
|
486 |
-
|
487 |
-
Each contributor grants you a non-exclusive, worldwide, royalty-free
|
488 |
-
patent license under the contributor's essential patent claims, to
|
489 |
-
make, use, sell, offer for sale, import and otherwise run, modify and
|
490 |
-
propagate the contents of its contributor version.
|
491 |
-
|
492 |
-
In the following three paragraphs, a "patent license" is any express
|
493 |
-
agreement or commitment, however denominated, not to enforce a patent
|
494 |
-
(such as an express permission to practice a patent or covenant not to
|
495 |
-
sue for patent infringement). To "grant" such a patent license to a
|
496 |
-
party means to make such an agreement or commitment not to enforce a
|
497 |
-
patent against the party.
|
498 |
-
|
499 |
-
If you convey a covered work, knowingly relying on a patent license,
|
500 |
-
and the Corresponding Source of the work is not available for anyone
|
501 |
-
to copy, free of charge and under the terms of this License, through a
|
502 |
-
publicly available network server or other readily accessible means,
|
503 |
-
then you must either (1) cause the Corresponding Source to be so
|
504 |
-
available, or (2) arrange to deprive yourself of the benefit of the
|
505 |
-
patent license for this particular work, or (3) arrange, in a manner
|
506 |
-
consistent with the requirements of this License, to extend the patent
|
507 |
-
license to downstream recipients. "Knowingly relying" means you have
|
508 |
-
actual knowledge that, but for the patent license, your conveying the
|
509 |
-
covered work in a country, or your recipient's use of the covered work
|
510 |
-
in a country, would infringe one or more identifiable patents in that
|
511 |
-
country that you have reason to believe are valid.
|
512 |
-
|
513 |
-
If, pursuant to or in connection with a single transaction or
|
514 |
-
arrangement, you convey, or propagate by procuring conveyance of, a
|
515 |
-
covered work, and grant a patent license to some of the parties
|
516 |
-
receiving the covered work authorizing them to use, propagate, modify
|
517 |
-
or convey a specific copy of the covered work, then the patent license
|
518 |
-
you grant is automatically extended to all recipients of the covered
|
519 |
-
work and works based on it.
|
520 |
-
|
521 |
-
A patent license is "discriminatory" if it does not include within
|
522 |
-
the scope of its coverage, prohibits the exercise of, or is
|
523 |
-
conditioned on the non-exercise of one or more of the rights that are
|
524 |
-
specifically granted under this License. You may not convey a covered
|
525 |
-
work if you are a party to an arrangement with a third party that is
|
526 |
-
in the business of distributing software, under which you make payment
|
527 |
-
to the third party based on the extent of your activity of conveying
|
528 |
-
the work, and under which the third party grants, to any of the
|
529 |
-
parties who would receive the covered work from you, a discriminatory
|
530 |
-
patent license (a) in connection with copies of the covered work
|
531 |
-
conveyed by you (or copies made from those copies), or (b) primarily
|
532 |
-
for and in connection with specific products or compilations that
|
533 |
-
contain the covered work, unless you entered into that arrangement,
|
534 |
-
or that patent license was granted, prior to 28 March 2007.
|
535 |
-
|
536 |
-
Nothing in this License shall be construed as excluding or limiting
|
537 |
-
any implied license or other defenses to infringement that may
|
538 |
-
otherwise be available to you under applicable patent law.
|
539 |
-
|
540 |
-
12. No Surrender of Others' Freedom.
|
541 |
-
|
542 |
-
If conditions are imposed on you (whether by court order, agreement or
|
543 |
-
otherwise) that contradict the conditions of this License, they do not
|
544 |
-
excuse you from the conditions of this License. If you cannot convey a
|
545 |
-
covered work so as to satisfy simultaneously your obligations under this
|
546 |
-
License and any other pertinent obligations, then as a consequence you may
|
547 |
-
not convey it at all. For example, if you agree to terms that obligate you
|
548 |
-
to collect a royalty for further conveying from those to whom you convey
|
549 |
-
the Program, the only way you could satisfy both those terms and this
|
550 |
-
License would be to refrain entirely from conveying the Program.
|
551 |
-
|
552 |
-
13. Use with the GNU Affero General Public License.
|
553 |
-
|
554 |
-
Notwithstanding any other provision of this License, you have
|
555 |
-
permission to link or combine any covered work with a work licensed
|
556 |
-
under version 3 of the GNU Affero General Public License into a single
|
557 |
-
combined work, and to convey the resulting work. The terms of this
|
558 |
-
License will continue to apply to the part which is the covered work,
|
559 |
-
but the special requirements of the GNU Affero General Public License,
|
560 |
-
section 13, concerning interaction through a network will apply to the
|
561 |
-
combination as such.
|
562 |
-
|
563 |
-
14. Revised Versions of this License.
|
564 |
-
|
565 |
-
The Free Software Foundation may publish revised and/or new versions of
|
566 |
-
the GNU General Public License from time to time. Such new versions will
|
567 |
-
be similar in spirit to the present version, but may differ in detail to
|
568 |
-
address new problems or concerns.
|
569 |
-
|
570 |
-
Each version is given a distinguishing version number. If the
|
571 |
-
Program specifies that a certain numbered version of the GNU General
|
572 |
-
Public License "or any later version" applies to it, you have the
|
573 |
-
option of following the terms and conditions either of that numbered
|
574 |
-
version or of any later version published by the Free Software
|
575 |
-
Foundation. If the Program does not specify a version number of the
|
576 |
-
GNU General Public License, you may choose any version ever published
|
577 |
-
by the Free Software Foundation.
|
578 |
-
|
579 |
-
If the Program specifies that a proxy can decide which future
|
580 |
-
versions of the GNU General Public License can be used, that proxy's
|
581 |
-
public statement of acceptance of a version permanently authorizes you
|
582 |
-
to choose that version for the Program.
|
583 |
-
|
584 |
-
Later license versions may give you additional or different
|
585 |
-
permissions. However, no additional obligations are imposed on any
|
586 |
-
author or copyright holder as a result of your choosing to follow a
|
587 |
-
later version.
|
588 |
-
|
589 |
-
15. Disclaimer of Warranty.
|
590 |
-
|
591 |
-
THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
|
592 |
-
APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
|
593 |
-
HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
|
594 |
-
OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
|
595 |
-
THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
596 |
-
PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
|
597 |
-
IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
|
598 |
-
ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
|
599 |
-
|
600 |
-
16. Limitation of Liability.
|
601 |
-
|
602 |
-
IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
603 |
-
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
|
604 |
-
THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
|
605 |
-
GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
|
606 |
-
USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
|
607 |
-
DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
|
608 |
-
PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
|
609 |
-
EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
|
610 |
-
SUCH DAMAGES.
|
611 |
-
|
612 |
-
17. Interpretation of Sections 15 and 16.
|
613 |
-
|
614 |
-
If the disclaimer of warranty and limitation of liability provided
|
615 |
-
above cannot be given local legal effect according to their terms,
|
616 |
-
reviewing courts shall apply local law that most closely approximates
|
617 |
-
an absolute waiver of all civil liability in connection with the
|
618 |
-
Program, unless a warranty or assumption of liability accompanies a
|
619 |
-
copy of the Program in return for a fee.
|
620 |
-
|
621 |
-
END OF TERMS AND CONDITIONS
|
622 |
-
|
623 |
-
How to Apply These Terms to Your New Programs
|
624 |
-
|
625 |
-
If you develop a new program, and you want it to be of the greatest
|
626 |
-
possible use to the public, the best way to achieve this is to make it
|
627 |
-
free software which everyone can redistribute and change under these terms.
|
628 |
-
|
629 |
-
To do so, attach the following notices to the program. It is safest
|
630 |
-
to attach them to the start of each source file to most effectively
|
631 |
-
state the exclusion of warranty; and each file should have at least
|
632 |
-
the "copyright" line and a pointer to where the full notice is found.
|
633 |
-
|
634 |
-
<one line to give the program's name and a brief idea of what it does.>
|
635 |
-
Copyright (C) <year> <name of author>
|
636 |
-
|
637 |
-
This program is free software: you can redistribute it and/or modify
|
638 |
-
it under the terms of the GNU General Public License as published by
|
639 |
-
the Free Software Foundation, either version 3 of the License, or
|
640 |
-
(at your option) any later version.
|
641 |
-
|
642 |
-
This program is distributed in the hope that it will be useful,
|
643 |
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
644 |
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
645 |
-
GNU General Public License for more details.
|
646 |
-
|
647 |
-
You should have received a copy of the GNU General Public License
|
648 |
-
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
649 |
-
|
650 |
-
Also add information on how to contact you by electronic and paper mail.
|
651 |
-
|
652 |
-
If the program does terminal interaction, make it output a short
|
653 |
-
notice like this when it starts in an interactive mode:
|
654 |
-
|
655 |
-
<program> Copyright (C) <year> <name of author>
|
656 |
-
This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
657 |
-
This is free software, and you are welcome to redistribute it
|
658 |
-
under certain conditions; type `show c' for details.
|
659 |
-
|
660 |
-
The hypothetical commands `show w' and `show c' should show the appropriate
|
661 |
-
parts of the General Public License. Of course, your program's commands
|
662 |
-
might be different; for a GUI interface, you would use an "about box".
|
663 |
-
|
664 |
-
You should also get your employer (if you work as a programmer) or school,
|
665 |
-
if any, to sign a "copyright disclaimer" for the program, if necessary.
|
666 |
-
For more information on this, and how to apply and follow the GNU GPL, see
|
667 |
-
<http://www.gnu.org/licenses/>.
|
668 |
-
|
669 |
-
The GNU General Public License does not permit incorporating your program
|
670 |
-
into proprietary programs. If your program is a subroutine library, you
|
671 |
-
may consider it more useful to permit linking proprietary applications with
|
672 |
-
the library. If this is what you want to do, use the GNU Lesser General
|
673 |
-
Public License instead of this License. But first, please read
|
674 |
-
<http://www.gnu.org/philosophy/why-not-lgpl.html>.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
skins/default/old_colors.php
DELETED
@@ -1,43 +0,0 @@
|
|
1 |
-
<?php header("content-type:text/xml;charset=utf-8"); ?>
|
2 |
-
<!--<?php
|
3 |
-
// look up for the path
|
4 |
-
if(file_exists(dirname(dirname(dirname(__FILE__))) . "/flash-album-gallery/flag-config.php")) {
|
5 |
-
require_once( str_replace("\\","/", dirname(dirname(dirname(__FILE__))) . "/flash-album-gallery/flag-config.php") );
|
6 |
-
} else if(file_exists(dirname(dirname(dirname(__FILE__))) . "/flag-config.php")) {
|
7 |
-
require_once( str_replace("\\","/", dirname(dirname(dirname(__FILE__))) . "/flag-config.php") );
|
8 |
-
}
|
9 |
-
?>-->
|
10 |
-
<?php
|
11 |
-
$flag_options = get_option('flag_options');
|
12 |
-
|
13 |
-
$background = $flag_options['flashBacktransparent'] ? '' : '0x'.str_replace('#','',$flag_options['flashBackcolor']);
|
14 |
-
$buttonsBG = str_replace('#','',$flag_options['buttonsBG']);
|
15 |
-
$buttonsOver = str_replace('#','',$flag_options['buttonsMouseOver']);
|
16 |
-
$buttonsOut = str_replace('#','',$flag_options['buttonsMouseOut']);
|
17 |
-
$catButtonsOver = str_replace('#','',$flag_options['catButtonsMouseOver']);
|
18 |
-
$catButtonsOut = str_replace('#','',$flag_options['catButtonsMouseOut']);
|
19 |
-
$catButtonsTextOver = str_replace('#','',$flag_options['catButtonsTextMouseOver']);
|
20 |
-
$catButtonsTextOut = str_replace('#','',$flag_options['catButtonsTextMouseOut']);
|
21 |
-
$thumbOver = str_replace('#','',$flag_options['thumbMouseOver']);
|
22 |
-
$thumbOut = str_replace('#','',$flag_options['thumbMouseOut']);
|
23 |
-
$mainTitle = str_replace('#','',$flag_options['mainTitle']);
|
24 |
-
$categoryTitle = str_replace('#','',$flag_options['categoryTitle']);
|
25 |
-
$itemBG = str_replace('#','',$flag_options['itemBG']);
|
26 |
-
$itemTitle = str_replace('#','',$flag_options['itemTitle']);
|
27 |
-
$itemDescription = str_replace('#','',$flag_options['itemDescription']);
|
28 |
-
?>
|
29 |
-
<color>
|
30 |
-
<!--graphic elements-->
|
31 |
-
<background color="<?php echo $background; ?>"/>
|
32 |
-
<buttons_bg color="0x<?php echo $buttonsBG; ?>"/>
|
33 |
-
<buttons mouseOver="0x<?php echo $buttonsOver; ?>" mouseOut="0x<?php echo $buttonsOut; ?>"/>
|
34 |
-
<categoryButtons mouseOver="0x<?php echo $catButtonsOver; ?>" mouseOut="0x<?php echo $catButtonsOut; ?>"/>
|
35 |
-
<categoryButtonsText mouseOver="0x<?php echo $catButtonsTextOver; ?>" mouseOut="0x<?php echo $catButtonsTextOut; ?>"/>
|
36 |
-
<thumbnail mouseOver="0x<?php echo $thumbOver; ?>" mouseOut="0x<?php echo $thumbOut; ?>"/>
|
37 |
-
<!--text elements-->
|
38 |
-
<mainTitle textColor="0x<?php echo $mainTitle; ?>"/>
|
39 |
-
<categoryTitle textColor="0x<?php echo $categoryTitle; ?>"/>
|
40 |
-
<item_bg color="0x<?php echo $itemBG; ?>"/>
|
41 |
-
<itemTitle textColor="0x<?php echo $itemTitle; ?>"/>
|
42 |
-
<itemDescription textColor="0x<?php echo $itemDescription; ?>"/>
|
43 |
-
</color>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
skins/default/screenshot.png
DELETED
Binary file
|
skins/default/settings.php
DELETED
@@ -1,20 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
$flashBacktransparent = '';
|
3 |
-
$flashBackcolor = '262626';
|
4 |
-
$buttonsBG = '000000';
|
5 |
-
$buttonsMouseOver = '7485c2';
|
6 |
-
$buttonsMouseOut = '717171';
|
7 |
-
$catButtonsMouseOver = '000000';
|
8 |
-
$catButtonsMouseOut = '000000';
|
9 |
-
$catButtonsTextMouseOver = '7485c2';
|
10 |
-
$catButtonsTextMouseOut = 'bcbcbc';
|
11 |
-
$thumbMouseOver = '7485c2';
|
12 |
-
$thumbMouseOut = '000000';
|
13 |
-
$mainTitle = 'ffffff';
|
14 |
-
$categoryTitle = '7485c2';
|
15 |
-
$itemBG = 'eae6ef';
|
16 |
-
$itemTitle = '7485c2';
|
17 |
-
$itemDescription = 'e0e0e0';
|
18 |
-
$autoSlideShow = 'false';
|
19 |
-
$slDelay = '4';
|
20 |
-
?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
skins/minima_jn/gallery.swf
ADDED
Binary file
|
skins/minima_jn/minima_jn.php
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
/*
|
4 |
+
Skin Name: Minima - Default Skin
|
5 |
+
Version: 1.0
|
6 |
+
uid: minima
|
7 |
+
Skin URI: http://photogallerycreator.com/grand-flagallery/
|
8 |
+
Description: This is NEW <b>default</b> FlAGallery skin called <b>Minima</b>. If you need more functionality or if you want to change text for SL and FS buttons - activate <b>Optima skin</b>. <p><b>Features:</b><br>* HitCounter<br>* Alternate jQuery gallery for iPhone / iPad devices without flash player<br>* SEO optimized and support feed RSS2<br>* GRAND Pages - FullWindow Mode</p><p>Details: bottom custom size thumbnails, unlimited categories, nice scrollbar.<br /><strong style="color: red;">Requirements - GRAND FlAGallery v2.0 or higher.</strong></p>
|
9 |
+
Author: PGC
|
10 |
+
Author URI: http://PhotoGalleryCreator.com
|
11 |
+
*/
|
12 |
+
?>
|
skins/minima_jn/screenshot.png
ADDED
Binary file
|
skins/minima_jn/settings/settings.xml
ADDED
@@ -0,0 +1,174 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?xml version="1.0" encoding="UTF-8"?>
|
2 |
+
<panel title="Minima 1.0">
|
3 |
+
<item type="checkBox" name="autoSlideshow">
|
4 |
+
<title><![CDATA[AutoSlideshow]]></title>
|
5 |
+
<description><![CDATA[]]></description>
|
6 |
+
<selected>true</selected>
|
7 |
+
</item>
|
8 |
+
<item type="numericSteper" name="slideshowDelay">
|
9 |
+
<title><![CDATA[Slideshow Delay]]></title>
|
10 |
+
<description><![CDATA[]]></description>
|
11 |
+
<maximum>30</maximum>
|
12 |
+
<minimum>0</minimum>
|
13 |
+
<stepSize>1</stepSize>
|
14 |
+
<value>10</value>
|
15 |
+
</item>
|
16 |
+
<item type="numericSteper" name="thumbnailsHeight">
|
17 |
+
<title><![CDATA[Thumbnail Height]]></title>
|
18 |
+
<description><![CDATA[]]></description>
|
19 |
+
<maximum>300</maximum>
|
20 |
+
<minimum>40</minimum>
|
21 |
+
<stepSize>1</stepSize>
|
22 |
+
<value>75</value>
|
23 |
+
</item>
|
24 |
+
<item type="numericSteper" name="thumbnailsWidth">
|
25 |
+
<title><![CDATA[Thumbnail Width]]></title>
|
26 |
+
<description><![CDATA[]]></description>
|
27 |
+
<maximum>300</maximum>
|
28 |
+
<minimum>40</minimum>
|
29 |
+
<stepSize>1</stepSize>
|
30 |
+
<value>75</value>
|
31 |
+
</item>
|
32 |
+
<item type="comboBox" name="property0">
|
33 |
+
<title><![CDATA[Flash Object WMode]]></title>
|
34 |
+
<description><![CDATA[If 'transparent' - "Background Color" option is ignored, but you can position the absolute elements over the flash.]]></description>
|
35 |
+
<data>
|
36 |
+
<label name="Window"><![CDATA[window]]></label>
|
37 |
+
<label name="Transparent"><![CDATA[transparent]]></label>
|
38 |
+
<label name="Opaque"><![CDATA[opaque]]></label>
|
39 |
+
</data>
|
40 |
+
<prompt><![CDATA[]]></prompt>
|
41 |
+
<rowCount>3</rowCount>
|
42 |
+
<value><![CDATA[opaque]]></value>
|
43 |
+
</item>
|
44 |
+
<item type="checkBox" name="swfmousewheel">
|
45 |
+
<title><![CDATA[SWF Mouse Wheel]]></title>
|
46 |
+
<description><![CDATA[Turn On/Off mouse wheel detection over Gallery.]]></description>
|
47 |
+
<selected>false</selected>
|
48 |
+
</item>
|
49 |
+
<item type="colorPicker" name="property1">
|
50 |
+
<title><![CDATA[Background Color]]></title>
|
51 |
+
<description><![CDATA[]]></description>
|
52 |
+
<showTextField>true</showTextField>
|
53 |
+
<selectedColor>0xffffff</selectedColor>
|
54 |
+
</item>
|
55 |
+
<item type="colorPicker" name="barBgColor">
|
56 |
+
<title><![CDATA[Header & Footer Background Color]]></title>
|
57 |
+
<description><![CDATA[]]></description>
|
58 |
+
<showTextField>true</showTextField>
|
59 |
+
<selectedColor>0x282828</selectedColor>
|
60 |
+
</item>
|
61 |
+
<item type="colorPicker" name="labelColor">
|
62 |
+
<title><![CDATA[Label Color (Buttons)]]></title>
|
63 |
+
<description><![CDATA[]]></description>
|
64 |
+
<showTextField>true</showTextField>
|
65 |
+
<selectedColor>0x75c30f</selectedColor>
|
66 |
+
</item>
|
67 |
+
<item type="colorPicker" name="labelColorOver">
|
68 |
+
<title><![CDATA[Label MouseOver Color (Buttons)]]></title>
|
69 |
+
<description><![CDATA[]]></description>
|
70 |
+
<showTextField>true</showTextField>
|
71 |
+
<selectedColor>0xffffff</selectedColor>
|
72 |
+
</item>
|
73 |
+
<item type="colorPicker" name="property1Button">
|
74 |
+
<title><![CDATA[Background Color (Buttons)]]></title>
|
75 |
+
<description><![CDATA[]]></description>
|
76 |
+
<showTextField>true</showTextField>
|
77 |
+
<selectedColor>0x000000</selectedColor>
|
78 |
+
</item>
|
79 |
+
<item type="colorPicker" name="descriptionBGColor">
|
80 |
+
<title><![CDATA[Description BG Color]]></title>
|
81 |
+
<description><![CDATA[Background for the image description that appears on mouseover.]]></description>
|
82 |
+
<showTextField>true</showTextField>
|
83 |
+
<selectedColor>0x000000</selectedColor>
|
84 |
+
</item>
|
85 |
+
<item type="slider" name="descriptionBGAlpha">
|
86 |
+
<title><![CDATA[Description BG Alpha]]></title>
|
87 |
+
<description><![CDATA[Opacity of the image description background.]]></description>
|
88 |
+
<maximum>100</maximum>
|
89 |
+
<minimum>0</minimum>
|
90 |
+
<snapInterval>5</snapInterval>
|
91 |
+
<tickInterval>5</tickInterval>
|
92 |
+
<value>75</value>
|
93 |
+
</item>
|
94 |
+
<item type="colorPicker" name="imageTitleColor">
|
95 |
+
<title><![CDATA[Image Title Color]]></title>
|
96 |
+
<description><![CDATA[Color of text for image title in the description.]]></description>
|
97 |
+
<showTextField>true</showTextField>
|
98 |
+
<selectedColor>0x75c30f</selectedColor>
|
99 |
+
</item>
|
100 |
+
<item type="numericSteper" name="galleryTitleFontSize">
|
101 |
+
<title><![CDATA[Gallery Title Font Size]]></title>
|
102 |
+
<description><![CDATA[]]></description>
|
103 |
+
<maximum>30</maximum>
|
104 |
+
<minimum>10</minimum>
|
105 |
+
<stepSize>1</stepSize>
|
106 |
+
<value>15</value>
|
107 |
+
</item>
|
108 |
+
<item type="numericSteper" name="titleFontSize">
|
109 |
+
<title><![CDATA[Image Title Font Size]]></title>
|
110 |
+
<description><![CDATA[]]></description>
|
111 |
+
<maximum>30</maximum>
|
112 |
+
<minimum>10</minimum>
|
113 |
+
<stepSize>1</stepSize>
|
114 |
+
<value>12</value>
|
115 |
+
</item>
|
116 |
+
<item type="colorPicker" name="imageDescriptionColor">
|
117 |
+
<title><![CDATA[Image Description Color (Text)]]></title>
|
118 |
+
<description><![CDATA[Color of text for image description.]]></description>
|
119 |
+
<showTextField>true</showTextField>
|
120 |
+
<selectedColor>0xffffff</selectedColor>
|
121 |
+
</item>
|
122 |
+
<item type="numericSteper" name="descriptionFontSize">
|
123 |
+
<title><![CDATA[Image Description Font Size]]></title>
|
124 |
+
<description><![CDATA[]]></description>
|
125 |
+
<maximum>30</maximum>
|
126 |
+
<minimum>10</minimum>
|
127 |
+
<stepSize>1</stepSize>
|
128 |
+
<value>12</value>
|
129 |
+
</item>
|
130 |
+
<item type="colorPicker" name="linkColor">
|
131 |
+
<title><![CDATA[Link Color (image description)]]></title>
|
132 |
+
<description><![CDATA[]]></description>
|
133 |
+
<showTextField>true</showTextField>
|
134 |
+
<selectedColor>0xffffff</selectedColor>
|
135 |
+
</item>
|
136 |
+
<item type="colorPicker" name="backButtonColorText">
|
137 |
+
<title><![CDATA[Back Button Text Color]]></title>
|
138 |
+
<description><![CDATA[Full Window Gallery Template.]]></description>
|
139 |
+
<showTextField>true</showTextField>
|
140 |
+
<selectedColor>0xffffff</selectedColor>
|
141 |
+
</item>
|
142 |
+
<item type="colorPicker" name="backButtonColorBg">
|
143 |
+
<title><![CDATA[Back Button BG Color]]></title>
|
144 |
+
<description><![CDATA[Full Window Gallery Template.]]></description>
|
145 |
+
<showTextField>true</showTextField>
|
146 |
+
<selectedColor>0x000000</selectedColor>
|
147 |
+
</item>
|
148 |
+
<properties>
|
149 |
+
<property0><![CDATA[opaque]]></property0>
|
150 |
+
<swfmousewheel>false</swfmousewheel>
|
151 |
+
<property1>0xffffff</property1>
|
152 |
+
<slideshowDelay>10</slideshowDelay>
|
153 |
+
<thumbnailsHeight>75</thumbnailsHeight>
|
154 |
+
<thumbnailsWidth>75</thumbnailsWidth>
|
155 |
+
<showDownload>true</showDownload>
|
156 |
+
<autoSlideshow>true</autoSlideshow>
|
157 |
+
<labelColor>0x75c30f</labelColor>
|
158 |
+
<labelColorOver>0xffffff</labelColorOver>
|
159 |
+
<property1Button>0x000000</property1Button>
|
160 |
+
<thumbnailBGColor>0xffffff</thumbnailBGColor>
|
161 |
+
<property12>0x75c30f</property12>
|
162 |
+
<descriptionBGColor>0x000000</descriptionBGColor>
|
163 |
+
<descriptionBGAlpha>75</descriptionBGAlpha>
|
164 |
+
<imageTitleColor>0x75c30f</imageTitleColor>
|
165 |
+
<imageDescriptionColor>0xffffff</imageDescriptionColor>
|
166 |
+
<backButtonColorText>0xffffff</backButtonColorText>
|
167 |
+
<backButtonColorBg>0x000000</backButtonColorBg>
|
168 |
+
<barBgColor>0x282828</barBgColor>
|
169 |
+
<titleFontSize>12</titleFontSize>
|
170 |
+
<galleryTitleFontSize>15</galleryTitleFontSize>
|
171 |
+
<linkColor>0xffffff</linkColor>
|
172 |
+
<descriptionFontSize>12</descriptionFontSize>
|
173 |
+
</properties>
|
174 |
+
</panel>
|
widgets/widgets.php
CHANGED
@@ -234,7 +234,7 @@ class flagBannerWidget extends WP_Widget {
|
|
234 |
// register it
|
235 |
add_action('widgets_init', create_function('', 'return register_widget("flagBannerWidget");'));
|
236 |
|
237 |
-
function flagBannerWidget($xml, $w = '100%', $h = '200', $skin = '
|
238 |
|
239 |
echo flagBannerWidget::render_slideshow($xml, $w, $h, $skin);
|
240 |
|
@@ -669,7 +669,7 @@ class flagMusicWidget extends WP_Widget {
|
|
669 |
// register it
|
670 |
add_action('widgets_init', create_function('', 'return register_widget("flagMusicWidget");'));
|
671 |
|
672 |
-
function flagMusicWidget($xml, $w = '100%', $h = '200', $skin = '
|
673 |
|
674 |
echo flagMusicWidget::render_music($xml, $w, $h, $skin);
|
675 |
|
234 |
// register it
|
235 |
add_action('widgets_init', create_function('', 'return register_widget("flagBannerWidget");'));
|
236 |
|
237 |
+
function flagBannerWidget($xml, $w = '100%', $h = '200', $skin = 'banner_widget_default') {
|
238 |
|
239 |
echo flagBannerWidget::render_slideshow($xml, $w, $h, $skin);
|
240 |
|
669 |
// register it
|
670 |
add_action('widgets_init', create_function('', 'return register_widget("flagMusicWidget");'));
|
671 |
|
672 |
+
function flagMusicWidget($xml, $w = '100%', $h = '200', $skin = 'music_default') {
|
673 |
|
674 |
echo flagMusicWidget::render_music($xml, $w, $h, $skin);
|
675 |
|