mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Merged from branches/2.3
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@77245 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
parent
4e8735b10e
commit
f7a974ccd4
@ -78,17 +78,17 @@ form button.minorAction {
|
||||
/**
|
||||
* Composite Fields - raw concatenation of fields for programmatic purposes.
|
||||
*/
|
||||
.right form div.field.CompositeField {
|
||||
.right form div.CompositeField {
|
||||
margin-left: 7.5em;
|
||||
}
|
||||
.right form div.field.CompositeField div.field {
|
||||
.right form div.CompositeField div.field {
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
.right form div.field.CompositeField {
|
||||
.right form div.CompositeField {
|
||||
clear: both;
|
||||
}
|
||||
.right form div.field.CompositeField label.left {
|
||||
.right form div.CompositeField label.left {
|
||||
float: left;
|
||||
width: 10em;
|
||||
margin-left: -10em;
|
||||
|
@ -75,7 +75,7 @@ table.TableField tfoot td,
|
||||
table.CMSList tbody td,
|
||||
table.CMSList tfoot td {
|
||||
border: 1px solid #f1efe2;
|
||||
padding: 0 5px;
|
||||
padding: 2px 4px;
|
||||
}
|
||||
|
||||
.TableListField table.data tfoot tr.addtogrouprow td {
|
||||
@ -114,7 +114,7 @@ table.TableField tbody tr.over td,
|
||||
.TableListField table.data tbody tr.over td,
|
||||
.TableListField table.data tbody tr.over td input,
|
||||
table.CMSList tbody td.over td{
|
||||
background-color: #FFCC66;
|
||||
background-color: #FFFFBB;
|
||||
}
|
||||
|
||||
table.TableField tbody tr.current td,
|
||||
|
@ -314,6 +314,12 @@ JS
|
||||
$XML_sort = (isset($_REQUEST['ctf'][$this->Name()]['dir'])) ? Convert::raw2xml($_REQUEST['ctf'][$this->Name()]['dir']) : null;
|
||||
$sortLink = HTTP::setGetVar("ctf[{$this->Name()}][dir]", $XML_sort, $sortLink);
|
||||
}
|
||||
if(isset($_REQUEST['ctf'][$this->Name()]['search'])) {
|
||||
foreach($_REQUEST['ctf'][$this->Name()]['search'] as $parameter => $value) {
|
||||
$XML_search = Convert::raw2xml($value);
|
||||
$sortLink = HTTP::setGetVar("ctf[{$this->Name()}][search][$parameter]", $XML_search, $sortLink);
|
||||
}
|
||||
}
|
||||
} else {
|
||||
$sortLink = '#';
|
||||
}
|
||||
|
@ -30,8 +30,8 @@
|
||||
<% if Can(add) %>
|
||||
<tr>
|
||||
<td colspan="$ItemCount">
|
||||
<a href="#" class="addrow" title="<% _t('ADD', 'Add a new row') %>"><img src="cms/images/add.gif" alt="<% _t('ADD') %>" />
|
||||
<% sprintf(_t('ADDITEM'),$Title) %>
|
||||
<a href="#" class="addrow" title="<% _t('ADD', 'Add a new row') %>"><img src="cms/images/add.gif" alt="<% _t('ADD','Add a new row') %>" />
|
||||
<% sprintf(_t('ADDITEM','Add %s'),$Title) %>
|
||||
</a>
|
||||
</td>
|
||||
<td style="display: none"></td>
|
||||
|
Loading…
Reference in New Issue
Block a user