Commit 26d4e696 authored by merlinofchaos's avatar merlinofchaos

Minor notice/warning fixes

parent 24caaddc
......@@ -212,6 +212,14 @@ div.views-display-deleted div.tab-section {
padding-top: 3px;
}
#views-ajax-pad .views-messages {
background: transparent url('/themes/garland/images/gradient-inner.png') repeat-x top;
margin-left: 118px;
border: #ADB7BE 1px solid;
border-top: 0;
padding: 5px;
}
.views-override {
padding: 0.5em 1em 0em 1em;
}
......
......@@ -74,11 +74,13 @@ function views_ui_list_views($arg = NULL) {
}
}
if (strtolower($ts['sort']) == 'desc') {
arsort($sorts);
}
else {
asort($sorts);
if (!empty($ts)) {
if (strtolower($ts['sort']) == 'desc') {
arsort($sorts);
}
else {
asort($sorts);
}
}
$i = array();
......
......@@ -55,7 +55,7 @@ function user_views_data() {
// Information for accepting a uid as an argument
'argument' => array(
'handler' => 'views_handler_argument_uid',
),
),
// Information for accepting a uid as a filter
'filter' => array(
'handler' => 'views_handler_filter_equality',
......@@ -89,6 +89,10 @@ class views_handler_field_user extends views_handler_field {
}
}
function options(&$item) {
$item->link_to_user = TRUE;
}
/**
* Provide link to node option
*/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment