Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file added code/.gitignore
Empty file.
2 changes: 0 additions & 2 deletions code/AssetManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,3 @@ function FieldHolder()


}

?>
4 changes: 1 addition & 3 deletions code/AssetManagerFolder.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ public function updateCMSFields(Fieldset $fields)
'Title' => 30,
'Filename' => 70
));
$folder_filter = "(\"ClassName\" != 'Folder' AND \"ParentID\" = ".$this->owner->ID.")";
$folder_filter = "(\"ClassName\" != 'Folder' AND \"ParentID\" = ".$this->owner->ID.")";
$filter = $a->sourceFilter ? "({$a->sourceFilter}) AND $folder_filter" : $folder_filter;
$a->setSourceFilter($filter);
$a->setParentClass("Folder");
Expand All @@ -27,5 +27,3 @@ public function updateCMSFields(Fieldset $fields)
return $fields;
}
}

?>
2 changes: 1 addition & 1 deletion code/ImageAssetManager.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ public function __construct($controller, $name, $sourceClass = "Image", $heading
parent::__construct($controller, $name, $sourceClass, null, $headings, $fields, "\"ClassName\" != 'Folder'");
}

}
}
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
<td colspan="2">
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><input id="text_color" name="text_color" type="text" value="" size="9" onChange="updateColor('text_color_pick','text_color');" /></td>
<td><input id="text_color" name="text_color" type="text" value="" size="9" onchange="updateColor('text_color_pick','text_color');" /></td>
<td id="text_color_pickcontainer">&nbsp;</td>
</tr>
</table>
Expand Down
2 changes: 1 addition & 1 deletion templates/DataObjectManager.ss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="$id" class="RequestHandler FormField DataObjectManager $NestedType field" href="$CurrentLink">
<div id="$id" class="RequestHandler FormField DataObjectManager $NestedType field $extraClass" href="$CurrentLink">
<div class="ajax-loader"></div>
<div class="dataobjectmanager-actions <% if HasFilter %>filter<% end_if %>">
<% if Can(add) %>
Expand Down
4 changes: 2 additions & 2 deletions templates/DataObjectManager_popup.ss
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@
<% if HasPagination %>
<div id="pagination">
<% if PrevRecordLink %>
<div class="prev"><a href="$PrevRecordLink" title=<% _t('PREVIOUS','Previous') %>">&laquo;<% _t('PREVIOUS','Previous') %></a></div>
<div class="prev"><a href="$PrevRecordLink" title="<% _t('PREVIOUS','Previous') %>">&laquo;<% _t('PREVIOUS','Previous') %></a></div>
<% end_if %>
<% if NextRecordLink %>
<div class="next"><a href="$NextRecordLink" title=<% _t('NEXT','Next') %>"><% _t('NEXT','Next') %>&raquo;</a></div>
<div class="next"><a href="$NextRecordLink" title="<% _t('NEXT','Next') %>"><% _t('NEXT','Next') %>&raquo;</a></div>
<% end_if %>
</div>
<% end_if %>
Expand Down
2 changes: 1 addition & 1 deletion templates/FileDataObjectManager.ss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="$id" class="RequestHandler FormField DataObjectManager FileDataObjectManager TableListField $NestedType field" href="$CurrentLink">
<div id="$id" class="RequestHandler FormField DataObjectManager FileDataObjectManager TableListField $NestedType field $extraClass" href="$CurrentLink">
<div class="ajax-loader"></div>
<div class="dataobjectmanager-actions <% if HasFilter %>filter<% end_if %>">
<% if Can(add) %>
Expand Down
2 changes: 1 addition & 1 deletion templates/ImageDataObjectManager.ss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div id="$id" class="RequestHandler FormField DataObjectManager FileDataObjectManager ImageDataObjectManager $NestedType field" href="$CurrentLink">
<div id="$id" class="RequestHandler FormField DataObjectManager FileDataObjectManager ImageDataObjectManager $NestedType field $extraClass" href="$CurrentLink">
<div class="ajax-loader"></div>
<div class="dataobjectmanager-actions <% if HasFilter %>filter<% end_if %>">
<% if Can(upload) %>
Expand Down