Give the Carousel a minimum width, and expose it as a template variable to help
YUI Carousel with rendering. Adjust default template, Help, i18n. Fixes bug #10511.
This commit is contained in:
parent
bd0d7c080c
commit
5ef030d1f8
6 changed files with 42 additions and 19 deletions
|
|
@ -1,4 +1,5 @@
|
|||
7.7.18
|
||||
- fixed #10511: Carousel cutting off edge of photo
|
||||
- fixed #10804: EMS Schedule Screen broken
|
||||
- fixed: Logging errors when getting the list of available driver classes.
|
||||
- fixed #10797: Unable to search for non-ASCII text
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -36,6 +36,7 @@ addInboxNotificationsSubjectSetting($session);
|
|||
profileFieldRequiredEditable($session);
|
||||
deleteOldInboxMessageStates($session);
|
||||
setDefaultEMSScheduleTemplate($session);
|
||||
addCarouselSlideWidth($session);
|
||||
finish($session); # this line required
|
||||
|
||||
#----------------------------------------------------------------------------
|
||||
|
|
@ -47,6 +48,19 @@ finish($session); # this line required
|
|||
# print "DONE!\n" unless $quiet;
|
||||
#}
|
||||
|
||||
sub addCarouselSlideWidth {
|
||||
my $session = shift;
|
||||
print "\tAdd a default width property to the Carousel... " unless $quiet;
|
||||
$session->db->write(<<EOSQL);
|
||||
ALTER TABLE Carousel ADD COLUMN slideWidth int(11)
|
||||
EOSQL
|
||||
$session->db->write(<<EOSQL);
|
||||
UPDATE Carousel SET slideWidth=0;
|
||||
EOSQL
|
||||
|
||||
print "DONE!\n" unless $quiet;
|
||||
}
|
||||
|
||||
sub setDefaultEMSScheduleTemplate {
|
||||
my $session = shift;
|
||||
print "\tSet the default EMS schedule template on existing EMS'es that do not have one... " unless $quiet;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue