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 { ...@@ -212,6 +212,14 @@ div.views-display-deleted div.tab-section {
padding-top: 3px; 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 { .views-override {
padding: 0.5em 1em 0em 1em; padding: 0.5em 1em 0em 1em;
} }
......
...@@ -74,11 +74,13 @@ function views_ui_list_views($arg = NULL) { ...@@ -74,11 +74,13 @@ function views_ui_list_views($arg = NULL) {
} }
} }
if (strtolower($ts['sort']) == 'desc') { if (!empty($ts)) {
arsort($sorts); if (strtolower($ts['sort']) == 'desc') {
} arsort($sorts);
else { }
asort($sorts); else {
asort($sorts);
}
} }
$i = array(); $i = array();
......
...@@ -55,7 +55,7 @@ function user_views_data() { ...@@ -55,7 +55,7 @@ function user_views_data() {
// Information for accepting a uid as an argument // Information for accepting a uid as an argument
'argument' => array( 'argument' => array(
'handler' => 'views_handler_argument_uid', 'handler' => 'views_handler_argument_uid',
), ),
// Information for accepting a uid as a filter // Information for accepting a uid as a filter
'filter' => array( 'filter' => array(
'handler' => 'views_handler_filter_equality', 'handler' => 'views_handler_filter_equality',
...@@ -89,6 +89,10 @@ class views_handler_field_user extends views_handler_field { ...@@ -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 * 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