12 $table->column(
"Gallery",
"<a href='#' onclick='picker.selectSlideshow(this, {gallery_id})'>{gallery_name}</a>",
true,
"width: 80%")
13 ->column(
"# of Photos",
countPhotos,
true,
"width: 20%");
16 $table->emptyMessage =
"No image galleries have been created";
22 <script type=
"text/javascript" src=
""></script>
23 <script type=
"text/javascript">
25 window.addEvent(
'domready',
function()
27 picker =
new SlideshowPicker(
'galleries',
'{$editor}');
34 <label
for=
"width" style=
"display: inline-block; width: 70px;">Width: </label><input type=
"text" style=
"width: 100px" id=
"width" value=
"500"/><br/><br/>
35 <label
for=
"height" style=
"display: inline-block; width: 70px;">Height: </label><input type=
"text" style=
"width: 100px" id=
"height" value=
"400"/><br/>
37 <a href=
"#" onclick=
"picker.insertSlideshow()" class=
"button">Insert
Slideshow</a>
42 return Query::create(
ImageRecord,
"WHERE gallery_id=:id AND include_in_slideshow=1")
44 ->executeValue(
"COUNT(1)");
static usingFeature()
Uses the specified framework feature(s).
static using()
Import the datamodels, views and manifest for the specified component(s).
The Slideshow class provides a reusable user interface control that displays images from the database...