?
The first name of the dropdown is ’Easy2’ , is there a way to make it say ’No gallery choosen’ or do you have to change the mapname thenthis should work:
<?php
$output = '';
$result = $modx->db->query( 'SELECT cat_name, cat_id FROM `modx_easy2_dirs` ' );
$gallarray = $modx->db->makeArray( $result );
$num_rows = mysql_num_rows($result);
$lastgall = ($num_rows)-1;
for ($i = 1; $i < $lastgall ; $i++) {
$firstitems .= $gallarray[$i][cat_name];
$firstitems .= '==';
$firstitems .= $gallarray[$i][cat_id];
$firstitems .= '||';
}
$start = 'select a gallery' . '==' . ' ' . '||';
$lastitem = $gallarray[$lastgall][cat_name] . '==' . $gallarray[$lastgall][cat_id];
$output = "$start $firstitems $lastitem";
return $output;
?>just delete the language part inside the highslide-settings.js
I am wondering if there is any way of changing all Russian to English, in highslide? When I click on an image Russian appears as it is loading, also when I mouse over the larger image Russian appears again. If there is any code which I need to delete, please post it here, so I can delete the right part of code.
hs.lang = {
loadingText : '\u0417\u0430\u0433\u0440\u0443\u0436\u0430\u0435\u0442\u0441\u044F...',
loadingTitle : '\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0434\u043B\u044F \u043E\u0442\u043C\u0435\u043D\u044B',
focusTitle : '\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0447\u0442\u043E\u0431\u044B \u043F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C \u0432\u043F\u0435\u0440\u0435\u0434',
fullExpandTitle : '\u0423\u0432\u0435\u043B\u0438\u0447\u0438\u0442\u044C \u0434\u043E \u0434\u0435\u0439\u0441\u0442\u0432\u0438\u0442\u0435\u043B\u044C\u043D\u043E\u0433\u043E \u0440\u0430\u0437\u043C\u0435\u0440\u0430',
fullExpandText : '\u041E\u0440\u0438\u0433\u0438\u043D\u0430\u043B\u044C\u043D\u044B\u0439 \u0440\u0430\u0437\u043C\u0435\u0440',
creditsText : '\u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0435\u0442 <i>Highslide JS</i>',
creditsTitle : '\u041F\u0435\u0440\u0435\u0439\u0442\u0438 \u043D\u0430 \u0434\u043E\u043C\u0430\u0448\u043D\u044E\u044E \u0441\u0442\u0440\u0430\u043D\u0438\u0446\u0443 Highslide JS',
previousText : '\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435',
previousTitle : '\u041F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0435 (\u0441\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043B\u0435\u0432\u043E)',
nextText : '\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435',
nextTitle : '\u0421\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0435 (\u0441\u0442\u0440\u0435\u043B\u043A\u0430 \u0432\u043F\u0440\u0430\u0432\u043E)',
moveTitle : '\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C',
moveText : '\u041F\u0435\u0440\u0435\u043C\u0435\u0441\u0442\u0438\u0442\u044C',
closeText : 'X',
closeTitle : '\u0417\u0430\u043A\u0440\u044B\u0442\u044C (esc)',
resizeTitle : '\u0418\u0437\u043C\u0435\u043D\u0438\u0442\u044C \u0440\u0430\u0437\u043C\u0435\u0440',
playText : '\u0421\u043B\u0430\u0439\u0434\u0448\u043E\u0443',
playTitle : '\u041D\u0430\u0447\u0430\u0442\u044C \u0441\u043B\u0430\u0439\u0434\u0448\u043E\u0443 (\u043F\u0440\u043E\u0431\u0435\u043B)',
pauseText : '\u041F\u0430\u0443\u0437\u0430',
pauseTitle : '\u041F\u0440\u0438\u043E\u0441\u0442\u0430\u043D\u043E\u0432\u0438\u0442\u044C \u0441\u043B\u0430\u0439\u0434\u0448\u043E\u0443 (\u043F\u0440\u043E\u0431\u0435\u043B)',
number : '\u0418\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435 %1 \u0438\u0437 %2',
restoreTitle : '\u041D\u0430\u0436\u043C\u0438\u0442\u0435 \u0447\u0442\u043E\u0431\u044B \u0437\u0430\u043A\u0440\u044B\u0442\u044C \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0435, \u043D\u0430\u0436\u043C\u0438\u0442\u0435 \u0438 \u0443\u0434\u0435\u0440\u0436\u0438\u0432\u0430\u0439\u0442\u0435 \u0434\u043B\u044F \u043F\u0435\u0440\u0435\u043C\u0435\u0449\u0435\u043D\u0438\u044F. \u0418\u0441\u043F\u043E\u043B\u044C\u0437\u0443\u0439\u0442\u0435 \u0441\u0442\u0440\u0435\u043B\u043A\u0438 \u0434\u043B\u044F \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0435\u0433\u043E \u0438 \u043F\u0440\u0435\u0434\u044B\u0434\u0443\u0449\u0435\u0433\u043E \u0438\u0437\u043E\u0431\u0440\u0430\u0436\u0435\u043D\u0438\u0439.'
};hs.graphicsDir = "assets/libs/highslide/graphics/";
hs.showCredits = false;
hs.outlineType = "rounded-white";
hs.allowSizeReduction = false;
hs.outlineWhileAnimating = true;
hs.captionEval = "this.a.title";
hs.align = "center";
// russian language
// Add the controlbar
if (hs.addSlideshow) hs.addSlideshow({
slideshowGroup: 'mygroup',
interval: 5000,
repeat: false,
useControls: true,
fixedControls: 'fit',
overlayOptions: {
opacity: .6,
position: 'bottom center',
hideOnMouseOut: true
}
});Easy 2 Gallery 1.3.6 - Beta 3wow
http://code.google.com/p/easy2modx/issues/detail?id=6
awesome - thanks!