[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [7847] API: configurable nowrap at yui tables
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [7847] API: configurable nowrap at yui tables |
Date: |
Sat, 08 Oct 2011 17:34:38 +0000 |
Revision: 7847
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=7847
Author: sigurdne
Date: 2011-10-08 17:34:36 +0000 (Sat, 08 Oct 2011)
Log Message:
-----------
API: configurable nowrap at yui tables
Modified Paths:
--------------
trunk/phpgwapi/templates/portico/head.inc.php
trunk/preferences/inc/hook_settings.inc.php
Added Paths:
-----------
trunk/phpgwapi/templates/base/css/yui_table_nowrap.css
Added: trunk/phpgwapi/templates/base/css/yui_table_nowrap.css
===================================================================
--- trunk/phpgwapi/templates/base/css/yui_table_nowrap.css
(rev 0)
+++ trunk/phpgwapi/templates/base/css/yui_table_nowrap.css 2011-10-08
17:34:36 UTC (rev 7847)
@@ -0,0 +1,4 @@
+.yui-skin-sam .yui-dt-liner
+{
+ white-space:nowrap;
+}
Modified: trunk/phpgwapi/templates/portico/head.inc.php
===================================================================
--- trunk/phpgwapi/templates/portico/head.inc.php 2011-10-08 09:20:39 UTC
(rev 7846)
+++ trunk/phpgwapi/templates/portico/head.inc.php 2011-10-08 17:34:36 UTC
(rev 7847)
@@ -60,6 +60,11 @@
$stylesheets[] =
"/{$app}/templates/portico/css/{$GLOBALS['phpgw_info']['user']['preferences']['common']['theme']}.css";
}
+
if(isset($GLOBALS['phpgw_info']['user']['preferences']['common']['yui_table_nowrap'])
&& $GLOBALS['phpgw_info']['user']['preferences']['common']['yui_table_nowrap'])
+ {
+ $stylesheets[] =
"/phpgwapi/templates/base/css/yui_table_nowrap.css";
+ }
+
foreach ( $stylesheets as $stylesheet )
{
if( file_exists( PHPGW_SERVER_ROOT . $stylesheet ) )
Modified: trunk/preferences/inc/hook_settings.inc.php
===================================================================
--- trunk/preferences/inc/hook_settings.inc.php 2011-10-08 09:20:39 UTC (rev
7846)
+++ trunk/preferences/inc/hook_settings.inc.php 2011-10-08 17:34:36 UTC (rev
7847)
@@ -160,5 +160,6 @@
'Do you want your menues as sidecontent');
create_check_box('Show breadcrumbs','show_breadcrumbs',
'Should history navigation urls as breadcrumbs');
+ create_check_box('activate nowrap in YUI-tables','yui_table_nowrap',
+ 'activate nowrap in YUI-tables');
-
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [7847] API: configurable nowrap at yui tables,
Sigurd Nes <=