Fixed bug #10783: Make workspaces icons skinnable
authorPatrick Broens <patrick@netcreators.com>
Fri, 3 Apr 2009 13:07:16 +0000 (13:07 +0000)
committerPatrick Broens <patrick@netcreators.com>
Fri, 3 Apr 2009 13:07:16 +0000 (13:07 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5264 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/gfx/add_workspace.gif [new file with mode: 0644]
typo3/mod/user/ws/conf.php
typo3/mod/user/ws/index.php
typo3/mod/user/ws/sys_workspace.gif [new file with mode: 0644]
typo3/sysext/t3skin/ext_tables.php
typo3/sysext/t3skin/icons/gfx/add_workspaces.gif [new file with mode: 0644]
typo3/sysext/t3skin/icons/gfx/i/sys_workspace.gif [new file with mode: 0644]
typo3/sysext/t3skin/icons/module_user_ws.gif [new file with mode: 0644]

index e919846..1944153 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2009-04-03  Patrick Broens  <patrick@patrickbroens.nl>
+
+       * Fixed bug #10783: Make workspaces icons skinnable
+
 2009-04-03  Ingo Renner  <ingo@typo3.org>
 
        * Added feature #9703: Integrate EXT: ingmar_admpanelwrap
diff --git a/typo3/gfx/add_workspace.gif b/typo3/gfx/add_workspace.gif
new file mode 100644 (file)
index 0000000..63ab48c
Binary files /dev/null and b/typo3/gfx/add_workspace.gif differ
index 3c94564..d265c1f 100755 (executable)
@@ -2,7 +2,7 @@
 define('TYPO3_MOD_PATH', 'mod/user/ws/');
 $BACK_PATH='../../../';
 
-$MLANG['default']['tabs_images']['tab'] = 'sys_workspace.png';
+$MLANG['default']['tabs_images']['tab'] = 'sys_workspace.gif';
 $MLANG['default']['ll_ref']='LLL:EXT:lang/locallang_mod_user_ws.php';
 
 $MCONF['shy'] = FALSE;
index e4fe6cc..72e5ebe 100755 (executable)
@@ -376,7 +376,7 @@ class SC_mod_user_ws_index extends t3lib_SCbase {
                        // workspace creation link
                if ($GLOBALS['BE_USER']->isAdmin() || 0 != ($GLOBALS['BE_USER']->groupData['workspace_perms'] & 4))     {
                        $buttons['new_record'] = '<a href="' . $newWkspUrl . '">' .
-                                               '<img ' . t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/new_el.gif') . ' alt="' . $LANG->getLL('img_title_create_new_workspace') . '" id="ver-wl-new-workspace-icon" />' .
+                                               '<img ' . t3lib_iconWorks::skinImg($BACK_PATH, 'gfx/add_workspaces.gif') . ' alt="' . $LANG->getLL('img_title_create_new_workspace') . '" id="ver-wl-new-workspace-icon" />' .
                                                '</a>';
                }
                return $buttons;
diff --git a/typo3/mod/user/ws/sys_workspace.gif b/typo3/mod/user/ws/sys_workspace.gif
new file mode 100644 (file)
index 0000000..d389a76
Binary files /dev/null and b/typo3/mod/user/ws/sys_workspace.gif differ
index 4b12da4..4519214 100644 (file)
@@ -127,6 +127,7 @@ if (TYPO3_MODE=='BE')       {
                'MOD:user_task/task.gif'                   => array($temp_eP.'icons/module_user_taskcenter.gif','width="22" height="22"'),
                'MOD:user_setup/setup.gif'                 => array($temp_eP.'icons/module_user_setup.gif','width="22" height="22"'),
                'MOD:user_doc/document.gif'                => array($temp_eP.'icons/module_doc.gif','width="22" height="22"'),
+               'MOD:user_ws/sys_workspace.gif'            => array($temp_eP.'icons/module_user_ws.gif','width="22" height="22"'),
                'MOD:tools/tool.gif'                       => array($temp_eP.'icons/module_tools.gif','width="25" height="24"'),
                'MOD:tools_beuser/beuser.gif'              => array($temp_eP.'icons/module_tools_user.gif','width="24" height="24"'),
                'MOD:tools_em/em.gif'                      => array($temp_eP.'icons/module_tools_em.gif','width="24" height="24"'),
diff --git a/typo3/sysext/t3skin/icons/gfx/add_workspaces.gif b/typo3/sysext/t3skin/icons/gfx/add_workspaces.gif
new file mode 100644 (file)
index 0000000..63ab48c
Binary files /dev/null and b/typo3/sysext/t3skin/icons/gfx/add_workspaces.gif differ
diff --git a/typo3/sysext/t3skin/icons/gfx/i/sys_workspace.gif b/typo3/sysext/t3skin/icons/gfx/i/sys_workspace.gif
new file mode 100644 (file)
index 0000000..d389a76
Binary files /dev/null and b/typo3/sysext/t3skin/icons/gfx/i/sys_workspace.gif differ
diff --git a/typo3/sysext/t3skin/icons/module_user_ws.gif b/typo3/sysext/t3skin/icons/module_user_ws.gif
new file mode 100644 (file)
index 0000000..d389a76
Binary files /dev/null and b/typo3/sysext/t3skin/icons/module_user_ws.gif differ