silverstripe-gallery 

silverstripe-gallery Commit Details

Date:2014-09-25 23:29:24 (6 years 2 months ago)
Author:Nicola Fontana
Branch:dev, master
Commit:4b9db1c016876d39453498f2d5e92316e268a5a9
Parents: ebac2ac6297e4d2a04bb8c61ee784eab2d40c6d1
Message:Remove double GalleryImage

Changes:
Dcode/extensions/GalleryImage.php (full)

File differences

code/extensions/GalleryImage.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
<?php
class GalleryImage extends DataExtension {
public static $db = array(
'Sort' => 'Int'
);
public static $belogs_many_many = array(
'Gallery' => 'GalleryPage'
);
public function updateCMSFields(FieldList $fields) {
$fields->addFieldToTab('Root.Main', TextField::create('Sort', _t('GalleryPage.PRIORITY')));
}
}

Archive Download the corresponding diff file