run()
+#8 C:\Intranet\yii\framework\web\CBaseController.php(301): CBaseController->endWidget('CContentDecorat...')
+#9 C:\Intranet\www\protected\views\layouts\column2.php(21): CBaseController->endContent()
+#10 C:\Intranet\yii\framework\web\CBaseController.php(127): require('C:\Intranet\www...')
+#11 C:\Intranet\yii\framework\web\CBaseController.php(96): CBaseController->renderInternal('C:\Intranet\www...', Array, true)
+#12 C:\Intranet\yii\framework\web\CController.php(785): CBaseController->renderFile('C:\Intranet\www...', Array, true)
+#13 C:\Intranet\www\protected\controllers\UsuarioController.php(133): CController->render('index', Array)
+#14 C:\Intranet\yii\framework\web\actions\CInlineAction.php(50): UsuarioController->actionIndex()
+#15 C:\Intranet\yii\framework\web\CController.php(309): CInlineAction->runWithParams(Array)
+#16 C:\Intranet\yii\framework\web\filters\CFilterChain.php(134): CController->runAction(Object(CInlineAction))
+#17 C:\Intranet\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
+#18 C:\Intranet\yii\framework\web\CController.php(1146): CFilter->filter(Object(CFilterChain))
+#19 C:\Intranet\yii\framework\web\filters\CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
+#20 C:\Intranet\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
+#21 C:\Intranet\yii\framework\web\CController.php(292): CFilterChain->run()
+#22 C:\Intranet\yii\framework\web\CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
+#23 C:\Intranet\yii\framework\web\CWebApplication.php(276): CController->run('')
+#24 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('usuario')
+#25 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#26 C:\Intranet\www\index.php(13): CApplication->run()
+#27 {main}
+REQUEST_URI=/intranet/index.php?r=usuario
+---
+2012/02/02 10:23:19 [error] [exception.CHttpException.403] exception 'CHttpException' with message 'You are not authorized to perform this action.' in C:\Intranet\yii\framework\web\auth\CAccessControlFilter.php:157
+Stack trace:
+#0 C:\Intranet\yii\framework\web\auth\CAccessControlFilter.php(120): CAccessControlFilter->accessDenied(Object(CWebUser), 'You are not aut...')
+#1 C:\Intranet\yii\framework\web\filters\CFilter.php(39): CAccessControlFilter->preFilter(Object(CFilterChain))
+#2 C:\Intranet\yii\framework\web\CController.php(1146): CFilter->filter(Object(CFilterChain))
+#3 C:\Intranet\yii\framework\web\filters\CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
+#4 C:\Intranet\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
+#5 C:\Intranet\yii\framework\web\CController.php(292): CFilterChain->run()
+#6 C:\Intranet\yii\framework\web\CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
+#7 C:\Intranet\yii\framework\web\CWebApplication.php(276): CController->run('logout')
+#8 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('site/logout')
+#9 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#10 C:\Intranet\www\index.php(13): CApplication->run()
+#11 {main}
+REQUEST_URI=/intranet/index.php?r=site/logout
+HTTP_REFERER=http://localhost/intranet/index.php?r=usuario
+---
+2012/02/02 10:26:24 [error] [php] Undefined variable: model (C:\Intranet\www\themes\intranet\views\layouts\main.php:96)
+Stack trace:
+#0 C:\Intranet\yii\framework\web\widgets\CContentDecorator.php(77): UsuarioController->renderFile()
+#1 C:\Intranet\yii\framework\web\widgets\CContentDecorator.php(55): CContentDecorator->decorate()
+#2 C:\Intranet\yii\framework\web\widgets\COutputProcessor.php(45): CContentDecorator->processOutput()
+#3 C:\Intranet\yii\framework\web\CBaseController.php(207): CContentDecorator->run()
+#4 C:\Intranet\yii\framework\web\CBaseController.php(301): UsuarioController->endWidget()
+#5 C:\Intranet\www\protected\views\layouts\column2.php(21): UsuarioController->endContent()
+#6 C:\Intranet\yii\framework\web\CBaseController.php(127): require()
+#7 C:\Intranet\yii\framework\web\CBaseController.php(96): UsuarioController->renderInternal()
+#8 C:\Intranet\yii\framework\web\CController.php(785): UsuarioController->renderFile()
+#9 C:\Intranet\www\protected\controllers\UsuarioController.php(129): UsuarioController->render()
+#10 C:\Intranet\yii\framework\web\actions\CInlineAction.php(50): UsuarioController->actionIndex()
+#11 C:\Intranet\yii\framework\web\CController.php(309): CInlineAction->runWithParams()
+#12 C:\Intranet\yii\framework\web\filters\CFilterChain.php(134): UsuarioController->runAction()
+#13 C:\Intranet\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
+#14 C:\Intranet\yii\framework\web\CController.php(1146): CAccessControlFilter->filter()
+#15 C:\Intranet\yii\framework\web\filters\CInlineFilter.php(59): UsuarioController->filterAccessControl()
+#16 C:\Intranet\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter()
+#17 C:\Intranet\yii\framework\web\CController.php(292): CFilterChain->run()
+#18 C:\Intranet\yii\framework\web\CController.php(266): UsuarioController->runActionWithFilters()
+#19 C:\Intranet\yii\framework\web\CWebApplication.php(276): UsuarioController->run()
+#20 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController()
+#21 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#22 C:\Intranet\www\index.php(13): CWebApplication->run()
+REQUEST_URI=/intranet/index.php?r=usuario
+in C:\Intranet\www\themes\intranet\views\layouts\main.php (96)
+in C:\Intranet\www\protected\views\layouts\column2.php (21)
+in C:\Intranet\www\protected\controllers\UsuarioController.php (129)
+2012/02/02 10:26:36 [error] [exception.CException] exception 'CException' with message 'Property "UsuarioController.model" is not defined.' in C:\Intranet\yii\framework\base\CComponent.php:131
+Stack trace:
+#0 C:\Intranet\www\themes\intranet\views\layouts\main.php(96): CComponent->__get('model')
+#1 C:\Intranet\yii\framework\web\CBaseController.php(127): require('C:\Intranet\www...')
+#2 C:\Intranet\yii\framework\web\CBaseController.php(96): CBaseController->renderInternal('C:\Intranet\www...', Array, true)
+#3 C:\Intranet\yii\framework\web\widgets\CContentDecorator.php(77): CBaseController->renderFile('C:\Intranet\www...', Array, true)
+#4 C:\Intranet\yii\framework\web\widgets\CContentDecorator.php(55): CContentDecorator->decorate('
run()
+#7 C:\Intranet\yii\framework\web\CBaseController.php(301): CBaseController->endWidget('CContentDecorat...')
+#8 C:\Intranet\www\protected\views\layouts\column2.php(21): CBaseController->endContent()
+#9 C:\Intranet\yii\framework\web\CBaseController.php(127): require('C:\Intranet\www...')
+#10 C:\Intranet\yii\framework\web\CBaseController.php(96): CBaseController->renderInternal('C:\Intranet\www...', Array, true)
+#11 C:\Intranet\yii\framework\web\CController.php(785): CBaseController->renderFile('C:\Intranet\www...', Array, true)
+#12 C:\Intranet\www\protected\controllers\UsuarioController.php(129): CController->render('index', Array)
+#13 C:\Intranet\yii\framework\web\actions\CInlineAction.php(50): UsuarioController->actionIndex()
+#14 C:\Intranet\yii\framework\web\CController.php(309): CInlineAction->runWithParams(Array)
+#15 C:\Intranet\yii\framework\web\filters\CFilterChain.php(134): CController->runAction(Object(CInlineAction))
+#16 C:\Intranet\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
+#17 C:\Intranet\yii\framework\web\CController.php(1146): CFilter->filter(Object(CFilterChain))
+#18 C:\Intranet\yii\framework\web\filters\CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
+#19 C:\Intranet\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
+#20 C:\Intranet\yii\framework\web\CController.php(292): CFilterChain->run()
+#21 C:\Intranet\yii\framework\web\CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
+#22 C:\Intranet\yii\framework\web\CWebApplication.php(276): CController->run('')
+#23 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('usuario')
+#24 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#25 C:\Intranet\www\index.php(13): CApplication->run()
+#26 {main}
+REQUEST_URI=/intranet/index.php?r=usuario
+HTTP_REFERER=http://localhost/intranet/index.php?r=site/login
+---
+2012/02/02 10:29:02 [error] [php] Undefined variable: model (C:\Intranet\www\themes\intranet\views\layouts\main.php:96)
+Stack trace:
+#0 C:\Intranet\yii\framework\web\widgets\CContentDecorator.php(77): UsuarioController->renderFile()
+#1 C:\Intranet\yii\framework\web\widgets\CContentDecorator.php(55): CContentDecorator->decorate()
+#2 C:\Intranet\yii\framework\web\widgets\COutputProcessor.php(45): CContentDecorator->processOutput()
+#3 C:\Intranet\yii\framework\web\CBaseController.php(207): CContentDecorator->run()
+#4 C:\Intranet\yii\framework\web\CBaseController.php(301): UsuarioController->endWidget()
+#5 C:\Intranet\www\protected\views\layouts\column2.php(21): UsuarioController->endContent()
+#6 C:\Intranet\yii\framework\web\CBaseController.php(127): require()
+#7 C:\Intranet\yii\framework\web\CBaseController.php(96): UsuarioController->renderInternal()
+#8 C:\Intranet\yii\framework\web\CController.php(785): UsuarioController->renderFile()
+#9 C:\Intranet\www\protected\controllers\UsuarioController.php(129): UsuarioController->render()
+#10 C:\Intranet\yii\framework\web\actions\CInlineAction.php(50): UsuarioController->actionIndex()
+#11 C:\Intranet\yii\framework\web\CController.php(309): CInlineAction->runWithParams()
+#12 C:\Intranet\yii\framework\web\filters\CFilterChain.php(134): UsuarioController->runAction()
+#13 C:\Intranet\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
+#14 C:\Intranet\yii\framework\web\CController.php(1146): CAccessControlFilter->filter()
+#15 C:\Intranet\yii\framework\web\filters\CInlineFilter.php(59): UsuarioController->filterAccessControl()
+#16 C:\Intranet\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter()
+#17 C:\Intranet\yii\framework\web\CController.php(292): CFilterChain->run()
+#18 C:\Intranet\yii\framework\web\CController.php(266): UsuarioController->runActionWithFilters()
+#19 C:\Intranet\yii\framework\web\CWebApplication.php(276): UsuarioController->run()
+#20 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController()
+#21 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#22 C:\Intranet\www\index.php(13): CWebApplication->run()
+REQUEST_URI=/intranet/index.php?r=usuario
+in C:\Intranet\www\themes\intranet\views\layouts\main.php (96)
+in C:\Intranet\www\protected\views\layouts\column2.php (21)
+in C:\Intranet\www\protected\controllers\UsuarioController.php (129)
+2012/02/02 10:31:20 [error] [php] Undefined variable: model (C:\Intranet\www\themes\intranet\views\layouts\main.php:93)
+Stack trace:
+#0 C:\Intranet\yii\framework\web\widgets\CContentDecorator.php(77): UsuarioController->renderFile()
+#1 C:\Intranet\yii\framework\web\widgets\CContentDecorator.php(55): CContentDecorator->decorate()
+#2 C:\Intranet\yii\framework\web\widgets\COutputProcessor.php(45): CContentDecorator->processOutput()
+#3 C:\Intranet\yii\framework\web\CBaseController.php(207): CContentDecorator->run()
+#4 C:\Intranet\yii\framework\web\CBaseController.php(301): UsuarioController->endWidget()
+#5 C:\Intranet\www\protected\views\layouts\column2.php(21): UsuarioController->endContent()
+#6 C:\Intranet\yii\framework\web\CBaseController.php(127): require()
+#7 C:\Intranet\yii\framework\web\CBaseController.php(96): UsuarioController->renderInternal()
+#8 C:\Intranet\yii\framework\web\CController.php(785): UsuarioController->renderFile()
+#9 C:\Intranet\www\protected\controllers\UsuarioController.php(129): UsuarioController->render()
+#10 C:\Intranet\yii\framework\web\actions\CInlineAction.php(50): UsuarioController->actionIndex()
+#11 C:\Intranet\yii\framework\web\CController.php(309): CInlineAction->runWithParams()
+#12 C:\Intranet\yii\framework\web\filters\CFilterChain.php(134): UsuarioController->runAction()
+#13 C:\Intranet\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
+#14 C:\Intranet\yii\framework\web\CController.php(1146): CAccessControlFilter->filter()
+#15 C:\Intranet\yii\framework\web\filters\CInlineFilter.php(59): UsuarioController->filterAccessControl()
+#16 C:\Intranet\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter()
+#17 C:\Intranet\yii\framework\web\CController.php(292): CFilterChain->run()
+#18 C:\Intranet\yii\framework\web\CController.php(266): UsuarioController->runActionWithFilters()
+#19 C:\Intranet\yii\framework\web\CWebApplication.php(276): UsuarioController->run()
+#20 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController()
+#21 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#22 C:\Intranet\www\index.php(13): CWebApplication->run()
+REQUEST_URI=/intranet/index.php?r=usuario
+in C:\Intranet\www\themes\intranet\views\layouts\main.php (93)
+in C:\Intranet\www\protected\views\layouts\column2.php (21)
+in C:\Intranet\www\protected\controllers\UsuarioController.php (129)
+2012/02/02 10:31:31 [error] [php] Undefined variable: model (C:\Intranet\www\themes\intranet\views\layouts\main.php:93)
+Stack trace:
+#0 C:\Intranet\yii\framework\web\widgets\CContentDecorator.php(77): UsuarioController->renderFile()
+#1 C:\Intranet\yii\framework\web\widgets\CContentDecorator.php(55): CContentDecorator->decorate()
+#2 C:\Intranet\yii\framework\web\widgets\COutputProcessor.php(45): CContentDecorator->processOutput()
+#3 C:\Intranet\yii\framework\web\CBaseController.php(207): CContentDecorator->run()
+#4 C:\Intranet\yii\framework\web\CBaseController.php(301): UsuarioController->endWidget()
+#5 C:\Intranet\www\protected\views\layouts\column2.php(21): UsuarioController->endContent()
+#6 C:\Intranet\yii\framework\web\CBaseController.php(127): require()
+#7 C:\Intranet\yii\framework\web\CBaseController.php(96): UsuarioController->renderInternal()
+#8 C:\Intranet\yii\framework\web\CController.php(785): UsuarioController->renderFile()
+#9 C:\Intranet\www\protected\controllers\UsuarioController.php(129): UsuarioController->render()
+#10 C:\Intranet\yii\framework\web\actions\CInlineAction.php(50): UsuarioController->actionIndex()
+#11 C:\Intranet\yii\framework\web\CController.php(309): CInlineAction->runWithParams()
+#12 C:\Intranet\yii\framework\web\filters\CFilterChain.php(134): UsuarioController->runAction()
+#13 C:\Intranet\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
+#14 C:\Intranet\yii\framework\web\CController.php(1146): CAccessControlFilter->filter()
+#15 C:\Intranet\yii\framework\web\filters\CInlineFilter.php(59): UsuarioController->filterAccessControl()
+#16 C:\Intranet\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter()
+#17 C:\Intranet\yii\framework\web\CController.php(292): CFilterChain->run()
+#18 C:\Intranet\yii\framework\web\CController.php(266): UsuarioController->runActionWithFilters()
+#19 C:\Intranet\yii\framework\web\CWebApplication.php(276): UsuarioController->run()
+#20 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController()
+#21 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#22 C:\Intranet\www\index.php(13): CWebApplication->run()
+REQUEST_URI=/intranet/index.php?r=usuario
+in C:\Intranet\www\themes\intranet\views\layouts\main.php (93)
+in C:\Intranet\www\protected\views\layouts\column2.php (21)
+in C:\Intranet\www\protected\controllers\UsuarioController.php (129)
+2012/02/02 10:34:21 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "http://localhost/intranet/index.php?r=usuario/usuario".' in C:\Intranet\yii\framework\web\CWebApplication.php:280
+Stack trace:
+#0 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('http://localhos...')
+#1 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#2 C:\Intranet\www\index.php(13): CApplication->run()
+#3 {main}
+REQUEST_URI=/intranet/index.php?r=http://localhost/intranet/index.php?r=usuario/usuario
+HTTP_REFERER=http://localhost/intranet/index.php?r=usuario
+---
+2012/02/02 10:34:45 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'The system is unable to find the requested action "usuario".' in C:\Intranet\yii\framework\web\CController.php:484
+Stack trace:
+#0 C:\Intranet\yii\framework\web\CController.php(271): CController->missingAction('usuario')
+#1 C:\Intranet\yii\framework\web\CWebApplication.php(276): CController->run('usuario')
+#2 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('usuario/usuario')
+#3 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#4 C:\Intranet\www\index.php(13): CApplication->run()
+#5 {main}
+REQUEST_URI=/intranet/index.php?r=usuario/usuario
+HTTP_REFERER=http://localhost/intranet/index.php?r=usuario
+---
+2012/02/02 10:35:03 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'The system is unable to find the requested action "usuario".' in C:\Intranet\yii\framework\web\CController.php:484
+Stack trace:
+#0 C:\Intranet\yii\framework\web\CController.php(271): CController->missingAction('usuario')
+#1 C:\Intranet\yii\framework\web\CWebApplication.php(276): CController->run('usuario')
+#2 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('usuario/usuario')
+#3 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#4 C:\Intranet\www\index.php(13): CApplication->run()
+#5 {main}
+REQUEST_URI=/intranet/index.php?r=usuario/usuario
+HTTP_REFERER=http://localhost/intranet/index.php?r=usuario
+---
+2012/02/02 10:35:11 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'The system is unable to find the requested action "usuario".' in C:\Intranet\yii\framework\web\CController.php:484
+Stack trace:
+#0 C:\Intranet\yii\framework\web\CController.php(271): CController->missingAction('usuario')
+#1 C:\Intranet\yii\framework\web\CWebApplication.php(276): CController->run('usuario')
+#2 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('usuario/usuario')
+#3 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#4 C:\Intranet\www\index.php(13): CApplication->run()
+#5 {main}
+REQUEST_URI=/intranet/index.php?r=usuario/usuario&view=index
+HTTP_REFERER=http://localhost/intranet/index.php?r=usuario
+---
+2012/02/02 10:35:29 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'The system is unable to find the requested action "usuario".' in C:\Intranet\yii\framework\web\CController.php:484
+Stack trace:
+#0 C:\Intranet\yii\framework\web\CController.php(271): CController->missingAction('usuario')
+#1 C:\Intranet\yii\framework\web\CWebApplication.php(276): CController->run('usuario')
+#2 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('site/usuario')
+#3 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#4 C:\Intranet\www\index.php(13): CApplication->run()
+#5 {main}
+REQUEST_URI=/intranet/index.php?r=site/usuario&view=index
+HTTP_REFERER=http://localhost/intranet/index.php?r=usuario
+---
+2012/02/02 10:35:54 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "candidato".' in C:\Intranet\yii\framework\web\CWebApplication.php:280
+Stack trace:
+#0 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('candidato')
+#1 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#2 C:\Intranet\www\index.php(13): CApplication->run()
+#3 {main}
+REQUEST_URI=/intranet/index.php?r=candidato&view=index
+HTTP_REFERER=http://localhost/intranet/index.php?r=usuario&view=index
+---
+2012/02/02 10:47:15 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "candidato".' in C:\Intranet\yii\framework\web\CWebApplication.php:280
+Stack trace:
+#0 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('candidato')
+#1 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#2 C:\Intranet\www\index.php(13): CApplication->run()
+#3 {main}
+REQUEST_URI=/intranet/index.php?r=candidato&view=index
+HTTP_REFERER=http://localhost/intranet/index.php?r=usuario&view=index
+---
+2012/02/02 10:47:28 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "candidato".' in C:\Intranet\yii\framework\web\CWebApplication.php:280
+Stack trace:
+#0 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('candidato')
+#1 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#2 C:\Intranet\www\index.php(13): CApplication->run()
+#3 {main}
+REQUEST_URI=/intranet/index.php?r=candidato&view=index
+HTTP_REFERER=http://localhost/intranet/index.php?r=usuario/index
+---
+2012/02/02 11:22:18 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "candidato".' in C:\Intranet\yii\framework\web\CWebApplication.php:280
+Stack trace:
+#0 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('candidato')
+#1 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#2 C:\Intranet\www\index.php(13): CApplication->run()
+#3 {main}
+REQUEST_URI=/intranet/index.php?r=candidato&view=index
+HTTP_REFERER=http://localhost/intranet/index.php?r=usuario/index
+---
+2012/02/02 11:22:21 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "candidato".' in C:\Intranet\yii\framework\web\CWebApplication.php:280
+Stack trace:
+#0 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('candidato')
+#1 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#2 C:\Intranet\www\index.php(13): CApplication->run()
+#3 {main}
+REQUEST_URI=/intranet/index.php?r=candidato
+---
+2012/02/02 11:22:52 [error] [exception.CHttpException.404] exception 'CHttpException' with message 'Unable to resolve the request "candidato".' in C:\Intranet\yii\framework\web\CWebApplication.php:280
+Stack trace:
+#0 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('candidato')
+#1 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#2 C:\Intranet\www\index.php(13): CApplication->run()
+#3 {main}
+REQUEST_URI=/intranet/index.php?r=candidato&view=index
+HTTP_REFERER=http://localhost/intranet/index.php?r=usuario/index
+---
+2012/02/02 11:40:01 [error] [php] Undefined variable: dataProvider (C:\Intranet\www\themes\intranet\views\usuario\index.php:22)
+Stack trace:
+#0 C:\Intranet\yii\framework\web\CController.php(870): UsuarioController->renderFile()
+#1 C:\Intranet\yii\framework\web\CController.php(783): UsuarioController->renderPartial()
+#2 C:\Intranet\www\protected\controllers\UsuarioController.php(129): UsuarioController->render()
+#3 C:\Intranet\yii\framework\web\actions\CInlineAction.php(50): UsuarioController->actionIndex()
+#4 C:\Intranet\yii\framework\web\CController.php(309): CInlineAction->runWithParams()
+#5 C:\Intranet\yii\framework\web\filters\CFilterChain.php(134): UsuarioController->runAction()
+#6 C:\Intranet\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
+#7 C:\Intranet\yii\framework\web\CController.php(1146): CAccessControlFilter->filter()
+#8 C:\Intranet\yii\framework\web\filters\CInlineFilter.php(59): UsuarioController->filterAccessControl()
+#9 C:\Intranet\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter()
+#10 C:\Intranet\yii\framework\web\CController.php(292): CFilterChain->run()
+#11 C:\Intranet\yii\framework\web\CController.php(266): UsuarioController->runActionWithFilters()
+#12 C:\Intranet\yii\framework\web\CWebApplication.php(276): UsuarioController->run()
+#13 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController()
+#14 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#15 C:\Intranet\www\index.php(13): CWebApplication->run()
+REQUEST_URI=/intranet/index.php?r=usuario&view=index
+in C:\Intranet\www\themes\intranet\views\usuario\index.php (22)
+in C:\Intranet\www\protected\controllers\UsuarioController.php (129)
+in C:\Intranet\www\index.php (13)
+2012/02/02 11:44:36 [error] [php] Undefined variable: dataProvider (C:\Intranet\www\themes\intranet\views\usuario\index.php:22)
+Stack trace:
+#0 C:\Intranet\yii\framework\web\CController.php(870): UsuarioController->renderFile()
+#1 C:\Intranet\yii\framework\web\CController.php(783): UsuarioController->renderPartial()
+#2 C:\Intranet\www\protected\controllers\UsuarioController.php(129): UsuarioController->render()
+#3 C:\Intranet\yii\framework\web\actions\CInlineAction.php(50): UsuarioController->actionIndex()
+#4 C:\Intranet\yii\framework\web\CController.php(309): CInlineAction->runWithParams()
+#5 C:\Intranet\yii\framework\web\filters\CFilterChain.php(134): UsuarioController->runAction()
+#6 C:\Intranet\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
+#7 C:\Intranet\yii\framework\web\CController.php(1146): CAccessControlFilter->filter()
+#8 C:\Intranet\yii\framework\web\filters\CInlineFilter.php(59): UsuarioController->filterAccessControl()
+#9 C:\Intranet\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter()
+#10 C:\Intranet\yii\framework\web\CController.php(292): CFilterChain->run()
+#11 C:\Intranet\yii\framework\web\CController.php(266): UsuarioController->runActionWithFilters()
+#12 C:\Intranet\yii\framework\web\CWebApplication.php(276): UsuarioController->run()
+#13 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController()
+#14 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#15 C:\Intranet\www\index.php(13): CWebApplication->run()
+REQUEST_URI=/intranet/index.php?r=usuario&view=index
+in C:\Intranet\www\themes\intranet\views\usuario\index.php (22)
+in C:\Intranet\www\protected\controllers\UsuarioController.php (129)
+in C:\Intranet\www\index.php (13)
+2012/02/02 11:59:53 [error] [exception.CException] exception 'CException' with message 'Property "UsuarioController.javascript" is not defined.' in C:\Intranet\yii\framework\base\CComponent.php:174
+Stack trace:
+#0 C:\Intranet\www\themes\intranet\views\usuario\index.php(11): CComponent->__set('javascript', Array)
+#1 C:\Intranet\yii\framework\web\CBaseController.php(127): require('C:\Intranet\www...')
+#2 C:\Intranet\yii\framework\web\CBaseController.php(96): CBaseController->renderInternal('C:\Intranet\www...', Array, true)
+#3 C:\Intranet\yii\framework\web\CController.php(870): CBaseController->renderFile('C:\Intranet\www...', Array, true)
+#4 C:\Intranet\yii\framework\web\CController.php(783): CController->renderPartial('index', Array, true)
+#5 C:\Intranet\www\protected\controllers\UsuarioController.php(129): CController->render('index', Array)
+#6 C:\Intranet\yii\framework\web\actions\CInlineAction.php(50): UsuarioController->actionIndex()
+#7 C:\Intranet\yii\framework\web\CController.php(309): CInlineAction->runWithParams(Array)
+#8 C:\Intranet\yii\framework\web\filters\CFilterChain.php(134): CController->runAction(Object(CInlineAction))
+#9 C:\Intranet\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
+#10 C:\Intranet\yii\framework\web\CController.php(1146): CFilter->filter(Object(CFilterChain))
+#11 C:\Intranet\yii\framework\web\filters\CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
+#12 C:\Intranet\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
+#13 C:\Intranet\yii\framework\web\CController.php(292): CFilterChain->run()
+#14 C:\Intranet\yii\framework\web\CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
+#15 C:\Intranet\yii\framework\web\CWebApplication.php(276): CController->run('')
+#16 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('usuario')
+#17 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#18 C:\Intranet\www\index.php(13): CApplication->run()
+#19 {main}
+REQUEST_URI=/intranet/index.php?r=usuario&view=index
+HTTP_REFERER=http://localhost/intranet/index.php?r=usuario&view=index
+---
+2012/02/02 12:03:42 [error] [php] include(RdxBaseController.php) [
function.include]: failed to open stream: No such file or directory (C:\Intranet\yii\framework\YiiBase.php:418)
+Stack trace:
+#0 C:\Intranet\www\protected\controllers\UsuarioController.php(4): spl_autoload_call()
+#1 C:\Intranet\yii\framework\web\CWebApplication.php(344): require()
+#2 C:\Intranet\yii\framework\web\CWebApplication.php(270): CWebApplication->createController()
+#3 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController()
+#4 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#5 C:\Intranet\www\index.php(13): CWebApplication->run()
+REQUEST_URI=/intranet/index.php?r=usuario/index
+in C:\Intranet\www\protected\controllers\UsuarioController.php (4)
+in C:\Intranet\www\index.php (13)
+2012/02/02 12:05:08 [error] [exception.CException] exception 'CException' with message 'Property "UsuarioController.javascript" is not defined.' in C:\Intranet\yii\framework\base\CComponent.php:174
+Stack trace:
+#0 C:\Intranet\www\themes\intranet\views\usuario\index.php(11): CComponent->__set('javascript', Array)
+#1 C:\Intranet\yii\framework\web\CBaseController.php(127): require('C:\Intranet\www...')
+#2 C:\Intranet\yii\framework\web\CBaseController.php(96): CBaseController->renderInternal('C:\Intranet\www...', Array, true)
+#3 C:\Intranet\yii\framework\web\CController.php(870): CBaseController->renderFile('C:\Intranet\www...', Array, true)
+#4 C:\Intranet\yii\framework\web\CController.php(783): CController->renderPartial('index', Array, true)
+#5 C:\Intranet\www\protected\controllers\UsuarioController.php(124): CController->render('index', Array)
+#6 C:\Intranet\yii\framework\web\actions\CInlineAction.php(50): UsuarioController->actionIndex()
+#7 C:\Intranet\yii\framework\web\CController.php(309): CInlineAction->runWithParams(Array)
+#8 C:\Intranet\yii\framework\web\filters\CFilterChain.php(134): CController->runAction(Object(CInlineAction))
+#9 C:\Intranet\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
+#10 C:\Intranet\yii\framework\web\CController.php(1146): CFilter->filter(Object(CFilterChain))
+#11 C:\Intranet\yii\framework\web\filters\CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
+#12 C:\Intranet\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
+#13 C:\Intranet\yii\framework\web\CController.php(292): CFilterChain->run()
+#14 C:\Intranet\yii\framework\web\CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
+#15 C:\Intranet\yii\framework\web\CWebApplication.php(276): CController->run('index')
+#16 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('usuario/index')
+#17 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#18 C:\Intranet\www\index.php(13): CApplication->run()
+#19 {main}
+REQUEST_URI=/intranet/index.php?r=usuario/index
+HTTP_REFERER=http://localhost/intranet/index.php?r=usuario/admin
+---
+2012/02/02 12:06:06 [error] [exception.CException] exception 'CException' with message 'Property "UsuarioController.javascripts" is not defined.' in C:\Intranet\yii\framework\base\CComponent.php:174
+Stack trace:
+#0 C:\Intranet\www\themes\intranet\views\usuario\index.php(11): CComponent->__set('javascripts', Array)
+#1 C:\Intranet\yii\framework\web\CBaseController.php(127): require('C:\Intranet\www...')
+#2 C:\Intranet\yii\framework\web\CBaseController.php(96): CBaseController->renderInternal('C:\Intranet\www...', Array, true)
+#3 C:\Intranet\yii\framework\web\CController.php(870): CBaseController->renderFile('C:\Intranet\www...', Array, true)
+#4 C:\Intranet\yii\framework\web\CController.php(783): CController->renderPartial('index', Array, true)
+#5 C:\Intranet\www\protected\controllers\UsuarioController.php(124): CController->render('index', Array)
+#6 C:\Intranet\yii\framework\web\actions\CInlineAction.php(50): UsuarioController->actionIndex()
+#7 C:\Intranet\yii\framework\web\CController.php(309): CInlineAction->runWithParams(Array)
+#8 C:\Intranet\yii\framework\web\filters\CFilterChain.php(134): CController->runAction(Object(CInlineAction))
+#9 C:\Intranet\yii\framework\web\filters\CFilter.php(41): CFilterChain->run()
+#10 C:\Intranet\yii\framework\web\CController.php(1146): CFilter->filter(Object(CFilterChain))
+#11 C:\Intranet\yii\framework\web\filters\CInlineFilter.php(59): CController->filterAccessControl(Object(CFilterChain))
+#12 C:\Intranet\yii\framework\web\filters\CFilterChain.php(131): CInlineFilter->filter(Object(CFilterChain))
+#13 C:\Intranet\yii\framework\web\CController.php(292): CFilterChain->run()
+#14 C:\Intranet\yii\framework\web\CController.php(266): CController->runActionWithFilters(Object(CInlineAction), Array)
+#15 C:\Intranet\yii\framework\web\CWebApplication.php(276): CController->run('index')
+#16 C:\Intranet\yii\framework\web\CWebApplication.php(135): CWebApplication->runController('usuario/index')
+#17 C:\Intranet\yii\framework\base\CApplication.php(162): CWebApplication->processRequest()
+#18 C:\Intranet\www\index.php(13): CApplication->run()
+#19 {main}
+REQUEST_URI=/intranet/index.php?r=usuario/index
+HTTP_REFERER=http://localhost/intranet/index.php?r=usuario/admin
+---
diff --git a/www/protected/runtime/state.bin b/www/protected/runtime/state.bin
new file mode 100644
index 0000000..299c616
--- /dev/null
+++ b/www/protected/runtime/state.bin
@@ -0,0 +1 @@
+a:1:{s:34:"Yii.CSecurityManager.validationkey";s:32:"49f5893c6cc41b775953b73e5f667165";}
\ No newline at end of file
diff --git a/www/themes/intranet/css/custom.css b/www/themes/intranet/css/custom.css
new file mode 100644
index 0000000..0c01a24
--- /dev/null
+++ b/www/themes/intranet/css/custom.css
@@ -0,0 +1,63 @@
+@charset "utf-8";
+/* CSS Document */
+
+span.timestamp {
+ float: right;
+ font-size: 93%;
+ color: #808080;
+}
+
+.imgleft2 { float: left; margin: 0 10px 0 0; padding: 5px;}
+.imgleft2 { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
+
+
+.column-filter-widgets {
+ padding: 10px 10px;
+}
+.column-filter-widget {
+ display: inline-block;
+ padding-right: 5px;
+}
+
+.borrador {
+ background: none repeat scroll 0 0 #FF9C00;
+ border-radius: 5px 5px 5px 5px;
+ color: #FFFFFF;
+ padding: 2px 5px;
+ cursor: pointer;
+}
+
+.rechazado {
+ background: none repeat scroll 0 0 #5B5B5B;
+ border-radius: 5px 5px 5px 5px;
+ color: #FFFFFF;
+ padding: 2px 5px;
+ cursor: pointer;
+
+}
+
+.proceso {
+ background: none repeat scroll 0 0 #7AC212;
+ border-radius: 5px 5px 5px 5px;
+ color: #FFFFFF;
+ padding: 2px 5px;
+ cursor: pointer;
+
+}
+
+.asignado {
+ background: none repeat scroll 0 0 #C21179;
+ border-radius: 5px 5px 5px 5px;
+ color: #FFFFFF;
+ padding: 2px 5px;
+ cursor: pointer;
+}
+
+.gris {
+ color: #999;
+}
+
+
+.form_default label {
+ color: #006699;
+}
\ No newline at end of file
diff --git a/www/themes/intranet/css/ie7.css b/www/themes/intranet/css/ie7.css
new file mode 100644
index 0000000..9105ce7
--- /dev/null
+++ b/www/themes/intranet/css/ie7.css
@@ -0,0 +1,7 @@
+.header { z-index: 10; }
+.tabmenu { top: 52px; z-index: -1; }
+.topheader ul li { position: relative; }
+.loginbox button { padding: 5px 8px; }
+#search input { padding-top: 6px; }
+.dropbox ul { position: relative; z-index: 100; }
+.notification { position: relative; z-index: 100; }
\ No newline at end of file
diff --git a/www/themes/intranet/css/ie8.css b/www/themes/intranet/css/ie8.css
new file mode 100644
index 0000000..b2f7746
--- /dev/null
+++ b/www/themes/intranet/css/ie8.css
@@ -0,0 +1,2 @@
+.loginbox button { padding: 7px 14px; }
+#search input { padding-top: 6px; }
diff --git a/www/themes/intranet/css/ie9.css b/www/themes/intranet/css/ie9.css
new file mode 100644
index 0000000..2d30423
--- /dev/null
+++ b/www/themes/intranet/css/ie9.css
@@ -0,0 +1 @@
+.loginbox button { padding: 7px 14px; }
diff --git a/www/themes/intranet/css/plugins/colorbox.css b/www/themes/intranet/css/plugins/colorbox.css
new file mode 100644
index 0000000..7edc339
--- /dev/null
+++ b/www/themes/intranet/css/plugins/colorbox.css
@@ -0,0 +1,37 @@
+/*
+ ColorBox Core Style:
+ The following CSS is consistent between example themes and should not be altered.
+*/
+#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;}
+#cboxOverlay{position:fixed; width:100%; height:100%;}
+#cboxMiddleLeft, #cboxBottomLeft{clear:left;}
+#cboxContent{position:relative;}
+#cboxLoadedContent{overflow:auto;}
+#cboxTitle{margin:0;}
+#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;}
+#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;}
+.cboxPhoto{float:left; margin:auto; border:0; display:block;}
+.cboxIframe{width:100%; height:100%; display:block; border:0;}
+
+/*
+ User Style:
+ Change the following styles to modify the appearance of ColorBox. They are
+ ordered & tabbed in a way that represents the nesting of the generated HTML.
+*/
+#cboxOverlay{background:#000;}
+#colorbox{}
+ #cboxContent{margin-top:20px;}
+ .cboxIframe{background:#fff;}
+ #cboxError{padding:50px; border:1px solid #ccc;}
+ #cboxLoadedContent{border:5px solid #000; background:#fff;}
+ #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;}
+ #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;}
+ #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;}
+ #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(../../images/colorbox/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;}
+ #cboxPrevious:hover{background-position:bottom left;}
+ #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(../../images/colorbox/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;}
+ #cboxNext:hover{background-position:bottom right;}
+ #cboxLoadingOverlay{background:#000;}
+ #cboxLoadingGraphic{background:url(../../images/colorbox/loading.gif) no-repeat center center;}
+ #cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(../../images/colorbox/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;}
+ #cboxClose:hover{background-position:bottom center;}
\ No newline at end of file
diff --git a/www/themes/intranet/css/plugins/colorpicker.css b/www/themes/intranet/css/plugins/colorpicker.css
new file mode 100644
index 0000000..268db0e
--- /dev/null
+++ b/www/themes/intranet/css/plugins/colorpicker.css
@@ -0,0 +1,161 @@
+.colorpicker {
+ width: 356px;
+ height: 176px;
+ overflow: hidden;
+ position: absolute;
+ background: url(../../images/colorpicker/colorpicker_background.png);
+ font-family: Arial, Helvetica, sans-serif;
+ display: none;
+}
+.colorpicker_color {
+ width: 150px;
+ height: 150px;
+ left: 14px;
+ top: 13px;
+ position: absolute;
+ background: #f00;
+ overflow: hidden;
+ cursor: crosshair;
+}
+.colorpicker_color div {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 150px;
+ height: 150px;
+ background: url(../../images/colorpicker/colorpicker_overlay.png);
+}
+.colorpicker_color div div {
+ position: absolute;
+ top: 0;
+ left: 0;
+ width: 11px;
+ height: 11px;
+ overflow: hidden;
+ background: url(../../images/colorpicker/colorpicker_select.gif);
+ margin: -5px 0 0 -5px;
+}
+.colorpicker_hue {
+ position: absolute;
+ top: 13px;
+ left: 171px;
+ width: 35px;
+ height: 150px;
+ cursor: n-resize;
+}
+.colorpicker_hue div {
+ position: absolute;
+ width: 35px;
+ height: 9px;
+ overflow: hidden;
+ background: url(../../images/colorpicker/colorpicker_indic.gif) left top;
+ margin: -4px 0 0 0;
+ left: 0px;
+}
+.colorpicker_new_color {
+ position: absolute;
+ width: 60px;
+ height: 30px;
+ left: 213px;
+ top: 13px;
+ background: #f00;
+}
+.colorpicker_current_color {
+ position: absolute;
+ width: 60px;
+ height: 30px;
+ left: 283px;
+ top: 13px;
+ background: #f00;
+}
+.colorpicker input {
+ background-color: transparent;
+ border: 1px solid transparent;
+ position: absolute;
+ font-size: 10px;
+ font-family: Arial, Helvetica, sans-serif;
+ color: #898989;
+ top: 4px;
+ right: 11px;
+ text-align: right;
+ margin: 0;
+ padding: 0;
+ height: 11px;
+}
+.colorpicker_hex {
+ position: absolute;
+ width: 72px;
+ height: 22px;
+ background: url(../../images/colorpicker/colorpicker_hex.png) top;
+ left: 212px;
+ top: 142px;
+}
+.colorpicker_hex input {
+ right: 6px;
+}
+.colorpicker_field {
+ height: 22px;
+ width: 62px;
+ background-position: top;
+ position: absolute;
+}
+.colorpicker_field span {
+ position: absolute;
+ width: 12px;
+ height: 22px;
+ overflow: hidden;
+ top: 0;
+ right: 0;
+ cursor: n-resize;
+}
+.colorpicker_rgb_r {
+ background-image: url(../../images/colorpicker/colorpicker_rgb_r.png);
+ top: 52px;
+ left: 212px;
+}
+.colorpicker_rgb_g {
+ background-image: url(../../images/colorpicker/colorpicker_rgb_g.png);
+ top: 82px;
+ left: 212px;
+}
+.colorpicker_rgb_b {
+ background-image: url(../../images/colorpicker/colorpicker_rgb_b.png);
+ top: 112px;
+ left: 212px;
+}
+.colorpicker_hsb_h {
+ background-image: url(../../images/colorpicker/colorpicker_hsb_h.png);
+ top: 52px;
+ left: 282px;
+}
+.colorpicker_hsb_s {
+ background-image: url(../../images/colorpicker/colorpicker_hsb_s.png);
+ top: 82px;
+ left: 282px;
+}
+.colorpicker_hsb_b {
+ background-image: url(../../images/colorpicker/colorpicker_hsb_b.png);
+ top: 112px;
+ left: 282px;
+}
+.colorpicker_submit {
+ position: absolute;
+ width: 22px;
+ height: 22px;
+ background: url(../../images/colorpicker/colorpicker_submit.png) top;
+ left: 322px;
+ top: 142px;
+ overflow: hidden;
+}
+.colorpicker_focus {
+ background-position: center;
+}
+.colorpicker_hex.colorpicker_focus {
+ background-position: bottom;
+}
+.colorpicker_submit.colorpicker_focus {
+ background-position: bottom;
+}
+.colorpicker_slider {
+ background-position: bottom;
+}
diff --git a/www/themes/intranet/css/plugins/elfinder.css b/www/themes/intranet/css/plugins/elfinder.css
new file mode 100644
index 0000000..6b5cb18
--- /dev/null
+++ b/www/themes/intranet/css/plugins/elfinder.css
@@ -0,0 +1,834 @@
+
+/* file manager window */
+
+.el-finder {
+ width:100%;
+ min-width:400px;
+ background-color:#eee;
+ font-size: 12px;
+ font-family: DroidSansRegular, Arial, Helvetica, sans-serif;
+}
+
+.el-finder-undocked {
+ position:absolute;
+ min-width:400px;
+ border:1px solid #ccc;
+ padding:5px;
+}
+
+/* error messages */
+.el-finder-err {
+ padding: 15px;
+ text-align:center;
+ background: #fee;
+ color: #cc0509;
+ border: 2px #844 solid;
+ border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px;
+}
+
+/* disabled */
+.el-finder-disabled .el-finder-toolbar li,
+.el-finder-disabled .el-finder-nav,
+.el-finder-disabled .el-finder-cwd {
+ opacity:0.35; filter:Alpha(Opacity=35);
+}
+
+.el-finder .el-finder-droppable {
+ background-color:#99ccff;
+}
+.el-finder .ui-selected {
+ background-color:#ccc;
+/* background-color:#c5e4f9;*/
+}
+
+.el-finder input {
+ margin:0;
+ padding:0;
+ outline:none;
+ border:1px solid #ccc;
+}
+
+/************************************/
+/* toolbar */
+/************************************/
+
+.el-finder-toolbar ul {
+ padding:5px 7px;
+ margin:0;
+ list-style:none;
+}
+
+.el-finder-toolbar ul li {
+ display: -moz-inline-stack;
+ display: inline-block;
+ zoom: 1;
+ *display: inline;
+ vertical-align: top;
+ height:22px;
+ width:23px;
+ margin:0 2px;
+ padding:0;
+ background:url('../../images/filemanager/toolbar.png') no-repeat;
+ border:1px solid #ccc;
+ border-radius:3px;
+ -moz-border-radius:3px;
+ -webkit-border-radius:3px;
+}
+.el-finder-toolbar ul li.delim {
+ border:none;
+ width:3px;
+ background-position: 1px -610px;
+}
+
+.el-finder-toolbar ul li.el-finder-tb-hover {
+ border:1px solid #fff;
+ background-color:#ccc;
+}
+
+.el-finder-toolbar ul li.disabled { opacity:0.35; filter:Alpha(Opacity=35); }
+
+.el-finder-toolbar ul li.back { background-position: 3px -171px; }
+.el-finder-toolbar ul li.reload { background-position: 3px -192px; }
+.el-finder-toolbar ul li.select { background-position: 3px -214px; }
+.el-finder-toolbar ul li.open { background-position: 4px -235px; }
+.el-finder-toolbar ul li.mkdir { background-position: 4px -258px; }
+.el-finder-toolbar ul li.mkfile { background-position: 4px -280px; }
+.el-finder-toolbar ul li.upload { background-position: 3px -305px; }
+.el-finder-toolbar ul li.rm { background-position: 3px -330px; }
+.el-finder-toolbar ul li.copy { background-position: 3px -356px; }
+.el-finder-toolbar ul li.paste { background-position: 3px -381px; }
+.el-finder-toolbar ul li.rename { background-position: 3px -407px; }
+.el-finder-toolbar ul li.edit { background-position: 4px -435px; }
+.el-finder-toolbar ul li.info { background-position: 3px -462px; }
+.el-finder-toolbar ul li.help { background-position: 3px -487px; }
+.el-finder-toolbar ul li.icons { background-position: 3px -537px; }
+.el-finder-toolbar ul li.list { background-position: 3px -557px; }
+.el-finder-toolbar ul li.uncompress { background-position: 3px -583px; }
+.el-finder-toolbar ul li.resize { background-position: 3px -656px; }
+.el-finder-toolbar ul li.quicklook { background-position: 3px -726px; }
+
+.el-finder-dock-button {
+ width:19px;
+ height:19px;
+ float:right;
+ margin: 2px;
+ border:1px solid #ccc;
+ border-radius:3px;
+ -moz-border-radius:3px;
+ -webkit-border-radius:3px;
+ background:url('../../images/filemanager/toolbar.png') 2px -705px no-repeat;
+}
+
+.ui-dialog .el-finder-dock-button {
+ background-position:2px -681px;
+}
+
+.el-finder-dock-button-hover {
+ background-color:#ccc;
+ border:1px solid #fff;
+}
+
+/**********************************************************/
+/* workzone, container for navigation and current folder */
+/**********************************************************/
+
+.el-finder-workzone {
+ background-color:#f7f7f7;
+ border-top:1px solid #ccc;
+ border-bottom:1px solid #ccc;
+ position:relative;
+}
+
+.el-finder-spinner {
+ position:absolute;
+ top:37%;
+ left:37%;
+ width:250px;
+ height:50px;
+ background:transparent url(../../images/filemanager/spinner.gif) 50% 50% no-repeat;
+ display:none;
+}
+
+/* error in workzone */
+.el-finder-workzone p.el-finder-err {
+ display:none;
+ position:absolute;
+ left:37%;
+ top:20px;
+}
+
+/* navigation and current directory */
+.el-finder-nav, .el-finder-cwd {
+ height:350px;
+ overflow:auto;
+}
+
+/************************************/
+/* navigation */
+/************************************/
+
+.el-finder-nav {
+ float:left;
+ width : 200px;
+ background:#fff;
+}
+
+.el-finder-nav .ui-resizable-e {
+ right:0;
+}
+
+/* folders tree */
+.el-finder-nav ul {
+ list-style:none;
+ margin:0;
+ padding:0;
+}
+
+.el-finder-nav ul li {
+ clear:both;
+}
+
+ul.el-finder-tree, ul.el-finder-places {
+ margin-bottom:1em;
+}
+
+.el-finder-nav ul li ul {
+ margin-left:12px;
+}
+
+.el-finder-nav ul div {
+ width:12px;
+ height:20px;
+ float:left;
+ margin-right:23px;
+}
+
+.el-finder-nav a, .el-finder-nav div.collapsed {
+ background-image:url(../../images/filemanager/toolbar.png);
+ background-repeat:no-repeat;
+}
+.el-finder-nav div.collapsed {
+ background-position: -1px 7px;
+}
+.el-finder-nav div.expanded {
+ background-position: -1px -9px;
+}
+
+.el-finder-nav a {
+ display: block;
+ white-space:nowrap;
+ line-height:20px;
+ color:#444;
+ cursor:default;
+ text-decoration:none;
+ outline:none;
+ background-position: 15px -56px;
+ font-size: 11px;
+}
+
+.el-finder-nav a.dropbox {
+ background-position: 15px -80px;
+}
+.el-finder-nav a.readonly {
+ background-position: 15px -104px;
+}
+.el-finder-nav a.noaccess {
+ background-position: 15px -750px;
+}
+
+.el-finder-nav a.selected {
+/* background-color:#ccc;*/
+ background-color:#c5e4f9;
+ background-position: 15px -128px;
+}
+
+.el-finder-nav a.el-finder-tree-root {
+ background-position: 15px -30px;
+ font-weight:bold;
+ font-size: 11px;
+}
+
+.el-finder-nav a.el-finder-places-root {
+ background-position: 15px -152px;
+ font-weight:bold;
+ font-size: 11px;
+ margin-top: 5px;
+}
+
+.el-finder-nav ul.el-finder-tree .el-finder-droppable {
+ background-position: 15px -237px;
+}
+
+
+/***********************************/
+/* current working directory */
+/************************************/
+
+.el-finder-cwd {
+ border-left:1px solid #ddd;
+ padding:10px;
+}
+
+/********** view: icons ************/
+.el-finder-cwd div {
+ width: 81px;
+ display: -moz-inline-stack;
+ display: inline-block;
+ vertical-align: top;
+ zoom: 1;
+ *display: inline;
+ margin:0 3px 3px 0;
+ padding:1px 0;
+ text-align:center;
+ border-radius:2px;
+ -moz-border-radius:2px;
+ -webkit-border-radius:2px;
+ color:#333;
+ background-color:transparent;
+}
+
+
+.el-finder-cwd p,
+.el-finder-ql p {
+ width:48px;
+ height:48px;
+ margin:1px auto;
+ padding:0;
+ border-radius:5px;
+ -moz-border-radius:5px;
+ -webkit-border-radius:5px;
+ background: url('../../images/filemanager/icons-big.png') -1px 1px no-repeat;
+}
+
+/* mimetypes */
+
+.directory p { background-position: 0 -50px; }
+.application p,.x-java p { background-position: -1px -150px; }
+.audio p { background-position: -1px -300px; }
+.image p { background-position: -1px -250px; }
+.text p, .x-empty p { background-position: -1px -200px; }
+.video p { background-position: -1px -350px; }
+.vnd-adobe-photoshop p, .postscript p { background-position: 0 -250px; }
+/* texts */
+.rtf p, .rtfd p { background-position: 0 -400px; }
+.html p { background-position: 0 -550px; }
+.css p { background-position: 0 -600px; }
+.javascript p, .x-javascript p { background-position: 0 -650px; }
+.x-perl p { background-position: 0 -700px; }
+.x-python p { background-position: 0 -750px; }
+.x-ruby p { background-position: 0 -800px; }
+.x-sh p, .x-shellscript p { background-position: 0 -850px; }
+.x-c p, .x-java-source p { background-position: 0 -900px; }
+.x-php p { background-position: 0 -950px; }
+.xml p { background-position: 0 -1000px; }
+/* applications */
+.vnd-ms-office p,
+.msword p,
+.vnd-ms-word p,
+.vnd-oasis-opendocument-text p,
+.ms-excel p,
+.vnd-ms-excel p,
+.vnd-oasis-opendocument-spreadsheet p,
+.vnd-ms-powerpoint p,
+.vnd-oasis-opendocument-presentation p { background-position: 0 -500px; }
+.pdf p { background-position: 0 -450px; }
+.x-shockwave-flash p { background-position: 0 -1250px; }
+/* archives */
+.zip p, .x-7z-compressed p { background-position: 0 -1050px; }
+.x-gzip p, .x-tar p { background-position: 0 -1100px; }
+.x-bzip p, .x-bzip2 p { background-position: 0 -1150px; }
+.x-rar p, .x-rar-compressed p { background-position: 0 -1200px; }
+
+
+.el-finder-cwd div.el-finder-droppable p {
+ background-position: 0 -98px;
+}
+
+.el-finder-cwd label {
+ display:block;
+ font-size:11px;
+ line-height:13px;
+ padding:0 1px;
+ margin:0;
+ height:25px;
+ overflow:hidden;
+ cursor:default;
+}
+
+.el-finder-cwd div input {
+ background:#fff;
+ color:#000;
+ width:81px;
+ margin-left:-2px;
+ outline:none;
+ border:1px solid #ccc;
+ text-align:center;
+}
+
+.el-finder-cwd div em {
+ float:left;
+ margin-top:-40px;
+ margin-left:9px;
+ width:15px;
+ height:16px;
+ background:url(../../images/filemanager/icons-big.png) -17px -1310px no-repeat;
+}
+
+.el-finder-cwd div em.dropbox {
+ float:right;
+ margin-right:9px;
+ background-position: 0 -1308px;
+}
+.el-finder-cwd div em.noread {
+ float:right;
+ margin-right:9px;
+ background-position: 0 -1310px;
+}
+.el-finder-cwd div em.readonly {
+ float:right;
+ margin-right:9px;
+ background-position: -34px -1306px;
+}
+
+.el-finder-cwd div em.noaccess {
+ float:right;
+ margin-right:9px;
+ background-position: 0 -1430px;
+}
+
+/********** view: list ************/
+
+.el-finder-cwd table {
+ width:100%;
+/* *width:99%;*/
+ border-collapse: collapse;
+ border-spacing: 0;
+ border:1px solid #ccc;
+ border-top:0 solid;
+ border-left:0 solid;
+ margin:-3px -3px;
+}
+
+.el-finder-cwd table tr {
+ background:transparent;
+}
+
+.el-finder-cwd table tr.el-finder-row-odd {
+ background-color:#eee;
+}
+
+.el-finder-cwd table tr.ui-selected {
+ background-color:#ccc;
+}
+
+.el-finder-cwd table th,
+.el-finder-cwd table td {
+ padding:3px 5px;
+ border-left:1px solid #ccc;
+ cursor:default;
+ white-space:nowrap;
+ color:#000;
+
+}
+
+.el-finder-cwd table th {
+ text-align:left;
+ background:#fbf9ee;
+ font-size:.86em;
+}
+
+.el-finder-cwd table td.icon {
+ width:24px;
+}
+
+.el-finder-cwd table p {
+ width:24px;
+ height:16px;
+ margin:0;
+ padding:0;
+ background:url(../../images/filemanager/icons-small.png) 4px 0 no-repeat;
+}
+
+.el-finder-cwd table .size {
+ text-align:right;
+}
+
+tr.directory p { background-position:4px -16px; }
+tr.text p { background-position:5px -34px; }
+tr.image p { background-position:4px -51px; }
+tr.audio p { background-position:4px -70px; }
+tr.video p { background-position:5px -89px; }
+tr.application p { background-position:4px -108px; }
+/* text */
+tr.html p { background-position:5px -188px; }
+tr.javascript p,
+tr.x-javascript p,
+tr.css p,
+tr.x-sql p,
+tr.xml p,
+tr.x-python p,
+tr.x-java-source p,
+tr.x-perl p,
+tr.x-ruby p { background-position:5px -228px; }
+tr.x-php p { background-position:5px -247px; }
+tr.x-c p { background-position:5px -208px; }
+tr.x-shellscript p,
+tr.x-sh p { background-position:5px -168px; }
+tr.rtf p, tr.rtfd p { background-position:5px -148px; }
+/* application */
+tr.x-shockwave-flash p { background-position:4px -266px; }
+tr.pdf p { background-position:4px -285px; }
+tr.vnd-ms-office p { background-position:4px -325px; }
+tr.msword p,
+tr.vnd-oasis-opendocument-text p,
+tr.vnd-ms-word p { background-position:4px -346px; }
+tr.vnd-ms-excel p,
+tr.ms-excel p,
+tr.vnd-oasis-opendocument-spreadsheet { background-position:4px -365px; }
+tr.vnd-ms-powerpoint p,
+tr.vnd-oasis-opendocument-presentation { background-position:4px -385px; }
+/* archives */
+tr.x-tar p,
+tr.x-gzip p,
+tr.x-bzip p,
+tr.x-bzip2 p,
+tr.zip p,
+tr.x-rar p,
+tr.x-rar-compressed p,
+tr.x-7z-compressed p { background-position:4px -305px; }
+
+tr.el-finder-droppable td.icon p { background-position:5px -450px; }
+
+.el-finder-cwd table td p em {
+ float:left;
+ width:10px;
+ height:12px;
+ margin-top:5px;
+ background:url(../../images/filemanager/icons-small.png) 0px -405px no-repeat;
+}
+
+.el-finder-cwd table p em.readonly { background-position:0px -433px; }
+.el-finder-cwd table p em.dropbox { background-position:0px -418px; }
+.el-finder-cwd table p em.noread,
+.el-finder-cwd table p em.noaccess { background-position:0px -470px; }
+
+/************************************/
+/* statusbar */
+/************************************/
+
+.el-finder-statusbar {
+ height:25px;
+}
+
+.el-finder-stat,
+.el-finder-path,
+.el-finder-sel {
+ padding:3px 9px 1px 9px;
+ font-size:11px;
+ color:#555;
+}
+/* current directory path */
+.el-finder-path {
+ float:left;
+}
+/* number folders/files in current directory and size */
+.el-finder-stat {
+ float:right;
+}
+/* info about selected files */
+.el-finder-sel {
+ text-align:center;
+}
+
+/************************************/
+/* dialog window */
+/************************************/
+.el-finder-dialog {
+ font-size:.84em;
+}
+.el-finder-dialog form p, .el-finder-dialog .ui-tabs p {
+ margin:.5em;
+}
+.el-finder-dialog .ui-dialog-titlebar {
+ padding: .2em .1em .1em .8em;
+}
+.el-finder-dialog .ui-dialog-buttonpane {
+ padding: .1em 1em .1em .4em;
+ font-size:.9em;
+}
+.el-finder-dialog .ui-dialog-content {
+ padding:5px;
+}
+
+.el-finder-dialog hr {
+ border:0;
+ border-bottom: 1px #ccc solid;
+ clear:both
+}
+.el-finder-dialog ul {
+ margin-top:0;
+}
+
+.el-finder-dialog kbd { font-size:1.2em;}
+.el-finder-dialog a { outline: none;}
+
+.el-finder-dialog textarea {
+ width:98.9%;
+ height:400px;
+ outline:none;
+ border:1px solid #ccc;
+ font-family: Arial, Helvetica, sans-serif;
+}
+
+.ui-state-error {
+ margin: 5px 0;
+ padding:.5em;
+ clear:both;
+}
+
+.el-finder-dialog .ui-state-error .ui-icon {
+ float: left;
+ margin-right: .3em;
+}
+
+.el-finder-add-field {
+ cursor:pointer;
+}
+
+.el-finder-add-field span {
+ float:left;
+ margin-right:.7em;
+}
+
+.el-finder-dialog table {
+ width : 100%;
+}
+
+.el-finder-dialog table td {
+ padding:2px 5px;
+
+}
+
+.el-finder-dialog .ui-tabs {
+ font-size:.98em;
+}
+
+.el-finder-dialog .ui-tabs div {
+ padding:0 .5em;
+}
+.el-finder-dialog .ui-tabs-nav li a {
+ padding:.2em 1em;
+}
+
+/************************************/
+/* contextmenu */
+/************************************/
+
+.el-finder-contextmenu {
+ position:absolute;
+ width:200px;
+ background:#fff;
+ color:#000;
+ cursor:default;
+ border:1px solid #ccc;
+ padding:5px 0;
+
+}
+
+.el-finder-contextmenu div {
+ position:relative;
+ display:block;
+ margin:0;
+ padding:2px 29px;
+ white-space:nowrap;
+ font-size:11px;
+ font-family: Arial, Helvetica, sans-serif;
+ background:url('../../images/filemanager/toolbar.png') 0 0 no-repeat;
+}
+
+.el-finder-contextmenu span {
+ float:right;
+ width:9px;
+ height:18px;
+ margin-right:-27px;
+ background:url(../../images/filemanager/toolbar.png) -4px 5px no-repeat;
+}
+
+.el-finder-contextmenu div.el-finder-contextmenu-sub {
+ position:absolute;
+ top:0;
+ display:none;
+ margin:0;
+ padding:5px 0;
+ background:#fff;
+ border:1px solid #ccc;
+ border-radius:5px;
+ -moz-border-radius:5px;
+ -webkit-border-radius:5px;
+}
+
+
+.el-finder-contextmenu div.reload { background-position: 5px -192px; }
+.el-finder-contextmenu div.select { background-position: 5px -214px; }
+.el-finder-contextmenu div.open { background-position: 6px -235px; }
+.el-finder-contextmenu div.mkdir { background-position: 6px -258px; }
+.el-finder-contextmenu div.mkfile { background-position: 6px -280px; }
+.el-finder-contextmenu div.upload { background-position: 5px -305px; }
+.el-finder-contextmenu div.rm { background-position: 5px -330px; }
+.el-finder-contextmenu div.copy { background-position: 5px -356px; }
+.el-finder-contextmenu div.cut { background-position: 5px -631px; }
+.el-finder-contextmenu div.duplicate { background-position: 5px -356px; }
+.el-finder-contextmenu div.paste { background-position: 5px -381px; }
+.el-finder-contextmenu div.rename { background-position: 5px -407px; }
+.el-finder-contextmenu div.edit { background-position: 6px -435px; }
+.el-finder-contextmenu div.info { background-position: 5px -462px; }
+.el-finder-contextmenu div.help { background-position: 5px -487px; }
+.el-finder-contextmenu div.icons { background-position: 5px -537px; }
+.el-finder-contextmenu div.list { background-position: 5px -557px; }
+.el-finder-contextmenu div.archive { background-position: 5px -583px; }
+.el-finder-contextmenu div.extract { background-position: 5px -583px; }
+.el-finder-contextmenu div.resize { background-position: 5px -655px; }
+.el-finder-contextmenu div.quicklook { background-position: 5px -727px; }
+
+.el-finder-contextmenu div.delim {
+ margin:0;
+ padding:0;
+ height:1px;
+ border-top:1px solid #eee;
+ background:transparent;
+ display:block;
+}
+.el-finder-contextmenu div.hover { background-color:#99ccff; }
+
+.el-finder-places {
+ margin-top:.5em;
+}
+
+
+.el-finder-drag-helper {
+ padding:0;
+ cursor:move;
+ zoom:1;
+}
+
+.el-finder-drag-helper div {
+ border:0 solid;
+ margin-left:-57px;
+
+}
+
+.el-finder-drag-copy {
+ background:url('../../images/filemanager/toolbar.png') 0 -771px no-repeat;
+}
+
+.el-finder-drag-helper label {
+ border:1px solid #ccc;
+ background-color:#eee;
+ border-radius:5px;
+ -moz-border-radius:5px;
+ -webkit-border-radius:5px;
+}
+
+
+/************************************/
+/* QuickLook */
+/************************************/
+
+.el-finder-ql {
+ position:absolute;
+ width:420px;
+ height:auto;
+ padding:12px 9px;
+ text-align:center;
+ border-radius:9px;
+ -moz-border-radius:9px;
+ -webkit-border-radius:9px;
+ background:url(../../images/filemanager/ql.png);
+ overflow: inherit !important;
+}
+
+.el-finder-ql.directory p { background-position: 0 -50px; }
+
+/* toolbar */
+.el-finder-ql div.el-finder-ql-drag-handle {
+ height:18px;
+ font-size:14px;
+ background-color:#777;
+ margin:-12px -9px 12px -9px;
+ padding:3px 0 0 19px;
+ opacity:.8;
+ text-align:center;
+ white-space: nowrap;
+ overflow:hidden;
+ -moz-border-radius-topleft:9px;
+ -moz-border-radius-topright:9px;
+ -webkit-border-top-left-radius: 9px;
+ -webkit-border-top-right-radius: 9px;
+ border-top-left-radius: 9px;
+ border-top-right-radius: 9px;
+}
+/* close button */
+.el-finder-ql div.el-finder-ql-drag-handle span {
+ float:left;
+ margin:0 19px 0 -15px;
+}
+/* title in tolbar */
+.el-finder-ql div.el-finder-ql-drag-handle strong {
+ line-height:18px;
+ margin-left:-17px;
+ color:#fff;
+}
+
+.el-finder-ql div.el-finder-ql-media {
+ width:100%;
+ padding:0;
+}
+
+.el-finder-ql div.el-finder-ql-content {
+ width:100%;
+ font-size:.82em/1.3em;
+ font-family: Arial, Helvetica, sans-serif;
+ padding:5px 0;
+ overflow:hidden;
+}
+
+.el-finder-ql div.el-finder-ql-content span,
+.el-finder-ql div.el-finder-ql-content a {
+ display:block;
+ color: #fff;
+}
+
+/* text files preview */
+.el-finder-ql iframe {
+ background:#fff;
+ width:100%;
+ height:315px;
+ padding:0;
+ margin:0;
+ border:none;
+ outline:none;
+}
+
+
+/* images preview */
+.el-finder-ql img {
+ margin:0 auto;
+ border:1px solid #fff;
+}
+
+/* button help */
+.el-finder-help-std {
+ background: url(../../images/filemanager/icons-big.png) 0 -1380px no-repeat;
+ width:48px;
+ height:48px;
+ float:right;
+}
+
+.el-finder-logo {
+ background: url(../../images/filemanager/icons-big.png) 0 -1329px no-repeat;
+ width:48px;
+ height:48px;
+ float:left;
+}
+
+.el-finder-ql .ui-resizable-e, .el-finder-ql .ui-resizable-s { background:transparent !important;}
diff --git a/www/themes/intranet/css/plugins/fullcalendar.css b/www/themes/intranet/css/plugins/fullcalendar.css
new file mode 100644
index 0000000..dde5014
--- /dev/null
+++ b/www/themes/intranet/css/plugins/fullcalendar.css
@@ -0,0 +1,578 @@
+/*
+ * FullCalendar v1.5.2 Stylesheet
+ *
+ * Copyright (c) 2011 Adam Shaw
+ * Dual licensed under the MIT and GPL licenses, located in
+ * MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
+ *
+ * Date: Sun Aug 21 22:06:09 2011 -0700
+ *
+ */
+
+
+.fc {
+ direction: ltr;
+ text-align: left;
+ }
+
+.fc table {
+ border-collapse: collapse;
+ border-spacing: 0;
+ }
+
+html .fc,
+.fc table {
+ font-size: 1em;
+ }
+
+.fc td,
+.fc th {
+ padding: 0;
+ vertical-align: top;
+ }
+
+
+
+/* Header
+------------------------------------------------------------------------*/
+
+.fc-header td {
+ white-space: nowrap;
+ }
+
+.fc-header-left {
+ width: 25%;
+ text-align: left;
+ }
+
+.fc-header-center {
+ text-align: center;
+ }
+
+.fc-header-right {
+ width: 25%;
+ text-align: right;
+ }
+
+.fc-header-title {
+ display: inline-block;
+ vertical-align: top;
+ }
+
+.fc-header-title h2 {
+ margin-top: 5px;
+ white-space: nowrap;
+ }
+
+.fc .fc-header-space {
+ padding-left: 10px;
+ display: none;
+ }
+
+.fc-header .fc-button {
+ margin-bottom: 1em;
+ vertical-align: top;
+ }
+
+/* buttons edges butting together */
+
+.fc-header .fc-button {
+ margin-right: -1px;
+ }
+
+.fc-header .fc-corner-right {
+ margin-right: 1px; /* back to normal */
+ }
+
+.fc-header .ui-corner-right {
+ margin-right: 0; /* back to normal */
+ }
+
+/* button layering (for border precedence) */
+
+.fc-header .fc-state-hover,
+.fc-header .ui-state-hover {
+ z-index: 2;
+ }
+
+.fc-header .fc-state-down {
+ z-index: 3;
+ }
+
+.fc-header .fc-state-active,
+.fc-header .ui-state-active {
+ z-index: 4;
+ }
+
+
+
+/* Content
+------------------------------------------------------------------------*/
+
+.fc-content {
+ clear: both;
+ background: #fcfcfc;
+ }
+
+.fc-view {
+ width: 100%; /* needed for view switching (when view is absolute) */
+ overflow: hidden;
+ }
+
+
+
+/* Cell Styles
+------------------------------------------------------------------------*/
+
+.fc-widget-header, /*
, usually */
+.fc-widget-content { /* | , usually */
+ border: 1px solid #ccc;
+ }
+
+.fc-state-highlight { /* | today cell */ /* TODO: add .fc-today to | */
+ background: #ffc;
+ }
+
+.fc-cell-overlay { /* semi-transparent rectangle while dragging */
+ background: #9cf;
+ opacity: .2;
+ filter: alpha(opacity=20); /* for IE */
+ }
+
+
+
+/* Buttons
+------------------------------------------------------------------------*/
+
+.fc-button {
+ position: relative;
+ display: inline-block;
+ cursor: pointer;
+ }
+
+
+.fc-button-inner {
+ position: relative;
+ float: left;
+ overflow: hidden;
+ }
+/*
+.fc-state-default .fc-button-inner {
+ border-style: solid;
+ border-width: 0 1px;
+ } */
+
+.fc-button-content {
+ position: relative;
+ float: left;
+ height: 1.9em;
+ line-height: 1.9em;
+ padding: 0 .6em;
+ white-space: nowrap;
+ display: none;
+ }
+
+/* icon (for jquery ui) */
+
+.fc-button-content .fc-icon-wrap {
+ position: relative;
+ float: left;
+ top: 50%;
+ }
+
+.fc-button-content .ui-icon {
+ position: relative;
+ float: left;
+ margin-top: -50%;
+ *margin-top: 0;
+ *top: -50%;
+ }
+
+/* gloss effect */
+
+.fc-state-default .fc-button-effect {
+ display: none;
+ }
+
+
+
+/* Global Event Styles
+------------------------------------------------------------------------*/
+
+.fc-event {
+ font-size: .85em;
+ cursor: default;
+ background: url(../../images/blacktrans1.png) !important; /* default BACKGROUND color */
+ }
+
+a.fc-event,
+.fc-event-draggable {
+ cursor: pointer;
+ }
+
+a.fc-event {
+ text-decoration: none;
+ }
+
+.fc-rtl .fc-event {
+ text-align: right;
+ }
+
+.fc-event-skin {
+ color: #fff; /* default TEXT color */
+ border: 0;
+ }
+
+.fc-event-inner {
+ position: relative;
+ width: 100%;
+ height: 100%;
+ border-style: solid;
+ border-width: 0;
+ overflow: hidden;
+ }
+
+.fc-event-time,
+.fc-event-title {
+ padding: 0 5px;
+ display: inline-block;
+ }
+
+.fc .ui-resizable-handle { /*** TODO: don't use ui-resizable anymore, change class ***/
+ display: block;
+ position: absolute;
+ z-index: 99999;
+ overflow: hidden; /* hacky spaces (IE6/7) */
+ font-size: 300%; /* */
+ line-height: 50%; /* */
+ }
+
+
+
+/* Horizontal Events
+------------------------------------------------------------------------*/
+
+.fc-event-hori {
+ border-width: 1px 0;
+ margin-bottom: 1px;
+ }
+
+/* resizable */
+
+.fc-event-hori .ui-resizable-e {
+ top: 0 !important; /* importants override pre jquery ui 1.7 styles */
+ right: -3px !important;
+ width: 7px !important;
+ height: 100% !important;
+ cursor: e-resize;
+ }
+
+.fc-event-hori .ui-resizable-w {
+ top: 0 !important;
+ left: -3px !important;
+ width: 7px !important;
+ height: 100% !important;
+ cursor: w-resize;
+ }
+
+.fc-event-hori .ui-resizable-handle {
+ _padding-bottom: 14px; /* IE6 had 0 height */
+ }
+
+
+
+/* Fake Rounded Corners (for buttons and events)
+------------------------------------------------------------*/
+
+.fc-corner-left {
+ margin-left: 1px;
+ }
+
+.fc-corner-left .fc-button-inner,
+.fc-corner-left .fc-event-inner {
+ margin-left: -1px;
+ }
+
+.fc-corner-right {
+ margin-right: 1px;
+ }
+
+.fc-corner-right .fc-button-inner,
+.fc-corner-right .fc-event-inner {
+ margin-right: -1px;
+ }
+
+.fc-corner-top {
+ margin-top: 1px;
+ }
+
+.fc-corner-top .fc-event-inner {
+ margin-top: -1px;
+ }
+
+.fc-corner-bottom {
+ margin-bottom: 1px;
+ }
+
+.fc-corner-bottom .fc-event-inner {
+ margin-bottom: -1px;
+ }
+
+
+
+/* Fake Rounded Corners SPECIFICALLY FOR EVENTS
+-----------------------------------------------------------------*/
+
+.fc-corner-left .fc-event-inner {
+ border-left-width: 1px;
+ }
+
+.fc-corner-right .fc-event-inner {
+ border-right-width: 1px;
+ }
+
+.fc-corner-top .fc-event-inner {
+ border-top-width: 1px;
+ }
+
+.fc-corner-bottom .fc-event-inner {
+ border-bottom-width: 1px;
+ }
+
+
+
+/* Reusable Separate-border Table
+------------------------------------------------------------*/
+
+table.fc-border-separate {
+ border-collapse: separate;
+ }
+
+.fc-border-separate th { text-transform: uppercase; font-weight: normal; background: url(../../images/thead.png) repeat-x top left; }
+
+.fc-border-separate th,
+.fc-border-separate td {
+ border-width: 1px 0 0 1px;
+ padding: 5px;
+ }
+
+.fc-border-separate th.fc-last,
+.fc-border-separate td.fc-last {
+ border-right-width: 1px;
+ }
+
+.fc-border-separate tr.fc-last th,
+.fc-border-separate tr.fc-last td {
+ border-bottom-width: 1px;
+ }
+
+.fc-border-separate tbody tr.fc-first td,
+.fc-border-separate tbody tr.fc-first th {
+ border-top-width: 0;
+ }
+
+
+
+/* Month View, Basic Week View, Basic Day View
+------------------------------------------------------------------------*/
+
+.fc-grid th {
+ text-align: center;
+ }
+
+.fc-grid .fc-day-number {
+ float: right;
+ padding: 0 2px;
+ }
+
+.fc-grid .fc-other-month .fc-day-number {
+ opacity: 0.3;
+ filter: alpha(opacity=30); /* for IE */
+ /* opacity with small font can sometimes look too faded
+ might want to set the 'color' property instead
+ making day-numbers bold also fixes the problem */
+ }
+
+.fc-grid .fc-day-content {
+ clear: both;
+ padding: 2px 2px 1px; /* distance between events and day edges */
+ }
+
+/* event styles */
+
+.fc-grid .fc-event-time {
+ font-weight: bold;
+ }
+
+/* right-to-left */
+
+.fc-rtl .fc-grid .fc-day-number {
+ float: left;
+ }
+
+.fc-rtl .fc-grid .fc-event-time {
+ float: right;
+ }
+
+
+
+/* Agenda Week View, Agenda Day View
+------------------------------------------------------------------------*/
+
+.fc-agenda table {
+ border-collapse: separate;
+ }
+
+.fc-agenda-days th {
+ text-align: center;
+ }
+
+.fc-agenda .fc-agenda-axis {
+ width: 50px;
+ padding: 0 4px;
+ vertical-align: middle;
+ text-align: right;
+ white-space: nowrap;
+ font-weight: normal;
+ }
+
+.fc-agenda .fc-day-content {
+ padding: 2px 2px 1px;
+ }
+
+/* make axis border take precedence */
+
+.fc-agenda-days .fc-agenda-axis {
+ border-right-width: 1px;
+ }
+
+.fc-agenda-days .fc-col0 {
+ border-left-width: 0;
+ }
+
+/* all-day area */
+
+.fc-agenda-allday th {
+ border-width: 0 1px;
+ }
+
+.fc-agenda-allday .fc-day-content {
+ min-height: 34px; /* TODO: doesnt work well in quirksmode */
+ _height: 34px;
+ }
+
+/* divider (between all-day and slots) */
+
+.fc-agenda-divider-inner {
+ height: 2px;
+ overflow: hidden;
+ }
+
+.fc-widget-header .fc-agenda-divider-inner {
+ background: #eee;
+ }
+
+/* slot rows */
+
+.fc-agenda-slots th {
+ border-width: 1px 1px 0;
+ }
+
+.fc-agenda-slots td {
+ border-width: 1px 0 0;
+ background: none;
+ }
+
+.fc-agenda-slots td div {
+ height: 20px;
+ }
+
+.fc-agenda-slots tr.fc-slot0 th,
+.fc-agenda-slots tr.fc-slot0 td {
+ border-top-width: 0;
+ }
+
+.fc-agenda-slots tr.fc-minor th,
+.fc-agenda-slots tr.fc-minor td {
+ border-top-style: dotted;
+ }
+
+.fc-agenda-slots tr.fc-minor th.ui-widget-header {
+ *border-top-style: solid; /* doesn't work with background in IE6/7 */
+ }
+
+
+
+/* Vertical Events
+------------------------------------------------------------------------*/
+
+.fc-event-vert {
+ border-width: 0 1px;
+ }
+
+.fc-event-vert .fc-event-head,
+.fc-event-vert .fc-event-content {
+ position: relative;
+ z-index: 2;
+ width: 100%;
+ overflow: hidden;
+ }
+
+.fc-event-vert .fc-event-time {
+ white-space: nowrap;
+ font-size: 10px;
+ }
+
+.fc-event-vert .fc-event-bg { /* makes the event lighter w/ a semi-transparent overlay */
+ position: absolute;
+ z-index: 1;
+ top: 0;
+ left: 0;
+ width: 100%;
+ height: 100%;
+ background: #fff;
+ opacity: .3;
+ filter: alpha(opacity=30);
+ }
+
+.fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */
+.fc-select-helper .fc-event-bg {
+ display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */
+ }
+
+/* resizable */
+
+.fc-event-vert .ui-resizable-s {
+ bottom: 0 !important; /* importants override pre jquery ui 1.7 styles */
+ width: 100% !important;
+ height: 8px !important;
+ overflow: hidden !important;
+ line-height: 8px !important;
+ font-size: 11px !important;
+ font-family: monospace;
+ text-align: center;
+ cursor: s-resize;
+ }
+
+.fc-agenda .ui-resizable-resizing { /* TODO: better selector */
+ _overflow: hidden;
+ }
+
+/** custom **/
+.fc-button { border: 1px solid #ccc; height: 30px; display: inline-block; background: url(../../images/buttonbg6.png) repeat-x 0 -30px; }
+.fc-button-prev { width: 30px; background: url(../../images/prevnext.png) no-repeat 0 -30px; }
+.fc-button-next { width: 30px; background: url(../../images/prevnext.png) no-repeat -30px -30px; }
+.fc-button-prev:active { background-position: 0 0; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
+.fc-button-next:active { background-position: -30px 0; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
+
+.fc-button-month .fc-button-content, .fc-button-agendaWeek .fc-button-content,
+.fc-button-agendaDay .fc-button-content, .fc-button-today .fc-button-content { display: block; padding: 3px 10px; }
+.fc-button-today { margin-left: 10px; }
+
+.fc-button-prev:hover, .fc-button-next:hover, .fc-button-month:hover,
+.fc-button-agendaWeek:hover, .fc-button-agendaDay:hover,
+.fc-button-today:hover { -moz-box-shadow: 0 0 1px #849ebd; -webkit-box-shadow: 0 0 1px #849ebd; box-shadow: 0 0 1px #849ebd; }
+
+.fc-button-month:active,
+.fc-button-agendaWeek:active, .fc-button-agendaDay:active,
+.fc-button-today:active { background-position: 0 0; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
diff --git a/www/themes/intranet/css/plugins/jquery.alerts.css b/www/themes/intranet/css/plugins/jquery.alerts.css
new file mode 100644
index 0000000..64bf2cb
--- /dev/null
+++ b/www/themes/intranet/css/plugins/jquery.alerts.css
@@ -0,0 +1,71 @@
+#popup_container {
+ font-family: DroidSansRegular, Arial, sans-serif;
+ font-size: 12px;
+ min-width: 300px; /* Dialog will be no smaller than this */
+ max-width: 600px; /* Dialog will wrap after this width */
+ background: url(../../images/blacktrans1.png);
+ padding: 5px !important;
+ color: #666;
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+ border-radius: 3px;
+}
+
+#popup_title {
+ font-size: 14px;
+ line-height: 21px;
+ font-weight: normal;
+ color: #333;
+ background: #eee url(../../images/thead.png) repeat-x top left;
+ border-bottom: solid 1px #ccc;
+ cursor: default;
+ padding: 10px;
+ margin: 0em;
+}
+
+#popup_content {
+ /*background: 16px 16px no-repeat url(../../images/info.gif);*/
+ padding: 10px;
+ margin: 0em;
+ background: #fcfcfc;
+}
+/*
+#popup_content.alert {
+ background-image: url(../../images/info.gif);
+}
+
+#popup_content.confirm {
+ background-image: url(../../images/important.gif);
+}
+
+#popup_content.prompt {
+ background-image: url(../../images/help.gif);
+}
+
+#popup_message {
+ padding-left: 48px;
+}*/
+
+#popup_panel {
+ text-align: center;
+ margin: 1em 0em 0em 1em;
+}
+
+#popup_prompt {
+ margin: .5em 0em;
+}
+
+#popup_overlay { background: #000 !important; opacity: 0.5 !important; }
+
+#popup_ok, #popup_cancel { padding: 5px 15px; font-size: 12px; display: inline-block; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
+#popup_ok, #popup_cancel { -moz-box-shadow: 1px 1px 2px #eee; -webkit-box-shadow: 1px 1px 2px #eee; box-shadow: 1px 1px 2px #eee; cursor: pointer; }
+#popup_ok:hover, #popup_ok:active, #popup_cancel:hover, #popup_cancel:active { background-position: 0 -39px; }
+
+#popup_ok { border: 1px solid #39537f; background: #eee url(../../images/buttons/button_blue.png) repeat-x top left; text-shadow: 1px 1px #39537f; color: #fff; }
+#popup_ok:active { -moz-box-shadow: inset 2px 2px 2px #12274c; -webkit-box-shadow: inset 2px 2px 2px #12274c; box-shadow: inset 2px 2px 2px #12274c; }
+
+#popup_cancel { border: 1px solid #ccc; background: #eee url(../../images/buttons/button_white.png) repeat-x top left; text-shadow: 1px 1px #f7f7f7; color: #333; }
+#popup_cancel:active { -moz-box-shadow: inset 2px 2px 2px #ccc; -webkit-box-shadow: inset 2px 2px 2px #ccc; box-shadow: inset 2px 2px 2px #ccc; }
+
+
+#popup_prompt { width: 270px !important; }
\ No newline at end of file
diff --git a/www/themes/intranet/css/plugins/jquery.jgrowl.css b/www/themes/intranet/css/plugins/jquery.jgrowl.css
new file mode 100644
index 0000000..d82ebf6
--- /dev/null
+++ b/www/themes/intranet/css/plugins/jquery.jgrowl.css
@@ -0,0 +1,141 @@
+
+div.jGrowl {
+ z-index: 9999;
+ color: #fff;
+ font-size: 12px;
+}
+
+/** Special IE6 Style Positioning **/
+div.ie6 {
+ position: absolute;
+}
+
+div.ie6.top-right {
+ right: auto;
+ bottom: auto;
+ left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
+ top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
+}
+
+div.ie6.top-left {
+ left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
+ top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
+}
+
+div.ie6.bottom-right {
+ left: expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
+ top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
+}
+
+div.ie6.bottom-left {
+ left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
+ top: expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
+}
+
+div.ie6.center {
+ left: expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
+ top: expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
+ width: 100%;
+}
+
+/** Normal Style Positions **/
+div.jGrowl {
+ position: absolute;
+}
+
+body > div.jGrowl {
+ position: fixed;
+}
+
+div.jGrowl.top-left {
+ left: 0px;
+ top: 0px;
+}
+
+div.jGrowl.top-right {
+ right: 0px;
+ top: 0px;
+}
+
+div.jGrowl.customtop-right {
+ right: 0;
+ top: 100px;
+}
+
+div.jGrowl.bottom-left {
+ left: 0px;
+ bottom: 0px;
+}
+
+div.jGrowl.bottom-right {
+ right: 0px;
+ bottom: 0px;
+}
+
+div.jGrowl.center {
+ top: 0px;
+ width: 50%;
+ left: 25%;
+}
+
+/** Cross Browser Styling **/
+div.center div.jGrowl-notification, div.center div.jGrowl-closer {
+ margin-left: auto;
+ margin-right: auto;
+}
+
+div.jGrowl div.jGrowl-notification, div.jGrowl div.jGrowl-closer {
+ background-color: #000;
+ opacity: .85;
+ -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
+ filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=85);
+ zoom: 1;
+ width: 235px;
+ padding: 10px;
+ margin-top: 5px;
+ margin-bottom: 5px;
+ font-family: Tahoma, Arial, Helvetica, sans-serif;
+ font-size: 1em;
+ text-align: left;
+ display: none;
+ -moz-border-radius: 3px;
+ -webkit-border-radius: 3px;
+}
+
+div.jGrowl div.jGrowl-notification {
+ min-height: 40px;
+}
+
+div.jGrowl div.jGrowl-notification,
+div.jGrowl div.jGrowl-closer {
+ margin: 10px;
+}
+
+div.jGrowl div.jGrowl-notification div.jGrowl-header {
+ font-weight: bold;
+ font-size: .85em;
+}
+
+div.jGrowl div.jGrowl-notification div.jGrowl-close {
+ z-index: 99;
+ float: right;
+ font-weight: bold;
+ font-size: 1em;
+ cursor: pointer;
+}
+
+div.jGrowl div.jGrowl-closer {
+ padding-top: 4px;
+ padding-bottom: 4px;
+ cursor: pointer;
+ font-size: .9em;
+ font-weight: bold;
+ text-align: center;
+}
+
+/** Hide jGrowl when printing **/
+@media print {
+ div.jGrowl {
+ display: none;
+ }
+}
\ No newline at end of file
diff --git a/www/themes/intranet/css/plugins/jquery.ui.css b/www/themes/intranet/css/plugins/jquery.ui.css
new file mode 100644
index 0000000..50007c3
--- /dev/null
+++ b/www/themes/intranet/css/plugins/jquery.ui.css
@@ -0,0 +1,95 @@
+/** DATE PICKER **/
+.ui-datepicker { background: url(../../images/blacktrans.png); -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;}
+.ui-datepicker { z-index: 100 !important; display: none; padding: 5px; }
+.ui-datepicker-header { position: relative; text-align: center; background: url(../../images/blacktrans1.png); padding: 5px; color: #fff; }
+.ui-datepicker-calendar { border-collapse: collapse; border: 1px solid #ccc; border-top: 0; }
+.ui-datepicker-calendar thead th { font-weight: normal; font-size: 10px; text-transform: uppercase; color: #666; }
+.ui-datepicker-calendar thead th { background: url(../../images/thead.png) repeat-x top left; border-bottom: 1px solid #ccc; }
+.ui-datepicker-calendar td { border-left: 1px solid #ccc; border-top: 1px solid #ccc; text-align: right; }
+.ui-datepicker-calendar td { padding: 1px; background: url(../../images/thead.png) repeat-x top left; }
+.ui-datepicker-calendar td a { display: block; padding: 2px 8px; color: #666; text-shadow: 1px 1px #f7f7f7; }
+.ui-datepicker-calendar td a:hover { background: #c8d9ed; text-decoration: none; color: #333; }
+.ui-datepicker-calendar td:first-child { border-left: 1px solid #ccc; }
+.ui-datepicker-prev, .ui-datepicker-next { display: inline-block; width: 14px; height: 14px; }
+.ui-datepicker-prev span, .ui-datepicker-next span { display: none; }
+.ui-datepicker-prev { position: absolute; top: 9px; left: 5px; background: url(../../images/icons/calarrow.png) no-repeat 3px -39px; }
+.ui-datepicker-next { position: absolute; top: 9px; right: 5px; background: url(../../images/icons/calarrow.png) no-repeat 3px 1px; }
+
+/** TABS **/
+.ui-tabs { border: 1px solid #ccc; background: #fcfcfc; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
+.ui-tabs { -moz-box-shadow: 1px 1px 2px #ddd; -webkit-box-shadow: 1px 1px 2px #ddd; box-shadow: 1px 1px 2px #ddd; }
+.ui-tabs-nav { list-style: none; background: #eee url(../../images/thead.png) repeat-x top left; border-bottom: 1px solid #ccc; }
+.ui-tabs-nav { position: relative; height: 41px; -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; }
+.ui-tabs-nav li { display: inline-block; float: left; }
+.ui-tabs-nav li:first-child a { -moz-border-radius: 3px 0 0 0; -webkit-border-radius: 3px 0 0 0; border-radius: 3px 0 0 0; }
+.ui-tabs-nav li a { display: block; padding: 10px 20px; background: #eee; color: #333; border-right: 1px solid #ccc; border-bottom: 1px solid #ccc; }
+.ui-tabs-nav li a:hover { text-decoration: none; background: #e7e7e7; }
+.ui-tabs-nav li.ui-state-active a { background: #fcfcfc; color: #069; border-bottom: 1px solid #fcfcfc; }
+.ui-tabs-hide { display: none; }
+.ui-tabs-panel { padding: 15px; }
+
+/*
+.tabs2 { border: 0; }
+.tabs2 .ui-tabs-nav { padding: 5px 0 0 5px; border: 1px solid #6082AD; background: #688AB5 url(../../images/titlebg.png) repeat-x top left; }
+.tabs2 .ui-tabs-nav li:last-child a { -moz-border-radius: 0 3px 0 0; -webkit-border-radius: 0 3px 0 0; border-radius: 0 3px 0 0; }
+.tabs2 .ui-tabs-panel { border: 1px solid #ccc; border-top: 0; }
+.tabs2 .ui-tabs-nav li a { background: #a8c0df; border: 0; color: #fff; margin-right: 1px; }
+.tabs2 .ui-tabs-nav li.ui-state-active a { background: #fcfcfc; color: #688AB5; border-bottom: 1px solid #fcfcfc; }
+*/
+
+/** ACCORDION **/
+.accordion { border: 1px solid #ccc; background: #fcfcfc; overflow: hidden; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
+.accordion { -moz-box-shadow: 1px 1px 3px #ddd; -webkit-box-shadow: 1px 1px 3px #ddd; box-shadow: 1px 1px 3px #ddd; }
+.ui-accordion-header { background: #eee url(../../images/thead.png) repeat-x top left; border-top: 1px solid #ccc; position: relative; }
+.ui-accordion-header { font-size: 12px; text-shadow: 1px 1px #f7f7f7; text-transform: uppercase; font-weight: normal; cursor: pointer; }
+.ui-accordion-header:first-child { border-top: 0; }
+.ui-accordion-header a { color: #333; padding: 10px; display: block; }
+.ui-accordion-header a:hover { color: #069; text-decoration: none; }
+.ui-accordion-content { padding: 10px; border-top: 1px solid #ccc; color: #666; overflow: hidden; }
+.ui-accordion-header .ui-icon { position: absolute; display: inline-block; background: url(../../images/arrow.png) no-repeat 0 0; top: 18px; right: 10px; width: 10px; height: 10px; }
+.ui-state-active .ui-icon { position: absolute; display: inline-block; background: url(../../images/arrow.png) no-repeat 0 -45px; top: 18px; right: 10px; width: 10px; height: 5px; }
+
+
+/** SLIDER **/
+.ui-slider { border: 1px solid #ccc; background: #eee; position: relative; margin: 10px 0; }
+.ui-slider { -moz-box-shadow: inset 1px 1px 2px #ccc; -webit-box-shadow: inset 1px 1px 2px #ccc; box-shadow: inset 1px 1px 2px #ccc; }
+.ui-slider { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
+.ui-slider a { display: inline-block; z-index: 2; }
+.ui-slider-range { -moz-border-radius: 4px; -webkit-border-radius: 4px; border-radius: 4px; }
+
+.ui-slider-horizontal { display: block; height: 4px; }
+.ui-slider-horizontal a { position: absolute; top: -4px; }
+.ui-slider-horizontal a { width: 15px; height: 12px; background: url(../../images/icons/hbutton.png) no-repeat 0 0; }
+.ui-slider-horizontal a.ui-slider-handle { margin-left: -8px; }
+.ui-slider-horizontal a.ui-state-active { -moz-box-shadow: 0 0 2px #09f; -webkit-box-shadow: 0 0 2px #09f; box-shadow: 0 0 2px #09f; }
+
+.ui-slider-horizontal .ui-slider-range { background: #39f; height: 5px; position: absolute; }
+.ui-slider-horizontal .ui-slider-range { -moz-box-shadow: inset 1px 1px 2px #069; -webkit-box-shadow: inset 1px 1px 2px #069; box-shadow: inset 1px 1px 2px #069; }
+.ui-slider-horizontal .ui-slider-range-max { right: 0; }
+
+.ui-slider-vertical { width: 5px; }
+.ui-slider-vertical a { position: absolute; left: -3px; }
+.ui-slider-vertical a { width: 11px; height: 15px; background: url(../../images/icons/vbutton.png) no-repeat 0 0; }
+.ui-slider-vertical a.ui-slider-handle { margin-bottom: -8px; }
+.ui-slider-vertical a.ui-state-active { -moz-box-shadow: 0 0 2px #09f; -webkit-box-shadow: 0 0 2px #09f; box-shadow: 0 0 2px #09f; }
+
+.ui-slider-vertical .ui-slider-range { background: #39f; width: 7px; position: absolute; left: -1px; }
+.ui-slider-vertical .ui-slider-range { -moz-box-shadow: inset 1px 1px 2px #069; -webkit-box-shadow: inset 1px 1px 2px #069; box-shadow: inset 1px 1px 2px #069; }
+.ui-slider-vertical .ui-slider-range-min { bottom: 0; }
+.ui-slider-vertical .ui-slider-range-max { right: 0; }
+
+
+/**DIALOG**/
+.ui-dialog { background: url(../../images/blacktrans1.png); padding: 5px; }
+.ui-dialog { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; position: relative; }
+.ui-dialog-titlebar { padding: 8px 10px; color: #fff; background: #eee url(../../images/thead.png) repeat-x top left; border-bottom: 1px solid #ccc; }
+.ui-dialog-content { background: #fff; padding: 10px; }
+.ui-dialog-titlebar { color: #069; font-weight: bold; }
+.ui-dialog-titlebar-close { position: absolute; top: 12px; right: 15px; font-size: 11px; font-weight: normal; color: #666; }
+.ui-dialog-titlebar-close:hover { text-decoration: none; color: #333; }
+
+.ui-dialog .wysiwyg legend { position: absolute; top: 13px; left: 15px; font-size: 11px; text-transform: uppercase; }
+.ui-dialog .wysiwyg p { margin: 8px 0; }
+.ui-dialog .wysiwyg input.submit { background: url(../../images/buttonbg3.png) repeat-x top left; border: 1px solid #314a78; color: #fff; font-size: 11px; }
+.ui-dialog .wysiwyg input.reset { background: url(../../images/thead.png) repeat-x top left; border: 1px solid #bbb; color: #333; font-size: 11px; }
+.ui-dialog .wysiwyg label { float: left; width: 100px; }
diff --git a/www/themes/intranet/css/plugins/jquery.wysiwyg.css b/www/themes/intranet/css/plugins/jquery.wysiwyg.css
new file mode 100644
index 0000000..10a2eed
--- /dev/null
+++ b/www/themes/intranet/css/plugins/jquery.wysiwyg.css
@@ -0,0 +1,96 @@
+div.wysiwyg { background: #f7f7f7; }
+div.wysiwyg * { margin: 0; padding: 0; }
+
+div.wysiwyg ul.toolbar li.jwysiwyg-custom-command { overflow: hidden; }
+
+div.wysiwyg ul.toolbar { border-bottom: 1px solid #ccc; float: left; width: 100%; padding: 10px; background: #eee url(../../images/thead.png) repeat-x top left; }
+div.wysiwyg ul.toolbar li { list-style: none; float: left; margin: 1px 2px 3px 0; background: rgb(240, 240, 240); -moz-user-select: none; -webkit-user-select: none; user-select: none; clear: none; padding: 0 }
+div.wysiwyg ul.toolbar li.separator { width: 1px; height: 16px; margin: 0 4px; border-left: 1px solid #ccc; }
+div.wysiwyg ul.toolbar li { text-indent: -5000px; opacity: 0.85; filter: alpha(opacity=85); display: block; width: 16px; height: 16px; background: url('../../images/jquery.wysiwyg.gif') no-repeat -64px -80px; border: 1px dotted rgb(240, 240, 240); cursor: pointer; margin: 0px; }
+div.wysiwyg ul.toolbar li.wysiwyg-button-hover, div.wysiwyg ul.toolbar li.active { opacity: 1.00; filter:alpha(opacity=100); border: 1px solid #ccc; background-color: #fcfcfc; }
+div.wysiwyg ul.toolbar li.active { background-color: #c8d9ed; border: 1px solid #86aad4; margin: 0; }
+
+div.wysiwyg ul.toolbar li.disabled, div.wysiwyg ul.toolbar li.wysiwyg-button-hover.disabled, div.wysiwyg ul.toolbar li.active.disabled { opacity: 0.5; filter:alpha(opacity=50); border: 0px none transparent; padding: 1px; cursor: auto; }
+
+
+div.wysiwyg ul.toolbar li.bold { background-position: 0 -16px; }
+div.wysiwyg ul.toolbar li.italic { background-position: -16px -16px; }
+div.wysiwyg ul.toolbar li.strikeThrough { background-position: -32px -16px; }
+div.wysiwyg ul.toolbar li.underline { background-position: -48px -16px; }
+div.wysiwyg ul.toolbar li.highlight { background-position: -48px -96px; }
+
+div.wysiwyg ul.toolbar li.justifyLeft { background-position: 0 0; }
+div.wysiwyg ul.toolbar li.justifyCenter { background-position: -16px 0; }
+div.wysiwyg ul.toolbar li.justifyRight { background-position: -32px 0; }
+div.wysiwyg ul.toolbar li.justifyFull { background-position: -48px 0; }
+
+div.wysiwyg ul.toolbar li.indent { background-position: -64px 0; }
+div.wysiwyg ul.toolbar li.outdent { background-position: -80px 0; }
+
+div.wysiwyg ul.toolbar li.subscript { background-position: -64px -16px; }
+div.wysiwyg ul.toolbar li.superscript { background-position: -80px -16px; }
+
+div.wysiwyg ul.toolbar li.undo { background-position: 0 -64px; }
+div.wysiwyg ul.toolbar li.redo { background-position: -16px -64px; }
+
+div.wysiwyg ul.toolbar li.insertOrderedList { background-position: -32px -48px; }
+div.wysiwyg ul.toolbar li.insertUnorderedList { background-position: -16px -48px; }
+div.wysiwyg ul.toolbar li.insertHorizontalRule { background-position: 0 -48px; }
+
+div.wysiwyg ul.toolbar li.h1 { background-position: 0 -32px; }
+div.wysiwyg ul.toolbar li.h2 { background-position: -16px -32px; }
+div.wysiwyg ul.toolbar li.h3 { background-position: -32px -32px; }
+div.wysiwyg ul.toolbar li.h4 { background-position: -48px -32px; }
+div.wysiwyg ul.toolbar li.h5 { background-position: -64px -32px; }
+div.wysiwyg ul.toolbar li.h6 { background-position: -80px -32px; }
+
+div.wysiwyg ul.toolbar li.paragraph { background-position: 0px -96px; }
+div.wysiwyg ul.toolbar li.colorpicker { background-position: -16px -96px; }
+div.wysiwyg ul.toolbar li.fullscreen { background-position: -32px -96px; }
+
+div.wysiwyg ul.toolbar li.cut { background-position: -32px -64px; }
+div.wysiwyg ul.toolbar li.copy { background-position: -48px -64px; }
+div.wysiwyg ul.toolbar li.paste { background-position: -64px -64px; }
+div.wysiwyg ul.toolbar li.insertTable { background-position: -64px -48px; }
+
+div.wysiwyg ul.toolbar li.increaseFontSize { background-position: -16px -80px; }
+div.wysiwyg ul.toolbar li.decreaseFontSize { background-position: -32px -80px; }
+
+div.wysiwyg ul.toolbar li.createLink { background-position: -80px -48px; }
+div.wysiwyg ul.toolbar li.insertImage { background-position: -80px -80px; }
+
+div.wysiwyg ul.toolbar li.html { background-position: -48px -48px; }
+div.wysiwyg ul.toolbar li.removeFormat { background-position: -80px -64px; }
+
+div.wysiwyg ul.toolbar li.empty { background-position: -64px -80px; }
+
+div.wysiwyg ul.toolbar li.code { background-position: -64px -96px; }
+div.wysiwyg ul.toolbar li.cssWrap { background-position: -80px -96px; }
+
+div.wysiwyg-dialogRow { float:left; width:100%; font-size: 16px; }
+
+div.wysiwyg iframe { clear: left;
+background-color:#f7f7f7; padding:0; margin:5px; display:block; width: 90%; }
+
+/* dialog */
+.wysiwyg-dialog { position:fixed; top:50px; left:50px; width:450px; height:300px; background:transparent; font:12px "Helvetic Neue", Helvetica,Arial,sans-serif; }
+.wysiwyg-dialog .wysiwyg-dialog-topbar { background:#333; color:white; padding: 7px 10px; position:relative; }
+.wysiwyg-dialog .wysiwyg-dialog-topbar { -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; }
+.wysiwyg-dialog .wysiwyg-dialog-topbar .wysiwyg-dialog-close-wrapper .wysiwyg-dialog-close-button { color:white; text-decoration:none; display:block; padding:2px 2px; position:absolute; right:12px; top:50%; font-size: 10px; paddding: 0 5px; margin-top:-12px; }
+.wysiwyg-dialog .wysiwyg-dialog-topbar .wysiwyg-dialog-close-wrapper a.wysiwyg-dialog-close-button:hover { background:#666; }
+.wysiwyg-dialog .wysiwyg-dialog-topbar .wysiwyg-dialog-title { font-size:12px; font-weight:bold; padding:5px; }
+.wysiwyg-dialog .wysiwyg-dialog-content { padding:10px; background:#fcfcfc; -moz-border-radius: 0 0 3px 3px; -webkit-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px; }
+.wysiwyg-dialog-modal-div { position:absolute; top:0px; left:0px; width:100%; height:100%; background-color:rgb(255,255,255); background-color:rgba(0,0,0,0.5); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000); -ms-filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#99000000, endColorstr=#99000000)";}
+.wysiwyg-dialog-content form.wysiwyg fieldset { }
+.wysiwyg-dialog-content form.wysiwyg legend { padding:7px; }
+.wysiwyg-dialog-content form.wysiwyg .form-row { clear:both; padding:4px 0; }
+.wysiwyg-dialog-content form.wysiwyg .form-row label, .wysiwyg-dialog form.wysiwyg .form-row .form-row-key { display:block; float:left; width:35%; text-align:right; padding:4px 5px; }
+.wysiwyg-dialog-content form.wysiwyg .form-row .form-row-value { display:block; float:left; width:55%; }
+.wysiwyg-dialog-content form.wysiwyg .form-row .form-row-value input { padding: 7px 10px; }
+.wysiwyg-dialog-content form.wysiwyg .form-row input.width-auto { width:auto; }
+.wysiwyg-dialog-content form.wysiwyg input.width-small { width:50px; min-width:50px; max-width:50px; }
+.wysiwyg-dialog-content form.wysiwyg input, .wysiwyg-dialog form.wysiwyg select { padding:2px; width:100%; margin:2px; }
+.wysiwyg-dialog-content form.wysiwyg input[type=submit], .wysiwyg-dialog form.wysiwyg input[type=reset] { padding:2px 7px; width:auto; }
+.wysiwyg-dialog-content input.submit { background: url(../../images/buttonbg3.png) repeat-x top left; border: 1px solid #314a78; color: #fff; }
+.wysiwyg-dialog-content input.reset { background: url(../../images/thead.png) repeat-x top left; border: 1px solid #bbb; color: #333; }
+.wysiwyg-dialog-content label { float: left; width: 120px; }
\ No newline at end of file
diff --git a/www/themes/intranet/css/style.css b/www/themes/intranet/css/style.css
new file mode 100644
index 0000000..8e98ac9
--- /dev/null
+++ b/www/themes/intranet/css/style.css
@@ -0,0 +1,602 @@
+/***
+ * Created by: Mienard Lumaad
+ * Date: Nov 26, 2011
+ * Website: http://themepixels.com/
+***/
+
+@import url('plugins/colorbox.css');
+@import url('plugins/colorpicker.css');
+@import url('plugins/jquery.ui.css');
+@import url('plugins/jquery.jgrowl.css');
+@import url('plugins/jquery.alerts.css');
+@import url('plugins/fullcalendar.css');
+
+@import url('custom.css');
+
+html, body, div, span, applet, object, iframe,
+h1, h2, h3, h4, h5, h6, p, blockquote, pre,
+a, abbr, acronym, address, big, cite, code,
+del, dfn, em, font, img, ins, kbd, q, s, samp,
+small, strike, strong, sub, sup, tt, var,
+b, u, i, center,
+dl, dt, dd, ol, ul, li,
+fieldset, form, label, legend,
+table, caption, tbody, tfoot, thead, tr, th, td {
+ background: transparent;
+ border: 0;
+ margin: 0;
+ padding: 0;
+ vertical-align: baseline;
+}
+
+/***@FONT FACE***/
+@font-face {
+ font-family: 'DroidSansRegular';
+ src: url('../fonts/droidsans-webfont.eot');
+ src: url('../fonts/droidsans-webfont.eot?#iefix') format('embedded-opentype'),
+ url('../fonts/droidsans-webfont.woff') format('woff'),
+ url('../fonts/droidsans-webfont.ttf') format('truetype'),
+ url('../fonts/droidsans-webfont.svg#DroidSansRegular') format('svg');
+ font-weight: normal;
+ font-style: normal;
+
+}
+
+/***GENERAL STYLES***/
+body { font-family: DroidSansRegular, "Segoe UI", "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-size: 12px; }
+body { background: #333 url(../images/texturebg.png); line-height: 21px; }
+input, select, textarea, button { outline: none; font-family: DroidSansRegular, "Lucida Sans Unicode", "Lucida Grande", sans-serif; font-size: 12px; }
+input, select, textarea, button { border: 1px solid #ccc; padding: 5px; }
+
+a { text-decoration: none; outline: none; color: #069; }
+a:hover { text-decoration: underline; }
+button { margin: 0; outline: 0; }
+small { font-size: 11px; line-height: 12px; }
+
+.bodywhite { background: #fff; }
+.bodygrey { background: #eee url(../images/leftbg.png) repeat-y top left; }
+.page404 { background: #eee; }
+
+h1.prize { font-size: 28px; color: #000; font-family: Arial, Helvetica, sans-serif; margin-bottom: 5px; }
+h2.prize { font-size: 20px; color: #000; font-family: Arial, Helvetica, sans-serif; margin-bottom: 5px; }
+
+/***NOTIFICATION MESSAGES (login.html, dashboard.html)***/
+.notification { padding: 10px 10px 10px 45px; margin: 0 0 20px 0; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; position: relative; }
+.notification .close { position: absolute; right: 5px; top: 5px; display: inline-block; width: 8px; height: 8px; cursor: pointer; }
+.notification .close { background: url(../images/icons/close.png) no-repeat 0 0; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; }
+.notifyError { border: 1px solid #ff0000; background: #FFECEC; color: #ff0000; font-size: 11px; }
+
+.notification ul { margin: 0 0 0 15px;}
+
+.msgalert { border: 1px solid #eac572; background: #ffe9ad url(../images/icons/warning.png) no-repeat 10px 10px; }
+.msginfo { border: 1px solid #99c4ea; background: #d1e4f3 url(../images/icons/info.png) no-repeat 10px 10px; }
+.msgsuccess { border: 1px solid #c1d779; background: #effeb9 url(../images/icons/success.png) no-repeat 10px 10px; }
+.msgerror { border: 1px solid #e18b7c; background: #fad5cf url(../images/icons/error.png) no-repeat 10px 10px;}
+
+/***LOGIN PAGE (index.html)***/
+.loginlogo { width: 279px; height: 50px; margin: 80px auto 20px auto; padding: 75px 50px; }
+.loginbox { width: 580px; height: 62px; margin: 10px auto; background: url(../images/loginbox.png) no-repeat right -62px; padding-right: 11px; }
+.loginbox_inner { background: url(../images/loginbox.png) no-repeat 0 0; height: 62px; padding-left: 11px; }
+.loginbox_content { background: url(../images/loginbox.png) repeat-x 0 -124px; height: 62px; overflow: hidden; padding: 15px 2px; }
+
+.loginbox .username { border: 0; background: #eee url(../images/usernamefield.png) no-repeat; background-position: top left; width: 190px; margin-right: 10px; }
+.loginbox .username { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 7px 5px 6px 40px; display: inline-block; font-size: 14px; }
+.loginbox .username:focus { background-color: #fff; background-position: 0 -32px; }
+.loginbox .password { border: 0; background: #eee url(../images/passwordfield.png) no-repeat; background-position: top left; width: 190px; margin-right: 10px; }
+.loginbox .password { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 7px 5px 6px 40px; display: inline-block; font-size: 14px; }
+.loginbox .password:focus { background-color: #fff; background-position: 0 -32px; }
+.loginbox button { background: #4b6592 url(../images/buttonbg.png) repeat-x top left; font-size: 13px; padding: 6px 14px; width: 67px; font-weight: bold;}
+.loginbox button { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; cursor: pointer; color: #fff; text-shadow: 1px 1px #333; border: 0; }
+.loginbox button:active { -moz-box-shadow: inset 1px 1px 2px #000; -webkit-box-shadow: inset 1px 1px 2px #000; box-shadow: inset 1px 1px 2px #000;}
+.loginbox button:hover { background: #364f7e url(../images/buttonbg.png) repeat-x 0 -34px; }
+
+.loginoption { width: 570px; margin: 10px auto; background: url(../images/blacktrans.png); padding: 7px 10px; font-size: 11px; color: #ccc; }
+.loginoption { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
+.loginoption input { margin: 0; padding: 0; vertical-align: middle; }
+.loginoption a { float: right; font-size: 11px; color: #ccc; }
+
+.loginNotify { padding: 7px; border: 0; width: 580px; margin: auto; background: url(../images/blacktrans.png); }
+.loginNotify { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; text-align: center; }
+
+/***TOP HEADER (all page)***/
+.header, .topheader { min-width: 980px; }
+.headerspace { height: 10px; background: #222; border-bottom: 1px solid #111; }
+.topheader .msgicon { position: absolute; top: 7px; left: 8px; width: 15px; height: 15px; background-image: url(../images/icons/message.png); }
+.topheader .infoicon { position: absolute; top: 7px; left: 8px; width: 14px; height: 15px; background-image: url(../images/icons/notification.png); }
+.topheader .msgicon, .topheader .infoicon { background-repeat: no-repeat; background-position: 0 0; }
+.topheader .thiconhover { background-position: 0 -15px !important; }
+
+.topheader > ul { list-style: none; position: absolute; top: 10px; left: 287px; }
+.topheader > ul > li { display: inline-block; float: left; margin-right: 8px; line-height: 14px; position: relative; }
+.topheader > ul > li > a { font-size: 11px; color: #fff; padding-right: 4px; position: relative; }
+.topheader > ul > li > a { display: inline-block; background: url(../images/headbutton.png) no-repeat right -29px; }
+.topheader > ul > li > a .wrap { display: block; padding: 7px 11px 7px 26px; color: #fff; background: url(../images/headbutton.png) no-repeat 0 0; height: 15px; }
+.topheader > ul > li > a .wrap span.count { padding: 1px 5px 0 5px; display: block; position: absolute; top: -3px; right: -3px; font-size: 10px; }
+.topheader > ul > li > a .wrap span.count { background: #cc0000; color: #fff; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
+.topheader > ul > li > a:hover { background-position: right -88px; text-decoration: none; }
+.topheader > ul > li > a:hover .wrap { background-position: 0 -59px; }
+.topheader > ul > li.note a .wrap { padding-right: 0; }
+
+.dropbox { width: 250px; min-height: 100px; background: #fcfcfc; position: absolute; z-index: 5; }
+.dropbox { top: 29px; left: -1px; border: 1px solid #333; border-top: 0; }
+.dropbox { -moz-box-shadow: 3px 3px 2px #333; -webkit-box-shadow: 3px 3px 2px #333; box-shadow: 3px 3px 2px #333; }
+.dropbox { -moz-border-radius: 0 3px 3px 3px; }
+
+.showmsg { -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; }
+.showmsg .wrap { -moz-border-radius: 0 0 0; -webkit-border-radius: 3px 0 0 0; border-radius: 3px 0 0 0; }
+.showmsg, .showmsg .wrap { background: #fcfcfc !important; }
+
+
+/***TOP HEADER: SEARCH (all page)***/
+#search { position: absolute; top: 10px; left: 49px; }
+#search input { color: #999; font-size: 11px; float: left; margin: 0; outline: 0; }
+#search input { background: #333 url(../images/searchbar.png) no-repeat 0 0; border: 0; height: 25px; padding: 2px 3px 3px 75px; }
+#search button { float: left; border: 0; margin: 0; background: #333 url(../images/searchicon.png) no-repeat 0 0; width: 27px; height: 30px; cursor: pointer; }
+
+/***HEADER (all page)***/
+.header { background: #333 url(../images/texturebg.png); padding: 20px 10px 11px 10px; position: relative; }
+.header { border-top: 1px solid #444; border-bottom: 3px solid #272727; }
+.accountinfo { position: absolute; right: 10px; top: 6px; background: url(../images/blacktrans.png); padding: 10px; overflow: hidden; line-height: 15px; }
+.accountinfo { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
+.accountinfo img { float: left; }
+.accountinfo .info { float: left; margin-left: 10px; }
+.accountinfo h3 { font-size: 12px; color: #fff; font-weight: normal; }
+.accountinfo small { font-size: 11px; color: #999; }
+.accountinfo p { margin-top: 5px; }
+.accountinfo p a { font-size: 11px; color: #ccc; display: inline-block; color: #bbd0e8; }
+.accountinfo p a:hover { text-decoration: underline; }
+.accountinfo p a:first-child { margin-right: 5px; border-right: 1px solid #666; padding-right: 7px; }
+
+/***TAB MENU (all page)***/
+.tabmenu { line-height: 21px; position: absolute; top: 49px; left: 50px; }
+.tabmenu ul { list-style: none; }
+.tabmenu ul li { display: inline-block; float: left; position: relative; background: #4b6592 url(../images/tabmenubg.png) repeat-x top left; }
+.tabmenu ul li:first-child { -moz-border-radius: 3px 0 0 0; -webkit-border-radius: 3px 0 0 0; border-radius: 3px 0 0 0; }
+.tabmenu ul li:last-child { -moz-border-radius: 0 3px 0 0; -webkit-border-radius: 0 3px 0 0; border-radius: 0 3px 0 0; }
+.tabmenu ul li a { display: inline-block; color: #fff; background: url(../images/separator.png) no-repeat right center; }
+.tabmenu ul li a:hover { text-decoration: none; }
+.tabmenu ul li:last-child a { background: none; }
+.tabmenu ul li:hover { background: #37507f url(../images/tabmenubg.png) repeat-x 0 -68px; }
+.tabmenu ul li a span { display: block; padding: 9px 15px 9px 40px; text-transform: uppercase; font-size: 12px; text-shadow: 1px 1px #224e82; }
+.tabmenu ul li.current { background: #eee; text-shadow: 1px 1px #fff; }
+.tabmenu ul li.current a { color: #333; background: none; }
+.tabmenu ul li.current a span { text-shadow: 1px 1px #fcfcfc; }
+
+.tabmenu ul li a.dashboard span { background: url(../images/icons/home.png) no-repeat 15px 12px; }
+.tabmenu ul li.current a.dashboard span { background: url(../images/icons/home.png) no-repeat 15px 12px; }
+.tabmenu ul li a.elements span { background: url(../images/icons/elements.png) no-repeat 15px 12px; }
+.tabmenu ul li.current a.elements span { background: url(../images/icons/elements.png) no-repeat 15px -57px; }
+.tabmenu ul li a.reports span { background: url(../images/icons/reports.png) no-repeat 15px 12px; }
+.tabmenu ul li.current a.reports span { background: url(../images/icons/reports.png) no-repeat 15px -57px; }
+.tabmenu ul li a.users span { background: url(../images/icons/users.png) no-repeat 15px 14px; }
+.tabmenu ul li.current a.users span { background: url(../images/icons/users.png) no-repeat 15px -59px; }
+
+.tabmenu ul li a.candidatos span { background: url(../images/icons/candidatos.png) no-repeat 15px 12px; }
+.tabmenu ul li.current a.candidatos span { background: url(../images/icons/candidatos.png) no-repeat 15px -57px; }
+.tabmenu ul li a.ofertas span { background: url(../images/icons/elements.png) no-repeat 15px 12px; }
+.tabmenu ul li.current a.ofertas span { background: url(../images/icons/elements.png) no-repeat 15px -57px; }
+.tabmenu ul li a.solicitudes span { background: url(../images/icons/elements.png) no-repeat 15px 12px; }
+.tabmenu ul li.current a.solicitudes span { background: url(../images/icons/elements.png) no-repeat 15px -57px; }
+.tabmenu ul li a.sistema span { background: url(../images/icons/dashboard.png) no-repeat 15px 12px; }
+.tabmenu ul li.current a.sistema span { background: url(../images/icons/dashboard.png) no-repeat 15px 12px; }
+
+
+.tabmenu ul li .subnav {
+ position: absolute; min-width: 200px; top: 39px; left: 0; display: none; z-index: 100; border: 1px solid #6785b0; border-bottom: 0; }
+.tabmenu ul li .subnav li { display: block; float: none; background: none; }
+.tabmenu ul li .subnav li a { display: block; background: #83a3ca; border-bottom: 1px solid #6785b0; color: #fff; }
+.tabmenu ul li .subnav li:last-child a { background: #83a3ca; }
+.tabmenu ul li .subnav li a:hover { background: #7293c1; color: #fff; }
+.tabmenu ul li .subnav a span { padding: 5px 15px; text-transform: capitalize; text-shadow: 1px 1px #6785b0; }
+.tabmenu ul li.current .subnav { border-color: #ccc; border-top: 0; }
+.tabmenu ul li.current .subnav li a { background: #eee; border-bottom: 1px solid #ccc; color: #333; }
+.tabmenu ul li.current .subnav li a:hover { background: #c8d9ed; }
+.tabmenu ul li.current .subnav li a span { text-shadow: 1px 1px #f7f7f7; }
+
+/***SIDEBAR (all page)***/
+.sidebar { padding: 20px 0 20px 0; width: 50px; display: block; float: left; }
+
+#accordion h3 { background: url(../images/arrow.png) no-repeat 10px 6px; padding-left: 30px; }
+#accordion h3 { cursor: pointer; font-size: 12px; color: #333; text-transform: uppercase; }
+#accordion h3.open { background: url(../images/arrow.png) no-repeat 10px -37px; }
+#accordion .content { display: none; margin: 10px 0 20px 0; }
+#accordion .content:last-child { padding: 0 15px; color: #333; }
+
+
+.leftmenu { list-style: none; }
+.leftmenu li { display: block; margin-bottom: 1px; }
+.leftmenu li a { font-size: 12px; display: block; padding: 5px 0 5px 40px; color: #333; }
+.leftmenu li a:hover { }
+.leftmenu li.current a { background-color: #eee; border-right: 0; color: #333; border-top: 1px solid #a6c0de; border-bottom: 1px solid #a6c0de; }
+.leftmenu li.current a:hover { text-decoration: none; }
+
+.leftmenu li a.form { background-image: url(../images/icons/form.png); background-repeat: no-repeat; background-position: 15px center; }
+.leftmenu li a.table { background-image: url(../images/icons/table.png); background-repeat: no-repeat; background-position: 15px center; }
+.leftmenu li a.gallery { background-image: url(../images/icons/gallery.png); background-repeat: no-repeat; background-position: 15px center; }
+.leftmenu li a.home { background-image: url(../images/icons/home.png); background-repeat: no-repeat; background-position: 15px center; }
+.leftmenu li a.grid { background-image: url(../images/icons/grid.png); background-repeat: no-repeat; background-position: 15px center; }
+.leftmenu li a.calendar { background-image: url(../images/icons/cal.png); background-repeat: no-repeat; background-position: 15px center; }
+.leftmenu li a.buttons { background-image: url(../images/icons/buttons.png); background-repeat: no-repeat; background-position: 15px center; }
+.leftmenu li a.editor { background-image: url(../images/icons/editor.png); background-repeat: no-repeat; background-position: 15px center; }
+.leftmenu li a.file { background-image: url(../images/icons/file.png); background-repeat: no-repeat; background-position: 15px center; }
+.leftmenu li a.error { background-image: url(../images/icons/404.png); background-repeat: no-repeat; background-position: 15px center; }
+
+/***COLUMNS***/
+.one_half{ width:48%; }
+.one_third{ width:30.66%; }
+.two_third{ width:65.33%; }
+.one_fourth{ width:22%; }
+.three_fourth{ width:74%; }
+.one_fifth{ width:16.8%; }
+.two_fifth{ width:37.6%; }
+.three_fifth{ width:58.4%; }
+.four_fifth{ width:67.2%; }
+.one_sixth{ width:13.33%; }
+.five_sixth{ width:82.67%; }
+
+.one_half,.one_third,.two_third,.three_fourth,.one_fourth,.one_fifth,
+.two_fifth,.three_fifth,.four_fifth,.one_sixth,.five_sixth{ position:relative; margin-right:4%; float:left; }
+
+.last{ margin-right:0 !important; clear:right; }
+
+/***MAIN CONTENT (dashboard.html)***/
+.maincontent { margin-left: 50px; min-width: 1028px; position: relative; color: #333; }
+.maincontent .left { padding: 20px 15px; overflow: hidden; }
+.maincontent .right { padding: 20px 0; padding-right: 15px; overflow: hidden; }
+.maincontent .right .widgetbox:last-child { margin-bottom: 0; border-bottom: 0; }
+
+.maincontent_inner { width:68.33%; margin-right: 1%; }
+
+.breadcrumbs { font-size: 11px; padding: 0 15px 0 30px; margin: 20px 15px 0 15px; border: 1px solid #ddd; }
+.breadcrumbs { -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; background: #f7f7f7 url(../images/icons/homesmall.png) no-repeat 10px 9px; }
+.breadcrumbs { -moz-box-shadow: 1px 1px 0 #f3f3f3; }
+.breadcrumbs a { display: inline-block; color: #069; padding: 5px 20px 5px 0; }
+.breadcrumbs a { background: url(../images/separator2.png) no-repeat right center; margin-right: 10px; }
+.breadcrumbs a:hover { text-decoration: none; }
+.breadcrumbs span { color: #666; }
+
+.widgetlist { list-style: none; }
+.widgetlist li { display: inline-block; float: left; width: 130px; margin: 0 10px 10px 0; }
+.widgetlist li a { display: block; padding: 15px; border: 1px solid #ccc; color: #333; text-align: center; background: #f7f7f7; }
+.widgetlist li a { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; -moz-box-shadow: 1px 1px 0 #fff; color: #069; }
+.widgetlist li a span { font-size: 12px; display: block; margin-top: 10px; }
+.widgetlist li a:hover { -moz-box-shadow: 0 0 4px #ddd; background: #fcfcfc; text-decoration: none; }
+
+
+/***MAIN CONTENT: BUTTONS(elements.html)***/
+button.button { padding: 7px 15px; font-size: 12px; display: inline-block; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
+button.button { -moz-box-shadow: 1px 1px 2px #eee; -webkit-box-shadow: 1px 1px 2px #eee; box-shadow: 1px 1px 2px #eee; cursor: pointer; }
+button.button:hover, .button:active { background-position: 0 -39px; }
+
+.anchorbutton { padding: 7px 15px; font-size: 12px; display: inline-block; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
+.anchorbutton { -moz-box-shadow: 1px 1px 2px #eee; -webkit-box-shadow: 1px 1px 2px #eee; box-shadow: 1px 1px 2px #eee; cursor: pointer; }
+.anchorbutton:hover, .anchorbutton:active { background-position: 0 -39px; text-decoration: none; }
+
+.button_white { border: 1px solid #ccc; background: #eee url(../images/buttons/button_white.png) repeat-x top left; text-shadow: 1px 1px #f7f7f7; color: #333; }
+.button_white:active { -moz-box-shadow: inset 2px 2px 2px #ccc; -webkit-box-shadow: inset 2px 2px 2px #ccc; box-shadow: inset 2px 2px 2px #ccc; }
+
+.button_blue { border: 1px solid #39537f; background: #eee url(../images/buttons/button_blue.png) repeat-x top left; text-shadow: 1px 1px #39537f; color: #fff; }
+.button_blue:active { -moz-box-shadow: inset 2px 2px 2px #12274c; -webkit-box-shadow: inset 2px 2px 2px #12274c; box-shadow: inset 2px 2px 2px #12274c; }
+
+.button_black { border: 1px solid #333; background: #333 url(../images/buttons/button_black.png) repeat-x top left; text-shadow: 1px 1px #333; color: #fff; }
+.button_black:active { -moz-box-shadow: inset 2px 2px 2px #12274c; -webkit-box-shadow: inset 2px 2px 2px #12274c; box-shadow: inset 2px 2px 2px #12274c; }
+
+.button_red { border: 1px solid #b22407; background: #333 url(../images/buttons/button_red.png) repeat-x top left; text-shadow: 1px 1px #b22407; color: #fff; }
+.button_red:active { -moz-box-shadow: inset 2px 2px 2px #b22407; -webkit-box-shadow: inset 2px 2px 2px #b22407; box-shadow: inset 2px 2px 2px #b22407; }
+
+.button_yellow { border: 1px solid #c67601; background: #333 url(../images/buttons/button_yellow.png) repeat-x top left; text-shadow: 1px 1px #c67601;color: #fff; }
+.button_yellow:active { -moz-box-shadow: inset 2px 2px 2px #c67601; -webkit-box-shadow: inset 2px 2px 2px #c67601; box-shadow: inset 2px 2px 2px #c67601; }
+
+.button_green { border: 1px solid #507e0c; background: #333 url(../images/buttons/button_green.png) repeat-x top left; text-shadow: 1px 1px #507e0c;color: #fff; }
+.button_green:active { -moz-box-shadow: inset 2px 2px 2px #507e0c; -webkit-box-shadow: inset 2px 2px 2px #507e0c; box-shadow: inset 2px 2px 2px #507e0c; }
+
+.button_brown { border: 1px solid #574128; background: #333 url(../images/buttons/button_brown.png) repeat-x top left; text-shadow: 1px 1px #574128; color: #fff; }
+.button_brown:active { -moz-box-shadow: inset 2px 2px 2px #574128; -webkit-box-shadow: inset 2px 2px 2px #574128; box-shadow: inset 2px 2px 2px #574128; }
+
+.button_lblue { border: 1px solid #7197bd; background: #333 url(../images/buttons/button_lblue.png) repeat-x top left; text-shadow: 1px 1px #fff; color: #2161a0; }
+.button_lblue:active { -moz-box-shadow: inset 2px 2px 2px #7197bd; -webkit-box-shadow: inset 2px 2px 2px #7197bd; box-shadow: inset 2px 2px 2px #7197bd; }
+
+/***MAIN CONTENT: WIDGET BOX (dashboard.html)***/
+.widgetbox { margin-bottom: 20px; -moz-box-shadow: 1px 1px 2px #ccc; -webkit-box-shadow: 1px 1px 2px #ccc; box-shadow: 1px 1px 2px #ccc; }
+.widgetbox h3 { font-size: 12px; text-transform: uppercase; color: #fff; font-weight: normal; text-shadow: 1px 1px #4b6592; }
+.widgetbox h3 { -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; }
+.widgetbox h3 { border: 1px solid #6082ad; background: #688ab5 url(../images/titlebg.png) repeat-x top left; }
+.widgetbox h3 span { padding: 10px 15px; display: block; }
+.widgetbox h3.arrow span { background: url(../images/toggle.png) no-repeat right center; }
+.widgetbox .content { background: #fcfcfc; padding: 20px 15px; color: #666; overflow: hidden; border: 1px solid #ccc; border-top: 0; }
+.widgetbox .content { -moz-border-radius: 0 0 3px 3px; -webkit-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px; }
+.widgetbox .content p { margin: 5px auto; }
+.widgetbox .content p:first-child { margin-top: 0; }
+
+.widgetbox2 { margin-bottom: 20px; -moz-box-shadow: 1px 1px 2px #ddd; -webkit-box-shadow: 1px 1px 2px #ddd; box-shadow: 1px 1px 2px #ddd; }
+.widgetbox2 h3 { font-size: 12px; color: #333; font-weight: normal; text-shadow: 1px 1px #fff; }
+.widgetbox2 h3 { -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; }
+.widgetbox2 h3 { border: 1px solid #ddd; background: #eee url(../images/thead.png) repeat-x top left; }
+.widgetbox2 h3 span { padding: 10px 15px; display: block; }
+.widgetbox2 h3.arrow span { background: url(../images/toggle2.png) no-repeat right center; }
+.widgetbox2 .content { background: #fcfcfc; padding: 20px 15px; color: #666; overflow: hidden; border: 1px solid #ddd; border-top: 0; }
+.widgetbox2 .content { -moz-border-radius: 0 0 3px 3px; -webkit-border-radius: 0 0 3px 3px; border-radius: 0 0 3px 3px; }
+.widgetbox2 .content p { margin: 5px 0; }
+.widgetbox2 .content p:first-child { margin-top: 0; }
+.widgetbox2 .content label { display: block; padding: 0; width: 120px; margin-right: 15px; float: left; }
+
+/***PROGRESS BAR (dashboard.html)***/
+.progress { margin: 5px 0; }
+.progress .bar { background: #ddd; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; padding: 2px; }
+.progress .bar { -moz-box-shadow: inset 2px 2px 3px #999; -webkit-box-shadow: inset 2px 2px 3px #999; box-shadow: inset 2px 2px 3px #999; }
+.progress .bar .value { height: 5px; -moz-border-radius: 8px; -webkit-border-radius: 8px; border-radius: 8px; }
+
+.progress .bar2 { background: #ddd; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; padding: 2px; }
+.progress .bar2 { -moz-box-shadow: inset 2px 2px 3px #999; -webkit-box-shadow: inset 2px 2px 3px #999; box-shadow: inset 2px 2px 3px #999; }
+.progress .bar2 .value { padding: 3px 0; text-align: center; -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; color: #fff; }
+.progress .bar2 .value { background-image: url(../images/barbg.png); background-repeat: repeat-x; background-position: 0 0; }
+
+.progress .bluebar { background-color: #069; }
+.progress .orangebar { background-color: #F90; }
+.progress .redbar { background-color: #cc0000; }
+
+
+/***MAIN CONTENT:FULL PAGE***/
+.fullpage { margin: 20px 15px; }
+.pageTitle { font-size: 24px; margin-bottom: 20px; text-shadow: 1px 1px #fff; }
+
+/***MAIN CONTENT: SUB MENU (users.html)***/
+.submenu { list-style: none; overflow: hidden; float:right; }
+.submenu li { display: inline-block; float: left; }
+.submenu li a { display: block; padding: 5px 10px; border: 1px solid #bbb; background: url(../images/bgbutton4.png) repeat-x top left; border-left: 0; }
+.submenu li a { color: #333; text-shadow: 1px 1px #eee; -moz-box-shadow: 1px 1px 0 #fcfcfc; -webkit-box-shadow: 1px 1px 0 #fcfcfc; box-shadow: 1px 1px 0 #fcfcfc; }
+.submenu li a:hover { -moz-box-shadow: inset 1px 1px 2px #ccc; -webkit-box-shadow: inset 1px 1px 2px #ccc; box-shadow: inset 1px 1px 2px #ccc; }
+.submenu li a:hover { text-decoration: none; }
+.submenu li.current a { background: #f7f7f7; color: #069; text-shadow: none; }
+.submenu li.current a:hover { -moz-box-shadow: none; webkit-box-shadow: none; box-shadow: none; }
+.submenu li:last-child a { -moz-border-radius: 0 3px 3px 0; -webkit-border-radius: 0 3px 3px 0; border-radius: 0 3px 3px 0; }
+.submenu li:first-child a { -moz-border-radius: 3px 0 0 3px; -webkit-border-radius: 3px 0 0 3px; border-radius: 3px 0 0 3px; border-left: 1px solid #bbb; }
+
+/***MAIN CONTENT: FORM STYLING (forms.html)***/
+.sf { width: 250px; }
+.mf { width: 350px; }
+.lf { width: 450px; }
+textarea.mf { height: 100px; }
+input[type=radio], input[type=checkbox] { margin: 0; padding: 0; vertical-align: middle; }
+
+.form_default fieldset { border: 1px solid #ccc; padding: 20px; background: #f7f7f7; }
+.form_default legend { text-transform: uppercase; }
+.form_default p { margin: 20px 0 !important; }
+.form_default label { width: 150px; float: left; text-align: right; padding-top: 5px; margin-right: 20px; }
+
+.form_default input[type=text], .form_default input[type=password] { font-size: 12px; padding: 8px 5px; border: 1px solid #ccc; background: #fcfcfc; outline: none; }
+.form_default input[type=text], .form_default input[type=password] { -moz-box-shadow: inset 1px 1px 3px #ccc; -webkit-box-shadow: inset 1px 1px 3px #ccc; box-shadow: inset 1px 1px 3px #ccc; }
+.form_default input[type=text], .form_default input[type=password] { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; margin-right: 10px; }
+
+.form_default textarea { font-size: 12px; padding: 8px 5px; border: 1px solid #ccc; background: #fcfcfc; outline: none; }
+.form_default textarea { -moz-box-shadow: inset 1px 1px 3px #ccc; -webkit-box-shadow: inset 1px 1px 3px #ccc; box-shadow: inset 1px 1px 3px #ccc; }
+.form_default textarea { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; margin-right: 10px; }
+
+.form_default select { font-size: 12px; padding: 5px; border: 1px solid #ccc; background: #fcfcfc; outline: none; }
+.form_default select { -moz-box-shadow: inset 1px 1px 3px #ccc; -webkit-box-shadow: inset 1px 1px 3px #ccc; box-shadow: inset 1px 1px 3px #ccc; }
+.form_default select { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; margin-right: 10px; }
+
+.form_default input[type=text]:focus, .form_default input[type=password]:focus, .form_default textarea:focus { background: #fff; }
+
+.form_default button { background: #4b6592 url(../images/buttonbg3.png) repeat-x top left; color: #fff; padding: 7px 20px; cursor: pointer; }
+.form_default button { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; border: 1px solid #395380; font-size: 12px; }
+.form_default button { text-transform: uppercase; text-shadow: 1px 1px #395380; margin-left: 170px; }
+.form_default button { -moz-box-shadow: 1px 1px 2px #999; -webkit-box-shadow: 1px 1px 2px #999; box-shadow: 1px 1px 2px #999; }
+.form_default button:hover { background: #005681 url(../images/buttonbg3.png) repeat-x 0 -36px; }
+.form_default button:active { -moz-box-shadow: inset 2px 2px 2px #12274c; -webkit-box-shadow: inset 2px 2px 2px #12274c; box-shadow: inset 2px 2px 2px #12274c; }
+
+.form_default input.error, .form_default textarea.error, .form_default select.error { border: 1px solid #ff0000; }
+.form_default div.error { float: none; width: auto; color: #ff0000; font-size: 11px; display: inline-block; }
+.form_default label.error { color: #ff0000; }
+
+/***MAIN CONTENT: STANDARD TABLE (users.html)***/
+.addNewButton { float: left; border: 1px solid #ccc; background: #4b6592 url(../images/buttonbg3.png) repeat-x top left; color: #fff; padding: 5px 20px; }
+.addNewButton { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; border: 1px solid #395380; font-size: 12px; }
+.addNewButton { text-transform: uppercase; text-shadow: 1px 1px #395380; margin-right: 10px; }
+.addNewButton { -moz-box-shadow: 1px 1px 2px #999; -webkit-box-shadow: 1px 1px 2px #999; box-shadow: 1px 1px 2px #999; }
+.addNewButton:hover { background: #005681 url(../images/buttonbg3.png) repeat-x 0 -36px; text-decoration: none; }
+
+.sTableOptions { padding: 12px 10px; border: 1px solid #bbb; border-bottom: 0; background: #eee url(../images/thead.png) repeat-x top left; }
+.sTableOptions { -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; position: relative; }
+.sTableOptions .button { display: inline-block; border: 1px solid #999; background: url(../images/buttonbg5.png) repeat-x bottom left; }
+.sTableOptions .button { text-transform: uppercase; color: #333; text-shadow: 1px 1px #fcfcfc; -webkit-box-shadow: 0 1px 0 #ddd; box-shadow: 0 1px 0 #ddd; }
+.sTableOptions .button { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; -moz-box-shadow: 0 1px 0 #ddd; }
+.sTableOptions .button:hover { cursor: pointer; text-decoration: none; background-position: top left; }
+.sTableOptions .button:active { -moz-box-shadow: inset 1px 1px 2px #999; -webkit-box-shadow: inset 1px 1px 2px #999; box-shadow: inset 1px 1px 2px #999; }
+.sTableOptions .button:active { background: #eee; }
+.sTableOptions .button span { padding: 5px 10px; display: block; }
+.sTableOptions h4 { font-size: 12px; font-weight: normal; color: #333; }
+
+.sTableOptions .delete span { background: url(../images/icons/trash.png) no-repeat 8px center; padding-left: 30px; }
+
+/***(tables.html)***/
+.sTableOptions2 { padding: 12px 10px; border: 1px solid #ccc; border-bottom: 0; background: #ddd url(../images/bgbutton5.png) repeat-x top left; }
+.sTableOptions2 { -moz-border-radius: 3px 3px 0 0; -webkit-border-radius: 3px 3px 0 0; border-radius: 3px 3px 0 0; position: relative; }
+.sTableOptions2 .button { display: inline-block; border: 1px solid #999; background: url(../images/buttonbg5.png) repeat-x bottom left; }
+.sTableOptions2 .button { text-transform: uppercase; color: #333; text-shadow: 1px 1px #fcfcfc; -webkit-box-shadow: 0 1px 0 #ddd; box-shadow: 0 1px 0 #ddd; }
+.sTableOptions2 .button { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; -moz-box-shadow: 0 1px 0 #ddd; }
+.sTableOptions2 .button:hover { cursor: pointer; text-decoration: none; background-position: top left; }
+.sTableOptions2 .button:active { -moz-box-shadow: inset 1px 1px 2px #999; -webkit-box-shadow: inset 1px 1px 2px #999; box-shadow: inset 1px 1px 2px #999; }
+.sTableOptions2 .button:active { background: #eee; }
+.sTableOptions2 .button span { padding: 5px 10px; display: block; }
+.sTableOptions2 h4 { font-size: 12px; font-weight: normal; color: #333; }
+
+.sTableHead { border-collapse: collapse; }
+.sTableHead td { padding: 8px 10px; color: #ccc; text-shadow: 1px 1px #444; font-size: 12px; text-transform: uppercase; border-right: 1px solid #777; }
+.sTableHead .head0 { background: #666; }
+.sTableHead .head1 { background: #555; }
+
+.sTableWrapper { border: 1px solid #bbb; border-top: 0; }
+
+.sTable { border-collapse: collapse; }
+.sTable tr td { padding: 8px 10px; border-right: 1px solid #fff; border-bottom: 1px solid #ddd; vertical-align: top; }
+.sTable thead th { padding: 8px 10px; color: #ccc; text-shadow: 1px 1px #444; font-size: 12px; text-transform: uppercase; border-right: 1px solid #777; }
+.sTable thead th { font-weight: normal; text-align: left; }
+.sTable tr td:last-child { border-right: 0; }
+.sTable tr:last-child td { border-bottom: 0; }
+.sTable tr:hover { background: #ddd; }
+.sTable tr.selected { background: #fffccc; }
+.sTable .head0 { background: #666; }
+.sTable .head1 { background: #555; }
+.sTable .con1 { background: #eee; }
+.sTable .con0 { background: #f7f7f7; }
+
+/***(tables.html)***/
+.sTable2 { border-collapse: collapse; border: 1px solid #ccc; }
+.sTable2 thead td { padding: 5px 10px; background: #eee url(../images/thead.png) repeat-x top left; border: 1px solid #ccc; }
+.sTable2 thead th { padding: 5px 10px; background: #eee url(../images/thead.png) repeat-x top left; border: 1px solid #ccc; }
+.sTable2 tbody tr td { padding: 10px; background: #fff; border-top: 1px solid #eee; border-left: 1px solid #eee; }
+.sTable2 tbody tr td:first-child { border-left: 1px solid #ccc; }
+.sTable2 tbody tr.even td { background: #fcfcfc; }
+
+.sTable3 { border-collapse: collapse; }
+.sTable3 thead td { padding: 5px 10px; background: #eee url(../images/thead.png) repeat-x top left; border-bottom: 1px solid #ccc; }
+.sTable3 tbody tr td { padding: 10px; background: #fff; border-top: 1px solid #eee; border-left: 1px solid #eee; }
+.sTable3 tbody tr.even td { background: #fcfcfc; }
+
+/**dynamic table***/
+.dataTables_wrapper { border: 1px solid #ccc; background: #eee url(../images/thead.png) repeat-x top left;
+ -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; position: relative; }
+.dataTables_filter { position: absolute; top: 11px; right: 5px; }
+.dataTables_length { padding: 10px 10px; }
+.dataTables_wrapper label { display: inline-block; margin-right: 5px; }
+.dyntable { width: 100%; background: #fcfcfc; }
+.dyntable thead th, .dyntable tfoot th { padding: 5px 10px; color: #fff; font-weight: normal; text-align: left; }
+.dyntable thead th.head0, .dyntable tfoot th.head0 { background: #666; }
+.dyntable thead th.head1, .dyntable tfoot th.head1 { background: #555; }
+.dyntable tbody tr td { padding: 5px 10px; border-top: 1px solid #ddd; }
+.dyntable tbody tr:first-child td { border-top: 0; }
+.dyntable .con1 { background: #eee; }
+.dyntable .con0 { background: #f7f7f7; }
+.dyntable thead th.sorting { background-image: url(../images/sort_both.png); background-repeat: no-repeat; background-position: right 5px; }
+.dyntable thead th.sorting_asc { background-image: url(../images/sort_asc.png); background-repeat: no-repeat; background-position: right 6px; }
+.dyntable thead th.sorting_desc { background-image: url(../images/sort_desc.png); background-repeat: no-repeat; background-position: right 6px; }
+
+.dataTables_info { padding: 10px; }
+.paging_full_numbers { position: absolute; bottom: 7px; right: 8px; }
+.paging_full_numbers .paginate_button {
+ display: inline-block; padding: 2px 8px; border: 1px solid #ccc; margin-left: 5px;
+ background: #eee url(../images/buttonbg5.png) repeat-x top left; cursor: pointer;
+ -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
+}
+.paging_full_numbers .paginate_button:hover {
+ background: #eee; -moz-box-shadow: inset 1px 1px 2px #ccc; -webkit-box-shadow: inset 1px 1px 2px #ccc;
+ box-shadow: inset 1px 1px 2px #ccc;
+}
+.paging_full_numbers .paginate_active, .paging_full_numbers .paginate_button:active {
+ display: inline-block; padding: 2px 8px; border: 1px solid #405A87; margin-left: 5px;
+ background: #405A87 url(../images/buttonbg3.png) repeat-x top left; color: #fff;
+ -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px;
+}
+.paging_full_numbers .paginate_button_disabled { color: #999; }
+
+/***PAGINATION (users.html)***/
+.pagination a { display: inline-block; padding: 5px 10px; color: #333; border: 1px solid #bbb; background: url(../images/buttonbg5.png) repeat-x bottom left; }
+.pagination a { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
+.pagination a { -moz-box-shadow: 1px 1px 0 #f7f7f7; -webkit-box-shadow: 1px 1px 0 #f7f7f7; box-shadow: 1px 1px 0 #f7f7f7; }
+.pagination a:hover { -moz-box-shadow: inset 1px 1px 3px #eee; -webkit-box-shadow: inset 1px 1px 3px #eee; }
+.pagination a:hover { text-decoration: none; background: #eee; box-shadow: inset 1px 1px 3px #eee; }
+.pagination a.disabled { color: #999; border: 1px solid #ccc; }
+.pagination a.disabled:hover { background: url(../images/buttonbg5.png) repeat-x bottom left; -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
+.pagination a.current { background: #333 url(../images/buttonbg3.png) repeat-x top left; color: #fff; border: 1px solid #405a87; }
+.pagination a.current:hover { -moz-box-shadow: none; -webkit-box-shadow: none; box-shadow: none; }
+
+.pgright { position: absolute; right: 10px; top: 12px; }
+.pgright a.disabled { border: 1px solid #ccc; }
+
+/***MAINCONTENT: GALLERY (galery.html)***/
+.gallery .thumbview ul { list-style: none; }
+.gallery .thumbview ul li { float: left; display: inline-block; margin-right: 20px; margin-bottom: 20px; }
+.gallery .thumbview .thumb { border: 1px solid #ccc; padding: 10px; background: #fcfcfc; -moz-box-shadow: 1px 1px 2px #ddd; box-shadow: 1px 1px 2px #ddd; }
+.gallery .thumbview .thumb { -moz-border-radius: 3px; -webit-border-radius: 3px; border-radius: 3px; -webkit-box-shadow: 1px 1px 2px #ddd; position: relative; }
+.gallery .thumbview .thumb img { cursor: pointer; }
+.gallery .thumbview .info { width: 230px; height: 130px; position: absolute; top: 10px; left: 10px; font-size: 12px; line-height: 18px; }
+.gallery .thumbview .info { padding: 10px; background: url(../images/blacktrans1.png); display: none; cursor: pointer; }
+.gallery .thumbview .info label { width: 70px; display: inline-block; color: #ccc; }
+.gallery .thumbview .info span { color: #fff; }
+.gallery .thumbview .info .menu { margin-top: 10px; }
+.gallery .thumbview .info .menu a { display: inline-block; margin-right: 5px; width: 22px; height: 22px; }
+.gallery .thumbview .info .menu a { -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; }
+.gallery .thumbview .info .menu a.view { background: #83a3ca url(../images/viewdelete.png) no-repeat 5px 5px; }
+.gallery .thumbview .info .menu a.delete { background: #83a3ca url(../images/viewdelete.png) no-repeat 5px -15px; }
+.gallery .thumbview .info .menu a:hover { text-decoration: none; background-color: #6385ae; }
+
+.gallery .listview { display: none; }
+
+/***PAGES: message.html, info.html***/
+.messagelist h4 { font-size: 11px; color: #333; font-weight: normal; padding: 8px 10px; border-bottom: 1px solid #ccc; text-transform: uppercase; }
+.messagelist .link { padding: 8px 10px; background: #eee; font-size: 11px; border-top: 1px solid #ccc; }
+.messagelist ul { list-style: none; }
+.messagelist ul li { display: block; border-bottom: 1px dotted #ccc; padding: 5px 10px; }
+.messagelist ul li:last-child { border-bottom: 0; }
+.messagelist ul li.current { background: #fff; color: #333; }
+.messagelist ul li.current a { color: #6385ae; font-weight: bold; }
+.messagelist ul li a { display: block; color: #333; }
+.messagelist ul li a:hover { text-decoration: none; }
+.messagelist ul li span { color: #666; display: block; font-size: 11px; }
+.messagelist ul li small { font-size: 11px; color: #666; }
+.messagelist ul li:hover { background: #e8f3fe; }
+
+/***MAIN CONTENT: ELEMENTS (elements.html)***/
+.imgleft { float: left; margin: 0 10px 0 0; padding: 5px; border: 1px solid #ccc; }
+.imgleft { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; }
+
+/**BUTTONS & ICONS**/
+.iconlink { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; color: #fff; text-shadow: 1px 1px #304978; margin-bottom: 5px; }
+.iconlink { -moz-box-shadow: 1px 1px 0 #f7f7f7; -webkit-box-shadow: 1px 1px 0 #f7f7f7; box-shadow: 1px 1px 0 #f7f7f7; }
+.iconlink { display: inline-block; padding: 5px 7px; border: 1px solid #304978; background: url(../images/buttonbg3.png) repeat-x top left; }
+.iconlink:hover { background-position: 0 -36px; text-decoration: none; }
+.iconlink:active { -moz-box-shadow: inset 1px 1px 2px #304978; -webkit-box-shadow: inset 1px 1px 2px #304978; box-shadow: inset 1px 1px 2px #304978; }
+.iconlink img { vertical-align: middle; display: inline-block; }
+
+.iconlink2 { -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; color: #333; margin-bottom: 5px; }
+.iconlink2 { -moz-box-shadow: 1px 1px 0 #f7f7f7; -webkit-box-shadow: 1px 1px 0 #f7f7f7; box-shadow: 1px 1px 0 #f7f7f7; }
+.iconlink2 { display: inline-block; padding: 5px 7px; border: 1px solid #ccc; background: url(../images/bgbutton4.png) repeat-x top left; }
+.iconlink2:active { -moz-box-shadow: inset 1px 1px 2px #ccc; -webkit-box-shadow: inset 1px 1px 2px #ccc; box-shadow: inset 1px 1px 2px #ccc; }
+.iconlink2:hover { background-position: 0 -37px; text-decoration: none; }
+.iconlink2 img { vertical-align: middle; display: inline-block; }
+
+/**INVOICE**/
+.invoice { border: 1px solid #ccc; background: #f7f7f7; -moz-box-shadow: 1px 1px 3px #ddd; -webkit-box-shadow: 1px 1px 3px #ddd; box-shadow: 1px 1px 3px #ddd; }
+.invoice_inner { padding: 20px; position: relative; overflow: hidden; }
+.invoice .title { font-size: 18px; float: right; }
+.invoicetable { border-collape: collapse; }
+.invoicetable thead td { border-bottom: 1px solid #ccc; padding: 5px 0; font-weight: bold; }
+.invoicetable .subtotal td { font-weight: bold; }
+.invoicetable tr td.line { border-bottom: 1px solid #ccc; }
+
+/** FOOTER**/
+.footer { background: #333; padding: 10px 0; }
+.footerinner { padding: 0 20px; text-align: right; font-size: 11px; color: #ccc; }
+.footer_float { position: fixed; bottom: 0; left: 0; width: 100%; }
+
+/***MAIN CONTENT: CUSTOM STYLES***/
+.errorpage { padding: 20px; }
+.widgetbox .content .bright { border-right: 1px solid #ddd; width: 47%; }
+.clear { clear: both; height: 15px; }
+.nopadding { padding: 0 !important; }
+.loaders img { vertical-align: middle; display: inline-block; margin-right: 10px; }
+.padding15 { padding: 15px; overflow: hidden; }
+.padding1020 { padding: 10px 20px; }
+.padding20 { padding: 20px; overflow: hidden; }
+.borderbottom { border-bottom: 1px solid #eee; }
+.floatleft { float: left; }
+.width50 { width: 50px; }
+.ohidden { overflow: hidden; }
+.overflownone { overflow: none !important; }
+.marginleft150 { margin-left: 150px; }
+.marginbottom20 { margin-bottom: 20px; }
+.color069 { color: #069; }
+.tooltipflot { background: url(../images/blacktrans1.png); padding: 2px 10px; color: #fff; font-size: 11px; }
+.tooltipflot { -moz-border-radius: 2px; -webkit-border-radius: 2px; border-radius: 2px; }
+#colorselector { width: 16px; height: 16px; border: 2px solid #ccc; display: inline-block; }
+#colorselector { background: url(../images/colorpicker.png) no-repeat top left; cursor: pointer; }
+.pie { height: 200px; width: 290px; }
+.external-event { border: 1px solid #a6bdd8; padding: 7px 10px; color: #333; margin-bottom: 5px; background: #c8d9ed; cursor: move; }
+.mgright5 { margin-right: 5px; }
+.inlineblock { display: inline-block; }
+.alignright { text-align: right; }
+.bordertop { border-top: 1px solid #ccc; }
+
+/***CUSTOM STYLES***/
+.operations > ul {list-style: none;}
\ No newline at end of file
diff --git a/www/themes/intranet/fonts/droidsans-webfont.eot b/www/themes/intranet/fonts/droidsans-webfont.eot
new file mode 100644
index 0000000..c80ca00
Binary files /dev/null and b/www/themes/intranet/fonts/droidsans-webfont.eot differ
diff --git a/www/themes/intranet/fonts/droidsans-webfont.svg b/www/themes/intranet/fonts/droidsans-webfont.svg
new file mode 100644
index 0000000..5662210
--- /dev/null
+++ b/www/themes/intranet/fonts/droidsans-webfont.svg
@@ -0,0 +1,231 @@
+
+
+
\ No newline at end of file
diff --git a/www/themes/intranet/fonts/droidsans-webfont.ttf b/www/themes/intranet/fonts/droidsans-webfont.ttf
new file mode 100644
index 0000000..43c3c02
Binary files /dev/null and b/www/themes/intranet/fonts/droidsans-webfont.ttf differ
diff --git a/www/themes/intranet/fonts/droidsans-webfont.woff b/www/themes/intranet/fonts/droidsans-webfont.woff
new file mode 100644
index 0000000..642c381
Binary files /dev/null and b/www/themes/intranet/fonts/droidsans-webfont.woff differ
diff --git a/www/themes/intranet/fonts/index.html b/www/themes/intranet/fonts/index.html
new file mode 100644
index 0000000..c942a79
--- /dev/null
+++ b/www/themes/intranet/fonts/index.html
@@ -0,0 +1,10 @@
+
+
+ 403 Forbidden
+
+
+
+ Directory access is forbidden.
+
+
+
\ No newline at end of file
diff --git a/www/themes/intranet/images/arrow.png b/www/themes/intranet/images/arrow.png
new file mode 100644
index 0000000..4a1a064
Binary files /dev/null and b/www/themes/intranet/images/arrow.png differ
diff --git a/www/themes/intranet/images/assets/image1.png b/www/themes/intranet/images/assets/image1.png
new file mode 100644
index 0000000..e3f0817
Binary files /dev/null and b/www/themes/intranet/images/assets/image1.png differ
diff --git a/www/themes/intranet/images/assets/thumb/large/thumb1.png b/www/themes/intranet/images/assets/thumb/large/thumb1.png
new file mode 100644
index 0000000..31642e6
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/large/thumb1.png differ
diff --git a/www/themes/intranet/images/assets/thumb/large/thumb2.png b/www/themes/intranet/images/assets/thumb/large/thumb2.png
new file mode 100644
index 0000000..a8ceecd
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/large/thumb2.png differ
diff --git a/www/themes/intranet/images/assets/thumb/large/thumb3.png b/www/themes/intranet/images/assets/thumb/large/thumb3.png
new file mode 100644
index 0000000..8b4919a
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/large/thumb3.png differ
diff --git a/www/themes/intranet/images/assets/thumb/large/thumb4.png b/www/themes/intranet/images/assets/thumb/large/thumb4.png
new file mode 100644
index 0000000..fdaeee3
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/large/thumb4.png differ
diff --git a/www/themes/intranet/images/assets/thumb/large/thumb5.png b/www/themes/intranet/images/assets/thumb/large/thumb5.png
new file mode 100644
index 0000000..68604b3
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/large/thumb5.png differ
diff --git a/www/themes/intranet/images/assets/thumb/large/thumb6.png b/www/themes/intranet/images/assets/thumb/large/thumb6.png
new file mode 100644
index 0000000..b4a0a0b
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/large/thumb6.png differ
diff --git a/www/themes/intranet/images/assets/thumb/large/thumb7.png b/www/themes/intranet/images/assets/thumb/large/thumb7.png
new file mode 100644
index 0000000..8aaecf5
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/large/thumb7.png differ
diff --git a/www/themes/intranet/images/assets/thumb/large/thumb8.png b/www/themes/intranet/images/assets/thumb/large/thumb8.png
new file mode 100644
index 0000000..3e46745
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/large/thumb8.png differ
diff --git a/www/themes/intranet/images/assets/thumb/large/thumb9.png b/www/themes/intranet/images/assets/thumb/large/thumb9.png
new file mode 100644
index 0000000..36bc787
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/large/thumb9.png differ
diff --git a/www/themes/intranet/images/assets/thumb/medium/thumb1.png b/www/themes/intranet/images/assets/thumb/medium/thumb1.png
new file mode 100644
index 0000000..90e20d2
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/medium/thumb1.png differ
diff --git a/www/themes/intranet/images/assets/thumb/medium/thumb2.png b/www/themes/intranet/images/assets/thumb/medium/thumb2.png
new file mode 100644
index 0000000..93424c3
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/medium/thumb2.png differ
diff --git a/www/themes/intranet/images/assets/thumb/medium/thumb3.png b/www/themes/intranet/images/assets/thumb/medium/thumb3.png
new file mode 100644
index 0000000..bafbe22
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/medium/thumb3.png differ
diff --git a/www/themes/intranet/images/assets/thumb/medium/thumb4.png b/www/themes/intranet/images/assets/thumb/medium/thumb4.png
new file mode 100644
index 0000000..10e4182
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/medium/thumb4.png differ
diff --git a/www/themes/intranet/images/assets/thumb/medium/thumb5.png b/www/themes/intranet/images/assets/thumb/medium/thumb5.png
new file mode 100644
index 0000000..8bc2afd
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/medium/thumb5.png differ
diff --git a/www/themes/intranet/images/assets/thumb/medium/thumb6.png b/www/themes/intranet/images/assets/thumb/medium/thumb6.png
new file mode 100644
index 0000000..063e5f2
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/medium/thumb6.png differ
diff --git a/www/themes/intranet/images/assets/thumb/medium/thumb7.png b/www/themes/intranet/images/assets/thumb/medium/thumb7.png
new file mode 100644
index 0000000..f25df11
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/medium/thumb7.png differ
diff --git a/www/themes/intranet/images/assets/thumb/medium/thumb8.png b/www/themes/intranet/images/assets/thumb/medium/thumb8.png
new file mode 100644
index 0000000..2b5580d
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/medium/thumb8.png differ
diff --git a/www/themes/intranet/images/assets/thumb/medium/thumb9.png b/www/themes/intranet/images/assets/thumb/medium/thumb9.png
new file mode 100644
index 0000000..cb7aad9
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/medium/thumb9.png differ
diff --git a/www/themes/intranet/images/assets/thumb/small/thumb1.png b/www/themes/intranet/images/assets/thumb/small/thumb1.png
new file mode 100644
index 0000000..8adb0f4
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/small/thumb1.png differ
diff --git a/www/themes/intranet/images/assets/thumb/small/thumb2.png b/www/themes/intranet/images/assets/thumb/small/thumb2.png
new file mode 100644
index 0000000..07d33ba
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/small/thumb2.png differ
diff --git a/www/themes/intranet/images/assets/thumb/small/thumb3.png b/www/themes/intranet/images/assets/thumb/small/thumb3.png
new file mode 100644
index 0000000..b235cb8
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/small/thumb3.png differ
diff --git a/www/themes/intranet/images/assets/thumb/small/thumb4.png b/www/themes/intranet/images/assets/thumb/small/thumb4.png
new file mode 100644
index 0000000..3e3bd26
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/small/thumb4.png differ
diff --git a/www/themes/intranet/images/assets/thumb/small/thumb5.png b/www/themes/intranet/images/assets/thumb/small/thumb5.png
new file mode 100644
index 0000000..1c00331
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/small/thumb5.png differ
diff --git a/www/themes/intranet/images/assets/thumb/small/thumb6.png b/www/themes/intranet/images/assets/thumb/small/thumb6.png
new file mode 100644
index 0000000..1bfbdaf
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/small/thumb6.png differ
diff --git a/www/themes/intranet/images/assets/thumb/small/thumb7.png b/www/themes/intranet/images/assets/thumb/small/thumb7.png
new file mode 100644
index 0000000..d0f5a37
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/small/thumb7.png differ
diff --git a/www/themes/intranet/images/assets/thumb/small/thumb8.png b/www/themes/intranet/images/assets/thumb/small/thumb8.png
new file mode 100644
index 0000000..09a5665
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/small/thumb8.png differ
diff --git a/www/themes/intranet/images/assets/thumb/small/thumb9.png b/www/themes/intranet/images/assets/thumb/small/thumb9.png
new file mode 100644
index 0000000..7586512
Binary files /dev/null and b/www/themes/intranet/images/assets/thumb/small/thumb9.png differ
diff --git a/www/themes/intranet/images/avatar.png b/www/themes/intranet/images/avatar.png
new file mode 100644
index 0000000..ea1b4a7
Binary files /dev/null and b/www/themes/intranet/images/avatar.png differ
diff --git a/www/themes/intranet/images/barbg.png b/www/themes/intranet/images/barbg.png
new file mode 100644
index 0000000..cf46147
Binary files /dev/null and b/www/themes/intranet/images/barbg.png differ
diff --git a/www/themes/intranet/images/bgbutton4.png b/www/themes/intranet/images/bgbutton4.png
new file mode 100644
index 0000000..6cef0f8
Binary files /dev/null and b/www/themes/intranet/images/bgbutton4.png differ
diff --git a/www/themes/intranet/images/bgbutton5.png b/www/themes/intranet/images/bgbutton5.png
new file mode 100644
index 0000000..347d122
Binary files /dev/null and b/www/themes/intranet/images/bgbutton5.png differ
diff --git a/www/themes/intranet/images/blacktrans.png b/www/themes/intranet/images/blacktrans.png
new file mode 100644
index 0000000..61cb1b4
Binary files /dev/null and b/www/themes/intranet/images/blacktrans.png differ
diff --git a/www/themes/intranet/images/blacktrans1.png b/www/themes/intranet/images/blacktrans1.png
new file mode 100644
index 0000000..7b50aff
Binary files /dev/null and b/www/themes/intranet/images/blacktrans1.png differ
diff --git a/www/themes/intranet/images/blacktrans2.png b/www/themes/intranet/images/blacktrans2.png
new file mode 100644
index 0000000..528d21c
Binary files /dev/null and b/www/themes/intranet/images/blacktrans2.png differ
diff --git a/www/themes/intranet/images/bluetrans.png b/www/themes/intranet/images/bluetrans.png
new file mode 100644
index 0000000..b77487f
Binary files /dev/null and b/www/themes/intranet/images/bluetrans.png differ
diff --git a/www/themes/intranet/images/borderwhite.png b/www/themes/intranet/images/borderwhite.png
new file mode 100644
index 0000000..7d7452b
Binary files /dev/null and b/www/themes/intranet/images/borderwhite.png differ
diff --git a/www/themes/intranet/images/buttonbg.png b/www/themes/intranet/images/buttonbg.png
new file mode 100644
index 0000000..fd78fd0
Binary files /dev/null and b/www/themes/intranet/images/buttonbg.png differ
diff --git a/www/themes/intranet/images/buttonbg2.png b/www/themes/intranet/images/buttonbg2.png
new file mode 100644
index 0000000..dc0a82f
Binary files /dev/null and b/www/themes/intranet/images/buttonbg2.png differ
diff --git a/www/themes/intranet/images/buttonbg3.png b/www/themes/intranet/images/buttonbg3.png
new file mode 100644
index 0000000..d7ad79e
Binary files /dev/null and b/www/themes/intranet/images/buttonbg3.png differ
diff --git a/www/themes/intranet/images/buttonbg5.png b/www/themes/intranet/images/buttonbg5.png
new file mode 100644
index 0000000..9d847f2
Binary files /dev/null and b/www/themes/intranet/images/buttonbg5.png differ
diff --git a/www/themes/intranet/images/buttonbg6.png b/www/themes/intranet/images/buttonbg6.png
new file mode 100644
index 0000000..1fef736
Binary files /dev/null and b/www/themes/intranet/images/buttonbg6.png differ
diff --git a/www/themes/intranet/images/buttons/button_black.png b/www/themes/intranet/images/buttons/button_black.png
new file mode 100644
index 0000000..4c5681a
Binary files /dev/null and b/www/themes/intranet/images/buttons/button_black.png differ
diff --git a/www/themes/intranet/images/buttons/button_blue.png b/www/themes/intranet/images/buttons/button_blue.png
new file mode 100644
index 0000000..26d71bc
Binary files /dev/null and b/www/themes/intranet/images/buttons/button_blue.png differ
diff --git a/www/themes/intranet/images/buttons/button_brown.png b/www/themes/intranet/images/buttons/button_brown.png
new file mode 100644
index 0000000..42896bd
Binary files /dev/null and b/www/themes/intranet/images/buttons/button_brown.png differ
diff --git a/www/themes/intranet/images/buttons/button_green.png b/www/themes/intranet/images/buttons/button_green.png
new file mode 100644
index 0000000..5b47586
Binary files /dev/null and b/www/themes/intranet/images/buttons/button_green.png differ
diff --git a/www/themes/intranet/images/buttons/button_lblue.png b/www/themes/intranet/images/buttons/button_lblue.png
new file mode 100644
index 0000000..9856957
Binary files /dev/null and b/www/themes/intranet/images/buttons/button_lblue.png differ
diff --git a/www/themes/intranet/images/buttons/button_red.png b/www/themes/intranet/images/buttons/button_red.png
new file mode 100644
index 0000000..128fe82
Binary files /dev/null and b/www/themes/intranet/images/buttons/button_red.png differ
diff --git a/www/themes/intranet/images/buttons/button_white.png b/www/themes/intranet/images/buttons/button_white.png
new file mode 100644
index 0000000..daf6eee
Binary files /dev/null and b/www/themes/intranet/images/buttons/button_white.png differ
diff --git a/www/themes/intranet/images/buttons/button_yellow.png b/www/themes/intranet/images/buttons/button_yellow.png
new file mode 100644
index 0000000..0d44cb2
Binary files /dev/null and b/www/themes/intranet/images/buttons/button_yellow.png differ
diff --git a/www/themes/intranet/images/colorbox/controls.png b/www/themes/intranet/images/colorbox/controls.png
new file mode 100644
index 0000000..e1e9798
Binary files /dev/null and b/www/themes/intranet/images/colorbox/controls.png differ
diff --git a/www/themes/intranet/images/colorbox/loading.gif b/www/themes/intranet/images/colorbox/loading.gif
new file mode 100644
index 0000000..19c67bb
Binary files /dev/null and b/www/themes/intranet/images/colorbox/loading.gif differ
diff --git a/www/themes/intranet/images/colorpicker.png b/www/themes/intranet/images/colorpicker.png
new file mode 100644
index 0000000..ff3dfe9
Binary files /dev/null and b/www/themes/intranet/images/colorpicker.png differ
diff --git a/www/themes/intranet/images/colorpicker/Thumbs.db b/www/themes/intranet/images/colorpicker/Thumbs.db
new file mode 100644
index 0000000..d396c36
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/Thumbs.db differ
diff --git a/www/themes/intranet/images/colorpicker/blank.gif b/www/themes/intranet/images/colorpicker/blank.gif
new file mode 100644
index 0000000..75b945d
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/blank.gif differ
diff --git a/www/themes/intranet/images/colorpicker/colorpicker_background.png b/www/themes/intranet/images/colorpicker/colorpicker_background.png
new file mode 100644
index 0000000..8401572
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/colorpicker_background.png differ
diff --git a/www/themes/intranet/images/colorpicker/colorpicker_hex.png b/www/themes/intranet/images/colorpicker/colorpicker_hex.png
new file mode 100644
index 0000000..4e532d7
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/colorpicker_hex.png differ
diff --git a/www/themes/intranet/images/colorpicker/colorpicker_hsb_b.png b/www/themes/intranet/images/colorpicker/colorpicker_hsb_b.png
new file mode 100644
index 0000000..dfac595
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/colorpicker_hsb_b.png differ
diff --git a/www/themes/intranet/images/colorpicker/colorpicker_hsb_h.png b/www/themes/intranet/images/colorpicker/colorpicker_hsb_h.png
new file mode 100644
index 0000000..3977ed9
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/colorpicker_hsb_h.png differ
diff --git a/www/themes/intranet/images/colorpicker/colorpicker_hsb_s.png b/www/themes/intranet/images/colorpicker/colorpicker_hsb_s.png
new file mode 100644
index 0000000..a2a6997
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/colorpicker_hsb_s.png differ
diff --git a/www/themes/intranet/images/colorpicker/colorpicker_indic.gif b/www/themes/intranet/images/colorpicker/colorpicker_indic.gif
new file mode 100644
index 0000000..f9fa95e
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/colorpicker_indic.gif differ
diff --git a/www/themes/intranet/images/colorpicker/colorpicker_overlay.png b/www/themes/intranet/images/colorpicker/colorpicker_overlay.png
new file mode 100644
index 0000000..561cdd9
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/colorpicker_overlay.png differ
diff --git a/www/themes/intranet/images/colorpicker/colorpicker_rgb_b.png b/www/themes/intranet/images/colorpicker/colorpicker_rgb_b.png
new file mode 100644
index 0000000..dfac595
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/colorpicker_rgb_b.png differ
diff --git a/www/themes/intranet/images/colorpicker/colorpicker_rgb_g.png b/www/themes/intranet/images/colorpicker/colorpicker_rgb_g.png
new file mode 100644
index 0000000..72b3276
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/colorpicker_rgb_g.png differ
diff --git a/www/themes/intranet/images/colorpicker/colorpicker_rgb_r.png b/www/themes/intranet/images/colorpicker/colorpicker_rgb_r.png
new file mode 100644
index 0000000..4855fe0
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/colorpicker_rgb_r.png differ
diff --git a/www/themes/intranet/images/colorpicker/colorpicker_select.gif b/www/themes/intranet/images/colorpicker/colorpicker_select.gif
new file mode 100644
index 0000000..599f7f1
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/colorpicker_select.gif differ
diff --git a/www/themes/intranet/images/colorpicker/colorpicker_submit.png b/www/themes/intranet/images/colorpicker/colorpicker_submit.png
new file mode 100644
index 0000000..7f4c082
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/colorpicker_submit.png differ
diff --git a/www/themes/intranet/images/colorpicker/custom_background.png b/www/themes/intranet/images/colorpicker/custom_background.png
new file mode 100644
index 0000000..cf55ffd
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/custom_background.png differ
diff --git a/www/themes/intranet/images/colorpicker/custom_hex.png b/www/themes/intranet/images/colorpicker/custom_hex.png
new file mode 100644
index 0000000..888f444
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/custom_hex.png differ
diff --git a/www/themes/intranet/images/colorpicker/custom_hsb_b.png b/www/themes/intranet/images/colorpicker/custom_hsb_b.png
new file mode 100644
index 0000000..2f99dae
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/custom_hsb_b.png differ
diff --git a/www/themes/intranet/images/colorpicker/custom_hsb_h.png b/www/themes/intranet/images/colorpicker/custom_hsb_h.png
new file mode 100644
index 0000000..a217e92
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/custom_hsb_h.png differ
diff --git a/www/themes/intranet/images/colorpicker/custom_hsb_s.png b/www/themes/intranet/images/colorpicker/custom_hsb_s.png
new file mode 100644
index 0000000..7826b41
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/custom_hsb_s.png differ
diff --git a/www/themes/intranet/images/colorpicker/custom_indic.gif b/www/themes/intranet/images/colorpicker/custom_indic.gif
new file mode 100644
index 0000000..222fb94
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/custom_indic.gif differ
diff --git a/www/themes/intranet/images/colorpicker/custom_rgb_b.png b/www/themes/intranet/images/colorpicker/custom_rgb_b.png
new file mode 100644
index 0000000..80764e5
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/custom_rgb_b.png differ
diff --git a/www/themes/intranet/images/colorpicker/custom_rgb_g.png b/www/themes/intranet/images/colorpicker/custom_rgb_g.png
new file mode 100644
index 0000000..fc9778b
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/custom_rgb_g.png differ
diff --git a/www/themes/intranet/images/colorpicker/custom_rgb_r.png b/www/themes/intranet/images/colorpicker/custom_rgb_r.png
new file mode 100644
index 0000000..91b0cd4
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/custom_rgb_r.png differ
diff --git a/www/themes/intranet/images/colorpicker/custom_submit.png b/www/themes/intranet/images/colorpicker/custom_submit.png
new file mode 100644
index 0000000..cd202cd
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/custom_submit.png differ
diff --git a/www/themes/intranet/images/colorpicker/select.png b/www/themes/intranet/images/colorpicker/select.png
new file mode 100644
index 0000000..21213bf
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/select.png differ
diff --git a/www/themes/intranet/images/colorpicker/select2.png b/www/themes/intranet/images/colorpicker/select2.png
new file mode 100644
index 0000000..2cd2cab
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/select2.png differ
diff --git a/www/themes/intranet/images/colorpicker/slider.png b/www/themes/intranet/images/colorpicker/slider.png
new file mode 100644
index 0000000..8b03da9
Binary files /dev/null and b/www/themes/intranet/images/colorpicker/slider.png differ
diff --git a/www/themes/intranet/images/filemanager/icons-big.png b/www/themes/intranet/images/filemanager/icons-big.png
new file mode 100644
index 0000000..923a832
Binary files /dev/null and b/www/themes/intranet/images/filemanager/icons-big.png differ
diff --git a/www/themes/intranet/images/filemanager/icons-small.png b/www/themes/intranet/images/filemanager/icons-small.png
new file mode 100644
index 0000000..746c399
Binary files /dev/null and b/www/themes/intranet/images/filemanager/icons-small.png differ
diff --git a/www/themes/intranet/images/filemanager/ql.png b/www/themes/intranet/images/filemanager/ql.png
new file mode 100644
index 0000000..aedeadd
Binary files /dev/null and b/www/themes/intranet/images/filemanager/ql.png differ
diff --git a/www/themes/intranet/images/filemanager/spinner.gif b/www/themes/intranet/images/filemanager/spinner.gif
new file mode 100644
index 0000000..d84f653
Binary files /dev/null and b/www/themes/intranet/images/filemanager/spinner.gif differ
diff --git a/www/themes/intranet/images/filemanager/toolbar.png b/www/themes/intranet/images/filemanager/toolbar.png
new file mode 100644
index 0000000..ef48931
Binary files /dev/null and b/www/themes/intranet/images/filemanager/toolbar.png differ
diff --git a/www/themes/intranet/images/gradcircle.png b/www/themes/intranet/images/gradcircle.png
new file mode 100644
index 0000000..97df141
Binary files /dev/null and b/www/themes/intranet/images/gradcircle.png differ
diff --git a/www/themes/intranet/images/headbutton.png b/www/themes/intranet/images/headbutton.png
new file mode 100644
index 0000000..1722778
Binary files /dev/null and b/www/themes/intranet/images/headbutton.png differ
diff --git a/www/themes/intranet/images/help.gif b/www/themes/intranet/images/help.gif
new file mode 100644
index 0000000..3b51425
Binary files /dev/null and b/www/themes/intranet/images/help.gif differ
diff --git a/www/themes/intranet/images/icons/404.png b/www/themes/intranet/images/icons/404.png
new file mode 100644
index 0000000..d5fcf76
Binary files /dev/null and b/www/themes/intranet/images/icons/404.png differ
diff --git a/www/themes/intranet/images/icons/buttons.png b/www/themes/intranet/images/icons/buttons.png
new file mode 100644
index 0000000..bf602e9
Binary files /dev/null and b/www/themes/intranet/images/icons/buttons.png differ
diff --git a/www/themes/intranet/images/icons/cal.png b/www/themes/intranet/images/icons/cal.png
new file mode 100644
index 0000000..364baa4
Binary files /dev/null and b/www/themes/intranet/images/icons/cal.png differ
diff --git a/www/themes/intranet/images/icons/calarrow.png b/www/themes/intranet/images/icons/calarrow.png
new file mode 100644
index 0000000..41d7307
Binary files /dev/null and b/www/themes/intranet/images/icons/calarrow.png differ
diff --git a/www/themes/intranet/images/icons/calendar.png b/www/themes/intranet/images/icons/calendar.png
new file mode 100644
index 0000000..a2bb3a4
Binary files /dev/null and b/www/themes/intranet/images/icons/calendar.png differ
diff --git a/www/themes/intranet/images/icons/candidatos.png b/www/themes/intranet/images/icons/candidatos.png
new file mode 100644
index 0000000..a5a4449
Binary files /dev/null and b/www/themes/intranet/images/icons/candidatos.png differ
diff --git a/www/themes/intranet/images/icons/close.png b/www/themes/intranet/images/icons/close.png
new file mode 100644
index 0000000..1b20e8b
Binary files /dev/null and b/www/themes/intranet/images/icons/close.png differ
diff --git a/www/themes/intranet/images/icons/createreport.png b/www/themes/intranet/images/icons/createreport.png
new file mode 100644
index 0000000..5b021b8
Binary files /dev/null and b/www/themes/intranet/images/icons/createreport.png differ
diff --git a/www/themes/intranet/images/icons/dashboard.png b/www/themes/intranet/images/icons/dashboard.png
new file mode 100644
index 0000000..37dc71a
Binary files /dev/null and b/www/themes/intranet/images/icons/dashboard.png differ
diff --git a/www/themes/intranet/images/icons/document.png b/www/themes/intranet/images/icons/document.png
new file mode 100644
index 0000000..1237ceb
Binary files /dev/null and b/www/themes/intranet/images/icons/document.png differ
diff --git a/www/themes/intranet/images/icons/editor.png b/www/themes/intranet/images/icons/editor.png
new file mode 100644
index 0000000..0327f06
Binary files /dev/null and b/www/themes/intranet/images/icons/editor.png differ
diff --git a/www/themes/intranet/images/icons/elements.png b/www/themes/intranet/images/icons/elements.png
new file mode 100644
index 0000000..60f2ac8
Binary files /dev/null and b/www/themes/intranet/images/icons/elements.png differ
diff --git a/www/themes/intranet/images/icons/error.png b/www/themes/intranet/images/icons/error.png
new file mode 100644
index 0000000..44a7dd6
Binary files /dev/null and b/www/themes/intranet/images/icons/error.png differ
diff --git a/www/themes/intranet/images/icons/file.png b/www/themes/intranet/images/icons/file.png
new file mode 100644
index 0000000..6f64195
Binary files /dev/null and b/www/themes/intranet/images/icons/file.png differ
diff --git a/www/themes/intranet/images/icons/form.png b/www/themes/intranet/images/icons/form.png
new file mode 100644
index 0000000..5a8909e
Binary files /dev/null and b/www/themes/intranet/images/icons/form.png differ
diff --git a/www/themes/intranet/images/icons/gallery.png b/www/themes/intranet/images/icons/gallery.png
new file mode 100644
index 0000000..15600f3
Binary files /dev/null and b/www/themes/intranet/images/icons/gallery.png differ
diff --git a/www/themes/intranet/images/icons/grid.png b/www/themes/intranet/images/icons/grid.png
new file mode 100644
index 0000000..62b0c4a
Binary files /dev/null and b/www/themes/intranet/images/icons/grid.png differ
diff --git a/www/themes/intranet/images/icons/hbutton.png b/www/themes/intranet/images/icons/hbutton.png
new file mode 100644
index 0000000..c4c006f
Binary files /dev/null and b/www/themes/intranet/images/icons/hbutton.png differ
diff --git a/www/themes/intranet/images/icons/home.png b/www/themes/intranet/images/icons/home.png
new file mode 100644
index 0000000..a05243a
Binary files /dev/null and b/www/themes/intranet/images/icons/home.png differ
diff --git a/www/themes/intranet/images/icons/homesmall.png b/www/themes/intranet/images/icons/homesmall.png
new file mode 100644
index 0000000..39ff2ea
Binary files /dev/null and b/www/themes/intranet/images/icons/homesmall.png differ
diff --git a/www/themes/intranet/images/icons/info.png b/www/themes/intranet/images/icons/info.png
new file mode 100644
index 0000000..66b0da2
Binary files /dev/null and b/www/themes/intranet/images/icons/info.png differ
diff --git a/www/themes/intranet/images/icons/mail.png b/www/themes/intranet/images/icons/mail.png
new file mode 100644
index 0000000..e478d24
Binary files /dev/null and b/www/themes/intranet/images/icons/mail.png differ
diff --git a/www/themes/intranet/images/icons/media.png b/www/themes/intranet/images/icons/media.png
new file mode 100644
index 0000000..edb6a15
Binary files /dev/null and b/www/themes/intranet/images/icons/media.png differ
diff --git a/www/themes/intranet/images/icons/message.png b/www/themes/intranet/images/icons/message.png
new file mode 100644
index 0000000..e90330a
Binary files /dev/null and b/www/themes/intranet/images/icons/message.png differ
diff --git a/www/themes/intranet/images/icons/notification.png b/www/themes/intranet/images/icons/notification.png
new file mode 100644
index 0000000..4dcfc30
Binary files /dev/null and b/www/themes/intranet/images/icons/notification.png differ
diff --git a/www/themes/intranet/images/icons/reports.png b/www/themes/intranet/images/icons/reports.png
new file mode 100644
index 0000000..568699b
Binary files /dev/null and b/www/themes/intranet/images/icons/reports.png differ
diff --git a/www/themes/intranet/images/icons/small/black/calendar.png b/www/themes/intranet/images/icons/small/black/calendar.png
new file mode 100644
index 0000000..2eeb514
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/calendar.png differ
diff --git a/www/themes/intranet/images/icons/small/black/chat.png b/www/themes/intranet/images/icons/small/black/chat.png
new file mode 100644
index 0000000..971d204
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/chat.png differ
diff --git a/www/themes/intranet/images/icons/small/black/check.png b/www/themes/intranet/images/icons/small/black/check.png
new file mode 100644
index 0000000..79ffbe4
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/check.png differ
diff --git a/www/themes/intranet/images/icons/small/black/close.png b/www/themes/intranet/images/icons/small/black/close.png
new file mode 100644
index 0000000..7a666b0
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/close.png differ
diff --git a/www/themes/intranet/images/icons/small/black/contact.png b/www/themes/intranet/images/icons/small/black/contact.png
new file mode 100644
index 0000000..8713b85
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/contact.png differ
diff --git a/www/themes/intranet/images/icons/small/black/document.png b/www/themes/intranet/images/icons/small/black/document.png
new file mode 100644
index 0000000..59b9bca
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/document.png differ
diff --git a/www/themes/intranet/images/icons/small/black/edit.png b/www/themes/intranet/images/icons/small/black/edit.png
new file mode 100644
index 0000000..6ea45f2
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/edit.png differ
diff --git a/www/themes/intranet/images/icons/small/black/mail.png b/www/themes/intranet/images/icons/small/black/mail.png
new file mode 100644
index 0000000..a1128ad
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/mail.png differ
diff --git a/www/themes/intranet/images/icons/small/black/minus.png b/www/themes/intranet/images/icons/small/black/minus.png
new file mode 100644
index 0000000..f4c3b4a
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/minus.png differ
diff --git a/www/themes/intranet/images/icons/small/black/music.png b/www/themes/intranet/images/icons/small/black/music.png
new file mode 100644
index 0000000..278912b
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/music.png differ
diff --git a/www/themes/intranet/images/icons/small/black/people.png b/www/themes/intranet/images/icons/small/black/people.png
new file mode 100644
index 0000000..83729b7
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/people.png differ
diff --git a/www/themes/intranet/images/icons/small/black/plus.png b/www/themes/intranet/images/icons/small/black/plus.png
new file mode 100644
index 0000000..2ec3d31
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/plus.png differ
diff --git a/www/themes/intranet/images/icons/small/black/save.png b/www/themes/intranet/images/icons/small/black/save.png
new file mode 100644
index 0000000..6a3aa1a
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/save.png differ
diff --git a/www/themes/intranet/images/icons/small/black/search.png b/www/themes/intranet/images/icons/small/black/search.png
new file mode 100644
index 0000000..44c031d
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/search.png differ
diff --git a/www/themes/intranet/images/icons/small/black/settings.png b/www/themes/intranet/images/icons/small/black/settings.png
new file mode 100644
index 0000000..51e89a0
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/settings.png differ
diff --git a/www/themes/intranet/images/icons/small/black/star.png b/www/themes/intranet/images/icons/small/black/star.png
new file mode 100644
index 0000000..59ec25a
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/star.png differ
diff --git a/www/themes/intranet/images/icons/small/black/tag.png b/www/themes/intranet/images/icons/small/black/tag.png
new file mode 100644
index 0000000..854af40
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/tag.png differ
diff --git a/www/themes/intranet/images/icons/small/black/user.png b/www/themes/intranet/images/icons/small/black/user.png
new file mode 100644
index 0000000..e9e73af
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/user.png differ
diff --git a/www/themes/intranet/images/icons/small/black/video.png b/www/themes/intranet/images/icons/small/black/video.png
new file mode 100644
index 0000000..befbfe3
Binary files /dev/null and b/www/themes/intranet/images/icons/small/black/video.png differ
diff --git a/www/themes/intranet/images/icons/small/white/calendar.png b/www/themes/intranet/images/icons/small/white/calendar.png
new file mode 100644
index 0000000..0b64bfb
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/calendar.png differ
diff --git a/www/themes/intranet/images/icons/small/white/chat.png b/www/themes/intranet/images/icons/small/white/chat.png
new file mode 100644
index 0000000..0a13f72
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/chat.png differ
diff --git a/www/themes/intranet/images/icons/small/white/check.png b/www/themes/intranet/images/icons/small/white/check.png
new file mode 100644
index 0000000..724a564
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/check.png differ
diff --git a/www/themes/intranet/images/icons/small/white/close.png b/www/themes/intranet/images/icons/small/white/close.png
new file mode 100644
index 0000000..be88245
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/close.png differ
diff --git a/www/themes/intranet/images/icons/small/white/contact.png b/www/themes/intranet/images/icons/small/white/contact.png
new file mode 100644
index 0000000..e6f510d
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/contact.png differ
diff --git a/www/themes/intranet/images/icons/small/white/document.png b/www/themes/intranet/images/icons/small/white/document.png
new file mode 100644
index 0000000..04b492b
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/document.png differ
diff --git a/www/themes/intranet/images/icons/small/white/edit.png b/www/themes/intranet/images/icons/small/white/edit.png
new file mode 100644
index 0000000..62ed626
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/edit.png differ
diff --git a/www/themes/intranet/images/icons/small/white/mail.png b/www/themes/intranet/images/icons/small/white/mail.png
new file mode 100644
index 0000000..4840a5c
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/mail.png differ
diff --git a/www/themes/intranet/images/icons/small/white/minus.png b/www/themes/intranet/images/icons/small/white/minus.png
new file mode 100644
index 0000000..7152a70
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/minus.png differ
diff --git a/www/themes/intranet/images/icons/small/white/music.png b/www/themes/intranet/images/icons/small/white/music.png
new file mode 100644
index 0000000..042a01a
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/music.png differ
diff --git a/www/themes/intranet/images/icons/small/white/people.png b/www/themes/intranet/images/icons/small/white/people.png
new file mode 100644
index 0000000..d934670
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/people.png differ
diff --git a/www/themes/intranet/images/icons/small/white/plus.png b/www/themes/intranet/images/icons/small/white/plus.png
new file mode 100644
index 0000000..9f939cf
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/plus.png differ
diff --git a/www/themes/intranet/images/icons/small/white/save.png b/www/themes/intranet/images/icons/small/white/save.png
new file mode 100644
index 0000000..561470f
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/save.png differ
diff --git a/www/themes/intranet/images/icons/small/white/search.png b/www/themes/intranet/images/icons/small/white/search.png
new file mode 100644
index 0000000..e4af1d9
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/search.png differ
diff --git a/www/themes/intranet/images/icons/small/white/settings.png b/www/themes/intranet/images/icons/small/white/settings.png
new file mode 100644
index 0000000..78b26b9
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/settings.png differ
diff --git a/www/themes/intranet/images/icons/small/white/star.png b/www/themes/intranet/images/icons/small/white/star.png
new file mode 100644
index 0000000..79fcafd
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/star.png differ
diff --git a/www/themes/intranet/images/icons/small/white/tag.png b/www/themes/intranet/images/icons/small/white/tag.png
new file mode 100644
index 0000000..89fb71d
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/tag.png differ
diff --git a/www/themes/intranet/images/icons/small/white/user.png b/www/themes/intranet/images/icons/small/white/user.png
new file mode 100644
index 0000000..c459a6a
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/user.png differ
diff --git a/www/themes/intranet/images/icons/small/white/video.png b/www/themes/intranet/images/icons/small/white/video.png
new file mode 100644
index 0000000..2df8c5a
Binary files /dev/null and b/www/themes/intranet/images/icons/small/white/video.png differ
diff --git a/www/themes/intranet/images/icons/statistics.png b/www/themes/intranet/images/icons/statistics.png
new file mode 100644
index 0000000..1e62bb3
Binary files /dev/null and b/www/themes/intranet/images/icons/statistics.png differ
diff --git a/www/themes/intranet/images/icons/success.png b/www/themes/intranet/images/icons/success.png
new file mode 100644
index 0000000..f036793
Binary files /dev/null and b/www/themes/intranet/images/icons/success.png differ
diff --git a/www/themes/intranet/images/icons/table.png b/www/themes/intranet/images/icons/table.png
new file mode 100644
index 0000000..bffeba1
Binary files /dev/null and b/www/themes/intranet/images/icons/table.png differ
diff --git a/www/themes/intranet/images/icons/trash.png b/www/themes/intranet/images/icons/trash.png
new file mode 100644
index 0000000..a23787b
Binary files /dev/null and b/www/themes/intranet/images/icons/trash.png differ
diff --git a/www/themes/intranet/images/icons/users.png b/www/themes/intranet/images/icons/users.png
new file mode 100644
index 0000000..b464426
Binary files /dev/null and b/www/themes/intranet/images/icons/users.png differ
diff --git a/www/themes/intranet/images/icons/vbutton.png b/www/themes/intranet/images/icons/vbutton.png
new file mode 100644
index 0000000..a80b000
Binary files /dev/null and b/www/themes/intranet/images/icons/vbutton.png differ
diff --git a/www/themes/intranet/images/icons/warning.png b/www/themes/intranet/images/icons/warning.png
new file mode 100644
index 0000000..948b59f
Binary files /dev/null and b/www/themes/intranet/images/icons/warning.png differ
diff --git a/www/themes/intranet/images/imghover.png b/www/themes/intranet/images/imghover.png
new file mode 100644
index 0000000..0b73c7f
Binary files /dev/null and b/www/themes/intranet/images/imghover.png differ
diff --git a/www/themes/intranet/images/important.gif b/www/themes/intranet/images/important.gif
new file mode 100644
index 0000000..41d4943
Binary files /dev/null and b/www/themes/intranet/images/important.gif differ
diff --git a/www/themes/intranet/images/info.gif b/www/themes/intranet/images/info.gif
new file mode 100644
index 0000000..c81828d
Binary files /dev/null and b/www/themes/intranet/images/info.gif differ
diff --git a/www/themes/intranet/images/jquery.wysiwyg.gif b/www/themes/intranet/images/jquery.wysiwyg.gif
new file mode 100644
index 0000000..3daed50
Binary files /dev/null and b/www/themes/intranet/images/jquery.wysiwyg.gif differ
diff --git a/www/themes/intranet/images/leftbg.png b/www/themes/intranet/images/leftbg.png
new file mode 100644
index 0000000..535c652
Binary files /dev/null and b/www/themes/intranet/images/leftbg.png differ
diff --git a/www/themes/intranet/images/loaders/loader1.gif b/www/themes/intranet/images/loaders/loader1.gif
new file mode 100644
index 0000000..26bb9e7
Binary files /dev/null and b/www/themes/intranet/images/loaders/loader1.gif differ
diff --git a/www/themes/intranet/images/loaders/loader10.gif b/www/themes/intranet/images/loaders/loader10.gif
new file mode 100644
index 0000000..b327795
Binary files /dev/null and b/www/themes/intranet/images/loaders/loader10.gif differ
diff --git a/www/themes/intranet/images/loaders/loader2.gif b/www/themes/intranet/images/loaders/loader2.gif
new file mode 100644
index 0000000..54b54a9
Binary files /dev/null and b/www/themes/intranet/images/loaders/loader2.gif differ
diff --git a/www/themes/intranet/images/loaders/loader3.gif b/www/themes/intranet/images/loaders/loader3.gif
new file mode 100644
index 0000000..c111c62
Binary files /dev/null and b/www/themes/intranet/images/loaders/loader3.gif differ
diff --git a/www/themes/intranet/images/loaders/loader4.gif b/www/themes/intranet/images/loaders/loader4.gif
new file mode 100644
index 0000000..4df287b
Binary files /dev/null and b/www/themes/intranet/images/loaders/loader4.gif differ
diff --git a/www/themes/intranet/images/loaders/loader5.gif b/www/themes/intranet/images/loaders/loader5.gif
new file mode 100644
index 0000000..c1b8624
Binary files /dev/null and b/www/themes/intranet/images/loaders/loader5.gif differ
diff --git a/www/themes/intranet/images/loaders/loader6.gif b/www/themes/intranet/images/loaders/loader6.gif
new file mode 100644
index 0000000..bd6ea7b
Binary files /dev/null and b/www/themes/intranet/images/loaders/loader6.gif differ
diff --git a/www/themes/intranet/images/loaders/loader7.gif b/www/themes/intranet/images/loaders/loader7.gif
new file mode 100644
index 0000000..9669d83
Binary files /dev/null and b/www/themes/intranet/images/loaders/loader7.gif differ
diff --git a/www/themes/intranet/images/loaders/loader8.gif b/www/themes/intranet/images/loaders/loader8.gif
new file mode 100644
index 0000000..9256b2c
Binary files /dev/null and b/www/themes/intranet/images/loaders/loader8.gif differ
diff --git a/www/themes/intranet/images/loaders/loader9.gif b/www/themes/intranet/images/loaders/loader9.gif
new file mode 100644
index 0000000..075a436
Binary files /dev/null and b/www/themes/intranet/images/loaders/loader9.gif differ
diff --git a/www/themes/intranet/images/loginbox.png b/www/themes/intranet/images/loginbox.png
new file mode 100644
index 0000000..6cd4e11
Binary files /dev/null and b/www/themes/intranet/images/loginbox.png differ
diff --git a/www/themes/intranet/images/logo.png b/www/themes/intranet/images/logo.png
new file mode 100644
index 0000000..7808a37
Binary files /dev/null and b/www/themes/intranet/images/logo.png differ
diff --git a/www/themes/intranet/images/logo2.png b/www/themes/intranet/images/logo2.png
new file mode 100644
index 0000000..22dfb11
Binary files /dev/null and b/www/themes/intranet/images/logo2.png differ
diff --git a/www/themes/intranet/images/passwordfield.png b/www/themes/intranet/images/passwordfield.png
new file mode 100644
index 0000000..7aa477d
Binary files /dev/null and b/www/themes/intranet/images/passwordfield.png differ
diff --git a/www/themes/intranet/images/prevnext.png b/www/themes/intranet/images/prevnext.png
new file mode 100644
index 0000000..00091e2
Binary files /dev/null and b/www/themes/intranet/images/prevnext.png differ
diff --git a/www/themes/intranet/images/searchbar.png b/www/themes/intranet/images/searchbar.png
new file mode 100644
index 0000000..08d2a18
Binary files /dev/null and b/www/themes/intranet/images/searchbar.png differ
diff --git a/www/themes/intranet/images/searchicon.png b/www/themes/intranet/images/searchicon.png
new file mode 100644
index 0000000..8ac2534
Binary files /dev/null and b/www/themes/intranet/images/searchicon.png differ
diff --git a/www/themes/intranet/images/separator.png b/www/themes/intranet/images/separator.png
new file mode 100644
index 0000000..1b3e3c9
Binary files /dev/null and b/www/themes/intranet/images/separator.png differ
diff --git a/www/themes/intranet/images/separator2.png b/www/themes/intranet/images/separator2.png
new file mode 100644
index 0000000..f60a514
Binary files /dev/null and b/www/themes/intranet/images/separator2.png differ
diff --git a/www/themes/intranet/images/sort_asc.png b/www/themes/intranet/images/sort_asc.png
new file mode 100644
index 0000000..3ff9d44
Binary files /dev/null and b/www/themes/intranet/images/sort_asc.png differ
diff --git a/www/themes/intranet/images/sort_asc_disabled.png b/www/themes/intranet/images/sort_asc_disabled.png
new file mode 100644
index 0000000..b5ebfea
Binary files /dev/null and b/www/themes/intranet/images/sort_asc_disabled.png differ
diff --git a/www/themes/intranet/images/sort_both.png b/www/themes/intranet/images/sort_both.png
new file mode 100644
index 0000000..be7f07e
Binary files /dev/null and b/www/themes/intranet/images/sort_both.png differ
diff --git a/www/themes/intranet/images/sort_desc.png b/www/themes/intranet/images/sort_desc.png
new file mode 100644
index 0000000..e192841
Binary files /dev/null and b/www/themes/intranet/images/sort_desc.png differ
diff --git a/www/themes/intranet/images/sort_desc_disabled.png b/www/themes/intranet/images/sort_desc_disabled.png
new file mode 100644
index 0000000..d642f31
Binary files /dev/null and b/www/themes/intranet/images/sort_desc_disabled.png differ
diff --git a/www/themes/intranet/images/tabmenubg.png b/www/themes/intranet/images/tabmenubg.png
new file mode 100644
index 0000000..29f018c
Binary files /dev/null and b/www/themes/intranet/images/tabmenubg.png differ
diff --git a/www/themes/intranet/images/texturebg.png b/www/themes/intranet/images/texturebg.png
new file mode 100644
index 0000000..72c4001
Binary files /dev/null and b/www/themes/intranet/images/texturebg.png differ
diff --git a/www/themes/intranet/images/thead.png b/www/themes/intranet/images/thead.png
new file mode 100644
index 0000000..9dbbd08
Binary files /dev/null and b/www/themes/intranet/images/thead.png differ
diff --git a/www/themes/intranet/images/title.gif b/www/themes/intranet/images/title.gif
new file mode 100644
index 0000000..f92b596
Binary files /dev/null and b/www/themes/intranet/images/title.gif differ
diff --git a/www/themes/intranet/images/titlebg.png b/www/themes/intranet/images/titlebg.png
new file mode 100644
index 0000000..c23f628
Binary files /dev/null and b/www/themes/intranet/images/titlebg.png differ
diff --git a/www/themes/intranet/images/toggle.png b/www/themes/intranet/images/toggle.png
new file mode 100644
index 0000000..fa2d44b
Binary files /dev/null and b/www/themes/intranet/images/toggle.png differ
diff --git a/www/themes/intranet/images/toggle2.png b/www/themes/intranet/images/toggle2.png
new file mode 100644
index 0000000..07ace62
Binary files /dev/null and b/www/themes/intranet/images/toggle2.png differ
diff --git a/www/themes/intranet/images/usernamefield.png b/www/themes/intranet/images/usernamefield.png
new file mode 100644
index 0000000..eed0a57
Binary files /dev/null and b/www/themes/intranet/images/usernamefield.png differ
diff --git a/www/themes/intranet/images/viewdelete.png b/www/themes/intranet/images/viewdelete.png
new file mode 100644
index 0000000..dc8de38
Binary files /dev/null and b/www/themes/intranet/images/viewdelete.png differ
diff --git a/www/themes/intranet/js/custom/calendar.js b/www/themes/intranet/js/custom/calendar.js
new file mode 100644
index 0000000..0babdbd
--- /dev/null
+++ b/www/themes/intranet/js/custom/calendar.js
@@ -0,0 +1,55 @@
+jQuery(document).ready(function() {
+ /* initialize the external events */
+ jQuery('#external-events div.external-event').each(function() {
+
+ // create an Event Object (http://arshaw.com/fullcalendar/docs/event_data/Event_Object/)
+ // it doesn't need to have a start or end
+ var eventObject = {
+ title: jQuery.trim(jQuery(this).text()) // use the element's text as the event title
+ };
+
+ // store the Event Object in the DOM element so we can get to it later
+ jQuery(this).data('eventObject', eventObject);
+
+ // make the event draggable using jQuery UI
+ jQuery(this).draggable({
+ zIndex: 999,
+ revert: true, // will cause the event to go back to its
+ revertDuration: 0 // original position after the drag
+ });
+
+ });
+
+
+ /* initialize the calendar */
+ jQuery('#calendar').fullCalendar({
+ header: {
+ left: 'prev,next today',
+ center: 'title',
+ right: 'month,agendaWeek,agendaDay'
+ },
+ editable: true,
+ droppable: true, // this allows things to be dropped onto the calendar !!!
+ drop: function(date, allDay) { // this function is called when something is dropped
+
+ // retrieve the dropped element's stored Event Object
+ var originalEventObject = jQuery(this).data('eventObject');
+
+ // we need to copy it, so that multiple events don't have a reference to the same object
+ var copiedEventObject = jQuery.extend({}, originalEventObject);
+
+ // assign it the date that was reported
+ copiedEventObject.start = date;
+ copiedEventObject.allDay = allDay;
+
+ // render the event on the calendar
+ // the last `true` argument determines if the event "sticks" (http://arshaw.com/fullcalendar/docs/event_rendering/renderEvent/)
+ jQuery('#calendar').fullCalendar('renderEvent', copiedEventObject, true);
+
+ // is the "remove after drop" checkbox checked?
+
+ jQuery(this).remove();
+
+ }
+ });
+});
diff --git a/www/themes/intranet/js/custom/dashboard.js b/www/themes/intranet/js/custom/dashboard.js
new file mode 100644
index 0000000..f59fa3b
--- /dev/null
+++ b/www/themes/intranet/js/custom/dashboard.js
@@ -0,0 +1,85 @@
+ jQuery(document).ready(function () {
+
+
+ //////////// CHARTS /////////////////
+ var flash = [], html5 = [];
+ for (var i = 0; i < 14; i += 0.5) {
+ flash.push([i, Math.sin(i)]);
+ html5.push([i, Math.cos(i)]);
+ }
+
+ function showTooltip(x, y, contents) {
+ jQuery('' + contents + ' ').css( {
+ position: 'absolute',
+ display: 'none',
+ top: y + 5,
+ left: x + 5
+ }).appendTo("body").fadeIn(200);
+ }
+
+
+ var plot = jQuery.plot(jQuery("#chartplace"),
+ [ { data: flash, label: "Flash(x)", color: "#069"}, { data: html5, label: "HTML5(x)", color: "#ff0000"} ], {
+ series: {
+ lines: { show: true },
+ points: { show: true }
+ },
+ grid: { hoverable: true, clickable: true },
+ yaxis: { min: -1.2, max: 1.2 }
+ });
+
+ var previousPoint = null;
+ jQuery("#chartplace").bind("plothover", function (event, pos, item) {
+ jQuery("#x").text(pos.x.toFixed(2));
+ jQuery("#y").text(pos.y.toFixed(2));
+
+ if(item) {
+ if (previousPoint != item.dataIndex) {
+ previousPoint = item.dataIndex;
+
+ jQuery("#tooltip").remove();
+ var x = item.datapoint[0].toFixed(2),
+ y = item.datapoint[1].toFixed(2);
+
+ showTooltip(item.pageX, item.pageY,
+ item.series.label + " of " + x + " = " + y);
+ }
+ }
+ else {
+ jQuery("#tooltip").remove();
+ previousPoint = null;
+ }
+
+ });
+
+ jQuery("#chartplace").bind("plotclick", function (event, pos, item) {
+ if (item) {
+ jQuery("#clickdata").text("You clicked point " + item.dataIndex + " in " + item.series.label + ".");
+ plot.highlight(item.series, item.datapoint);
+ }
+ });
+
+ //////////// TABS /////////////////
+ jQuery( "#tabs" ).tabs();
+
+ //////////// ACCORDION /////////////////
+ jQuery( ".accordion" ).accordion();
+
+ //////////// FORM VALIDATION /////////////////
+ jQuery("#form").validate({
+ rules: {
+ name: "required",
+ email: {
+ required: true,
+ email: true,
+ },
+ occupation: "required"
+ },
+ messages: {
+ name: "Please enter your name",
+ email: "Please enter a valid email address",
+ occupation: "Please select your occupation"
+ }
+ });
+
+});
diff --git a/www/themes/intranet/js/custom/elements.js b/www/themes/intranet/js/custom/elements.js
new file mode 100644
index 0000000..8e7f4d7
--- /dev/null
+++ b/www/themes/intranet/js/custom/elements.js
@@ -0,0 +1,185 @@
+jQuery.noConflict();
+
+jQuery(document).ready(function(){
+ /**
+ * Color Picker
+ **/
+ jQuery('#colorpicker').ColorPicker({
+ onSubmit: function(hsb, hex, rgb, el) {
+ jQuery(el).val(hex);
+ jQuery(el).ColorPickerHide();
+ },
+ onBeforeShow: function () {
+ jQuery(this).ColorPickerSetColor(this.value);
+ }
+ })
+ .bind('keyup', function(){
+ jQuery(this).ColorPickerSetColor(this.value);
+ });
+
+ jQuery('#colorselector').ColorPicker({
+ color: '#0000ff',
+ onShow: function (colpkr) {
+ jQuery(colpkr).fadeIn(500);
+ return false;
+ },
+ onHide: function (colpkr) {
+ jQuery(colpkr).fadeOut(500);
+ return false;
+ },
+ onChange: function (hsb, hex, rgb) {
+ jQuery('#colorselector').css('backgroundColor', '#' + hex);
+ }
+ });
+
+ /**
+ * Date picker
+ **/
+ jQuery( "#datepicker" ).datepicker();
+
+
+ /**
+ * Growl Notification
+ **/
+ jQuery('.growl').click(function(){
+ jQuery.jGrowl("Hello world!");
+ return false;
+ });
+
+ jQuery('.growl2').click(function(){
+ var msg = "This notification will live a little longer.";
+ var position = "top-right";
+ var scrollpos = jQuery(document).scrollTop();
+ if(scrollpos < 50) position = "customtop-right";
+ jQuery.jGrowl(msg, { life: 5000, position: position});
+ return false;
+ });
+
+ //this will prevent growl box to show on top of the header when
+ //scroll event is fired
+ jQuery(document).scroll(function(){
+ if(jQuery('.jGrowl').length != 0) {
+ var pos = jQuery(document).scrollTop();
+ if(pos < 50) jQuery('.jGrowl').css({top: '100px'}); else jQuery('.jGrowl').css({top: '0'});
+ }
+ });
+
+
+ /**
+ * Tab
+ **/
+ jQuery( "#tabs" ).tabs();
+
+ /**
+ * Accordion
+ **/
+ jQuery( ".accordion" ).accordion();
+
+
+ /**
+ * Modal Alert Boxes
+ **/
+ jQuery('.alertboxbutton').click(function(){
+ jAlert('This is a custom alert box', 'Alert Dialog');
+ });
+
+ jQuery('.confirmbutton').click(function(){
+ jConfirm('Can you confirm this?', 'Confirmation Dialog', function(r) {
+ jAlert('Confirmed: ' + r, 'Confirmation Results');
+ });
+ });
+
+ jQuery('.promptbutton').click(function(){
+ jPrompt('Type something:', 'Prefilled value', 'Prompt Dialog', function(r) {
+ if( r ) alert('You entered ' + r);
+ });
+ });
+
+ jQuery('.alerthtmlbutton').click(function(){
+ jAlert('You can use HTML, such as bold, italics, and underline!');
+ });
+
+
+ /**
+ * Slider
+ **/
+ jQuery("#slider").slider({value: 40});
+
+ //Slider that snap to increments
+ jQuery("#slider2").slider({
+ value:100,
+ min: 0,
+ max: 500,
+ step: 50,
+ slide: function(event, ui) {
+ jQuery("#amount").text("$"+ui.value);
+ }
+ });
+ jQuery("#amount").text("$" + jQuery("#slider").slider("value"));
+
+
+ //Slider with range
+ jQuery("#slider3").slider({
+ range: true,
+ min: 0,
+ max: 500,
+ values: [ 75, 300 ],
+ slide: function( event, ui ) {
+ jQuery("#amount2").text("$" + ui.values[ 0 ] + " - $" + ui.values[ 1 ]);
+ }
+ });
+ jQuery("#amount2").text("$" + jQuery("#slider3").slider("values", 0) +
+ " - $" + jQuery("#slider3").slider("values", 1));
+
+ // Slider with fixed minimum
+ jQuery("#slider4").slider({
+ range: "min",
+ value: 37,
+ min: 1,
+ max: 100,
+ slide: function( event, ui ) {
+ jQuery("#amount4").text("$" + ui.value);
+ }
+ });
+ jQuery("#amount4").text("$"+jQuery("#slider4").slider("value"));
+
+ //Slider with fixed maximum
+ jQuery("#slider5").slider({
+ range: "max",
+ value: 60,
+ min: 1,
+ max: 100,
+ slide: function(event, ui) {
+ jQuery("#amount5").text("$"+ui.value);
+ }
+ });
+ jQuery("#amount5").text("$"+jQuery("#slider5").slider("value"));
+
+ //Slider vertical
+ jQuery("#slider6").slider({
+ orientation: "vertical",
+ range: "min",
+ min: 0,
+ max: 100,
+ value: 60,
+ slide: function( event, ui ) {
+ jQuery("#amount6").text(ui.value);
+ }
+ });
+ jQuery("#amount6").text( jQuery("#slider6").slider("value"));
+
+
+ //Slider vertical with range
+ jQuery("#slider7").slider({
+ orientation: "vertical",
+ range: true,
+ values: [17, 67],
+ slide: function(event, ui) {
+ jQuery("#amount7").text("$"+ui.values[0]+"-$"+ui.values[1]);
+ }
+ });
+ jQuery("#amount7").text("$"+jQuery("#slider7").slider("values",0) +
+ " - $"+jQuery("#slider7").slider("values",1));
+
+
+});
\ No newline at end of file
diff --git a/www/themes/intranet/js/custom/gallery.js b/www/themes/intranet/js/custom/gallery.js
new file mode 100644
index 0000000..be0cd50
--- /dev/null
+++ b/www/themes/intranet/js/custom/gallery.js
@@ -0,0 +1,55 @@
+jQuery(document).ready(function(){
+
+ /**
+ * Add an hover effect in images (gallery.html)
+ **/
+ jQuery('.thumbview .thumb').hover(function(){
+ var t = jQuery(this);
+ t.find('.info').stop(true,true).fadeIn('slow');
+ },function(){
+ var t = jQuery(this);
+ t.find('.info').stop(true,true).fadeOut('slow');
+ });
+
+ /**
+ * Sub Menu
+ **/
+ jQuery('.submenu a').click(function(){
+ var id = jQuery(this).attr('href');
+ jQuery('.submenu a').each(function(){
+ jQuery(this).parent().removeClass('current');
+ jQuery(jQuery(this).attr('href')).hide();
+ });
+ jQuery(this).parent().addClass('current');
+ jQuery(id).fadeIn();
+ });
+
+
+ /**
+ * Gallery Colorbox
+ **/
+ jQuery(".thumb .view").colorbox({rel:'view'});
+ jQuery(".listview .view").colorbox({rel:'listview'});
+
+
+ /**
+ * Thumb delete image
+ **/
+ jQuery('.thumb .delete').click(function(){
+ var c = confirm('Continue delete?');
+ if(c) jQuery(this).parents('li').remove();
+ return false;
+ });
+
+ /**
+ * Delete a single image in a row
+ **/
+ jQuery('.deleteimage').click(function(){
+ var c = confirm("Are you sure you want to delete this image?");
+ if(c) {
+ jQuery(this).parents('tr').fadeOut();
+ }
+ return false;
+ });
+
+});
diff --git a/www/themes/intranet/js/custom/general.js b/www/themes/intranet/js/custom/general.js
new file mode 100644
index 0000000..740aecf
--- /dev/null
+++ b/www/themes/intranet/js/custom/general.js
@@ -0,0 +1,138 @@
+jQuery.noConflict();
+
+jQuery(document).ready(function(){
+
+ /**
+ * This will remove username/password text in the login form fields
+ **/
+ jQuery('.username, .password').show(function(){
+ if(jQuery(this).val() != '') {
+ jQuery(this).css({backgroundPosition: "0 -32px"});
+ } else {
+ jQuery(this).css({backgroundPosition: "0 0"});
+ }
+ });
+
+ jQuery('.username, .password').focusout(function(){
+ if(jQuery(this).val() != '') {
+ jQuery(this).css({backgroundPosition: "0 -32px"});
+ } else {
+ jQuery(this).css({backgroundPosition: "0 0"});
+ }
+ });
+
+ jQuery('.username, .password').focusin(function(){
+ if(jQuery(this).val() == '') {
+ jQuery(this).css({backgroundPosition: "0 -32px"});
+ }
+ });
+
+
+ /**
+ * Message Notify Drop Down
+ **/
+ jQuery('.messagenotify .wrap, .alertnotify .wrap').click(function(){
+ var t = jQuery(this).parent();
+ var url = t.attr('href');
+ if(t.hasClass('showmsg')) {
+ t.removeClass('showmsg');
+ t.find('.thicon').removeClass('thiconhover');
+ t.parent().find('.dropbox').remove();
+
+ } else {
+
+ jQuery('.topheader li').each(function(){
+ jQuery(this).find('.showmsg').removeClass('showmsg');
+ jQuery(this).find('.thicon').removeClass('thiconhover');
+ jQuery(this).find('.dropbox').remove();
+ });
+
+ t.addClass('showmsg');
+ t.find('.thicon').addClass('thiconhover');
+ t.parent().append('');
+
+ jQuery.post(url,function(data){
+ jQuery('.dropbox').append(data);
+ });
+ }
+ return false;
+
+ });
+
+ jQuery(document).click(function(event) {
+ var msglist = jQuery('.dropbox');
+ if(!jQuery(event.target).is('.dropbox')) {
+ if(msglist.is(":visible")) {
+ msglist.prev().removeClass('showmsg');
+ msglist.prev().find('.thicon').removeClass('thiconhover');
+ msglist.remove();
+ }
+ }
+ });
+
+
+ /**
+ * Sidebar accordion
+ **/
+ jQuery('#accordion h3').click(function() {
+ if(jQuery(this).hasClass('open')) {
+ jQuery(this).removeClass('open');
+ jQuery(this).next().slideUp('fast');
+ } else {
+ jQuery(this).addClass('open');
+ jQuery(this).next().slideDown('fast');
+ }return false;
+ });
+
+
+ /**
+ * Widget Box Toggle
+ **/
+ jQuery('.widgetbox h3, .widgetbox2 h3').hover(function(){
+ jQuery(this).addClass('arrow');
+ return false;
+ },function(){
+ jQuery(this).removeClass('arrow');
+ return false;
+ });
+
+ jQuery('.widgetbox h3, .widgetbox2 h3').toggle(function(){
+ jQuery(this).next().slideUp('fast');
+ jQuery(this).css({MozBorderRadius: '3px',
+ WebkitBorderRadius: '3px',
+ borderRadius: '3px'});
+ return false;
+ },function(){
+ jQuery(this).next().slideDown('fast');
+ jQuery(this).css({MozBorderRadius: '3px 3px 0 0',
+ WebkitBorderRadius: '3px 3px 0 0',
+ borderRadius: '3px 3px 0 0'});
+ return false;
+ });
+
+
+ /**
+ * Notification
+ **/
+ jQuery('.notification .close').click(function(){
+ jQuery(this).parent().fadeOut();
+ });
+
+
+ /** Make footer always at the bottom**/
+ if(jQuery('body').height() > jQuery(window).height()) {
+ jQuery('.footer').removeClass('footer_float');
+ }
+
+
+
+ /**DROP DOWN MENU**/
+ jQuery(".subnav").css({display: "none"}); // Opera Fix
+ jQuery(".tabmenu li").hover(function(){
+ jQuery(this).find('ul:first').css({visibility: "visible",display: "none"}).show(400);
+ },function(){
+ jQuery(this).find('ul:first').css({visibility: "hidden"});
+ });
+
+
+});
\ No newline at end of file
diff --git a/www/themes/intranet/js/custom/reports.js b/www/themes/intranet/js/custom/reports.js
new file mode 100644
index 0000000..604f8e1
--- /dev/null
+++ b/www/themes/intranet/js/custom/reports.js
@@ -0,0 +1,195 @@
+jQuery(document).ready(function () {
+
+ /***START OF SIMPLE CHART***/
+
+ var flash = [], html5 = [];
+ for (var i = 0; i < 14; i += 0.5) {
+ flash.push([i, Math.sin(i)]);
+ html5.push([i, Math.cos(i)]);
+ }
+
+ function showTooltip(x, y, contents) {
+ jQuery('' + contents + ' ').css( {
+ position: 'absolute',
+ display: 'none',
+ top: y + 5,
+ left: x + 5
+ }).appendTo("body").fadeIn(200);
+ }
+
+
+ var plot = jQuery.plot(jQuery("#chartplace"),
+ [ { data: flash, label: "Flash(x)", color: "#ff7200"}, { data: html5, label: "HTML5(x)", color: "#39870a"} ], {
+ series: {
+ lines: { show: true },
+ points: { show: true }
+ },
+ grid: { hoverable: true, clickable: true, borderColor: '#ccc', borderWidth: 1 },
+ yaxis: { min: -1.2, max: 1.2 }
+ });
+
+ var previousPoint = null;
+ jQuery("#chartplace").bind("plothover", function (event, pos, item) {
+ jQuery("#x").text(pos.x.toFixed(2));
+ jQuery("#y").text(pos.y.toFixed(2));
+
+ if(item) {
+ if (previousPoint != item.dataIndex) {
+ previousPoint = item.dataIndex;
+
+ jQuery("#tooltip").remove();
+ var x = item.datapoint[0].toFixed(2),
+ y = item.datapoint[1].toFixed(2);
+
+ showTooltip(item.pageX, item.pageY,
+ item.series.label + " of " + x + " = " + y);
+ }
+
+ } else {
+ jQuery("#tooltip").remove();
+ previousPoint = null;
+ }
+
+ });
+
+ jQuery("#chartplace").bind("plotclick", function (event, pos, item) {
+ if (item) {
+ jQuery("#clickdata").text("You clicked point " + item.dataIndex + " in " + item.series.label + ".");
+ plot.highlight(item.series, item.datapoint);
+ }
+ });
+
+
+
+
+ /**ANNOTATING CHART**/
+
+ // generate a dataset
+ var d1 = [];
+ for (var i = 0; i < 20; ++i)
+ d1.push([i, Math.sin(i)]);
+
+ var data = [{ data: d1, label: "Pressure", color: "#333" }];
+
+ // setup background areas
+ var markings = [
+ { color: '#eee', yaxis: { from: 1 } },
+ { color: '#eee', yaxis: { to: -1 } },
+ { color: '#ccc', lineWidth: 1, xaxis: { from: 2, to: 2 } },
+ { color: '#ccc', lineWidth: 1, xaxis: { from: 8, to: 8 } }
+ ];
+
+ var placeholder = jQuery("#annotation");
+
+ // plot it
+ var plot = jQuery.plot(placeholder, data, {
+ bars: { show: true, barWidth: 0.5, lineWidth: 0, fill: 0.9, fillColor: "#069"},
+ xaxis: { ticks: [], autoscaleMargin: 0.02 },
+ yaxis: { min: -2, max: 2 },
+ grid: { markings: markings, borderColor: '#ccc', borderWidth: 1}
+ });
+
+ // add labels
+ var o;
+
+ o = plot.pointOffset({ x: 2, y: -1.2});
+ // we just append it to the placeholder which Flot already uses
+ // for positioning
+ placeholder.append('Warming up ');
+
+ o = plot.pointOffset({ x: 8, y: -1.2});
+ placeholder.append('Actual measurements ');
+
+ // draw a little arrow on top of the last label to demonstrate
+ // canvas drawing
+ var ctx = plot.getCanvas().getContext("2d");
+ ctx.beginPath();
+ o.left += 4;
+ ctx.moveTo(o.left, o.top);
+ ctx.lineTo(o.left, o.top - 10);
+ ctx.lineTo(o.left + 10, o.top - 5);
+ ctx.lineTo(o.left, o.top);
+ ctx.fillStyle = "#000";
+ ctx.fill();
+
+
+ /**PIE CHART**/
+ var data = [];
+ var series = 5;
+ for( var i = 0; i 0)
+ data = data.slice(1);
+
+ // do a random walk
+ while (data.length < totalPoints) {
+ var prev = data.length > 0 ? data[data.length - 1] : 50;
+ var y = prev + Math.random() * 10 - 5;
+ if (y < 0)
+ y = 0;
+ if (y > 100)
+ y = 100;
+ data.push(y);
+ }
+
+ // zip the generated y values with the x values
+ var res = [];
+ for (var i = 0; i < data.length; ++i)
+ res.push([i, data[i]])
+ return res;
+ }
+
+ // setup control widget
+ var updateInterval = 500;
+ jQuery("#updateInterval").val(updateInterval).change(function () {
+ var v = jQuery(this).val();
+ if (v && !isNaN(+v)) {
+ updateInterval = +v;
+ if (updateInterval < 1)
+ updateInterval = 1;
+ if (updateInterval > 2000)
+ updateInterval = 2000;
+ jQuery(this).val("" + updateInterval);
+ }
+ });
+
+ // setup plot
+ var options = {
+ series: { lines: { fill: true, fillColor: '#fffccc' }, shadowSize: 0, }, // drawing is faster without shadows
+ yaxis: { min: 0, max: 100 },
+ xaxis: { show: false },
+ grid: { borderColor: '#ccc', borderWidth: 1},
+
+ };
+ var plot = jQuery.plot(jQuery("#realtime"), [ getRandomData() ], options);
+
+ function update() {
+ plot.setData([ getRandomData() ]);
+ // since the axes don't change, we don't need to call plot.setupGrid()
+ plot.draw();
+
+ setTimeout(update, updateInterval);
+ }
+
+ update();
+
+
+
+});
\ No newline at end of file
diff --git a/www/themes/intranet/js/custom/users.js b/www/themes/intranet/js/custom/users.js
new file mode 100644
index 0000000..723cb3d
--- /dev/null
+++ b/www/themes/intranet/js/custom/users.js
@@ -0,0 +1,70 @@
+jQuery(document).ready(function(){
+
+ /**
+ * Highlight selected table row
+ **/
+ jQuery('.sTable input').click(function(){
+
+ if(jQuery(this).is(':checked')) {
+ jQuery(this).parents('tr').addClass('selected');
+ } else {
+ jQuery(this).parents('tr').removeClass('selected');
+ }
+ });
+
+
+ /**
+ * Delete a single user in a row
+ **/
+ jQuery('.deleteuser').click(function(){
+ var c = confirm("Are you sure you want to delete this user?");
+ if(c) {
+ jQuery(this).parents('tr').fadeOut();
+ }
+ return false;
+ });
+
+ /**
+ * Check/Uncheck all items in a table
+ **/
+ jQuery('.checkall').click(function(){
+ if(!jQuery(this).is(':checked')) {
+ jQuery('.sTable input[type=checkbox]').each(function(){
+ jQuery(this).attr('checked',false);
+ jQuery(this).parents('tr').removeClass('selected');
+ });
+ } else {
+ jQuery('.sTable input[type=checkbox]').each(function(){
+ jQuery(this).attr('checked',true);
+ jQuery(this).parents('tr').addClass('selected');
+ });
+ }
+ });
+
+
+
+ /**
+ * Delete selected items in a table
+ **/
+ jQuery('.sTableOptions .delete').click(function(){
+ var empt = true;
+ jQuery('.sTable input[type=checkbox]').each(function(){
+ if(jQuery(this).is(':checked')) {
+ empt = false;
+ }
+ });
+ if(empt == true) {
+ alert('No item selected');
+ } else {
+ var c = confirm('Are you sure you want to delete this user?');
+ if(c) {
+ jQuery('.sTable input[type=checkbox]').each(function(){
+ if(jQuery(this).is(':checked')) {
+ jQuery(this).parents('tr').fadeOut();
+ }
+ });
+ }
+ }
+ });
+
+});
\ No newline at end of file
diff --git a/www/themes/intranet/js/plugins/ColumnFilterWidgets.js b/www/themes/intranet/js/plugins/ColumnFilterWidgets.js
new file mode 100644
index 0000000..53d3ecc
--- /dev/null
+++ b/www/themes/intranet/js/plugins/ColumnFilterWidgets.js
@@ -0,0 +1,300 @@
+/*
+ * File: ColumnFilterWidgets.js
+ * Version: 1.0.2
+ * Description: Controls for filtering based on unique column values in DataTables
+ * Author: Dylan Kuhn (www.cyberhobo.net)
+ * Language: Javascript
+ * License: GPL v2 or BSD 3 point style
+ * Contact: cyberhobo@cyberhobo.net
+ *
+ * Copyright 2011 Dylan Kuhn (except fnGetColumnData by Benedikt Forchhammer), all rights reserved.
+ *
+ * This source file is free software, under either the GPL v2 license or a
+ * BSD style license, available at:
+ * http://datatables.net/license_gpl2
+ * http://datatables.net/license_bsd
+ */
+
+(function($) {
+ /*
+ * Function: fnGetColumnData
+ * Purpose: Return an array of table values from a particular column.
+ * Returns: array string: 1d data array
+ * Inputs: object:oSettings - dataTable settings object. This is always the last argument past to the function
+ * int:iColumn - the id of the column to extract the data from
+ * bool:bUnique - optional - if set to false duplicated values are not filtered out
+ * bool:bFiltered - optional - if set to false all the table data is used (not only the filtered)
+ * bool:bIgnoreEmpty - optional - if set to false empty values are not filtered from the result array
+ * Author: Benedikt Forchhammer
+ */
+
+ $.fn.dataTableExt.oApi.fnGetColumnData = function ( oSettings, iColumn, bUnique, bFiltered, bIgnoreEmpty ) {
+ // check that we have a column id
+ if ( typeof iColumn == "undefined" ) return new Array();
+
+ // by default we only wany unique data
+ if ( typeof bUnique == "undefined" ) bUnique = true;
+
+ // by default we do want to only look at filtered data
+ if ( typeof bFiltered == "undefined" ) bFiltered = true;
+
+ // by default we do not wany to include empty values
+ if ( typeof bIgnoreEmpty == "undefined" ) bIgnoreEmpty = true;
+
+ // list of rows which we're going to loop through
+ var aiRows;
+
+ // use only filtered rows
+ if (bFiltered == true) aiRows = oSettings.aiDisplay;
+ // use all rows
+ else aiRows = oSettings.aiDisplayMaster; // all row numbers
+
+ // set up data array
+ var asResultData = new Array();
+
+ for (var i=0,c=aiRows.length; i -1) continue;
+
+ // else push the value onto the result data array
+ else asResultData.push(sValue);
+ }
+
+ return asResultData;
+ };
+
+ /**
+ * Add backslashes to regular expression symbols in a string.
+ *
+ * Allows a regular expression to be constructed to search for
+ * variable text.
+ *
+ * @param string sText The text to escape.
+ * @return string The escaped string.
+ */
+ var fnRegExpEscape = function( sText ) {
+ return sText.replace(/[-[\]{}()*+?.,\\^$|#\s]/g, "\\$&");
+ };
+
+ /**
+ * Menu-based filter widgets based on distinct column values for a table.
+ *
+ * @class ColumnFilterWidgets
+ * @constructor
+ * @param {object} oDataTableSettings Settings for the target table.
+ */
+ var ColumnFilterWidgets = function( oDataTableSettings ) {
+ var me = this;
+ var sExcludeList = '';
+ me.$WidgetContainer = $( '' );
+ me.$MenuContainer = me.$WidgetContainer;
+ me.$TermContainer = null;
+ me.aoWidgets = [];
+ me.sSeparator = '';
+ if ( 'oColumnFilterWidgets' in oDataTableSettings.oInit ) {
+ if ( 'aiExclude' in oDataTableSettings.oInit.oColumnFilterWidgets ) {
+ sExcludeList = '|' + oDataTableSettings.oInit.oColumnFilterWidgets.aiExclude.join( '|' ) + '|';
+ }
+ if ( 'bGroupTerms' in oDataTableSettings.oInit.oColumnFilterWidgets && oDataTableSettings.oInit.oColumnFilterWidgets.bGroupTerms ) {
+ me.$MenuContainer = $( '' );
+ me.$TermContainer = $( '' ).hide();
+ }
+ }
+
+ // Add a widget for each visible and filtered column
+ $.each( oDataTableSettings.aoColumns, function ( i, oColumn ) {
+ var $columnTh = $( oColumn.nTh );
+ var $WidgetElem = $( '' );
+ if ( oColumn.bVisible && sExcludeList.indexOf( '|' + i + '|' ) < 0 ) {
+ me.aoWidgets.push( new ColumnFilterWidget( $WidgetElem, oDataTableSettings, i, me ) );
+ }
+ me.$MenuContainer.append( $WidgetElem );
+ } );
+ if ( me.$TermContainer ) {
+ me.$WidgetContainer.append( me.$MenuContainer );
+ me.$WidgetContainer.append( me.$TermContainer );
+ }
+ oDataTableSettings.aoDrawCallback.push( {
+ name: 'ColumnFilterWidgets',
+ fn: function() {
+ $.each( me.aoWidgets, function( i, oWidget ) {
+ oWidget.fnDraw();
+ } );
+ }
+ } );
+
+ return me;
+ };
+
+ /**
+ * Get the container node of the column filter widgets.
+ *
+ * @method
+ * @return {Node} The container node.
+ */
+ ColumnFilterWidgets.prototype.getContainer = function() {
+ return this.$WidgetContainer.get( 0 );
+ }
+
+ /**
+ * A filter widget based on data in a table column.
+ *
+ * @class ColumnFilterWidget
+ * @constructor
+ * @param {object} $Container The jQuery object that should contain the widget.
+ * @param {object} oSettings The target table's settings.
+ * @param {number} i The numeric index of the target table column.
+ * @param {object} widgets The ColumnFilterWidgets instance the widget is a member of.
+ */
+ var ColumnFilterWidget = function( $Container, oDataTableSettings, i, widgets ) {
+ var widget = this;
+ widget.iColumn = i;
+ widget.oColumn = oDataTableSettings.aoColumns[i];
+ widget.$Container = $Container;
+ widget.oDataTable = oDataTableSettings.oInstance;
+ widget.asFilters = [];
+ widget.sSeparator = '';
+ widget.iMaxSelections = -1;
+ if ( 'oColumnFilterWidgets' in oDataTableSettings.oInit ) {
+ if ( 'sSeparator' in oDataTableSettings.oInit.oColumnFilterWidgets ) {
+ widget.sSeparator = oDataTableSettings.oInit.oColumnFilterWidgets.sSeparator;
+ }
+ if ( 'iMaxSelections' in oDataTableSettings.oInit.oColumnFilterWidgets ) {
+ widget.iMaxSelections = oDataTableSettings.oInit.oColumnFilterWidgets.iMaxSelections;
+ }
+ }
+ widget.$Select = $( '' ).change( function() {
+ var sSelected = widget.$Select.val(), sText, $TermLink, $SelectedOption;
+ if ( '' === sSelected ) {
+ // The blank option is a default, not a filter, and is re-selected after filtering
+ return;
+ }
+ sText = $( '' + sSelected + ' ' ).text();
+ $TermLink = $( '' ).text( sText ).click( function() {
+ // Remove from current filters array
+ widget.asFilters = $.grep( widget.asFilters, function( sFilter ) {
+ return sFilter != sSelected;
+ } );
+ $TermLink.remove();
+ if ( widgets.$TermContainer && 0 === widgets.$TermContainer.find( '.filter-term' ).length ) {
+ widgets.$TermContainer.hide();
+ }
+ // Add it back to the select
+ widget.$Select.append( $( '' ).attr( 'value', sSelected ).text( sText ) );
+ if ( widget.iMaxSelections > 0 && widget.iMaxSelections > widget.asFilters.length ) {
+ widget.$Select.attr( 'disabled', false );
+ }
+ widget.fnFilter();
+ return false;
+ } );
+ widget.asFilters.push( sSelected );
+ if ( widgets.$TermContainer ) {
+ widgets.$TermContainer.show();
+ widgets.$TermContainer.prepend( $TermLink );
+ } else {
+ widget.$Select.after( $TermLink );
+ }
+ $SelectedOption = widget.$Select.children( 'option:selected' );
+ widget.$Select.val( '' );
+ $SelectedOption.remove();
+ if ( widget.iMaxSelections > 0 && widget.iMaxSelections <= widget.asFilters.length ) {
+ widget.$Select.attr( 'disabled', true );
+ }
+ widget.fnFilter();
+ } );
+ widget.$Container.append( widget.$Select );
+ widget.fnDraw();
+ };
+
+ /**
+ * Perform filtering on the target column.
+ *
+ * @method fnFilter
+ */
+ ColumnFilterWidget.prototype.fnFilter = function() {
+ var widget = this;
+ var asEscapedFilters = [];
+ var sFilterStart, sFilterEnd;
+ if ( widget.asFilters.length > 0 ) {
+ // Filters must have RegExp symbols escaped
+ $.each( widget.asFilters, function( i, sFilter ) {
+ asEscapedFilters.push( fnRegExpEscape( sFilter ) );
+ } );
+ // This regular expression filters by either whole column values or an item in a comma list
+ sFilterStart = widget.sSeparator ? '(^|' + widget.sSeparator + ')(' : '^(';
+ sFilterEnd = widget.sSeparator ? ')(' + widget.sSeparator + '|$)' : ')$';
+ widget.oDataTable.fnFilter( sFilterStart + asEscapedFilters.join('|') + sFilterEnd, widget.iColumn, true, false );
+ } else {
+ // Clear any filters for this column
+ widget.oDataTable.fnFilter( '', widget.iColumn );
+ }
+ };
+
+ /**
+ * On each table draw, update filter menu items as needed. This allows any process to
+ * update the table's column visiblity and menus will still be accurate.
+ *
+ * @method fnDraw
+ */
+ ColumnFilterWidget.prototype.fnDraw = function() {
+ var widget = this;
+ var oDistinctOptions = {};
+ var aDistinctOptions = [];
+ var aData;
+ if ( widget.asFilters.length === 0 ) {
+ // Find distinct column values
+ aData = widget.oDataTable.fnGetColumnData( widget.iColumn );
+ $.each( aData, function( i, sValue ) {
+ var asValues = widget.sSeparator ? sValue.split( new RegExp( widget.sSeparator ) ) : [ sValue ];
+ $.each( asValues, function( j, sOption ) {
+ if ( !oDistinctOptions.hasOwnProperty( sOption ) ) {
+ oDistinctOptions[sOption] = true;
+ aDistinctOptions.push( sOption );
+ }
+ } );
+ } );
+ // Build the menu
+ widget.$Select.empty().append( $( '' ).attr( 'value', '' ).text( widget.oColumn.sTitle ) );
+ aDistinctOptions.sort();
+ $.each( aDistinctOptions, function( i, sOption ) {
+ var sText;
+ sText = $( '' + sOption + ' ' ).text();
+ widget.$Select.append( $( '' ).attr( 'value', sOption ).text( sText ) );
+ } );
+ if ( aDistinctOptions.length > 1 ) {
+ // Enable the menu
+ widget.$Select.attr( 'disabled', false );
+ } else {
+ // One option is not a useful menu, disable it
+ widget.$Select.attr( 'disabled', true );
+ }
+ }
+ };
+
+ /*
+ * Register a new feature with DataTables
+ */
+ if ( typeof $.fn.dataTable === 'function' && typeof $.fn.dataTableExt.fnVersionCheck === 'function' && $.fn.dataTableExt.fnVersionCheck('1.7.0') ) {
+
+ $.fn.dataTableExt.aoFeatures.push( {
+ 'fnInit': function( oDTSettings ) {
+ var oWidgets = new ColumnFilterWidgets( oDTSettings );
+ return oWidgets.getContainer();
+ },
+ 'cFeature': 'W',
+ 'sFeature': 'ColumnFilterWidgets'
+ } );
+
+ } else {
+ throw 'Warning: ColumnFilterWidgets requires DataTables 1.7 or greater - www.datatables.net/download';
+ }
+
+
+}(jQuery));
diff --git a/www/themes/intranet/js/plugins/FixedHeader.js b/www/themes/intranet/js/plugins/FixedHeader.js
new file mode 100644
index 0000000..945fdc5
--- /dev/null
+++ b/www/themes/intranet/js/plugins/FixedHeader.js
@@ -0,0 +1,876 @@
+/*
+ * File: FixedHeader.js
+ * Version: 2.0.4
+ * Description: "Fix" a header at the top of the table, so it scrolls with the table
+ * Author: Allan Jardine (www.sprymedia.co.uk)
+ * Created: Wed 16 Sep 2009 19:46:30 BST
+ * Language: Javascript
+ * License: LGPL
+ * Project: Just a little bit of fun - enjoy :-)
+ * Contact: www.sprymedia.co.uk/contact
+ *
+ * Copyright 2009-2010 Allan Jardine, all rights reserved.
+ */
+
+/*
+ * Function: FixedHeader
+ * Purpose: Provide 'fixed' header, footer and columns on an HTML table
+ * Returns: object:FixedHeader - must be called with 'new'
+ * Inputs: mixed:mTable - target table
+ * 1. DataTable object - when using FixedHeader with DataTables, or
+ * 2. HTML table node - when using FixedHeader without DataTables
+ * object:oInit - initialisation settings, with the following properties (each optional)
+ * bool:top - fix the header (default true)
+ * bool:bottom - fix the footer (default false)
+ * bool:left - fix the left most column (default false)
+ * bool:right - fix the right most column (default false)
+ * int:zTop - fixed header zIndex
+ * int:zBottom - fixed footer zIndex
+ * int:zLeft - fixed left zIndex
+ * int:zRight - fixed right zIndex
+ */
+var FixedHeader = function ( mTable, oInit ) {
+ /* Sanity check - you just know it will happen */
+ if ( typeof this.fnInit != 'function' )
+ {
+ alert( "FixedHeader warning: FixedHeader must be initialised with the 'new' keyword." );
+ return;
+ }
+
+ var that = this;
+ var oSettings = {
+ "aoCache": [],
+ "oSides": {
+ "top": true,
+ "bottom": false,
+ "left": false,
+ "right": false
+ },
+ "oZIndexes": {
+ "top": 104,
+ "bottom": 103,
+ "left": 102,
+ "right": 101
+ },
+ "oMes": {
+ "iTableWidth": 0,
+ "iTableHeight": 0,
+ "iTableLeft": 0,
+ "iTableRight": 0, /* note this is left+width, not actually "right" */
+ "iTableTop": 0,
+ "iTableBottom": 0 /* note this is top+height, not actually "bottom" */
+ },
+ "nTable": null,
+ "bUseAbsPos": false,
+ "bFooter": false
+ };
+
+ /*
+ * Function: fnGetSettings
+ * Purpose: Get the settings for this object
+ * Returns: object: - settings object
+ * Inputs: -
+ */
+ this.fnGetSettings = function () {
+ return oSettings;
+ };
+
+ /*
+ * Function: fnUpdate
+ * Purpose: Update the positioning and copies of the fixed elements
+ * Returns: -
+ * Inputs: -
+ */
+ this.fnUpdate = function () {
+ this._fnUpdateClones();
+ this._fnUpdatePositions();
+ };
+
+ /* Let's do it */
+ this.fnInit( mTable, oInit );
+};
+
+
+/*
+ * Variable: FixedHeader
+ * Purpose: Prototype for FixedHeader
+ * Scope: global
+ */
+FixedHeader.prototype = {
+ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Initialisation
+ */
+
+ /*
+ * Function: fnInit
+ * Purpose: The "constructor"
+ * Returns: -
+ * Inputs: {as FixedHeader function}
+ */
+ fnInit: function ( oTable, oInit )
+ {
+ var s = this.fnGetSettings();
+ var that = this;
+
+ /* Record the user definable settings */
+ this.fnInitSettings( s, oInit );
+
+ /* DataTables specific stuff */
+ if ( typeof oTable.fnSettings == 'function' )
+ {
+ if ( typeof oTable.fnVersionCheck == 'functon' &&
+ oTable.fnVersionCheck( '1.6.0' ) !== true )
+ {
+ alert( "FixedHeader 2 required DataTables 1.6.0 or later. "+
+ "Please upgrade your DataTables installation" );
+ return;
+ }
+
+ var oDtSettings = oTable.fnSettings();
+
+ if ( oDtSettings.oScroll.sX != "" || oDtSettings.oScroll.sY != "" )
+ {
+ alert( "FixedHeader 2 is not supported with DataTables' scrolling mode at this time" );
+ return;
+ }
+
+ s.nTable = oDtSettings.nTable;
+ oDtSettings.aoDrawCallback.push( {
+ "fn": function () {
+ FixedHeader.fnMeasure();
+ that._fnUpdateClones.call(that);
+ that._fnUpdatePositions.call(that);
+ },
+ "sName": "FixedHeader"
+ } );
+ }
+ else
+ {
+ s.nTable = oTable;
+ }
+
+ s.bFooter = (jQuery('>tfoot', s.nTable).length > 0) ? true : false;
+
+ /* "Detect" browsers that don't support absolute positioing - or have bugs */
+ s.bUseAbsPos = (jQuery.browser.msie && (jQuery.browser.version=="6.0"||jQuery.browser.version=="7.0"));
+
+ /* Add the 'sides' that are fixed */
+ if ( s.oSides.top )
+ {
+ s.aoCache.push( that._fnCloneTable( "fixedHeader", "FixedHeader_Header", that._fnCloneThead ) );
+ }
+ if ( s.oSides.bottom )
+ {
+ s.aoCache.push( that._fnCloneTable( "fixedFooter", "FixedHeader_Footer", that._fnCloneTfoot ) );
+ }
+ if ( s.oSides.left )
+ {
+ s.aoCache.push( that._fnCloneTable( "fixedLeft", "FixedHeader_Left", that._fnCloneTLeft ) );
+ }
+ if ( s.oSides.right )
+ {
+ s.aoCache.push( that._fnCloneTable( "fixedRight", "FixedHeader_Right", that._fnCloneTRight ) );
+ }
+
+ /* Event listeners for window movement */
+ FixedHeader.afnScroll.push( function () {
+ that._fnUpdatePositions.call(that);
+ } );
+
+ jQuery(window).resize( function () {
+ FixedHeader.fnMeasure();
+ that._fnUpdateClones.call(that);
+ that._fnUpdatePositions.call(that);
+ } );
+
+ /* Get things right to start with */
+ FixedHeader.fnMeasure();
+ that._fnUpdateClones();
+ that._fnUpdatePositions();
+ },
+
+
+ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Support functions
+ */
+
+ /*
+ * Function: fnInitSettings
+ * Purpose: Take the user's settings and copy them to our local store
+ * Returns: -
+ * Inputs: object:s - the local settings object
+ * object:oInit - the user's settings object
+ */
+ fnInitSettings: function ( s, oInit )
+ {
+ if ( typeof oInit != 'undefined' )
+ {
+ if ( typeof oInit.top != 'undefined' ) {
+ s.oSides.top = oInit.top;
+ }
+ if ( typeof oInit.bottom != 'undefined' ) {
+ s.oSides.bottom = oInit.bottom;
+ }
+ if ( typeof oInit.left != 'undefined' ) {
+ s.oSides.left = oInit.left;
+ }
+ if ( typeof oInit.right != 'undefined' ) {
+ s.oSides.right = oInit.right;
+ }
+
+ if ( typeof oInit.zTop != 'undefined' ) {
+ s.oZIndexes.top = oInit.zTop;
+ }
+ if ( typeof oInit.zBottom != 'undefined' ) {
+ s.oZIndexes.bottom = oInit.zBottom;
+ }
+ if ( typeof oInit.zLeft != 'undefined' ) {
+ s.oZIndexes.left = oInit.zLeft;
+ }
+ if ( typeof oInit.zRight != 'undefined' ) {
+ s.oZIndexes.right = oInit.zRight;
+ }
+ }
+
+ /* Detect browsers which have poor position:fixed support so we can use absolute positions.
+ * This is much slower since the position must be updated for each scroll, but widens
+ * compatibility
+ */
+ s.bUseAbsPos = (jQuery.browser.msie &&
+ (jQuery.browser.version=="6.0"||jQuery.browser.version=="7.0"));
+ },
+
+ /*
+ * Function: _fnCloneTable
+ * Purpose: Clone the table node and do basic initialisation
+ * Returns: -
+ * Inputs: -
+ */
+ _fnCloneTable: function ( sType, sClass, fnClone )
+ {
+ var s = this.fnGetSettings();
+ var nCTable;
+
+ /* We know that the table _MUST_ has a DIV wrapped around it, because this is simply how
+ * DataTables works. Therefore, we can set this to be relatively position (if it is not
+ * alreadu absolute, and use this as the base point for the cloned header
+ */
+ if ( jQuery(s.nTable.parentNode).css('position') != "absolute" )
+ {
+ s.nTable.parentNode.style.position = "relative";
+ }
+
+ /* Just a shallow clone will do - we only want the table node */
+ nCTable = s.nTable.cloneNode( false );
+
+ var nDiv = document.createElement( 'div' );
+ nDiv.style.position = "absolute";
+ nDiv.className += " FixedHeader_Cloned "+sType+" "+sClass;
+
+ /* Set the zIndexes */
+ if ( sType == "fixedHeader" )
+ {
+ nDiv.style.zIndex = s.oZIndexes.top;
+ }
+ if ( sType == "fixedFooter" )
+ {
+ nDiv.style.zIndex = s.oZIndexes.bottom;
+ }
+ if ( sType == "fixedLeft" )
+ {
+ nDiv.style.zIndex = s.oZIndexes.left;
+ }
+ else if ( sType == "fixedRight" )
+ {
+ nDiv.style.zIndex = s.oZIndexes.right;
+ }
+
+ /* Insert the newly cloned table into the DOM, on top of the "real" header */
+ nDiv.appendChild( nCTable );
+ document.body.appendChild( nDiv );
+
+ return {
+ "nNode": nCTable,
+ "nWrapper": nDiv,
+ "sType": sType,
+ "sPosition": "",
+ "sTop": "",
+ "sLeft": "",
+ "fnClone": fnClone
+ };
+ },
+
+ /*
+ * Function: _fnUpdatePositions
+ * Purpose: Get the current positioning of the table in the DOM
+ * Returns: -
+ * Inputs: -
+ */
+ _fnMeasure: function ()
+ {
+ var
+ s = this.fnGetSettings(),
+ m = s.oMes,
+ jqTable = jQuery(s.nTable),
+ oOffset = jqTable.offset(),
+ iParentScrollTop = this._fnSumScroll( s.nTable.parentNode, 'scrollTop' ),
+ iParentScrollLeft = this._fnSumScroll( s.nTable.parentNode, 'scrollLeft' );
+
+ m.iTableWidth = jqTable.outerWidth();
+ m.iTableHeight = jqTable.outerHeight();
+ m.iTableLeft = oOffset.left + s.nTable.parentNode.scrollLeft;
+ m.iTableTop = oOffset.top + iParentScrollTop;
+ m.iTableRight = m.iTableLeft + m.iTableWidth;
+ m.iTableRight = FixedHeader.oDoc.iWidth - m.iTableLeft - m.iTableWidth;
+ m.iTableBottom = FixedHeader.oDoc.iHeight - m.iTableTop - m.iTableHeight;
+ },
+
+ /*
+ * Function: _fnSumScroll
+ * Purpose: Sum node parameters all the way to the top
+ * Returns: int: sum
+ * Inputs: node:n - node to consider
+ * string:side - scrollTop or scrollLeft
+ */
+ _fnSumScroll: function ( n, side )
+ {
+ var i = n[side];
+ while ( n = n.parentNode )
+ {
+ if ( n.nodeName != 'HTML' && n.nodeName != 'BODY' )
+ {
+ break;
+ }
+ i = n[side];
+ }
+ return i;
+ },
+
+ /*
+ * Function: _fnUpdatePositions
+ * Purpose: Loop over the fixed elements for this table and update their positions
+ * Returns: -
+ * Inputs: -
+ */
+ _fnUpdatePositions: function ()
+ {
+ var s = this.fnGetSettings();
+ this._fnMeasure();
+
+ for ( var i=0, iLen=s.aoCache.length ; i oWin.iScrollTop )
+ {
+ /* Above the table */
+ this._fnUpdateCache( oCache, 'sPosition', "absolute", 'position', nTable.style );
+ this._fnUpdateCache( oCache, 'sTop', oMes.iTableTop+"px", 'top', nTable.style );
+ this._fnUpdateCache( oCache, 'sLeft', oMes.iTableLeft+"px", 'left', nTable.style );
+ }
+ else if ( oWin.iScrollTop > oMes.iTableTop+iTbodyHeight )
+ {
+ /* At the bottom of the table */
+ this._fnUpdateCache( oCache, 'sPosition', "absolute", 'position', nTable.style );
+ this._fnUpdateCache( oCache, 'sTop', (oMes.iTableTop+iTbodyHeight)+"px", 'top', nTable.style );
+ this._fnUpdateCache( oCache, 'sLeft', oMes.iTableLeft+"px", 'left', nTable.style );
+ }
+ else
+ {
+ /* In the middle of the table */
+ if ( s.bUseAbsPos )
+ {
+ this._fnUpdateCache( oCache, 'sPosition', "absolute", 'position', nTable.style );
+ this._fnUpdateCache( oCache, 'sTop', oWin.iScrollTop+"px", 'top', nTable.style );
+ this._fnUpdateCache( oCache, 'sLeft', oMes.iTableLeft+"px", 'left', nTable.style );
+ }
+ else
+ {
+ this._fnUpdateCache( oCache, 'sPosition', 'fixed', 'position', nTable.style );
+ this._fnUpdateCache( oCache, 'sTop', "0px", 'top', nTable.style );
+ this._fnUpdateCache( oCache, 'sLeft', (oMes.iTableLeft-oWin.iScrollLeft)+"px", 'left', nTable.style );
+ }
+ }
+ },
+
+ /*
+ * Function: _fnUpdateCache
+ * Purpose: Check the cache and update cache and value if needed
+ * Returns: -
+ * Inputs: object:oCache - local cache object
+ * string:sCache - cache property
+ * string:sSet - value to set
+ * string:sProperty - object property to set
+ * object:oObj - object to update
+ */
+ _fnUpdateCache: function ( oCache, sCache, sSet, sProperty, oObj )
+ {
+ if ( oCache[sCache] != sSet )
+ {
+ oObj[sProperty] = sSet;
+ oCache[sCache] = sSet;
+ }
+ },
+
+
+
+ /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Cloning functions
+ */
+
+ /*
+ * Function: _fnCloneThead
+ * Purpose: Clone the thead element
+ * Returns: -
+ * Inputs: object:oCache - the cahced values for this fixed element
+ */
+ _fnCloneThead: function ( oCache )
+ {
+ var s = this.fnGetSettings();
+ var nTable = oCache.nNode;
+
+ /* Set the wrapper width to match that of the cloned table */
+ oCache.nWrapper.style.width = jQuery(s.nTable).outerWidth()+"px";
+
+ /* Remove any children the cloned table has */
+ while ( nTable.childNodes.length > 0 )
+ {
+ jQuery('thead th', nTable).unbind( 'click' );
+ nTable.removeChild( nTable.childNodes[0] );
+ }
+
+ /* Clone the DataTables header */
+ var nThead = jQuery('thead', s.nTable).clone(true)[0];
+ nTable.appendChild( nThead );
+
+ /* Copy the widths across - apparently a clone isn't good enough for this */
+ jQuery("thead:eq(0)>tr th", s.nTable).each( function (i) {
+ jQuery("thead:eq(0)>tr th:eq("+i+")", nTable).width( jQuery(this).width() );
+ } );
+
+ jQuery("thead:eq(0)>tr td", s.nTable).each( function (i) {
+ jQuery("thead:eq(0)>tr th:eq("+i+")", nTable)[0].style.width( jQuery(this).width() );
+ } );
+ },
+
+ /*
+ * Function: _fnCloneTfoot
+ * Purpose: Clone the tfoot element
+ * Returns: -
+ * Inputs: object:oCache - the cahced values for this fixed element
+ */
+ _fnCloneTfoot: function ( oCache )
+ {
+ var s = this.fnGetSettings();
+ var nTable = oCache.nNode;
+
+ /* Set the wrapper width to match that of the cloned table */
+ oCache.nWrapper.style.width = jQuery(s.nTable).outerWidth()+"px";
+
+ /* Remove any children the cloned table has */
+ while ( nTable.childNodes.length > 0 )
+ {
+ nTable.removeChild( nTable.childNodes[0] );
+ }
+
+ /* Clone the DataTables footer */
+ var nTfoot = jQuery('tfoot', s.nTable).clone(true)[0];
+ nTable.appendChild( nTfoot );
+
+ /* Copy the widths across - apparently a clone isn't good enough for this */
+ jQuery("tfoot:eq(0)>tr th", s.nTable).each( function (i) {
+ jQuery("tfoot:eq(0)>tr th:eq("+i+")", nTable).width( jQuery(this).width() );
+ } );
+
+ jQuery("tfoot:eq(0)>tr td", s.nTable).each( function (i) {
+ jQuery("tfoot:eq(0)>tr th:eq("+i+")", nTable)[0].style.width( jQuery(this).width() );
+ } );
+ },
+
+ /*
+ * Function: _fnCloneTLeft
+ * Purpose: Clone the left column
+ * Returns: -
+ * Inputs: object:oCache - the cahced values for this fixed element
+ */
+ _fnCloneTLeft: function ( oCache )
+ {
+ var s = this.fnGetSettings();
+ var nTable = oCache.nNode;
+ var iCols = jQuery('tbody tr:eq(0) td', s.nTable).length;
+ var bRubbishOldIE = ($.browser.msie && ($.browser.version == "6.0" || $.browser.version == "7.0"));
+
+ /* Remove any children the cloned table has */
+ while ( nTable.childNodes.length > 0 )
+ {
+ nTable.removeChild( nTable.childNodes[0] );
+ }
+
+ /* Is this the most efficient way to do this - it looks horrible... */
+ nTable.appendChild( jQuery("thead", s.nTable).clone(true)[0] );
+ nTable.appendChild( jQuery("tbody", s.nTable).clone(true)[0] );
+ if ( s.bFooter )
+ {
+ nTable.appendChild( jQuery("tfoot", s.nTable).clone(true)[0] );
+ }
+
+ jQuery('thead tr th:gt(0)', nTable).remove();
+ jQuery('tfoot tr th:gt(0)', nTable).remove();
+
+ /* Basically the same as used in FixedColumns - remove and copy heights */
+ $('tbody tr', nTable).each( function (k) {
+ $('td:gt(0)', this).remove();
+
+ /* Can we use some kind of object detection here?! This is very nasty - damn browsers */
+ if ( $.browser.mozilla || $.browser.opera )
+ {
+ $('td', this).height( $('tbody tr:eq('+k+')', that.dom.body).outerHeight() );
+ }
+ else
+ {
+ $('td', this).height( $('tbody tr:eq('+k+')', that.dom.body).outerHeight() - iBoxHack );
+ }
+
+ if ( !bRubbishOldIE )
+ {
+ $('tbody tr:eq('+k+')', that.dom.body).height( $('tbody tr:eq('+k+')', that.dom.body).outerHeight() );
+ }
+ } );
+
+ var iWidth = jQuery('thead tr th:eq(0)', s.nTable).outerWidth();
+ nTable.style.width = iWidth+"px";
+ oCache.nWrapper.style.width = iWidth+"px";
+ },
+
+ /*
+ * Function: _fnCloneTRight
+ * Purpose: Clone the right most colun
+ * Returns: -
+ * Inputs: object:oCache - the cahced values for this fixed element
+ */
+ _fnCloneTRight: function ( oCache )
+ {
+ var s = this.fnGetSettings();
+ var nTable = oCache.nNode;
+ var iCols = jQuery('tbody tr:eq(0) td', s.nTable).length;
+ var bRubbishOldIE = ($.browser.msie && ($.browser.version == "6.0" || $.browser.version == "7.0"));
+
+ /* Remove any children the cloned table has */
+ while ( nTable.childNodes.length > 0 )
+ {
+ nTable.removeChild( nTable.childNodes[0] );
+ }
+
+ /* Is this the most efficient way to do this - it looks horrible... */
+ nTable.appendChild( jQuery("thead", s.nTable).clone(true)[0] );
+ nTable.appendChild( jQuery("tbody", s.nTable).clone(true)[0] );
+ if ( s.bFooter )
+ {
+ nTable.appendChild( jQuery("tfoot", s.nTable).clone(true)[0] );
+ }
+ jQuery('thead tr th:not(:nth-child('+iCols+'n))', nTable).remove();
+ jQuery('tfoot tr th:not(:nth-child('+iCols+'n))', nTable).remove();
+
+ /* Basically the same as used in FixedColumns - remove and copy heights */
+ $('tbody tr', nTable).each( function (k) {
+ $('td:lt('+iCols-1+')', this).remove();
+
+ /* Can we use some kind of object detection here?! This is very nasty - damn browsers */
+ if ( $.browser.mozilla || $.browser.opera )
+ {
+ $('td', this).height( $('tbody tr:eq('+k+')', that.dom.body).outerHeight() );
+ }
+ else
+ {
+ $('td', this).height( $('tbody tr:eq('+k+')', that.dom.body).outerHeight() - iBoxHack );
+ }
+
+ if ( !bRubbishOldIE )
+ {
+ $('tbody tr:eq('+k+')', that.dom.body).height( $('tbody tr:eq('+k+')', that.dom.body).outerHeight() );
+ }
+ } );
+
+ var iWidth = jQuery('thead tr th:eq('+(iCols-1)+')', s.nTable).outerWidth();
+ nTable.style.width = iWidth+"px";
+ oCache.nWrapper.style.width = iWidth+"px";
+ }
+};
+
+
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Static properties and methods
+ * We use these for speed! This information is common to all instances of FixedHeader, so no
+ * point if having them calculated and stored for each different instance.
+ */
+
+/*
+ * Variable: oWin
+ * Purpose: Store information about the window positioning
+ * Scope: FixedHeader
+ */
+FixedHeader.oWin = {
+ "iScrollTop": 0,
+ "iScrollRight": 0,
+ "iScrollBottom": 0,
+ "iScrollLeft": 0,
+ "iHeight": 0,
+ "iWidth": 0
+};
+
+/*
+ * Variable: oDoc
+ * Purpose: Store information about the document size
+ * Scope: FixedHeader
+ */
+FixedHeader.oDoc = {
+ "iHeight": 0,
+ "iWidth": 0
+};
+
+/*
+ * Variable: afnScroll
+ * Purpose: Array of functions that are to be used for the scrolling components
+ * Scope: FixedHeader
+ */
+FixedHeader.afnScroll = [];
+
+/*
+ * Function: fnMeasure
+ * Purpose: Update the measurements for the window and document
+ * Returns: -
+ * Inputs: -
+ */
+FixedHeader.fnMeasure = function ()
+{
+ var
+ jqWin = jQuery(window),
+ jqDoc = jQuery(document),
+ oWin = FixedHeader.oWin,
+ oDoc = FixedHeader.oDoc;
+
+ oDoc.iHeight = jqDoc.height();
+ oDoc.iWidth = jqDoc.width();
+
+ oWin.iHeight = jqWin.height();
+ oWin.iWidth = jqWin.width();
+ oWin.iScrollTop = jqWin.scrollTop();
+ oWin.iScrollLeft = jqWin.scrollLeft();
+ oWin.iScrollRight = oDoc.iWidth - oWin.iScrollLeft - oWin.iWidth;
+ oWin.iScrollBottom = oDoc.iHeight - oWin.iScrollTop - oWin.iHeight;
+};
+
+
+/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
+ * Global processing
+ */
+
+/*
+ * Just one 'scroll' event handler in FixedHeader, which calls the required components. This is
+ * done as an optimisation, to reduce calculation and proagation time
+ */
+jQuery(window).scroll( function () {
+ FixedHeader.fnMeasure();
+ for ( var i=0, iLen=FixedHeader.afnScroll.length ; itfoot",c.nTable).length>0)?true:false;c.bUseAbsPos=(jQuery.browser.msie&&(jQuery.browser.version=="6.0"||jQuery.browser.version=="7.0"));
+if(c.oSides.top){c.aoCache.push(d._fnCloneTable("fixedHeader","FixedHeader_Header",d._fnCloneThead))
+}if(c.oSides.bottom){c.aoCache.push(d._fnCloneTable("fixedFooter","FixedHeader_Footer",d._fnCloneTfoot))
+}if(c.oSides.left){c.aoCache.push(d._fnCloneTable("fixedLeft","FixedHeader_Left",d._fnCloneTLeft))
+}if(c.oSides.right){c.aoCache.push(d._fnCloneTable("fixedRight","FixedHeader_Right",d._fnCloneTRight))
+}FixedHeader.afnScroll.push(function(){d._fnUpdatePositions.call(d)});jQuery(window).resize(function(){FixedHeader.fnMeasure();
+d._fnUpdateClones.call(d);d._fnUpdatePositions.call(d)});FixedHeader.fnMeasure();
+d._fnUpdateClones();d._fnUpdatePositions()},fnInitSettings:function(b,a){if(typeof a!="undefined"){if(typeof a.top!="undefined"){b.oSides.top=a.top
+}if(typeof a.bottom!="undefined"){b.oSides.bottom=a.bottom}if(typeof a.left!="undefined"){b.oSides.left=a.left
+}if(typeof a.right!="undefined"){b.oSides.right=a.right}if(typeof a.zTop!="undefined"){b.oZIndexes.top=a.zTop
+}if(typeof a.zBottom!="undefined"){b.oZIndexes.bottom=a.zBottom}if(typeof a.zLeft!="undefined"){b.oZIndexes.left=a.zLeft
+}if(typeof a.zRight!="undefined"){b.oZIndexes.right=a.zRight}}b.bUseAbsPos=(jQuery.browser.msie&&(jQuery.browser.version=="6.0"||jQuery.browser.version=="7.0"))
+},_fnCloneTable:function(f,e,d){var b=this.fnGetSettings();var a;if(jQuery(b.nTable.parentNode).css("position")!="absolute"){b.nTable.parentNode.style.position="relative"
+}a=b.nTable.cloneNode(false);var c=document.createElement("div");c.style.position="absolute";
+c.className+=" FixedHeader_Cloned "+f+" "+e;if(f=="fixedHeader"){c.style.zIndex=b.oZIndexes.top
+}if(f=="fixedFooter"){c.style.zIndex=b.oZIndexes.bottom}if(f=="fixedLeft"){c.style.zIndex=b.oZIndexes.left
+}else{if(f=="fixedRight"){c.style.zIndex=b.oZIndexes.right}}c.appendChild(a);document.body.appendChild(c);
+return{nNode:a,nWrapper:c,sType:f,sPosition:"",sTop:"",sLeft:"",fnClone:d}},_fnMeasure:function(){var d=this.fnGetSettings(),a=d.oMes,c=jQuery(d.nTable),b=c.offset(),f=this._fnSumScroll(d.nTable.parentNode,"scrollTop"),e=this._fnSumScroll(d.nTable.parentNode,"scrollLeft");
+a.iTableWidth=c.outerWidth();a.iTableHeight=c.outerHeight();a.iTableLeft=b.left+d.nTable.parentNode.scrollLeft;
+a.iTableTop=b.top+f;a.iTableRight=a.iTableLeft+a.iTableWidth;a.iTableRight=FixedHeader.oDoc.iWidth-a.iTableLeft-a.iTableWidth;
+a.iTableBottom=FixedHeader.oDoc.iHeight-a.iTableTop-a.iTableHeight},_fnSumScroll:function(c,b){var a=c[b];
+while(c=c.parentNode){if(c.nodeName!="HTML"&&c.nodeName!="BODY"){break}a=c[b]}return a
+},_fnUpdatePositions:function(){var c=this.fnGetSettings();this._fnMeasure();for(var b=0,a=c.aoCache.length;
+bb.iScrollTop){this._fnUpdateCache(g,"sPosition","absolute","position",c.style);
+this._fnUpdateCache(g,"sTop",f.iTableTop+"px","top",c.style);this._fnUpdateCache(g,"sLeft",f.iTableLeft+"px","left",c.style)
+}else{if(b.iScrollTop>f.iTableTop+e){this._fnUpdateCache(g,"sPosition","absolute","position",c.style);
+this._fnUpdateCache(g,"sTop",(f.iTableTop+e)+"px","top",c.style);this._fnUpdateCache(g,"sLeft",f.iTableLeft+"px","left",c.style)
+}else{if(d.bUseAbsPos){this._fnUpdateCache(g,"sPosition","absolute","position",c.style);
+this._fnUpdateCache(g,"sTop",b.iScrollTop+"px","top",c.style);this._fnUpdateCache(g,"sLeft",f.iTableLeft+"px","left",c.style)
+}else{this._fnUpdateCache(g,"sPosition","fixed","position",c.style);this._fnUpdateCache(g,"sTop","0px","top",c.style);
+this._fnUpdateCache(g,"sLeft",(f.iTableLeft-b.iScrollLeft)+"px","left",c.style)}}}},_fnUpdateCache:function(e,c,b,d,a){if(e[c]!=b){a[d]=b;
+e[c]=b}},_fnCloneThead:function(d){var c=this.fnGetSettings();var a=d.nNode;d.nWrapper.style.width=jQuery(c.nTable).outerWidth()+"px";
+while(a.childNodes.length>0){jQuery("thead th",a).unbind("click");a.removeChild(a.childNodes[0])
+}var b=jQuery("thead",c.nTable).clone(true)[0];a.appendChild(b);jQuery("thead:eq(0)>tr th",c.nTable).each(function(e){jQuery("thead:eq(0)>tr th:eq("+e+")",a).width(jQuery(this).width())
+});jQuery("thead:eq(0)>tr td",c.nTable).each(function(e){jQuery("thead:eq(0)>tr th:eq("+e+")",a)[0].style.width(jQuery(this).width())
+})},_fnCloneTfoot:function(d){var c=this.fnGetSettings();var a=d.nNode;d.nWrapper.style.width=jQuery(c.nTable).outerWidth()+"px";
+while(a.childNodes.length>0){a.removeChild(a.childNodes[0])}var b=jQuery("tfoot",c.nTable).clone(true)[0];
+a.appendChild(b);jQuery("tfoot:eq(0)>tr th",c.nTable).each(function(e){jQuery("tfoot:eq(0)>tr th:eq("+e+")",a).width(jQuery(this).width())
+});jQuery("tfoot:eq(0)>tr td",c.nTable).each(function(e){jQuery("tfoot:eq(0)>tr th:eq("+e+")",a)[0].style.width(jQuery(this).width())
+})},_fnCloneTLeft:function(f){var c=this.fnGetSettings();var b=f.nNode;var e=jQuery("tbody tr:eq(0) td",c.nTable).length;
+var a=($.browser.msie&&($.browser.version=="6.0"||$.browser.version=="7.0"));while(b.childNodes.length>0){b.removeChild(b.childNodes[0])
+}b.appendChild(jQuery("thead",c.nTable).clone(true)[0]);b.appendChild(jQuery("tbody",c.nTable).clone(true)[0]);
+if(c.bFooter){b.appendChild(jQuery("tfoot",c.nTable).clone(true)[0])}jQuery("thead tr th:gt(0)",b).remove();
+jQuery("tfoot tr th:gt(0)",b).remove();$("tbody tr",b).each(function(g){$("td:gt(0)",this).remove();
+if($.browser.mozilla||$.browser.opera){$("td",this).height($("tbody tr:eq("+g+")",that.dom.body).outerHeight())
+}else{$("td",this).height($("tbody tr:eq("+g+")",that.dom.body).outerHeight()-iBoxHack)
+}if(!a){$("tbody tr:eq("+g+")",that.dom.body).height($("tbody tr:eq("+g+")",that.dom.body).outerHeight())
+}});var d=jQuery("thead tr th:eq(0)",c.nTable).outerWidth();b.style.width=d+"px";
+f.nWrapper.style.width=d+"px"},_fnCloneTRight:function(f){var c=this.fnGetSettings();
+var b=f.nNode;var e=jQuery("tbody tr:eq(0) td",c.nTable).length;var a=($.browser.msie&&($.browser.version=="6.0"||$.browser.version=="7.0"));
+while(b.childNodes.length>0){b.removeChild(b.childNodes[0])}b.appendChild(jQuery("thead",c.nTable).clone(true)[0]);
+b.appendChild(jQuery("tbody",c.nTable).clone(true)[0]);if(c.bFooter){b.appendChild(jQuery("tfoot",c.nTable).clone(true)[0])
+}jQuery("thead tr th:not(:nth-child("+e+"n))",b).remove();jQuery("tfoot tr th:not(:nth-child("+e+"n))",b).remove();
+$("tbody tr",b).each(function(g){$("td:lt("+e-1+")",this).remove();if($.browser.mozilla||$.browser.opera){$("td",this).height($("tbody tr:eq("+g+")",that.dom.body).outerHeight())
+}else{$("td",this).height($("tbody tr:eq("+g+")",that.dom.body).outerHeight()-iBoxHack)
+}if(!a){$("tbody tr:eq("+g+")",that.dom.body).height($("tbody tr:eq("+g+")",that.dom.body).outerHeight())
+}});var d=jQuery("thead tr th:eq("+(e-1)+")",c.nTable).outerWidth();b.style.width=d+"px";
+f.nWrapper.style.width=d+"px"}};FixedHeader.oWin={iScrollTop:0,iScrollRight:0,iScrollBottom:0,iScrollLeft:0,iHeight:0,iWidth:0};
+FixedHeader.oDoc={iHeight:0,iWidth:0};FixedHeader.afnScroll=[];FixedHeader.fnMeasure=function(){var d=jQuery(window),c=jQuery(document),b=FixedHeader.oWin,a=FixedHeader.oDoc;
+a.iHeight=c.height();a.iWidth=c.width();b.iHeight=d.height();b.iWidth=d.width();b.iScrollTop=d.scrollTop();
+b.iScrollLeft=d.scrollLeft();b.iScrollRight=a.iWidth-b.iScrollLeft-b.iWidth;b.iScrollBottom=a.iHeight-b.iScrollTop-b.iHeight
+};jQuery(window).scroll(function(){FixedHeader.fnMeasure();for(var b=0,a=FixedHeader.afnScroll.length;
+b charMin && pressedKey <= 90) || pressedKey == 32) {
+ return false;
+ }
+ var cal = $(this).parent().parent();
+ if (cal.data('colorpicker').livePreview === true) {
+ change.apply(this);
+ }
+ },
+ change = function (ev) {
+ var cal = $(this).parent().parent(), col;
+ if (this.parentNode.className.indexOf('_hex') > 0) {
+ cal.data('colorpicker').color = col = HexToHSB(fixHex(this.value));
+ } else if (this.parentNode.className.indexOf('_hsb') > 0) {
+ cal.data('colorpicker').color = col = fixHSB({
+ h: parseInt(cal.data('colorpicker').fields.eq(4).val(), 10),
+ s: parseInt(cal.data('colorpicker').fields.eq(5).val(), 10),
+ b: parseInt(cal.data('colorpicker').fields.eq(6).val(), 10)
+ });
+ } else {
+ cal.data('colorpicker').color = col = RGBToHSB(fixRGB({
+ r: parseInt(cal.data('colorpicker').fields.eq(1).val(), 10),
+ g: parseInt(cal.data('colorpicker').fields.eq(2).val(), 10),
+ b: parseInt(cal.data('colorpicker').fields.eq(3).val(), 10)
+ }));
+ }
+ if (ev) {
+ fillRGBFields(col, cal.get(0));
+ fillHexFields(col, cal.get(0));
+ fillHSBFields(col, cal.get(0));
+ }
+ setSelector(col, cal.get(0));
+ setHue(col, cal.get(0));
+ setNewColor(col, cal.get(0));
+ cal.data('colorpicker').onChange.apply(cal, [col, HSBToHex(col), HSBToRGB(col)]);
+ },
+ blur = function (ev) {
+ var cal = $(this).parent().parent();
+ cal.data('colorpicker').fields.parent().removeClass('colorpicker_focus');
+ },
+ focus = function () {
+ charMin = this.parentNode.className.indexOf('_hex') > 0 ? 70 : 65;
+ $(this).parent().parent().data('colorpicker').fields.parent().removeClass('colorpicker_focus');
+ $(this).parent().addClass('colorpicker_focus');
+ },
+ downIncrement = function (ev) {
+ var field = $(this).parent().find('input').focus();
+ var current = {
+ el: $(this).parent().addClass('colorpicker_slider'),
+ max: this.parentNode.className.indexOf('_hsb_h') > 0 ? 360 : (this.parentNode.className.indexOf('_hsb') > 0 ? 100 : 255),
+ y: ev.pageY,
+ field: field,
+ val: parseInt(field.val(), 10),
+ preview: $(this).parent().parent().data('colorpicker').livePreview
+ };
+ $(document).bind('mouseup', current, upIncrement);
+ $(document).bind('mousemove', current, moveIncrement);
+ },
+ moveIncrement = function (ev) {
+ ev.data.field.val(Math.max(0, Math.min(ev.data.max, parseInt(ev.data.val + ev.pageY - ev.data.y, 10))));
+ if (ev.data.preview) {
+ change.apply(ev.data.field.get(0), [true]);
+ }
+ return false;
+ },
+ upIncrement = function (ev) {
+ change.apply(ev.data.field.get(0), [true]);
+ ev.data.el.removeClass('colorpicker_slider').find('input').focus();
+ $(document).unbind('mouseup', upIncrement);
+ $(document).unbind('mousemove', moveIncrement);
+ return false;
+ },
+ downHue = function (ev) {
+ var current = {
+ cal: $(this).parent(),
+ y: $(this).offset().top
+ };
+ current.preview = current.cal.data('colorpicker').livePreview;
+ $(document).bind('mouseup', current, upHue);
+ $(document).bind('mousemove', current, moveHue);
+ },
+ moveHue = function (ev) {
+ change.apply(
+ ev.data.cal.data('colorpicker')
+ .fields
+ .eq(4)
+ .val(parseInt(360*(150 - Math.max(0,Math.min(150,(ev.pageY - ev.data.y))))/150, 10))
+ .get(0),
+ [ev.data.preview]
+ );
+ return false;
+ },
+ upHue = function (ev) {
+ fillRGBFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
+ fillHexFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
+ $(document).unbind('mouseup', upHue);
+ $(document).unbind('mousemove', moveHue);
+ return false;
+ },
+ downSelector = function (ev) {
+ var current = {
+ cal: $(this).parent(),
+ pos: $(this).offset()
+ };
+ current.preview = current.cal.data('colorpicker').livePreview;
+ $(document).bind('mouseup', current, upSelector);
+ $(document).bind('mousemove', current, moveSelector);
+ },
+ moveSelector = function (ev) {
+ change.apply(
+ ev.data.cal.data('colorpicker')
+ .fields
+ .eq(6)
+ .val(parseInt(100*(150 - Math.max(0,Math.min(150,(ev.pageY - ev.data.pos.top))))/150, 10))
+ .end()
+ .eq(5)
+ .val(parseInt(100*(Math.max(0,Math.min(150,(ev.pageX - ev.data.pos.left))))/150, 10))
+ .get(0),
+ [ev.data.preview]
+ );
+ return false;
+ },
+ upSelector = function (ev) {
+ fillRGBFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
+ fillHexFields(ev.data.cal.data('colorpicker').color, ev.data.cal.get(0));
+ $(document).unbind('mouseup', upSelector);
+ $(document).unbind('mousemove', moveSelector);
+ return false;
+ },
+ enterSubmit = function (ev) {
+ $(this).addClass('colorpicker_focus');
+ },
+ leaveSubmit = function (ev) {
+ $(this).removeClass('colorpicker_focus');
+ },
+ clickSubmit = function (ev) {
+ var cal = $(this).parent();
+ var col = cal.data('colorpicker').color;
+ cal.data('colorpicker').origColor = col;
+ setCurrentColor(col, cal.get(0));
+ cal.data('colorpicker').onSubmit(col, HSBToHex(col), HSBToRGB(col), cal.data('colorpicker').el);
+ },
+ show = function (ev) {
+ var cal = $('#' + $(this).data('colorpickerId'));
+ cal.data('colorpicker').onBeforeShow.apply(this, [cal.get(0)]);
+ var pos = $(this).offset();
+ var viewPort = getViewport();
+ var top = pos.top + this.offsetHeight;
+ var left = pos.left;
+ if (top + 176 > viewPort.t + viewPort.h) {
+ top -= this.offsetHeight + 176;
+ }
+ if (left + 356 > viewPort.l + viewPort.w) {
+ left -= 356;
+ }
+ cal.css({left: left + 'px', top: top + 'px'});
+ if (cal.data('colorpicker').onShow.apply(this, [cal.get(0)]) != false) {
+ cal.show();
+ }
+ $(document).bind('mousedown', {cal: cal}, hide);
+ return false;
+ },
+ hide = function (ev) {
+ if (!isChildOf(ev.data.cal.get(0), ev.target, ev.data.cal.get(0))) {
+ if (ev.data.cal.data('colorpicker').onHide.apply(this, [ev.data.cal.get(0)]) != false) {
+ ev.data.cal.hide();
+ }
+ $(document).unbind('mousedown', hide);
+ }
+ },
+ isChildOf = function(parentEl, el, container) {
+ if (parentEl == el) {
+ return true;
+ }
+ if (parentEl.contains) {
+ return parentEl.contains(el);
+ }
+ if ( parentEl.compareDocumentPosition ) {
+ return !!(parentEl.compareDocumentPosition(el) & 16);
+ }
+ var prEl = el.parentNode;
+ while(prEl && prEl != container) {
+ if (prEl == parentEl)
+ return true;
+ prEl = prEl.parentNode;
+ }
+ return false;
+ },
+ getViewport = function () {
+ var m = document.compatMode == 'CSS1Compat';
+ return {
+ l : window.pageXOffset || (m ? document.documentElement.scrollLeft : document.body.scrollLeft),
+ t : window.pageYOffset || (m ? document.documentElement.scrollTop : document.body.scrollTop),
+ w : window.innerWidth || (m ? document.documentElement.clientWidth : document.body.clientWidth),
+ h : window.innerHeight || (m ? document.documentElement.clientHeight : document.body.clientHeight)
+ };
+ },
+ fixHSB = function (hsb) {
+ return {
+ h: Math.min(360, Math.max(0, hsb.h)),
+ s: Math.min(100, Math.max(0, hsb.s)),
+ b: Math.min(100, Math.max(0, hsb.b))
+ };
+ },
+ fixRGB = function (rgb) {
+ return {
+ r: Math.min(255, Math.max(0, rgb.r)),
+ g: Math.min(255, Math.max(0, rgb.g)),
+ b: Math.min(255, Math.max(0, rgb.b))
+ };
+ },
+ fixHex = function (hex) {
+ var len = 6 - hex.length;
+ if (len > 0) {
+ var o = [];
+ for (var i=0; i -1) ? hex.substring(1) : hex), 16);
+ return {r: hex >> 16, g: (hex & 0x00FF00) >> 8, b: (hex & 0x0000FF)};
+ },
+ HexToHSB = function (hex) {
+ return RGBToHSB(HexToRGB(hex));
+ },
+ RGBToHSB = function (rgb) {
+ var hsb = {
+ h: 0,
+ s: 0,
+ b: 0
+ };
+ var min = Math.min(rgb.r, rgb.g, rgb.b);
+ var max = Math.max(rgb.r, rgb.g, rgb.b);
+ var delta = max - min;
+ hsb.b = max;
+ if (max != 0) {
+
+ }
+ hsb.s = max != 0 ? 255 * delta / max : 0;
+ if (hsb.s != 0) {
+ if (rgb.r == max) {
+ hsb.h = (rgb.g - rgb.b) / delta;
+ } else if (rgb.g == max) {
+ hsb.h = 2 + (rgb.b - rgb.r) / delta;
+ } else {
+ hsb.h = 4 + (rgb.r - rgb.g) / delta;
+ }
+ } else {
+ hsb.h = -1;
+ }
+ hsb.h *= 60;
+ if (hsb.h < 0) {
+ hsb.h += 360;
+ }
+ hsb.s *= 100/255;
+ hsb.b *= 100/255;
+ return hsb;
+ },
+ HSBToRGB = function (hsb) {
+ var rgb = {};
+ var h = Math.round(hsb.h);
+ var s = Math.round(hsb.s*255/100);
+ var v = Math.round(hsb.b*255/100);
+ if(s == 0) {
+ rgb.r = rgb.g = rgb.b = v;
+ } else {
+ var t1 = v;
+ var t2 = (255-s)*v/255;
+ var t3 = (t1-t2)*(h%60)/60;
+ if(h==360) h = 0;
+ if(h<60) {rgb.r=t1; rgb.b=t2; rgb.g=t2+t3}
+ else if(h<120) {rgb.g=t1; rgb.b=t2; rgb.r=t1-t3}
+ else if(h<180) {rgb.g=t1; rgb.r=t2; rgb.b=t2+t3}
+ else if(h<240) {rgb.b=t1; rgb.r=t2; rgb.g=t1-t3}
+ else if(h<300) {rgb.b=t1; rgb.g=t2; rgb.r=t2+t3}
+ else if(h<360) {rgb.r=t1; rgb.g=t2; rgb.b=t1-t3}
+ else {rgb.r=0; rgb.g=0; rgb.b=0}
+ }
+ return {r:Math.round(rgb.r), g:Math.round(rgb.g), b:Math.round(rgb.b)};
+ },
+ RGBToHex = function (rgb) {
+ var hex = [
+ rgb.r.toString(16),
+ rgb.g.toString(16),
+ rgb.b.toString(16)
+ ];
+ $.each(hex, function (nr, val) {
+ if (val.length == 1) {
+ hex[nr] = '0' + val;
+ }
+ });
+ return hex.join('');
+ },
+ HSBToHex = function (hsb) {
+ return RGBToHex(HSBToRGB(hsb));
+ },
+ restoreOriginal = function () {
+ var cal = $(this).parent();
+ var col = cal.data('colorpicker').origColor;
+ cal.data('colorpicker').color = col;
+ fillRGBFields(col, cal.get(0));
+ fillHexFields(col, cal.get(0));
+ fillHSBFields(col, cal.get(0));
+ setSelector(col, cal.get(0));
+ setHue(col, cal.get(0));
+ setNewColor(col, cal.get(0));
+ };
+ return {
+ init: function (opt) {
+ opt = $.extend({}, defaults, opt||{});
+ if (typeof opt.color == 'string') {
+ opt.color = HexToHSB(opt.color);
+ } else if (opt.color.r != undefined && opt.color.g != undefined && opt.color.b != undefined) {
+ opt.color = RGBToHSB(opt.color);
+ } else if (opt.color.h != undefined && opt.color.s != undefined && opt.color.b != undefined) {
+ opt.color = fixHSB(opt.color);
+ } else {
+ return this;
+ }
+ return this.each(function () {
+ if (!$(this).data('colorpickerId')) {
+ var options = $.extend({}, opt);
+ options.origColor = opt.color;
+ var id = 'collorpicker_' + parseInt(Math.random() * 1000);
+ $(this).data('colorpickerId', id);
+ var cal = $(tpl).attr('id', id);
+ if (options.flat) {
+ cal.appendTo(this).show();
+ } else {
+ cal.appendTo(document.body);
+ }
+ options.fields = cal
+ .find('input')
+ .bind('keyup', keyDown)
+ .bind('change', change)
+ .bind('blur', blur)
+ .bind('focus', focus);
+ cal
+ .find('span').bind('mousedown', downIncrement).end()
+ .find('>div.colorpicker_current_color').bind('click', restoreOriginal);
+ options.selector = cal.find('div.colorpicker_color').bind('mousedown', downSelector);
+ options.selectorIndic = options.selector.find('div div');
+ options.el = this;
+ options.hue = cal.find('div.colorpicker_hue div');
+ cal.find('div.colorpicker_hue').bind('mousedown', downHue);
+ options.newColor = cal.find('div.colorpicker_new_color');
+ options.currentColor = cal.find('div.colorpicker_current_color');
+ cal.data('colorpicker', options);
+ cal.find('div.colorpicker_submit')
+ .bind('mouseenter', enterSubmit)
+ .bind('mouseleave', leaveSubmit)
+ .bind('click', clickSubmit);
+ fillRGBFields(options.color, cal.get(0));
+ fillHSBFields(options.color, cal.get(0));
+ fillHexFields(options.color, cal.get(0));
+ setHue(options.color, cal.get(0));
+ setSelector(options.color, cal.get(0));
+ setCurrentColor(options.color, cal.get(0));
+ setNewColor(options.color, cal.get(0));
+ if (options.flat) {
+ cal.css({
+ position: 'relative',
+ display: 'block'
+ });
+ } else {
+ $(this).bind(options.eventName, show);
+ }
+ }
+ });
+ },
+ showPicker: function() {
+ return this.each( function () {
+ if ($(this).data('colorpickerId')) {
+ show.apply(this);
+ }
+ });
+ },
+ hidePicker: function() {
+ return this.each( function () {
+ if ($(this).data('colorpickerId')) {
+ $('#' + $(this).data('colorpickerId')).hide();
+ }
+ });
+ },
+ setColor: function(col) {
+ if (typeof col == 'string') {
+ col = HexToHSB(col);
+ } else if (col.r != undefined && col.g != undefined && col.b != undefined) {
+ col = RGBToHSB(col);
+ } else if (col.h != undefined && col.s != undefined && col.b != undefined) {
+ col = fixHSB(col);
+ } else {
+ return this;
+ }
+ return this.each(function(){
+ if ($(this).data('colorpickerId')) {
+ var cal = $('#' + $(this).data('colorpickerId'));
+ cal.data('colorpicker').color = col;
+ cal.data('colorpicker').origColor = col;
+ fillRGBFields(col, cal.get(0));
+ fillHSBFields(col, cal.get(0));
+ fillHexFields(col, cal.get(0));
+ setHue(col, cal.get(0));
+ setSelector(col, cal.get(0));
+ setCurrentColor(col, cal.get(0));
+ setNewColor(col, cal.get(0));
+ }
+ });
+ }
+ };
+ }();
+ $.fn.extend({
+ ColorPicker: ColorPicker.init,
+ ColorPickerHide: ColorPicker.hidePicker,
+ ColorPickerShow: ColorPicker.showPicker,
+ ColorPickerSetColor: ColorPicker.setColor
+ });
+})(jQuery)
\ No newline at end of file
diff --git a/www/themes/intranet/js/plugins/elfinder.min.js b/www/themes/intranet/js/plugins/elfinder.min.js
new file mode 100644
index 0000000..bb7dcc7
--- /dev/null
+++ b/www/themes/intranet/js/plugins/elfinder.min.js
@@ -0,0 +1 @@
+(function(a){elFinder=function(d,g){var b=this,h;this.log=function(i){window.console&&window.console.log&&window.console.log(i)};this.options=a.extend({},this.options,g||{});if(!this.options.url){alert("Invalid configuration! You have to set URL option.");return}this.id="";if((h=a(d).attr("id"))){this.id=h}else{}this.version="1.2";this.jquery=a.fn.jquery.split(".").join("");this.cwd={};this.cdc={};this.buffer={};this.selected=[];this.history=[];this.locked=false;this.zIndex=2;this.dialog=null;this.anchor=this.options.docked?a("").hide().insertBefore(d):null;this.params={dotFiles:false,arc:"",uplMaxSize:""};this.vCookie="el-finder-view-"+this.id;this.pCookie="el-finder-places-"+this.id;this.lCookie="el-finder-last-"+this.id;this.view=new this.view(this,d);this.ui=new this.ui(this);this.eventsManager=new this.eventsManager(this);this.quickLook=new this.quickLook(this);this.cookie=function(j,l){if(typeof l=="undefined"){if(document.cookie&&document.cookie!=""){var k,p=document.cookie.split(";");j+="=";for(k=0;kp',b.view.cwd).css("background",' url("'+k.images[j]+'") 0 0 no-repeat')}}k.tmb&&b.tmb()}},{lock:false,silent:true})};this.getPlaces=function(){var i=[],j=this.cookie(this.pCookie);if(j.length){if(j.indexOf(":")!=-1){i=j.split(":")}else{i.push(j)}}return i};this.addPlace=function(j){var i=this.getPlaces();if(a.inArray(j,i)==-1){i.push(j);this.savePlaces(i);return true}};this.removePlace=function(j){var i=this.getPlaces();if(a.inArray(j,i)!=-1){this.savePlaces(a.map(i,function(k){return k==j?null:k}));return true}};this.savePlaces=function(i){this.cookie(this.pCookie,i.join(":"))};this.reload=function(m){var k;this.cwd=m.cwd;this.cdc={};for(k=0;k0){this.iID&&clearInterval(this.iID);this.iID=setInterval(function(){!b.locked&&b.ui.exec("reload")},this.options.autoReload*60000)}};this.updateCwd=function(){this.lockShortcuts(true);this.selected=[];this.view.renderCwd();this.eventsManager.updateCwd();this.view.tree.find('a[key="'+this.cwd.hash+'"]').trigger("select");this.lockShortcuts()};this.drop=function(l,j,k){if(j.helper.find('[key="'+k+'"]').length){return b.view.error("Unable to copy into itself")}var i=[];j.helper.find('div:not(.noaccess):has(>label):not(:has(em[class="readonly"],em[class=""]))').each(function(){i.push(a(this).hide().attr("key"))});if(!j.helper.find("div:has(>label):visible").length){j.helper.hide()}if(i.length){b.setBuffer(i,l.shiftKey?0:1,k);if(b.buffer.files){setTimeout(function(){b.ui.exec("paste");b.buffer={}},300)}}else{a(this).removeClass("el-finder-droppable")}};this.getSelected=function(j){var k,l=[];if(j>=0){return this.cdc[this.selected[j]]||{}}for(k=0;k:]+$/)};this.fileExists=function(k){for(var j in this.cdc){if(this.cdc[j].name==k){return j}}return false};this.uniqueName=function(m,l){m=b.i18n(m);var j=m,k=0,l=l||"";if(!this.fileExists(j+l)){return j+l}while(k++<100){if(!this.fileExists(j+k+l)){return j+k+l}}return j.replace("100","")+Math.random()+l};this.lastDir=function(i){if(this.options.rememberLastDir){return i?this.cookie(this.lCookie,i):this.cookie(this.lCookie)}};function c(i,j){i&&b.view.win.width(i);j&&b.view.nav.add(b.view.cwd).height(j)}function e(){c(null,b.dialog.height()-b.view.tlb.parent().height()-(a.browser.msie?47:32))}this.time=function(){return new Date().getMilliseconds()};this.setView(this.cookie(this.vCookie));c(b.options.width,b.options.height);if(this.options.dialog||this.options.docked){this.options.dialog=a.extend({width:570,dialogClass:"",minWidth:480,minHeight:330},this.options.dialog||{});this.options.dialog.open=function(){setTimeout(function(){a('').appendTo(b.view.win).focus().select().remove()},200)};this.options.dialog.dialogClass+="el-finder-dialog";this.options.dialog.resize=e;if(this.options.docked){this.options.dialog.close=function(){b.dock()};this.view.win.data("size",{width:this.view.win.width(),height:this.view.nav.height()})}else{this.options.dialog.close=function(){b.destroy()};this.dialog=a("").append(this.view.win).dialog(this.options.dialog)}}this.ajax({cmd:"open",target:this.lastDir()||"",init:true,tree:true},function(i){if(i.cwd){b.eventsManager.init();b.reload(i);a.extend(b.params,i.params||{});a("*",document.body).each(function(){var j=parseInt(a(this).css("z-index"));if(j>=b.zIndex){b.zIndex=j+1}});b.ui.init(i.disabled)}},{force:true});this.open=function(){this.dialog?this.dialog.dialog("open"):this.view.win.show();this.eventsManager.lock=false};this.close=function(){this.quickLook.hide();if(this.options.docked&&this.view.win.attr("undocked")){this.dock()}else{this.dialog?this.dialog.dialog("close"):this.view.win.hide()}this.eventsManager.lock=true};this.destroy=function(){this.eventsManager.lock=true;this.quickLook.hide();this.quickLook.win.remove();if(this.dialog){this.dialog.dialog("destroy");this.view.win.parent().remove()}else{this.view.win.remove()}this.ui.menu.remove()};this.dock=function(){if(this.options.docked&&this.view.win.attr("undocked")){this.quickLook.hide();var i=this.view.win.data("size");this.view.win.insertAfter(this.anchor).removeAttr("undocked");c(i.width,i.height);this.dialog.dialog("destroy");this.dialog=null}};this.undock=function(){if(this.options.docked&&!this.view.win.attr("undocked")){this.quickLook.hide();this.dialog=a("").append(this.view.win.css("width","100%").attr("undocked",true).show()).dialog(this.options.dialog);e()}}};elFinder.prototype.i18n=function(b){return this.options.i18n[this.options.lang]&&this.options.i18n[this.options.lang][b]?this.options.i18n[this.options.lang][b]:b};elFinder.prototype.options={url:"",lang:"en",cssClass:"",wrap:14,places:"Places",placesFirst:true,editorCallback:null,cutURL:"",closeOnEditorCallback:true,i18n:{},view:"icons",width:"",height:"",disableShortcuts:false,rememberLastDir:true,cookie:{expires:30,domain:"",path:"/",secure:false},toolbar:[["back","reload"],["select","open"],["mkdir","mkfile","upload"],["copy","paste","rm"],["rename","edit"],["info","quicklook","resize"],["icons","list"],["help"]],contextmenu:{cwd:["reload","delim","mkdir","mkfile","upload","delim","paste","delim","info"],file:["select","open","quicklook","delim","copy","cut","rm","delim","duplicate","rename","edit","resize","archive","extract","delim","info"],group:["select","copy","cut","rm","delim","archive","extract","delim","info"]},dialog:null,docked:false,autoReload:0,selectMultiple:false};a.fn.elfinder=function(b){return this.each(function(){var c=typeof(b)=="string"?b:"";if(!this.elfinder){this.elfinder=new elFinder(this,typeof(b)=="object"?b:{})}switch(c){case"close":case"hide":this.elfinder.close();break;case"open":case"show":this.elfinder.open();break;case"dock":this.elfinder.dock();break;case"undock":this.elfinder.undock();break;case"destroy":this.elfinder.destroy();break}})}})(jQuery);(function(a){elFinder.prototype.view=function(d,c){var b=this;this.fm=d;this.kinds={unknown:"Unknown",directory:"Folder",symlink:"Alias","symlink-broken":"Broken alias","application/x-empty":"Plain text","application/postscript":"Postscript document","application/octet-stream":"Application","application/vnd.ms-office":"Microsoft Office document","application/vnd.ms-word":"Microsoft Word document","application/vnd.ms-excel":"Microsoft Excel document","application/vnd.ms-powerpoint":"Microsoft Powerpoint presentation","application/pdf":"Portable Document Format (PDF)","application/vnd.oasis.opendocument.text":"Open Office document","application/x-shockwave-flash":"Flash application","application/xml":"XML document","application/x-bittorrent":"Bittorrent file","application/x-7z-compressed":"7z archive","application/x-tar":"TAR archive","application/x-gzip":"GZIP archive","application/x-bzip2":"BZIP archive","application/zip":"ZIP archive","application/x-rar":"RAR archive","application/javascript":"Javascript application","text/plain":"Plain text","text/x-php":"PHP source","text/html":"HTML document","text/javascript":"Javascript source","text/css":"CSS style sheet","text/rtf":"Rich Text Format (RTF)","text/rtfd":"RTF with attachments (RTFD)","text/x-c":"C source","text/x-c++":"C++ source","text/x-shellscript":"Unix shell script","text/x-python":"Python source","text/x-java":"Java source","text/x-ruby":"Ruby source","text/x-perl":"Perl script","text/xml":"XML document","image/x-ms-bmp":"BMP image","image/jpeg":"JPEG image","image/gif":"GIF Image","image/png":"PNG image","image/x-targa":"TGA image","image/tiff":"TIFF image","image/vnd.adobe.photoshop":"Adobe Photoshop image","audio/mpeg":"MPEG audio","audio/midi":"MIDI audio","audio/ogg":"Ogg Vorbis audio","audio/mp4":"MP4 audio","audio/wav":"WAV audio","video/x-dv":"DV video","video/mp4":"MP4 video","video/mpeg":"MPEG video","video/x-msvideo":"AVI video","video/quicktime":"Quicktime video","video/x-ms-wmv":"WM video","video/x-flv":"Flash video","video/x-matroska":"Matroska video"};this.tlb=a("");this.nav=a('').resizable({handles:"e",autoHide:true,minWidth:200,maxWidth:500});this.cwd=a('').attr("unselectable","on");this.spn=a('');this.err=a(' ').click(function(){a(this).hide()});this.nfo=a('');this.pth=a('');this.sel=a('');this.stb=a('').append(this.pth).append(this.nfo).append(this.sel);this.wrz=a('').append(this.nav).append(this.cwd).append(this.spn).append(this.err).append('');this.win=a(c).empty().attr("id",this.fm.id).addClass("el-finder "+(d.options.cssClass||"")).append(a('').append(this.tlb)).append(this.wrz).append(this.stb);this.tree=a('').appendTo(this.nav);this.plc=a('").hide();this.nav[this.fm.options.placesFirst?"prepend":"append"](this.plc);this.spinner=function(e){this.win.toggleClass("el-finder-disabled",e);this.spn.toggle(e)};this.fatal=function(e){b.error(e.status!="404"?"Invalid backend configuration":"Unable to connect to backend")};this.error=function(e,g){this.fm.lock();this.err.show().children("strong").html(this.fm.i18n(e)+"!"+this.formatErrorData(g));setTimeout(function(){b.err.fadeOut("slow")},4000)};this.renderNav=function(g){var i=g.dirs.length?h(g.dirs):"",e='"+g.name+""+i+"";this.tree.html(e);this.fm.options.places&&this.renderPlaces();function h(j){var l,m,n,k='';for(l=0;l"+j[l].name+"";if(j[l].dirs.length){k+=h(j[l].dirs)}k+=""}return k+" "}};this.renderPlaces=function(){var g,j,h=this.fm.getPlaces(),e=this.plc.show().find("ul").empty().hide();a("div:first",this.plc).removeClass("collapsed expanded");if(h.length){h.sort(function(k,i){var m=b.tree.find('a[key="'+k+'"]').text()||"",l=b.tree.find('a[key="'+i+'"]').text()||"";return m.localeCompare(l)});for(g=0;g| '+this.fm.i18n("Name")+" | "+this.fm.i18n("Permissions")+" | "+this.fm.i18n("Modified")+' | '+this.fm.i18n("Size")+" | "+this.fm.i18n("Kind")+" | "+g+"")}this.pth.text(d.cwd.rel);this.nfo.text(d.i18n("items")+": "+e+", "+this.formatSize(h));this.sel.empty()};this.renderIcon=function(e){var g="";if(e.link||e.mime=="symlink-broken"){g+=""}if(!e.read&&!e.write){g+=''}else{if(e.read&&!e.write){g+=''}else{if(!e.read&&e.write){g+=''}}}return''+g+" "};this.renderRow=function(g,e){var h=g.link||g.mime=="symlink-broken"?"":"";if(!g.read&&!g.write){h+=''}else{if(g.read&&!g.write){h+=''}else{if(!g.read&&g.write){h+=''}}}return''+h+" | "+g.name+" | "+b.formatPermissions(g.read,g.write,g.rm)+" | "+b.formatDate(g.date)+' | '+b.formatSize(g.size)+" | "+b.mime2kind(g.link?"symlink":g.mime)+" | "};this.updateFile=function(g){var h=this.cwd.find('[key="'+g.hash+'"]');h.replaceWith(h[0].nodeName=="DIV"?this.renderIcon(g):this.renderRow(g))};this.selectedInfo=function(){var e,g=0,h;if(b.fm.selected.length){h=this.fm.getSelected();for(e=0;e0?this.fm.i18n("selected items")+": "+h.length+", "+this.formatSize(g):"")};this.formatName=function(g){var e=b.fm.options.wrap;if(e>0){if(g.length>e*2){return g.substr(0,e)+""+g.substr(e,e-5)+"…"+g.substr(g.length-3)}else{if(g.length>e){return g.substr(0,e)+""+g.substr(e)}}}return g};this.formatErrorData=function(h){var e,g="";if(typeof(h)=="object"){g=" ";for(e in h){g+=e+" "+b.fm.i18n(h[e])+" "}}return g};this.mime2class=function(e){return e.replace("/"," ").replace(/\./g,"-")};this.formatDate=function(e){return e.replace(/([a-z]+)\s/i,function(h,g){return b.fm.i18n(g)+" "})};this.formatSize=function(g){var h=1,e="bytes";if(g>1073741824){h=1073741824;e="Gb"}else{if(g>1048576){h=1048576;e="Mb"}else{if(g>1024){h=1024;e="Kb"}}}return Math.round(g/h)+" "+e};this.formatPermissions=function(g,e,i){var h=[];g&&h.push(b.fm.i18n("read"));e&&h.push(b.fm.i18n("write"));i&&h.push(b.fm.i18n("remove"));return h.join("/")};this.mime2kind=function(e){return this.fm.i18n(this.kinds[e]||"unknown")}}})(jQuery);(function(a){elFinder.prototype.ui=function(c){var b=this;this.fm=c;this.cmd={};this.buttons={};this.menu=a('').appendTo(document.body).hide();this.dockButton=a('');this.exec=function(e,d){if(this.cmd[e]){if(e!="open"&&!this.cmd[e].isAllowed()){return this.fm.view.error("Command not allowed")}if(!this.fm.locked){this.fm.quickLook.hide();a(".el-finder-info").remove();this.cmd[e].exec(d);this.update()}}};this.cmdName=function(d){if(this.cmd[d]&&this.cmd[d].name){return d=="archive"&&this.fm.params.archives.length==1?this.fm.i18n("Create")+" "+this.fm.view.mime2kind(this.fm.params.archives[0]).toLowerCase():this.fm.i18n(this.cmd[d].name)}return d};this.isCmdAllowed=function(d){return b.cmd[d]&&b.cmd[d].isAllowed()};this.execIfAllowed=function(d){this.isCmdAllowed(d)&&this.exec(d)};this.includeInCm=function(e,d){return this.isCmdAllowed(e)&&this.cmd[e].cm(d)};this.showMenu=function(i){var g,h,d,k="";this.hideMenu();if(!b.fm.selected.length){g="cwd"}else{if(b.fm.selected.length==1){g="file"}else{g="group"}}j(g);h=a(window);d={height:h.height(),width:h.width(),sT:h.scrollTop(),cW:this.menu.width(),cH:this.menu.height()};this.menu.css({left:((i.clientX+d.cW)>d.width?(i.clientX-d.cW):i.clientX),top:((i.clientY+d.cH)>d.height&&i.clientY>d.cH?(i.clientY+d.sT-d.cH):i.clientY+d.sT)}).show().find("div[name]").hover(function(){var l=a(this),m=l.children("div"),e;l.addClass("hover");if(m.length){if(!m.attr("pos")){e=l.outerWidth();m.css(a(window).width()-e-l.offset().left>m.width()?"left":"right",e-5).attr("pos",true)}m.show()}},function(){a(this).removeClass("hover").children("div").hide()}).click(function(m){m.stopPropagation();var l=a(this);if(!l.children("div").length){b.hideMenu();b.exec(l.attr("name"),l.attr("argc"))}});function j(q){var p,n,m,o,e,r=b.fm.options.contextmenu[q]||[];for(p=0;p')}else{if(b.fm.ui.includeInCm(r[p],q)){m=b.cmd[r[p]].argc();o="";if(m.length){o='"}o+=""}b.menu.append(''+o+b.cmdName(r[p])+" ")}}}}};this.hideMenu=function(){this.menu.hide().empty()};this.update=function(){for(var d in this.buttons){this.buttons[d].toggleClass("disabled",!this.cmd[d].isAllowed())}};this.init=function(k){var h,d,o,m=false,g=2,l,e=this.fm.options.toolbar;if(!this.fm.options.editorCallback){k.push("select")}if(!this.fm.params.archives.length&&a.inArray("archive",k)==-1){k.push("archive")}for(h in this.commands){if(a.inArray(h,k)==-1){this.commands[h].prototype=this.command.prototype;this.cmd[h]=new this.commands[h](this.fm)}}for(h=0;h')}m=false;for(d=0;d').appendTo(this.fm.view.tlb).click(function(i){i.stopPropagation()}).bind("click",(function(i){return function(){!a(this).hasClass("disabled")&&i.exec(a(this).attr("name"))}})(this)).hover(function(){!a(this).hasClass("disabled")&&a(this).addClass("el-finder-tb-hover")},function(){a(this).removeClass("el-finder-tb-hover")})}}}this.update();this.menu.css("z-index",this.fm.zIndex);if(this.fm.options.docked){this.dockButton.hover(function(){a(this).addClass("el-finder-dock-button-hover")},function(){a(this).removeClass("el-finder-dock-button-hover")}).click(function(){b.fm.view.win.attr("undocked")?b.fm.dock():b.fm.undock();a(this).trigger("mouseout")}).prependTo(this.fm.view.tlb)}}};elFinder.prototype.ui.prototype.command=function(b){};elFinder.prototype.ui.prototype.command.prototype.isAllowed=function(){return true};elFinder.prototype.ui.prototype.command.prototype.cm=function(b){return false};elFinder.prototype.ui.prototype.command.prototype.argc=function(b){return[]};elFinder.prototype.ui.prototype.commands={back:function(c){var b=this;this.name="Back";this.fm=c;this.exec=function(){if(this.fm.history.length){this.fm.ajax({cmd:"open",target:this.fm.history.pop()},function(d){b.fm.reload(d)})}};this.isAllowed=function(){return this.fm.history.length}},reload:function(c){var b=this;this.name="Reload";this.fm=c;this.exec=function(){this.fm.ajax({cmd:"open",target:this.fm.cwd.hash,tree:true},function(d){b.fm.reload(d)})};this.cm=function(d){return d=="cwd"}},open:function(c){var b=this;this.name="Open";this.fm=c;this.exec=function(e){var g=null;if(e){g={hash:a(e).attr("key"),mime:"directory",read:!a(e).hasClass("noaccess")&&!a(e).hasClass("dropbox")}}else{g=this.fm.getSelected(0)}if(!g.hash){return}if(!g.read){return this.fm.view.error("Access denied")}if(g.type=="link"&&!g.link){return this.fm.view.error("Unable to open broken link")}if(g.mime=="directory"){h(g.link||g.hash)}else{d(g)}function h(i){b.fm.history.push(b.fm.cwd.hash);b.fm.ajax({cmd:"open",target:i},function(j){b.fm.reload(j)})}function d(k){var j,i="";if(k.dim){j=k.dim.split("x");i="width="+(parseInt(j[0])+20)+",height="+(parseInt(j[1])+20)+","}window.open(k.url||b.fm.options.url+"?cmd=open¤t="+(k.parent||b.fm.cwd.hash)+"&target="+(k.link||k.hash),false,"top=50,left=50,"+i+"scrollbars=yes,resizable=yes")}};this.isAllowed=function(){return this.fm.selected.length==1&&this.fm.getSelected(0).read};this.cm=function(d){return d=="file"}},select:function(b){this.name="Select file";this.fm=b;if(b.options.selectMultiple){this.exec=function(){var c=a(b.getSelected()).map(function(){return b.options.cutURL=="root"?this.url.substr(b.params.url.length):this.url.replace(new RegExp("^("+b.options.cutURL+")"),"")});b.options.editorCallback(c);if(b.options.closeOnEditorCallback){b.dock();b.close()}}}else{this.exec=function(){var c=this.fm.getSelected(0);if(!c.url){return this.fm.view.error("File URL disabled by connector config")}this.fm.options.editorCallback(this.fm.options.cutURL=="root"?c.url.substr(this.fm.params.url.length):c.url.replace(new RegExp("^("+this.fm.options.cutURL+")"),""));if(this.fm.options.closeOnEditorCallback){this.fm.dock();this.fm.close();this.fm.destroy()}}}this.isAllowed=function(){return((this.fm.options.selectMultiple&&this.fm.selected.length>=1)||this.fm.selected.length==1)&&!/(symlink\-broken|directory)/.test(this.fm.getSelected(0).mime)};this.cm=function(c){return c!="cwd"}},quicklook:function(c){var b=this;this.name="Preview with Quick Look";this.fm=c;this.exec=function(){b.fm.quickLook.toggle()};this.isAllowed=function(){return this.fm.selected.length==1};this.cm=function(){return true}},info:function(c){var b=this;this.name="Get info";this.fm=c;this.exec=function(){var j,i,e=this.fm.selected.length,d=a(window).width(),g=a(window).height();this.fm.lockShortcuts(true);if(!e){k(b.fm.cwd)}else{a.each(this.fm.getSelected(),function(){k(this)})}function k(m){var n=["50%","50%"],h,q,o,l='| '+b.fm.i18n("Name")+" | "+m.name+" | | "+b.fm.i18n("Kind")+" | "+b.fm.view.mime2kind(m.link?"symlink":m.mime)+" | | "+b.fm.i18n("Size")+" | "+b.fm.view.formatSize(m.size)+" | | "+b.fm.i18n("Modified")+" | "+b.fm.view.formatDate(m.date)+" | | "+b.fm.i18n("Permissions")+" | "+b.fm.view.formatPermissions(m.read,m.write,m.rm)+" | ";if(m.link){l+="| "+b.fm.i18n("Link to")+" | "+m.linkTo+" | "}if(m.dim){l+="| "+b.fm.i18n("Dimensions")+" | "+m.dim+" px. | "}if(m.url){l+="| "+b.fm.i18n("URL")+' | '+m.url+" | "}if(e>1){o=a(".el-finder-dialog-info:last");if(!o.length){h=Math.round(((d-350)/2)-(e*10));q=Math.round(((g-300)/2)-(e*10));n=[h>20?h:20,q>20?q:20]}else{h=o.offset().left+10;q=o.offset().top+10;n=[h").append(l+" ").dialog({dialogClass:"el-finder-dialog el-finder-dialog-info",width:390,position:n,title:b.fm.i18n(m.mime=="directory"?"Folder info":"File info"),close:function(){if(--e<=0){b.fm.lockShortcuts()}a(this).dialog("destroy")},buttons:{Ok:function(){a(this).dialog("close")}}})}};this.cm=function(d){return true}},rename:function(c){var b=this;this.name="Rename";this.fm=c;this.exec=function(){var i=this.fm.getSelected(),h,l,e,j,k;if(i.length==1){j=i[0];h=this.fm.view.cwd.find('[key="'+j.hash+'"]');l=this.fm.options.view=="icons"?h.children("label"):h.find("td").eq(1);k=l.html();e=a('').val(j.name).appendTo(l.empty()).bind("change blur",d).keydown(function(m){m.stopPropagation();if(m.keyCode==27){g()}else{if(m.keyCode==13){if(j.name==e.val()){g()}else{a(this).trigger("change")}}}}).click(function(m){m.stopPropagation()}).select().focus();this.fm.lockShortcuts(true)}function g(){l.html(k);b.fm.lockShortcuts()}function d(){if(!b.fm.locked){var n,m=e.val();if(j.name==e.val()){return g()}if(!b.fm.isValidName(m)){n="Invalid name"}else{if(b.fm.fileExists(m)){n="File or folder with the same name already exists"}}if(n){b.fm.view.error(n);h.addClass("ui-selected");b.fm.lockShortcuts(true);return e.select().focus()}b.fm.ajax({cmd:"rename",current:b.fm.cwd.hash,target:j.hash,name:m},function(o){if(o.error){g()}else{j.mime=="directory"&&b.fm.removePlace(j.hash)&&b.fm.addPlace(o.target);b.fm.reload(o)}},{force:true})}}};this.isAllowed=function(){return this.fm.cwd.write&&this.fm.getSelected(0).write};this.cm=function(d){return d=="file"}},copy:function(b){this.name="Copy";this.fm=b;this.exec=function(){this.fm.setBuffer(this.fm.selected)};this.isAllowed=function(){if(this.fm.selected.length){var d=this.fm.getSelected(),c=d.length;while(c--){if(d[c].read){return true}}}return false};this.cm=function(c){return c!="cwd"}},cut:function(b){this.name="Cut";this.fm=b;this.exec=function(){this.fm.setBuffer(this.fm.selected,1)};this.isAllowed=function(){if(this.fm.selected.length){var d=this.fm.getSelected(),c=d.length;while(c--){if(d[c].read&&d[c].rm){return true}}}return false};this.cm=function(c){return c!="cwd"}},paste:function(c){var b=this;this.name="Paste";this.fm=c;this.exec=function(){var e,l,h,g,k="";if(!this.fm.buffer.dst){this.fm.buffer.dst=this.fm.cwd.hash}l=this.fm.view.tree.find('[key="'+this.fm.buffer.dst+'"]');if(!l.length||l.hasClass("noaccess")||l.hasClass("readonly")){return this.fm.view.error("Access denied")}if(this.fm.buffer.src==this.fm.buffer.dst){return this.fm.view.error("Unable to copy into itself")}var j={cmd:"paste",current:this.fm.cwd.hash,src:this.fm.buffer.src,dst:this.fm.buffer.dst,cut:this.fm.buffer.cut};if(this.fm.jquery>132){j.targets=this.fm.buffer.files}else{j["targets[]"]=this.fm.buffer.files}this.fm.ajax(j,function(d){d.cdc&&b.fm.reload(d)},{force:true})};this.isAllowed=function(){return this.fm.buffer.files};this.cm=function(d){return d=="cwd"}},rm:function(c){var b=this;this.name="Remove";this.fm=c;this.exec=function(){var d,g=[],e=this.fm.getSelected();for(var d=0;d'+this.fm.i18n("Are you sure you want to remove files? This cannot be undone!")+" ").dialog({title:this.fm.i18n("Confirmation required"),dialogClass:"el-finder-dialog",width:350,close:function(){b.fm.lockShortcuts()},buttons:{Cancel:function(){a(this).dialog("close")},Ok:function(){a(this).dialog("close");var h={cmd:"rm",current:b.fm.cwd.hash};if(b.fm.jquery>132){h.targets=g}else{h["targets[]"]=g}b.fm.ajax(h,function(i){i.tree&&b.fm.reload(i)},{force:true})}}})}};this.isAllowed=function(g){if(this.fm.selected.length){var e=this.fm.getSelected(),d=e.length;while(d--){if(e[d].rm){return true}}}return false};this.cm=function(d){return d!="cwd"}},mkdir:function(c){var b=this;this.name="New folder";this.fm=c;this.exec=function(){b.fm.unselectAll();var e=this.fm.uniqueName("untitled folder");input=a('').val(e);prev=this.fm.view.cwd.find(".directory:last");f={name:e,hash:"",mime:"directory",read:true,write:true,date:"",size:0},el=this.fm.options.view=="list"?a(this.fm.view.renderRow(f)).children("td").eq(1).empty().append(input).end().end():a(this.fm.view.renderIcon(f)).children("label").empty().append(input).end();el.addClass("directory ui-selected");if(prev.length){el.insertAfter(prev)}else{if(this.fm.options.view=="list"){el.insertAfter(this.fm.view.cwd.find("tr").eq(0))}else{el.prependTo(this.fm.view.cwd)}}b.fm.checkSelectedPos();input.select().focus().click(function(g){g.stopPropagation()}).bind("change blur",d).keydown(function(g){g.stopPropagation();if(g.keyCode==27){el.remove();b.fm.lockShortcuts()}else{if(g.keyCode==13){d()}}});b.fm.lockShortcuts(true);function d(){if(!b.fm.locked){var h,g=input.val();if(!b.fm.isValidName(g)){h="Invalid name"}else{if(b.fm.fileExists(g)){h="File or folder with the same name already exists"}}if(h){b.fm.view.error(h);b.fm.lockShortcuts(true);el.addClass("ui-selected");return input.select().focus()}b.fm.ajax({cmd:"mkdir",current:b.fm.cwd.hash,name:g},function(i){if(i.error){el.addClass("ui-selected");return input.select().focus()}b.fm.reload(i)},{force:true})}}};this.isAllowed=function(){return this.fm.cwd.write};this.cm=function(d){return d=="cwd"}},mkfile:function(c){var b=this;this.name="New text file";this.fm=c;this.exec=function(){b.fm.unselectAll();var i=this.fm.uniqueName("untitled file",".txt"),e=a('').val(i),h={name:i,hash:"",mime:"text/plain",read:true,write:true,date:"",size:0},g=this.fm.options.view=="list"?a(this.fm.view.renderRow(h)).children("td").eq(1).empty().append(e).end().end():a(this.fm.view.renderIcon(h)).children("label").empty().append(e).end();g.addClass("text ui-selected").appendTo(this.fm.options.view=="list"?b.fm.view.cwd.children("table"):b.fm.view.cwd);e.select().focus().bind("change blur",d).click(function(j){j.stopPropagation()}).keydown(function(j){j.stopPropagation();if(j.keyCode==27){g.remove();b.fm.lockShortcuts()}else{if(j.keyCode==13){d()}}});b.fm.lockShortcuts(true);function d(){if(!b.fm.locked){var k,j=e.val();if(!b.fm.isValidName(j)){k="Invalid name"}else{if(b.fm.fileExists(j)){k="File or folder with the same name already exists"}}if(k){b.fm.view.error(k);b.fm.lockShortcuts(true);g.addClass("ui-selected");return e.select().focus()}b.fm.ajax({cmd:"mkfile",current:b.fm.cwd.hash,name:j},function(l){if(l.error){g.addClass("ui-selected");return e.select().focus()}b.fm.reload(l)},{force:true})}}};this.isAllowed=function(d){return this.fm.cwd.write};this.cm=function(d){return d=="cwd"}},upload:function(c){var b=this;this.name="Upload files";this.fm=c;this.exec=function(){var g="el-finder-io-"+(new Date().getTime()),l=a(''),h=this.fm.params.uplMaxSize?""+this.fm.i18n("Maximum allowed files size")+": "+this.fm.params.uplMaxSize+" ":"",s=a(''+this.fm.i18n("Add field")+" ").click(function(){a(this).before('')}),k='");o.append(k.append(l.hide()).prepend(h).append(s)).dialog({dialogClass:"el-finder-dialog",title:b.fm.i18n("Upload files"),modal:true,resizable:false,close:function(){b.fm.lockShortcuts()},buttons:{Cancel:function(){a(this).dialog("close")},Ok:function(){if(!a(":file[value]",k).length){return p(b.fm.i18n("Select at least one file to upload"))}setTimeout(function(){b.fm.lock();if(a.browser.safari){a.ajax({url:b.fm.options.url,data:{cmd:"ping"},error:n,success:n})}else{n()}});a(this).dialog("close")}}});b.fm.lockShortcuts(true);function p(d){l.show().find("div").empty().text(d)}function n(){var v=a(''),w=v[0],i=50,u,e,t;v.css({position:"absolute",top:"-1000px",left:"-1000px"}).appendTo("body").bind("load",function(){v.unbind("load");d()});b.fm.lock(true);k.submit();function d(){try{u=w.contentWindow?w.contentWindow.document:w.contentDocument?w.contentDocument:w.document;if(u.body==null||u.body.innerHTML==""){if(--i){return setTimeout(d,100)}else{m();return b.fm.view.error("Unable to access iframe DOM after 50 tries")}}e=a(u.body).html();if(b.fm.jquery>=141){t=a.parseJSON(e)}else{if(/^[\],:{}\s]*$/.test(e.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,"@").replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,"]").replace(/(?:^|:|,)(?:\s*\[)+/g,""))){t=window.JSON&&window.JSON.parse?window.JSON.parse(e):(new Function("return "+e))()}else{t={error:"Unable to parse server response"}}}}catch(x){t={error:"Unable to parse server response"}}m();t.error&&b.fm.view.error(t.error,t.errorData);t.cwd&&b.fm.reload(t);t.tmb&&b.fm.tmb()}function m(){b.fm.lock();v.remove()}}};this.isAllowed=function(){return this.fm.cwd.write};this.cm=function(d){return d=="cwd"}},duplicate:function(c){var b=this;this.name="Duplicate";this.fm=c;this.exec=function(){this.fm.ajax({cmd:"duplicate",current:this.fm.cwd.hash,target:this.fm.selected[0]},function(d){b.fm.reload(d)})};this.isAllowed=function(){return this.fm.cwd.write&&this.fm.selected.length==1&&this.fm.getSelected()[0].read};this.cm=function(d){return d=="file"}},edit:function(c){var b=this;this.name="Edit text file";this.fm=c;this.exec=function(){var d=this.fm.getSelected(0);this.fm.lockShortcuts(true);this.fm.ajax({cmd:"read",current:this.fm.cwd.hash,target:d.hash},function(g){b.fm.lockShortcuts(true);var e=a("").val(g.content||"").keydown(function(j){j.stopPropagation();if(j.keyCode==9){j.preventDefault();if(a.browser.msie){var h=document.selection.createRange();h.text="\t"+h.text;this.focus()}else{var i=this.value.substr(0,this.selectionStart),k=this.value.substr(this.selectionEnd);this.value=i+"\t"+k;this.setSelectionRange(i.length+1,i.length+1)}}});a("").append(e).dialog({dialogClass:"el-finder-dialog",title:b.fm.i18n(b.name),modal:true,width:500,close:function(){b.fm.lockShortcuts()},buttons:{Cancel:function(){a(this).dialog("close")},Ok:function(){var h=e.val();a(this).dialog("close");b.fm.ajax({cmd:"edit",current:b.fm.cwd.hash,target:d.hash,content:h},function(i){if(i.target){b.fm.cdc[i.target.hash]=i.target;b.fm.view.updateFile(i.target);b.fm.selectById(i.target.hash)}},{type:"POST"})}}})})};this.isAllowed=function(){if(b.fm.selected.length==1){var d=this.fm.getSelected()[0];return d.write&&d.read&&(d.mime.indexOf("text")==0||d.mime=="application/x-empty"||d.mime=="application/xml")}};this.cm=function(d){return d=="file"}},archive:function(c){var b=this;this.name="Create archive";this.fm=c;this.exec=function(d){var e={cmd:"archive",current:b.fm.cwd.hash,type:a.inArray(d,this.fm.params.archives)!=-1?d:this.fm.params.archives[0],name:b.fm.i18n("Archive")};if(this.fm.jquery>132){e.targets=b.fm.selected}else{e["targets[]"]=b.fm.selected}this.fm.ajax(e,function(g){b.fm.reload(g)})};this.isAllowed=function(){if(this.fm.cwd.write&&this.fm.selected.length){var e=this.fm.getSelected(),d=e.length;while(d--){if(e[d].read){return true}}}return false};this.cm=function(d){return d!="cwd"};this.argc=function(){var e,d=[];for(e=0;e'),ih=a(''),f=a("").append(iw).append(" x ").append(ih).append(" px");iw.add(ih).bind("change",i);b.fm.lockShortcuts(true);var m=a("").append(a("").text(b.fm.i18n("Dimensions")+":")).append(f).dialog({title:b.fm.i18n("Resize image"),dialogClass:"el-finder-dialog",width:230,modal:true,close:function(){b.fm.lockShortcuts()},buttons:{Cancel:function(){a(this).dialog("close")},Ok:function(){var d=parseInt(iw.val())||0,h=parseInt(ih.val())||0;if(d>0&&d!=g&&h>0&&h!=k){b.fm.ajax({cmd:"resize",current:b.fm.cwd.hash,target:l[0].hash,width:d,height:h},function(n){b.fm.reload(n)})}a(this).dialog("close")}}})}function i(){var d=parseInt(iw.val())||0,h=parseInt(ih.val())||0;if(d<=0||h<=0){d=g;h=k}else{if(this==iw.get(0)){h=parseInt(d/e)}else{d=parseInt(h*e)}}iw.val(d);ih.val(h)}};this.isAllowed=function(){return this.fm.selected.length==1&&this.fm.cdc[this.fm.selected[0]].write&&this.fm.cdc[this.fm.selected[0]].read&&this.fm.cdc[this.fm.selected[0]].resize};this.cm=function(d){return d=="file"}},icons:function(b){this.name="View as icons";this.fm=b;this.exec=function(){this.fm.view.win.addClass("el-finder-disabled");this.fm.setView("icons");this.fm.updateCwd();this.fm.view.win.removeClass("el-finder-disabled");a("div.image",this.fm.view.cwd).length&&this.fm.tmb()};this.isAllowed=function(){return this.fm.options.view!="icons"};this.cm=function(c){return c=="cwd"}},list:function(b){this.name="View as list";this.fm=b;this.exec=function(){this.fm.view.win.addClass("el-finder-disabled");this.fm.setView("list");this.fm.updateCwd();this.fm.view.win.removeClass("el-finder-disabled")};this.isAllowed=function(){return this.fm.options.view!="list"};this.cm=function(c){return c=="cwd"}},help:function(b){this.name="Help";this.fm=b;this.exec=function(){var j,e=this.fm.i18n("helpText"),c,i,g;j=''+this.fm.i18n("elFinder: Web file manager")+" "+this.fm.i18n("Version")+": "+this.fm.version+" jQuery/jQueryUI: "+a().jquery+"/"+a.ui.version+'
'+this.fm.i18n("Donate to support project development")+' '+this.fm.i18n("elFinder documentation")+" ";j+=""+(e!="helpText"?e:"elFinder works similar to file manager on your computer. To make actions on files/folders use icons on top panel. If icon action it is not clear for you, hold mouse cursor over it to see the hint. Manipulations with existing files/folders can be done through the context menu (mouse right-click). To copy/delete a group of files/folders, select them using Shift/Alt(Command) + mouse left-click.")+" ";j+=""+this.fm.i18n("elFinder support following shortcuts")+": - Ctrl+A - "+this.fm.i18n("Select all files")+"
- Ctrl+C/Ctrl+X/Ctrl+V - "+this.fm.i18n("Copy/Cut/Paste files")+"
- Enter - "+this.fm.i18n("Open selected file/folder")+"
- Space - "+this.fm.i18n("Open/close QuickLook window")+"
- Delete/Cmd+Backspace - "+this.fm.i18n("Remove selected files")+"
- Ctrl+I - "+this.fm.i18n("Selected files or current directory info")+"
- Ctrl+N - "+this.fm.i18n("Create new directory")+"
- Ctrl+U - "+this.fm.i18n("Open upload files form")+"
- Left arrow - "+this.fm.i18n("Select previous file")+"
- Right arrow - "+this.fm.i18n("Select next file")+"
- Ctrl+Right arrow - "+this.fm.i18n("Open selected file/folder")+"
- Ctrl+Left arrow - "+this.fm.i18n("Return into previous folder")+"
- Shift+arrows - "+this.fm.i18n("Increase/decrease files selection")+"
"+this.fm.i18n("Contacts us if you need help integrating elFinder in you products")+": dev@std42.ru ";c=''+this.fm.i18n("Javascripts/PHP programming: Dmitry (dio) Levashov, dio@std42.ru")+" "+this.fm.i18n("Python programming, techsupport: Troex Nevelin, troex@fury.scancode.ru")+" "+this.fm.i18n("Design: Valentin Razumnih")+" "+this.fm.i18n("Chezh localization")+": Roman Matěna, info@romanmatena.cz "+this.fm.i18n("Chinese (traditional) localization")+": Tad, tad0616@gmail.com "+this.fm.i18n("Dutch localization")+': Kurt Aerts, http://ilabsolutions.net '+this.fm.i18n("Greek localization")+": Panagiotis Skarvelis "+this.fm.i18n("Hungarian localization")+": Viktor Tamas, tamas.viktor@totalstudio.hu "+this.fm.i18n("Italian localization")+": Ugo Punzolo, sadraczerouno@gmail.com "+this.fm.i18n("Latvian localization")+": Uldis Plotiņš, uldis.plotins@gmail.com "+this.fm.i18n("Poland localization")+": Darek Wapiński, darek@wapinski.us "+this.fm.i18n("Spanish localization")+': Alex (xand) Vavilin, xand@xand.es, http://xand.es '+this.fm.i18n("Icons")+': pixelmixer, Famfam silk icons, Fatcow icons '+this.fm.i18n('Copyright: Studio 42 LTD')+" "+this.fm.i18n("License: BSD License")+" "+this.fm.i18n('Web site: elrte.org/elfinder')+" ";i='ELDORADO.CMS '+this.fm.i18n("Simple and usefull Content Management System")+" "+this.fm.i18n("Support project development and we will place here info about you");g='";var k=a("").html(g).dialog({width:617,title:this.fm.i18n("Help"),dialogClass:"el-finder-dialog",modal:true,close:function(){k.tabs("destroy").dialog("destroy").remove()},buttons:{Ok:function(){a(this).dialog("close")}}}).tabs()};this.cm=function(c){return c=="cwd"}}}})(jQuery);(function(a){elFinder.prototype.quickLook=function(l,b){var p=this;this.fm=l;this._hash="";this.title=a("");this.ico=a("");this.info=a("");this.media=a('').hide();this.name=a('');this.kind=a('');this.size=a('');this.date=a('');this.url=a('').hide().click(function(i){i.preventDefault();window.open(a(this).attr("href"));p.hide()});this.add=a("");this.content=a('');this.win=a('').hide().append(a('').append(a('').click(function(){p.hide()})).append(this.title)).append(this.ico).append(this.media).append(this.content.append(this.name).append(this.kind).append(this.size).append(this.date).append(this.url).append(this.add)).appendTo("body").draggable({handle:".el-finder-ql-drag-handle"}).resizable({minWidth:420,minHeight:150,resize:function(){if(p.media.children().length){var m=p.media.children(":first");switch(m[0].nodeName){case"IMG":var e=m.width(),n=m.height(),i=p.win.width(),s=p.win.css("height")=="auto"?350:p.win.height()-p.content.height()-p.th,q=e>i||n>s?Math.min(Math.min(i,e)/e,Math.min(s,n)/n):Math.min(Math.max(i,e)/e,Math.max(s,n)/n);m.css({width:Math.round(m.width()*q),height:Math.round(m.height()*q)});break;case"IFRAME":case"EMBED":m.css("height",p.win.height()-p.content.height()-p.th);break;case"OBJECT":m.children("embed").css("height",p.win.height()-p.content.height()-p.th)}}}});this.th=parseInt(this.win.children(":first").css("height"))||18;this.mimes={"image/jpeg":"jpg","image/gif":"gif","image/png":"png"};for(var h=0;h"+m.dim+" px").show();m.tmb&&p.ico.css("background",'url("'+m.tmb+'") 0 0 no-repeat');if(m.url){p.url.text(m.url).attr("href",m.url).show();for(var e in p.plugins){if(p.plugins[e].test&&p.plugins[e].test(m.mime,p.mimes,m.name)){p.plugins[e].show(p,m);return}}}else{p.url.hide()}p.win.css({width:"420px",height:"auto"})}};elFinder.prototype.quickLook.prototype.plugins={image:new function(){this.test=function(c,b){return c.match(/^image\//)};this.show=function(e,d){var b,c;if(e.mimes[d.mime]&&d.hash==e._hash){a(" ").hide().appendTo(e.media.show()).attr("src",d.url+(a.browser.msie||a.browser.opera?"?"+Math.random():"")).load(function(){c=a(this).unbind("load");if(d.hash==e._hash){e.win.is(":animated")?setTimeout(function(){g(c)},330):g(c)}})}function g(k){var j=k.width(),m=k.height(),i=e.win.is(":animated"),l=i?420:e.win.width(),o=i||e.win.css("height")=="auto"?315:e.win.height()-e.content.height()-e.th,n=j>l||m>o?Math.min(Math.min(l,j)/j,Math.min(o,m)/m):Math.min(Math.max(l,j)/j,Math.max(o,m)/m);e.fm.lockShortcuts(true);e.ico.hide();k.css({width:e.ico.width(),height:e.ico.height()}).show().animate({width:Math.round(n*j),height:Math.round(n*m)},450,function(){e.fm.lockShortcuts()})}}},text:new function(){this.test=function(c,b){return(c.indexOf("text")==0&&c.indexOf("rtf")==-1)||c.match(/application\/(xml|javascript|json)/)};this.show=function(c,b){if(b.hash==c._hash){c.ico.hide();c.media.append('').show()}}},swf:new function(){this.test=function(c,b){return c=="application/x-shockwave-flash"&&b[c]};this.show=function(c,b){if(b.hash==c._hash){c.ico.hide();var d=c.media.append('');if(c.win.is(":animated")){d.slideDown(450)}else{d.show()}}}},audio:new function(){this.test=function(c,b){return c.indexOf("audio")==0&&b[c]};this.show=function(d,c){if(c.hash==d._hash){d.ico.hide();var b=d.win.is(":animated")||d.win.css("height")=="auto"?100:d.win.height()-d.content.height()-d.th;d.media.append('').show()}}},video:new function(){this.test=function(c,b){return c.indexOf("video")==0&&b[c]};this.show=function(c,b){if(b.hash==c._hash){c.ico.hide();c.media.append('').show()}}},pdf:new function(){this.test=function(c,b){return c=="application/pdf"&&b[c]};this.show=function(c,b){if(b.hash==c._hash){c.ico.hide();c.media.append('').show()}}}}})(jQuery);(function(a){elFinder.prototype.eventsManager=function(d,c){var b=this;this.lock=false;this.fm=d;this.ui=d.ui;this.tree=d.view.tree;this.cwd=d.view.cwd;this.pointer="";this.init=function(){var g=this,h=false;g.lock=false;this.cwd.bind("click",function(j){var i=a(j.target);if(i.hasClass("ui-selected")){g.fm.unselectAll()}else{if(!i.attr("key")){i=i.parent("[key]")}if(j.ctrlKey||j.metaKey){g.fm.toggleSelect(i)}else{g.fm.select(i,true)}}}).bind(window.opera?"click":"contextmenu",function(j){if(window.opera&&!j.ctrlKey){return}j.preventDefault();j.stopPropagation();var i=a(j.target);if(a.browser.mozilla){h=true}if(i.hasClass("el-finder-cwd")){g.fm.unselectAll()}else{g.fm.select(i.attr("key")?i:i.parent("[key]"))}g.fm.quickLook.hide();g.fm.ui.showMenu(j)}).selectable({filter:"[key]",delay:300,stop:function(){g.fm.updateSelect();g.fm.log("mouseup")}});a(document).bind("click",function(i){!h&&g.fm.ui.hideMenu();h=false;a("input",g.cwd).trigger("change");if(!a(i.target).is("input,textarea,select")){a("input,textarea").blur()}});a("input,textarea").live("focus",function(i){g.lock=true}).live("blur",function(i){g.lock=false});this.tree.bind("select",function(i){g.tree.find("a").removeClass("selected");a(i.target).addClass("selected").parents("li:has(ul)").children("ul").show().prev().children("div").addClass("expanded")});if(this.fm.options.places){this.fm.view.plc.click(function(l){l.preventDefault();var j=a(l.target),k=j.attr("key"),i;if(k){k!=g.fm.cwd.hash&&g.ui.exec("open",l.target)}else{if(l.target.nodeName=="A"||l.target.nodeName=="DIV"){i=g.fm.view.plc.find("ul");if(i.children().length){i.toggle(300);g.fm.view.plc.children("li").find("div").toggleClass("expanded")}}}});this.fm.view.plc.droppable({accept:"(div,tr).directory",tolerance:"pointer",over:function(){a(this).addClass("el-finder-droppable")},out:function(){a(this).removeClass("el-finder-droppable")},drop:function(k,j){a(this).removeClass("el-finder-droppable");var i=false;j.helper.children(".directory:not(.noaccess,.dropbox)").each(function(){if(g.fm.addPlace(a(this).attr("key"))){i=true;a(this).hide()}});if(i){g.fm.view.renderPlaces();g.updatePlaces();g.fm.view.plc.children("li").children("div").trigger("click")}if(!j.helper.children("div:visible").length){j.helper.hide()}}})}a(document).bind(a.browser.mozilla||a.browser.opera?"keypress":"keydown",function(j){var i=j.ctrlKey||j.metaKey;if(g.lock){return}switch(j.keyCode){case 37:case 38:j.stopPropagation();j.preventDefault();if(j.keyCode==37&&i){g.ui.execIfAllowed("back")}else{e(false,!j.shiftKey)}break;case 39:case 40:j.stopPropagation();j.preventDefault();if(i){g.ui.execIfAllowed("open")}else{e(true,!j.shiftKey)}break}});a(document).bind(a.browser.opera?"keypress":"keydown",function(i){if(g.lock){return}switch(i.keyCode){case 32:i.preventDefault();i.stopPropagation();g.fm.quickLook.toggle();break;case 27:g.fm.quickLook.hide();break}});if(!this.fm.options.disableShortcuts){a(document).bind("keydown",function(j){var i=j.ctrlKey||j.metaKey;if(g.lock){return}switch(j.keyCode){case 8:if(i&&g.ui.isCmdAllowed("rm")){j.preventDefault();g.ui.exec("rm")}break;case 13:if(g.ui.isCmdAllowed("select")){return g.ui.exec("select")}g.ui.execIfAllowed("open");break;case 46:g.ui.execIfAllowed("rm");break;case 65:if(i){j.preventDefault();g.fm.selectAll()}break;case 67:i&&g.ui.execIfAllowed("copy");break;case 73:if(i){j.preventDefault();g.ui.exec("info")}break;case 78:if(i){j.preventDefault();g.ui.execIfAllowed("mkdir")}break;case 85:if(i){j.preventDefault();g.ui.execIfAllowed("upload")}break;case 86:i&&g.ui.execIfAllowed("paste");break;case 88:i&&g.ui.execIfAllowed("cut");break;case 113:g.ui.execIfAllowed("rename");break}})}};this.updateNav=function(){a("a",this.tree).click(function(h){h.preventDefault();var g=a(this),i;if(h.target.nodeName=="DIV"&&a(h.target).hasClass("collapsed")){a(h.target).toggleClass("expanded").parent().next("ul").toggle(300)}else{if(g.attr("key")!=b.fm.cwd.hash){if(g.hasClass("noaccess")||g.hasClass("dropbox")){b.fm.view.error("Access denied")}else{b.ui.exec("open",g.trigger("select")[0])}}else{i=g.children(".collapsed");if(i.length){i.toggleClass("expanded");g.next("ul").toggle(300)}}}});a("a:not(.noaccess,.readonly)",this.tree).droppable({tolerance:"pointer",accept:"div[key],tr[key]",over:function(){a(this).addClass("el-finder-droppable")},out:function(){a(this).removeClass("el-finder-droppable")},drop:function(h,g){a(this).removeClass("el-finder-droppable");b.fm.drop(h,g,a(this).attr("key"))}});this.fm.options.places&&this.updatePlaces()};this.updatePlaces=function(){this.fm.view.plc.children("li").find("li").draggable({scroll:false,stop:function(){if(b.fm.removePlace(a(this).children("a").attr("key"))){a(this).remove();if(!a("li",b.fm.view.plc.children("li")).length){b.fm.view.plc.children("li").find("div").removeClass("collapsed expanded").end().children("ul").hide()}}}})};this.updateCwd=function(){a("[key]",this.cwd).bind("dblclick",function(g){b.fm.select(a(this),true);b.ui.exec(b.ui.isCmdAllowed("select")?"select":"open")}).draggable({delay:3,addClasses:false,appendTo:".el-finder-cwd",revert:true,drag:function(h,g){g.helper.toggleClass("el-finder-drag-copy",h.shiftKey||h.ctrlKey)},helper:function(){var g=a(this),i=a(''),j=0;!g.hasClass("ui-selected")&&b.fm.select(g,true);b.cwd.find(".ui-selected").each(function(h){var k=b.fm.options.view=="icons"?a(this).clone().removeClass("ui-selected"):a(b.fm.view.renderIcon(b.fm.cdc[a(this).attr("key")]));if(j++==0||j%12==0){k.css("margin-left",0)}i.append(k)});return i.css("width",(j<=12?85+(j-1)*29:387)+"px")}}).filter(".directory").droppable({tolerance:"pointer",accept:"div[key],tr[key]",over:function(){a(this).addClass("el-finder-droppable")},out:function(){a(this).removeClass("el-finder-droppable")},drop:function(h,g){a(this).removeClass("el-finder-droppable");b.fm.drop(h,g,a(this).attr("key"))}});if(a.browser.msie){a("*",this.cwd).attr("unselectable","on").filter("[key]").bind("dragstart",function(){b.cwd.selectable("disable").removeClass("ui-state-disabled ui-selectable-disabled")}).bind("dragstop",function(){b.cwd.selectable("enable")})}};function e(h,i){var j,g,k;if(!a("[key]",b.cwd).length){return}if(b.fm.selected.length==0){j=a("[key]:"+(h?"first":"last"),b.cwd);b.fm.select(j)}else{if(i){j=a(".ui-selected:"+(h?"last":"first"),b.cwd);g=j[h?"next":"prev"]("[key]");if(g.length){j=g}b.fm.select(j,true)}else{if(b.pointer){k=a('[key="'+b.pointer+'"].ui-selected',b.cwd)}if(!k||!k.length){k=a(".ui-selected:"+(h?"last":"first"),b.cwd)}j=k[h?"next":"prev"]("[key]");if(!j.length){j=k}else{if(!j.hasClass("ui-selected")){b.fm.select(j)}else{if(!k.hasClass("ui-selected")){b.fm.unselect(j)}else{g=k[h?"prev":"next"]("[key]");if(!g.length||!g.hasClass("ui-selected")){b.fm.unselect(k)}else{while((g=h?j.next("[key]"):j.prev("[key]"))&&j.hasClass("ui-selected")){j=g}b.fm.select(j)}}}}}}b.pointer=j.attr("key");b.fm.checkSelectedPos(h)}}})(jQuery);
\ No newline at end of file
diff --git a/www/themes/intranet/js/plugins/excanvas.min.js b/www/themes/intranet/js/plugins/excanvas.min.js
new file mode 100644
index 0000000..12c74f7
--- /dev/null
+++ b/www/themes/intranet/js/plugins/excanvas.min.js
@@ -0,0 +1 @@
+if(!document.createElement("canvas").getContext){(function(){var z=Math;var K=z.round;var J=z.sin;var U=z.cos;var b=z.abs;var k=z.sqrt;var D=10;var F=D/2;function T(){return this.context_||(this.context_=new W(this))}var O=Array.prototype.slice;function G(i,j,m){var Z=O.call(arguments,2);return function(){return i.apply(j,Z.concat(O.call(arguments)))}}function AD(Z){return String(Z).replace(/&/g,"&").replace(/"/g,""")}function r(i){if(!i.namespaces.g_vml_){i.namespaces.add("g_vml_","urn:schemas-microsoft-com:vml","#default#VML")}if(!i.namespaces.g_o_){i.namespaces.add("g_o_","urn:schemas-microsoft-com:office:office","#default#VML")}if(!i.styleSheets.ex_canvas_){var Z=i.createStyleSheet();Z.owningElement.id="ex_canvas_";Z.cssText="canvas{display:inline-block;overflow:hidden;text-align:left;width:300px;height:150px}"}}r(document);var E={init:function(Z){if(/MSIE/.test(navigator.userAgent)&&!window.opera){var i=Z||document;i.createElement("canvas");i.attachEvent("onreadystatechange",G(this.init_,this,i))}},init_:function(m){var j=m.getElementsByTagName("canvas");for(var Z=0;Z1){j--}if(6*j<1){return i+(Z-i)*6*j}else{if(2*j<1){return Z}else{if(3*j<2){return i+(Z-i)*(2/3-j)*6}else{return i}}}}function Y(Z){var AE,p=1;Z=String(Z);if(Z.charAt(0)=="#"){AE=Z}else{if(/^rgb/.test(Z)){var m=g(Z);var AE="#",AF;for(var j=0;j<3;j++){if(m[j].indexOf("%")!=-1){AF=Math.floor(C(m[j])*255)}else{AF=Number(m[j])}AE+=I[N(AF,0,255)]}p=m[3]}else{if(/^hsl/.test(Z)){var m=g(Z);AE=c(m);p=m[3]}else{AE=B[Z]||Z}}}return{color:AE,alpha:p}}var L={style:"normal",variant:"normal",weight:"normal",size:10,family:"sans-serif"};var f={};function X(Z){if(f[Z]){return f[Z]}var m=document.createElement("div");var j=m.style;try{j.font=Z}catch(i){}return f[Z]={style:j.fontStyle||L.style,variant:j.fontVariant||L.variant,weight:j.fontWeight||L.weight,size:j.fontSize||L.size,family:j.fontFamily||L.family}}function P(j,i){var Z={};for(var AF in j){Z[AF]=j[AF]}var AE=parseFloat(i.currentStyle.fontSize),m=parseFloat(j.size);if(typeof j.size=="number"){Z.size=j.size}else{if(j.size.indexOf("px")!=-1){Z.size=m}else{if(j.size.indexOf("em")!=-1){Z.size=AE*m}else{if(j.size.indexOf("%")!=-1){Z.size=(AE/100)*m}else{if(j.size.indexOf("pt")!=-1){Z.size=m/0.75}else{Z.size=AE}}}}}Z.size*=0.981;return Z}function AA(Z){return Z.style+" "+Z.variant+" "+Z.weight+" "+Z.size+"px "+Z.family}function t(Z){switch(Z){case"butt":return"flat";case"round":return"round";case"square":default:return"square"}}function W(i){this.m_=V();this.mStack_=[];this.aStack_=[];this.currentPath_=[];this.strokeStyle="#000";this.fillStyle="#000";this.lineWidth=1;this.lineJoin="miter";this.lineCap="butt";this.miterLimit=D*1;this.globalAlpha=1;this.font="10px sans-serif";this.textAlign="left";this.textBaseline="alphabetic";this.canvas=i;var Z=i.ownerDocument.createElement("div");Z.style.width=i.clientWidth+"px";Z.style.height=i.clientHeight+"px";Z.style.overflow="hidden";Z.style.position="absolute";i.appendChild(Z);this.element_=Z;this.arcScaleX_=1;this.arcScaleY_=1;this.lineScale_=1}var M=W.prototype;M.clearRect=function(){if(this.textMeasureEl_){this.textMeasureEl_.removeNode(true);this.textMeasureEl_=null}this.element_.innerHTML=""};M.beginPath=function(){this.currentPath_=[]};M.moveTo=function(i,Z){var j=this.getCoords_(i,Z);this.currentPath_.push({type:"moveTo",x:j.x,y:j.y});this.currentX_=j.x;this.currentY_=j.y};M.lineTo=function(i,Z){var j=this.getCoords_(i,Z);this.currentPath_.push({type:"lineTo",x:j.x,y:j.y});this.currentX_=j.x;this.currentY_=j.y};M.bezierCurveTo=function(j,i,AI,AH,AG,AE){var Z=this.getCoords_(AG,AE);var AF=this.getCoords_(j,i);var m=this.getCoords_(AI,AH);e(this,AF,m,Z)};function e(Z,m,j,i){Z.currentPath_.push({type:"bezierCurveTo",cp1x:m.x,cp1y:m.y,cp2x:j.x,cp2y:j.y,x:i.x,y:i.y});Z.currentX_=i.x;Z.currentY_=i.y}M.quadraticCurveTo=function(AG,j,i,Z){var AF=this.getCoords_(AG,j);var AE=this.getCoords_(i,Z);var AH={x:this.currentX_+2/3*(AF.x-this.currentX_),y:this.currentY_+2/3*(AF.y-this.currentY_)};var m={x:AH.x+(AE.x-this.currentX_)/3,y:AH.y+(AE.y-this.currentY_)/3};e(this,AH,m,AE)};M.arc=function(AJ,AH,AI,AE,i,j){AI*=D;var AN=j?"at":"wa";var AK=AJ+U(AE)*AI-F;var AM=AH+J(AE)*AI-F;var Z=AJ+U(i)*AI-F;var AL=AH+J(i)*AI-F;if(AK==Z&&!j){AK+=0.125}var m=this.getCoords_(AJ,AH);var AG=this.getCoords_(AK,AM);var AF=this.getCoords_(Z,AL);this.currentPath_.push({type:AN,x:m.x,y:m.y,radius:AI,xStart:AG.x,yStart:AG.y,xEnd:AF.x,yEnd:AF.y})};M.rect=function(j,i,Z,m){this.moveTo(j,i);this.lineTo(j+Z,i);this.lineTo(j+Z,i+m);this.lineTo(j,i+m);this.closePath()};M.strokeRect=function(j,i,Z,m){var p=this.currentPath_;this.beginPath();this.moveTo(j,i);this.lineTo(j+Z,i);this.lineTo(j+Z,i+m);this.lineTo(j,i+m);this.closePath();this.stroke();this.currentPath_=p};M.fillRect=function(j,i,Z,m){var p=this.currentPath_;this.beginPath();this.moveTo(j,i);this.lineTo(j+Z,i);this.lineTo(j+Z,i+m);this.lineTo(j,i+m);this.closePath();this.fill();this.currentPath_=p};M.createLinearGradient=function(i,m,Z,j){var p=new v("gradient");p.x0_=i;p.y0_=m;p.x1_=Z;p.y1_=j;return p};M.createRadialGradient=function(m,AE,j,i,p,Z){var AF=new v("gradientradial");AF.x0_=m;AF.y0_=AE;AF.r0_=j;AF.x1_=i;AF.y1_=p;AF.r1_=Z;return AF};M.drawImage=function(AO,j){var AH,AF,AJ,AV,AM,AK,AQ,AX;var AI=AO.runtimeStyle.width;var AN=AO.runtimeStyle.height;AO.runtimeStyle.width="auto";AO.runtimeStyle.height="auto";var AG=AO.width;var AT=AO.height;AO.runtimeStyle.width=AI;AO.runtimeStyle.height=AN;if(arguments.length==3){AH=arguments[1];AF=arguments[2];AM=AK=0;AQ=AJ=AG;AX=AV=AT}else{if(arguments.length==5){AH=arguments[1];AF=arguments[2];AJ=arguments[3];AV=arguments[4];AM=AK=0;AQ=AG;AX=AT}else{if(arguments.length==9){AM=arguments[1];AK=arguments[2];AQ=arguments[3];AX=arguments[4];AH=arguments[5];AF=arguments[6];AJ=arguments[7];AV=arguments[8]}else{throw Error("Invalid number of arguments")}}}var AW=this.getCoords_(AH,AF);var m=AQ/2;var i=AX/2;var AU=[];var Z=10;var AE=10;AU.push(" ','","");this.element_.insertAdjacentHTML("BeforeEnd",AU.join(""))};M.stroke=function(AM){var m=10;var AN=10;var AE=5000;var AG={x:null,y:null};var AL={x:null,y:null};for(var AH=0;AHAL.x){AL.x=Z.x}if(AG.y==null||Z.yAL.y){AL.y=Z.y}}}AK.push(' ">');if(!AM){R(this,AK)}else{a(this,AK,AG,AL)}AK.push("");this.element_.insertAdjacentHTML("beforeEnd",AK.join(""))}};function R(j,AE){var i=Y(j.strokeStyle);var m=i.color;var p=i.alpha*j.globalAlpha;var Z=j.lineScale_*j.lineWidth;if(Z<1){p*=Z}AE.push("')}function a(AO,AG,Ah,AP){var AH=AO.fillStyle;var AY=AO.arcScaleX_;var AX=AO.arcScaleY_;var Z=AP.x-Ah.x;var m=AP.y-Ah.y;if(AH instanceof v){var AL=0;var Ac={x:0,y:0};var AU=0;var AK=1;if(AH.type_=="gradient"){var AJ=AH.x0_/AY;var j=AH.y0_/AX;var AI=AH.x1_/AY;var Aj=AH.y1_/AX;var Ag=AO.getCoords_(AJ,j);var Af=AO.getCoords_(AI,Aj);var AE=Af.x-Ag.x;var p=Af.y-Ag.y;AL=Math.atan2(AE,p)*180/Math.PI;if(AL<0){AL+=360}if(AL<0.000001){AL=0}}else{var Ag=AO.getCoords_(AH.x0_,AH.y0_);Ac={x:(Ag.x-Ah.x)/Z,y:(Ag.y-Ah.y)/m};Z/=AY*D;m/=AX*D;var Aa=z.max(Z,m);AU=2*AH.r0_/Aa;AK=2*AH.r1_/Aa-AU}var AS=AH.colors_;AS.sort(function(Ak,i){return Ak.offset-i.offset});var AN=AS.length;var AR=AS[0].color;var AQ=AS[AN-1].color;var AW=AS[0].alpha*AO.globalAlpha;var AV=AS[AN-1].alpha*AO.globalAlpha;var Ab=[];for(var Ae=0;Ae')}else{if(AH instanceof u){if(Z&&m){var AF=-Ah.x;var AZ=-Ah.y;AG.push("')}}else{var Ai=Y(AO.fillStyle);var AT=Ai.color;var Ad=Ai.alpha*AO.globalAlpha;AG.push('')}}}M.fill=function(){this.stroke(true)};M.closePath=function(){this.currentPath_.push({type:"close"})};M.getCoords_=function(j,i){var Z=this.m_;return{x:D*(j*Z[0][0]+i*Z[1][0]+Z[2][0])-F,y:D*(j*Z[0][1]+i*Z[1][1]+Z[2][1])-F}};M.save=function(){var Z={};Q(this,Z);this.aStack_.push(Z);this.mStack_.push(this.m_);this.m_=d(V(),this.m_)};M.restore=function(){if(this.aStack_.length){Q(this.aStack_.pop(),this);this.m_=this.mStack_.pop()}};function H(Z){return isFinite(Z[0][0])&&isFinite(Z[0][1])&&isFinite(Z[1][0])&&isFinite(Z[1][1])&&isFinite(Z[2][0])&&isFinite(Z[2][1])}function y(i,Z,j){if(!H(Z)){return }i.m_=Z;if(j){var p=Z[0][0]*Z[1][1]-Z[0][1]*Z[1][0];i.lineScale_=k(b(p))}}M.translate=function(j,i){var Z=[[1,0,0],[0,1,0],[j,i,1]];y(this,d(Z,this.m_),false)};M.rotate=function(i){var m=U(i);var j=J(i);var Z=[[m,j,0],[-j,m,0],[0,0,1]];y(this,d(Z,this.m_),false)};M.scale=function(j,i){this.arcScaleX_*=j;this.arcScaleY_*=i;var Z=[[j,0,0],[0,i,0],[0,0,1]];y(this,d(Z,this.m_),true)};M.transform=function(p,m,AF,AE,i,Z){var j=[[p,m,0],[AF,AE,0],[i,Z,1]];y(this,d(j,this.m_),true)};M.setTransform=function(AE,p,AG,AF,j,i){var Z=[[AE,p,0],[AG,AF,0],[j,i,1]];y(this,Z,true)};M.drawText_=function(AK,AI,AH,AN,AG){var AM=this.m_,AQ=1000,i=0,AP=AQ,AF={x:0,y:0},AE=[];var Z=P(X(this.font),this.element_);var j=AA(Z);var AR=this.element_.currentStyle;var p=this.textAlign.toLowerCase();switch(p){case"left":case"center":case"right":break;case"end":p=AR.direction=="ltr"?"right":"left";break;case"start":p=AR.direction=="rtl"?"right":"left";break;default:p="left"}switch(this.textBaseline){case"hanging":case"top":AF.y=Z.size/1.75;break;case"middle":break;default:case null:case"alphabetic":case"ideographic":case"bottom":AF.y=-Z.size/2.25;break}switch(p){case"right":i=AQ;AP=0.05;break;case"center":i=AP=AQ/2;break}var AO=this.getCoords_(AI+AF.x,AH+AF.y);AE.push('');if(AG){R(this,AE)}else{a(this,AE,{x:-i,y:0},{x:AP,y:Z.size})}var AL=AM[0][0].toFixed(3)+","+AM[1][0].toFixed(3)+","+AM[0][1].toFixed(3)+","+AM[1][1].toFixed(3)+",0,0";var AJ=K(AO.x/D)+","+K(AO.y/D);AE.push('','','');this.element_.insertAdjacentHTML("beforeEnd",AE.join(""))};M.fillText=function(j,Z,m,i){this.drawText_(j,Z,m,i,false)};M.strokeText=function(j,Z,m,i){this.drawText_(j,Z,m,i,true)};M.measureText=function(j){if(!this.textMeasureEl_){var Z='';this.element_.insertAdjacentHTML("beforeEnd",Z);this.textMeasureEl_=this.element_.lastChild}var i=this.element_.ownerDocument;this.textMeasureEl_.innerHTML="";this.textMeasureEl_.style.font=this.font;this.textMeasureEl_.appendChild(i.createTextNode(j));return{width:this.textMeasureEl_.offsetWidth}};M.clip=function(){};M.arcTo=function(){};M.createPattern=function(i,Z){return new u(i,Z)};function v(Z){this.type_=Z;this.x0_=0;this.y0_=0;this.r0_=0;this.x1_=0;this.y1_=0;this.r1_=0;this.colors_=[]}v.prototype.addColorStop=function(i,Z){Z=Y(Z);this.colors_.push({offset:i,color:Z.color,alpha:Z.alpha})};function u(i,Z){q(i);switch(Z){case"repeat":case null:case"":this.repetition_="repeat";break;case"repeat-x":case"repeat-y":case"no-repeat":this.repetition_=Z;break;default:n("SYNTAX_ERR")}this.src_=i.src;this.width_=i.width;this.height_=i.height}function n(Z){throw new o(Z)}function q(Z){if(!Z||Z.nodeType!=1||Z.tagName!="IMG"){n("TYPE_MISMATCH_ERR")}if(Z.readyState!="complete"){n("INVALID_STATE_ERR")}}function o(Z){this.code=this[Z];this.message=Z+": DOM Exception "+this.code}var x=o.prototype=new Error;x.INDEX_SIZE_ERR=1;x.DOMSTRING_SIZE_ERR=2;x.HIERARCHY_REQUEST_ERR=3;x.WRONG_DOCUMENT_ERR=4;x.INVALID_CHARACTER_ERR=5;x.NO_DATA_ALLOWED_ERR=6;x.NO_MODIFICATION_ALLOWED_ERR=7;x.NOT_FOUND_ERR=8;x.NOT_SUPPORTED_ERR=9;x.INUSE_ATTRIBUTE_ERR=10;x.INVALID_STATE_ERR=11;x.SYNTAX_ERR=12;x.INVALID_MODIFICATION_ERR=13;x.NAMESPACE_ERR=14;x.INVALID_ACCESS_ERR=15;x.VALIDATION_ERR=16;x.TYPE_MISMATCH_ERR=17;G_vmlCanvasManager=E;CanvasRenderingContext2D=W;CanvasGradient=v;CanvasPattern=u;DOMException=o})()};
\ No newline at end of file
diff --git a/www/themes/intranet/js/plugins/fullcalendar.min.js b/www/themes/intranet/js/plugins/fullcalendar.min.js
new file mode 100644
index 0000000..fc06a89
--- /dev/null
+++ b/www/themes/intranet/js/plugins/fullcalendar.min.js
@@ -0,0 +1,113 @@
+/*
+
+ FullCalendar v1.5.2
+ http://arshaw.com/fullcalendar/
+
+ Use fullcalendar.css for basic styling.
+ For event drag & drop, requires jQuery UI draggable.
+ For event resizing, requires jQuery UI resizable.
+
+ Copyright (c) 2011 Adam Shaw
+ Dual licensed under the MIT and GPL licenses, located in
+ MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
+
+ Date: Sun Aug 21 22:06:09 2011 -0700
+
+*/
+(function(m,oa){function wb(a){m.extend(true,Ya,a)}function Yb(a,b,e){function d(k){if(E){u();q();ma();S(k)}else f()}function f(){B=b.theme?"ui":"fc";a.addClass("fc");b.isRTL&&a.addClass("fc-rtl");b.theme&&a.addClass("ui-widget");E=m("").prependTo(a);C=new Zb(X,b);(P=C.render())&&a.prepend(P);y(b.defaultView);m(window).resize(na);t()||g()}function g(){setTimeout(function(){!n.start&&t()&&S()},0)}function l(){m(window).unbind("resize",na);C.destroy();
+E.remove();a.removeClass("fc fc-rtl ui-widget")}function j(){return i.offsetWidth!==0}function t(){return m("body")[0].offsetWidth!==0}function y(k){if(!n||k!=n.name){F++;pa();var D=n,Z;if(D){(D.beforeHide||xb)();Za(E,E.height());D.element.hide()}else Za(E,1);E.css("overflow","hidden");if(n=Y[k])n.element.show();else n=Y[k]=new Ja[k](Z=s=m("").appendTo(E),X);D&&C.deactivateButton(D.name);C.activateButton(k);S();E.css("overflow","");D&&
+Za(E,1);Z||(n.afterShow||xb)();F--}}function S(k){if(j()){F++;pa();o===oa&&u();var D=false;if(!n.start||k||r=n.end){n.render(r,k||0);fa(true);D=true}else if(n.sizeDirty){n.clearEvents();fa();D=true}else if(n.eventsDirty){n.clearEvents();D=true}n.sizeDirty=false;n.eventsDirty=false;ga(D);W=a.outerWidth();C.updateTitle(n.title);k=new Date;k>=n.start&&k").append(m(" ").append(f("left")).append(f("center")).append(f("right")))}function d(){Q.remove()}function f(u){var fa=m("");(u=b.header[u])&&m.each(u.split(" "),function(na){na>0&&fa.append("");var ga;
+m.each(this.split(","),function(ra,sa){if(sa=="title"){fa.append("");ga&&ga.addClass(q+"-corner-right");ga=null}else{var ha;if(a[sa])ha=a[sa];else if(Ja[sa])ha=function(){ma.removeClass(q+"-state-hover");a.changeView(sa)};if(ha){ra=b.theme?jb(b.buttonIcons,sa):null;var da=jb(b.buttonText,sa),ma=m(""+(ra?"":da)+"");if(ma){ma.click(function(){ma.hasClass(q+"-state-disabled")||ha()}).mousedown(function(){ma.not("."+q+"-state-active").not("."+q+"-state-disabled").addClass(q+"-state-down")}).mouseup(function(){ma.removeClass(q+"-state-down")}).hover(function(){ma.not("."+q+"-state-active").not("."+q+"-state-disabled").addClass(q+"-state-hover")},function(){ma.removeClass(q+"-state-hover").removeClass(q+"-state-down")}).appendTo(fa);
+ga||ma.addClass(q+"-corner-left");ga=ma}}}});ga&&ga.addClass(q+"-corner-right")});return fa}function g(u){Q.find("h2").html(u)}function l(u){Q.find("span.fc-button-"+u).addClass(q+"-state-active")}function j(u){Q.find("span.fc-button-"+u).removeClass(q+"-state-active")}function t(u){Q.find("span.fc-button-"+u).addClass(q+"-state-disabled")}function y(u){Q.find("span.fc-button-"+u).removeClass(q+"-state-disabled")}var S=this;S.render=e;S.destroy=d;S.updateTitle=g;S.activateButton=l;S.deactivateButton=
+j;S.disableButton=t;S.enableButton=y;var Q=m([]),q}function $b(a,b){function e(c,z){return!ca||cka}function d(c,z){ca=c;ka=z;L=[];c=++qa;G=z=U.length;for(var H=0;Hl;y--)if(S=dc[e.substring(l,y)]){if(f)Q+=S(f,d);l=y-1;break}if(y==l)if(f)Q+=t}}return Q}function Ua(a){return a.end?ec(a.end,a.allDay):ba(N(a.start),1)}function ec(a,b){a=N(a);return b||a.getHours()||a.getMinutes()?ba(a,1):Ka(a)}function fc(a,b){return(b.msLength-a.msLength)*100+(a.event.start-b.event.start)}function Cb(a,b){return a.end>b.start&&a.starte&&td){y=N(d);Q=false}else{y=y;Q=true}f.push({event:j,start:t,end:y,isStart:S,isEnd:Q,msLength:y-t})}}return f.sort(fc)}function ob(a){var b=[],e,d=a.length,f,g,l,j;for(e=0;e=0;e--){d=a[b[e].toLowerCase()];if(d!==
+oa)return d}return a[""]}function Qa(a){return a.replace(/&/g,"&").replace(//g,">").replace(/'/g,"'").replace(/"/g,""").replace(/\n/g," ")}function Ib(a){return a.id+"/"+a.className+"/"+a.style.cssText.replace(/(^|;)\s*(top|left|width|height)\s*:[^;]*/ig,"")}function qb(a){a.attr("unselectable","on").css("MozUserSelect","none").bind("selectstart.ui",function(){return false})}function ab(a){a.children().removeClass("fc-first fc-last").filter(":first-child").addClass("fc-first").end().filter(":last-child").addClass("fc-last")}
+function rb(a,b){a.each(function(e,d){d.className=d.className.replace(/^fc-\w*/,"fc-"+lc[b.getDay()])})}function Jb(a,b){var e=a.source||{},d=a.color,f=e.color,g=b("eventColor"),l=a.backgroundColor||d||e.backgroundColor||f||b("eventBackgroundColor")||g;d=a.borderColor||d||e.borderColor||f||b("eventBorderColor")||g;a=a.textColor||e.textColor||b("eventTextColor");b=[];l&&b.push("background-color:"+l);d&&b.push("border-color:"+d);a&&b.push("color:"+a);return b.join(";")}function $a(a,b,e){if(m.isFunction(a))a=
+[a];if(a){var d,f;for(d=0;d";for(aa=0;aa";R+=" ";for(aa=0;aa";for(V=0;V";R+=""}R+="";w=
+m(R).appendTo(a);K=w.find("thead");i=K.find("th");C=w.find("tbody");P=C.find("tr");E=C.find("td");B=E.filter(":first-child");n=P.eq(0).find("div.fc-day-content div");ab(K.add(K.find("tr")));ab(P);P.eq(0).addClass("fc-first");y(E);Y=m("").appendTo(a)}function l(w){var I=w||v==1,R=p.start.getMonth(),V=Ka(new Date),ea,aa,va;I&&i.each(function(wa,Ga){ea=m(Ga);aa=ca(wa);ea.html(ya(aa,$));rb(ea,aa)});E.each(function(wa,Ga){ea=m(Ga);aa=ca(wa);aa.getMonth()==
+R?ea.removeClass("fc-other-month"):ea.addClass("fc-other-month");+aa==+V?ea.addClass(la+"-state-highlight fc-today"):ea.removeClass(la+"-state-highlight fc-today");ea.find("div.fc-day-number").text(aa.getDate());I&&rb(ea,aa)});P.each(function(wa,Ga){va=m(Ga);if(wa div"),(ea==v-1?R:I)-Sa(V))}})}function t(w){W=w;M.clear();s=Math.floor(W/F);Va(i.slice(0,-1),s)}function y(w){w.click(S).mousedown(X)}function S(w){if(!L("selectable")){var I=parseInt(this.className.match(/fc\-day(\d+)/)[1]);I=ca(I);c("dayClick",this,I,true,w)}}function Q(w,I,R){R&&r.build();R=N(p.visStart);for(var V=ba(N(R),F),ea=0;ea| | ";for(A=0;A";x+=" |
|---|
| | ";for(A=0;A";x+=" | ";v=m(x).appendTo(a);F=v.find("thead");r=F.find("th").slice(1,-1);J=v.find("tbody");M=J.find("td").slice(0,-1);k=M.find("div.fc-day-content div");D=M.eq(0);Z=D.find("> div");ab(F.add(F.find("tr")));ab(J.add(J.find("tr")));aa=F.find("th:first");va=v.find(".fc-agenda-gutter");ja=m("").appendTo(a);
+if(i("allDaySlot")){ia=m("").appendTo(ja);x="";la=m(x).appendTo(ja);$=la.find("tr");q($.find("td"));aa=aa.add(la.find("th:first"));va=va.add(la.find("th.fc-agenda-gutter"));ja.append("")}else ia=m([]);w=m("").appendTo(ja);I=m("").appendTo(w);R=m("").appendTo(I);x="";ta=zb();za=xa(N(ta),bb);xa(ta,La);for(A=tb=0;ta| "+(!Ea||!Da?s(ta,i("axisFormat")):" ")+" | | ";xa(ta,i("slotMinutes"));tb++}x+=" ";V=m(x).appendTo(I);ea=V.find("div:first");u(V.find("td"));aa=aa.add(V.find("th:first"))}function l(){var h,O,x,A,ta=Ka(new Date);for(h=0;h=0&&xa(O,La+h*i("slotMinutes"));return O}function ua(h){return ba(N(K.visStart),h*Ha+Ia)}function pa(h){return i("allDaySlot")&&!h.row}function U(h){return(h-Math.max(Tb,Sb)+Ba)%Ba*Ha+Ia}function ca(h,O){h=N(h,true);if(O=xa(N(h),bb))return V.height();
+h=i("slotMinutes");O=O.getHours()*60+O.getMinutes()-La;var x=Math.floor(O/h),A=ub[x];if(A===oa)A=ub[x]=V.find("tr:eq("+x+") td div")[0].offsetTop;return Math.max(0,Math.round(A-1+Xa*(O%h/h)))}function ka(){return{left:Ma,right:Ga-vb}}function qa(){return $}function G(h){var O=N(h.start);if(h.allDay)return O;return xa(O,i("defaultEventMinutes"))}function p(h,O){if(O)return N(h);return xa(N(h),i("slotMinutes"))}function L(h,O,x){if(x)i("allDaySlot")&&na(h,ba(N(O),1),true);else c(h,O)}function c(h,O){var x=
+i("selectHelper");Na.build();if(x){var A=Ca(h,K.visStart)*Ha+Ia;if(A>=0&&Ata){A.top=ta;A.height=za-ta;A.left+=2;A.width-=5;if(m.isFunction(x)){if(h=x(h,O)){A.position="absolute";A.zIndex=8;wa=m(h).css(A).appendTo(I)}}else{A.isStart=true;A.isEnd=true;wa=m(o({title:"",start:h,end:O,className:["fc-select-helper"],editable:false},A));wa.css("opacity",i("dragOpacity"))}if(wa){u(wa);I.append(wa);Va(wa,A.width,true);Eb(wa,A.height,true)}}}}else ra(h,
+O)}function z(){B();if(wa){wa.remove();wa=null}}function H(h){if(h.which==1&&i("selectable")){Y(h);var O;Ra.start(function(x,A){z();if(x&&x.col==A.col&&!pa(x)){A=ma(A);x=ma(x);O=[A,xa(N(A),i("slotMinutes")),x,xa(N(x),i("slotMinutes"))].sort(Gb);c(O[0],O[3])}else O=null},h);m(document).one("mouseup",function(x){Ra.stop();if(O){+O[0]==+O[1]&&T(O[0],false,x);n(O[0],O[3],false,x)}})}}function T(h,O,x){C("dayClick",M[U(h.getDay())],h,O,x)}function X(h,O){Ra.start(function(x){B();if(x)if(pa(x))ga(x.row,
+x.col,x.row,x.col);else{x=ma(x);var A=xa(N(x),i("defaultEventMinutes"));ra(x,A)}},O)}function ya(h,O,x){var A=Ra.stop();B();A&&C("drop",h,ma(A),pa(A),O,x)}var K=this;K.renderAgenda=d;K.setWidth=t;K.setHeight=j;K.beforeHide=S;K.afterShow=Q;K.defaultEventEnd=G;K.timePosition=ca;K.dayOfWeekCol=U;K.dateCell=da;K.cellDate=ma;K.cellIsAllDay=pa;K.allDayRow=qa;K.allDayBounds=ka;K.getHoverListener=function(){return Ra};K.colContentLeft=sa;K.colContentRight=ha;K.getDaySegmentContainer=function(){return ia};
+K.getSlotSegmentContainer=function(){return R};K.getMinMinute=function(){return La};K.getMaxMinute=function(){return bb};K.getBodyContent=function(){return I};K.getRowCnt=function(){return 1};K.getColCnt=function(){return Ba};K.getColWidth=function(){return db};K.getSlotHeight=function(){return Xa};K.defaultSelectionEnd=p;K.renderDayOverlay=na;K.renderSelection=L;K.clearSelection=z;K.reportDayClick=T;K.dragStart=X;K.dragStop=ya;Kb.call(K,a,b,e);Lb.call(K);Mb.call(K);sc.call(K);var i=K.opt,C=K.trigger,
+P=K.clearEvents,E=K.renderOverlay,B=K.clearOverlays,n=K.reportSelection,Y=K.unselect,W=K.daySelectionMousedown,o=K.slotSegHtml,s=b.formatDate,v,F,r,J,M,k,D,Z,ja,ia,la,$,w,I,R,V,ea,aa,va,wa,Ga,Wb,Ma,db,vb,Xa,Xb,Ba,tb,Na,Ra,cb,ub={},Wa,Tb,Sb,Ub,Ha,Ia,La,bb,Vb;qb(a.addClass("fc-agenda"));Na=new Nb(function(h,O){function x(eb){return Math.max(Ea,Math.min(tc,eb))}var A,ta,za;r.each(function(eb,uc){A=m(uc);ta=A.offset().left;if(eb)za[1]=ta;za=[ta];O[eb]=za});za[1]=ta+A.outerWidth();if(i("allDaySlot")){A=
+$;ta=A.offset().top;h[0]=[ta,ta+A.outerHeight()]}for(var Da=I.offset().top,Ea=w.offset().top,tc=Ea+w.outerHeight(),fb=0;fb"+Qa(W(o.start,o.end,u("timeFormat")))+" ";if(s.isEnd&&ga(o))v+="= ";
+v+=""+(F?"a":"div")+">";return v}function j(o,s,v){na(o)&&y(o,s,v.isStart);v.isEnd&&ga(o)&&c(o,s,v);da(o,s)}function t(o,s,v){var F=s.find("div.fc-event-time");na(o)&&S(o,s,F);v.isEnd&&ga(o)&&Q(o,s,F);da(o,s)}function y(o,s,v){function F(){if(!M){s.width(r).height("").draggable("option","grid",null);M=true}}var r,J,M=true,k,D=u("isRTL")?-1:1,Z=U(),ja=H(),ia=T(),la=ka();s.draggable({zIndex:9,opacity:u("dragOpacity","month"),revertDuration:u("dragRevertDuration"),start:function($,w){fa("eventDragStart",
+s,o,$,w);i(o,s);r=s.width();Z.start(function(I,R,V,ea){B();if(I){J=false;k=ea*D;if(I.row)if(v){if(M){s.width(ja-10);Eb(s,ia*Math.round((o.end?(o.end-o.start)/wc:u("defaultEventMinutes"))/u("slotMinutes")));s.draggable("option","grid",[ja,1]);M=false}}else J=true;else{E(ba(N(o.start),k),ba(Ua(o),k));F()}J=J||M&&!k}else{F();J=true}s.draggable("option","revert",J)},$,"drag")},stop:function($,w){Z.stop();B();fa("eventDragStop",s,o,$,w);if(J){F();s.css("filter","");K(o,s)}else{var I=0;M||(I=Math.round((s.offset().top-
+X().offset().top)/ia)*u("slotMinutes")+la-(o.start.getHours()*60+o.start.getMinutes()));C(this,o,k,I,M,$,w)}}})}function S(o,s,v){function F(I){var R=xa(N(o.start),I),V;if(o.end)V=xa(N(o.end),I);v.text(W(R,V,u("timeFormat")))}function r(){if(M){v.css("display","");s.draggable("option","grid",[$,w]);M=false}}var J,M=false,k,D,Z,ja=u("isRTL")?-1:1,ia=U(),la=z(),$=H(),w=T();s.draggable({zIndex:9,scroll:false,grid:[$,w],axis:la==1?"y":false,opacity:u("dragOpacity"),revertDuration:u("dragRevertDuration"),
+start:function(I,R){fa("eventDragStart",s,o,I,R);i(o,s);J=s.position();D=Z=0;ia.start(function(V,ea,aa,va){s.draggable("option","revert",!V);B();if(V){k=va*ja;if(u("allDaySlot")&&!V.row){if(!M){M=true;v.hide();s.draggable("option","grid",null)}E(ba(N(o.start),k),ba(Ua(o),k))}else r()}},I,"drag")},drag:function(I,R){D=Math.round((R.position.top-J.top)/w)*u("slotMinutes");if(D!=Z){M||F(D);Z=D}},stop:function(I,R){var V=ia.stop();B();fa("eventDragStop",s,o,I,R);if(V&&(k||D||M))C(this,o,k,M?0:D,M,I,R);
+else{r();s.css("filter","");s.css(J);F(0);K(o,s)}}})}function Q(o,s,v){var F,r,J=T();s.resizable({handles:{s:"div.ui-resizable-s"},grid:J,start:function(M,k){F=r=0;i(o,s);s.css("z-index",9);fa("eventResizeStart",this,o,M,k)},resize:function(M,k){F=Math.round((Math.max(J,s.height())-k.originalSize.height)/J);if(F!=r){v.text(W(o.start,!F&&!o.end?null:xa(ra(o),u("slotMinutes")*F),u("timeFormat")));r=F}},stop:function(M,k){fa("eventResizeStop",this,o,M,k);if(F)P(this,o,0,u("slotMinutes")*F,M,k);else{s.css("z-index",
+8);K(o,s)}}})}var q=this;q.renderEvents=a;q.compileDaySegs=e;q.clearEvents=b;q.slotSegHtml=l;q.bindDaySeg=j;Qb.call(q);var u=q.opt,fa=q.trigger,na=q.isEventDraggable,ga=q.isEventResizable,ra=q.eventEnd,sa=q.reportEvents,ha=q.reportEventClear,da=q.eventElementHandlers,ma=q.setHeight,ua=q.getDaySegmentContainer,pa=q.getSlotSegmentContainer,U=q.getHoverListener,ca=q.getMaxMinute,ka=q.getMinMinute,qa=q.timePosition,G=q.colContentLeft,p=q.colContentRight,L=q.renderDaySegs,c=q.resizableDayEvent,z=q.getColCnt,
+H=q.getColWidth,T=q.getSlotHeight,X=q.getBodyContent,ya=q.reportEventElement,K=q.showEvents,i=q.hideEvents,C=q.eventDrop,P=q.eventResize,E=q.renderDayOverlay,B=q.clearOverlays,n=q.calendar,Y=n.formatDate,W=n.formatDates}function vc(a){var b,e,d,f,g,l;for(b=a.length-1;b>0;b--){f=a[b];for(e=0;e"),B=z(),n=i.length,Y;E[0].innerHTML=e(i);E=E.children();B.append(E);d(i,E);l(i);j(i);t(i);Q(i,S(y()));E=[];for(B=0;B";if(!n.allDay&&B.isStart)k+=""+Qa(T(n.start,n.end,fa("timeFormat")))+"";k+=""+Qa(n.title)+" ";if(B.isEnd&&ra(n))k+=" ";k+=""+(Y?
+"a":"div")+">";B.left=r;B.outerWidth=J-r;B.startCol=v;B.endCol=F+1}return k}function d(i,C){var P,E=i.length,B,n,Y;for(P=0;P div");return P}function S(i){var C,P=i.length,E=[];for(C=0;C"));j[0].parentNode!=l[0]&&j.appendTo(l);d.push(j.css(g).show());return j}function b(){for(var g;g=d.shift();)f.push(g.hide().unbind())}var e=this;e.renderOverlay=a;e.clearOverlays=b;var d=[],f=[]}function Nb(a){var b=this,e,d;b.build=function(){e=[];d=[];a(e,d)};b.cell=function(f,g){var l=e.length,j=d.length,
+t,y=-1,S=-1;for(t=0;t=e[t][0]&&g=d[t][0]&&f=0&&S>=0?{row:y,col:S}:null};b.rect=function(f,g,l,j,t){t=t.offset();return{top:e[f][0]-t.top,left:d[g][0]-t.left,width:d[j][1]-d[g][0],height:e[l][1]-e[f][0]}}}function Ob(a){function b(j){j=a.cell(j.pageX,j.pageY);if(!j!=!l||j&&(j.row!=l.row||j.col!=l.col)){if(j){g||(g=j);f(j,g,j.row-g.row,j.col-g.col)}else f(j,g);l=j}}var e=this,d,f,g,l;e.start=function(j,t,y){f=j;g=l=null;
+a.build();b(t);d=y||"mousemove";m(document).bind(d,b)};e.stop=function(){m(document).unbind(d,b);return l}}function Pb(a){function b(l){return d[l]=d[l]||a(l)}var e=this,d={},f={},g={};e.left=function(l){return f[l]=f[l]===oa?b(l).position().left:f[l]};e.right=function(l){return g[l]=g[l]===oa?e.left(l)+b(l).width():g[l]};e.clear=function(){d={};f={};g={}}}var Ya={defaultView:"month",aspectRatio:1.35,header:{left:"title",center:"",right:"today prev,next"},weekends:true,allDayDefault:true,ignoreTimezone:true,
+lazyFetching:true,startParam:"start",endParam:"end",titleFormat:{month:"MMMM yyyy",week:"MMM d[ yyyy]{ '—'[ MMM] d yyyy}",day:"dddd, MMM d, yyyy"},columnFormat:{month:"ddd",week:"ddd M/d",day:"dddd M/d"},timeFormat:{"":"h(:mm)t"},isRTL:false,firstDay:0,monthNames:["January","February","March","April","May","June","July","August","September","October","November","December"],monthNamesShort:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],dayNames:["Sunday","Monday","Tuesday",
+"Wednesday","Thursday","Friday","Saturday"],dayNamesShort:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],buttonText:{prev:" ◄ ",next:" ► ",prevYear:" << ",nextYear:" >> ",today:"today",month:"month",week:"week",day:"day"},theme:false,buttonIcons:{prev:"circle-triangle-w",next:"circle-triangle-e"},unselectAuto:true,dropAccept:"*"},xc={header:{left:"next,prev today",center:"",right:"title"},buttonText:{prev:" ► ",next:" ◄ ",
+prevYear:" >> ",nextYear:" << "},buttonIcons:{prev:"circle-triangle-e",next:"circle-triangle-w"}},Aa=m.fullCalendar={version:"1.5.2"},Ja=Aa.views={};m.fn.fullCalendar=function(a){if(typeof a=="string"){var b=Array.prototype.slice.call(arguments,1),e;this.each(function(){var f=m.data(this,"fullCalendar");if(f&&m.isFunction(f[a])){f=f[a].apply(f,b);if(e===oa)e=f;a=="destroy"&&m.removeData(this,"fullCalendar")}});if(e!==oa)return e;return this}var d=a.eventSources||[];
+delete a.eventSources;if(a.events){d.push(a.events);delete a.events}a=m.extend(true,{},Ya,a.isRTL||a.isRTL===oa&&Ya.isRTL?xc:{},a);this.each(function(f,g){f=m(g);g=new Yb(f,a,d);f.data("fullCalendar",g);g.render()});return this};Aa.sourceNormalizers=[];Aa.sourceFetchers=[];var ac={dataType:"json",cache:false},bc=1;Aa.addDays=ba;Aa.cloneDate=N;Aa.parseDate=kb;Aa.parseISO8601=Bb;Aa.parseTime=mb;Aa.formatDate=Oa;Aa.formatDates=ib;var lc=["sun","mon","tue","wed","thu","fri","sat"],Ab=864E5,cc=36E5,wc=
+6E4,dc={s:function(a){return a.getSeconds()},ss:function(a){return Pa(a.getSeconds())},m:function(a){return a.getMinutes()},mm:function(a){return Pa(a.getMinutes())},h:function(a){return a.getHours()%12||12},hh:function(a){return Pa(a.getHours()%12||12)},H:function(a){return a.getHours()},HH:function(a){return Pa(a.getHours())},d:function(a){return a.getDate()},dd:function(a){return Pa(a.getDate())},ddd:function(a,b){return b.dayNamesShort[a.getDay()]},dddd:function(a,b){return b.dayNames[a.getDay()]},
+M:function(a){return a.getMonth()+1},MM:function(a){return Pa(a.getMonth()+1)},MMM:function(a,b){return b.monthNamesShort[a.getMonth()]},MMMM:function(a,b){return b.monthNames[a.getMonth()]},yy:function(a){return(a.getFullYear()+"").substring(2)},yyyy:function(a){return a.getFullYear()},t:function(a){return a.getHours()<12?"a":"p"},tt:function(a){return a.getHours()<12?"am":"pm"},T:function(a){return a.getHours()<12?"A":"P"},TT:function(a){return a.getHours()<12?"AM":"PM"},u:function(a){return Oa(a,
+"yyyy-MM-dd'T'HH:mm:ss'Z'")},S:function(a){a=a.getDate();if(a>10&&a<20)return"th";return["st","nd","rd"][a%10-1]||"th"}};Aa.applyAll=$a;Ja.month=mc;Ja.basicWeek=nc;Ja.basicDay=oc;wb({weekMode:"fixed"});Ja.agendaWeek=qc;Ja.agendaDay=rc;wb({allDaySlot:true,allDayText:"all-day",firstHour:6,slotMinutes:30,defaultEventMinutes:120,axisFormat:"h(:mm)tt",timeFormat:{agenda:"h:mm{ - h:mm}"},dragOpacity:{agenda:0.5},minTime:0,maxTime:24})})(jQuery);
diff --git a/www/themes/intranet/js/plugins/jquery-1.7.min.js b/www/themes/intranet/js/plugins/jquery-1.7.min.js
new file mode 100644
index 0000000..8ce8708
--- /dev/null
+++ b/www/themes/intranet/js/plugins/jquery-1.7.min.js
@@ -0,0 +1,4 @@
+/*! jQuery v1.7 jquery.com | jquery.org/license */
+(function(a,b){function cA(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cx(a){if(!cm[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cn||(cn=c.createElement("iframe"),cn.frameBorder=cn.width=cn.height=0),b.appendChild(cn);if(!co||!cn.createElement)co=(cn.contentWindow||cn.contentDocument).document,co.write((c.compatMode==="CSS1Compat"?"":"")+""),co.close();d=co.createElement(a),co.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cn)}cm[a]=e}return cm[a]}function cw(a,b){var c={};f.each(cs.concat.apply([],cs.slice(0,b)),function(){c[this]=a});return c}function cv(){ct=b}function cu(){setTimeout(cv,0);return ct=f.now()}function cl(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ck(){try{return new a.XMLHttpRequest}catch(b){}}function ce(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){c!=="border"&&f.each(e,function(){c||(d-=parseFloat(f.css(a,"padding"+this))||0),c==="margin"?d+=parseFloat(f.css(a,c+this))||0:d-=parseFloat(f.css(a,"border"+this+"Width"))||0});return d+"px"}d=bB(a,b,b);if(d<0||d==null)d=a.style[b]||0;d=parseFloat(d)||0,c&&f.each(e,function(){d+=parseFloat(f.css(a,"padding"+this))||0,c!=="padding"&&(d+=parseFloat(f.css(a,"border"+this+"Width"))||0),c==="margin"&&(d+=parseFloat(f.css(a,c+this))||0)});return d+"px"}function br(a,b){b.src?f.ajax({url:b.src,async:!1,dataType:"script"}):f.globalEval((b.text||b.textContent||b.innerHTML||"").replace(bi,"/*$0*/")),b.parentNode&&b.parentNode.removeChild(b)}function bq(a){var b=(a.nodeName||"").toLowerCase();b==="input"?bp(a):b!=="script"&&typeof a.getElementsByTagName!="undefined"&&f.grep(a.getElementsByTagName("input"),bp)}function bp(a){if(a.type==="checkbox"||a.type==="radio")a.defaultChecked=a.checked}function bo(a){return typeof a.getElementsByTagName!="undefined"?a.getElementsByTagName("*"):typeof a.querySelectorAll!="undefined"?a.querySelectorAll("*"):[]}function bn(a,b){var c;if(b.nodeType===1){b.clearAttributes&&b.clearAttributes(),b.mergeAttributes&&b.mergeAttributes(a),c=b.nodeName.toLowerCase();if(c==="object")b.outerHTML=a.outerHTML;else if(c!=="input"||a.type!=="checkbox"&&a.type!=="radio"){if(c==="option")b.selected=a.defaultSelected;else if(c==="input"||c==="textarea")b.defaultValue=a.defaultValue}else a.checked&&(b.defaultChecked=b.checked=a.checked),b.value!==a.value&&(b.value=a.value);b.removeAttribute(f.expando)}}function bm(a,b){if(b.nodeType===1&&!!f.hasData(a)){var c,d,e,g=f._data(a),h=f._data(b,g),i=g.events;if(i){delete h.handle,h.events={};for(c in i)for(d=0,e=i[c].length;d=0===c})}function V(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function N(){return!0}function M(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/\d/,n=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,o=/^[\],:{}\s]*$/,p=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,q=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,r=/(?:^|:|,)(?:\s*\[)+/g,s=/(webkit)[ \/]([\w.]+)/,t=/(opera)(?:.*version)?[ \/]([\w.]+)/,u=/(msie) ([\w.]+)/,v=/(mozilla)(?:.*? rv:([\w.]+))?/,w=/-([a-z]|[0-9])/ig,x=/^-ms-/,y=function(a,b){return(b+"").toUpperCase()},z=d.userAgent,A,B,C,D=Object.prototype.toString,E=Object.prototype.hasOwnProperty,F=Array.prototype.push,G=Array.prototype.slice,H=String.prototype.trim,I=Array.prototype.indexOf,J={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=n.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7",length:0,size:function(){return this.length},toArray:function(){return G.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?F.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),B.add(a);return this},eq:function(a){return a===-1?this.slice(a):this.slice(a,+a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(G.apply(this,arguments),"slice",G.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:F,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;B.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").unbind("ready")}},bindReady:function(){if(!B){B=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",C,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",C),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&K()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return a!=null&&m.test(a)&&!isNaN(a)},type:function(a){return a==null?String(a):J[D.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!E.call(a,"constructor")&&!E.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||E.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw a},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(o.test(b.replace(p,"@").replace(q,"]").replace(r,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(x,"ms-").replace(w,y)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;ca",d=a.getElementsByTagName("*"),e=a.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=a.getElementsByTagName("input")[0],k={leadingWhitespace:a.firstChild.nodeType===3,tbody:!a.getElementsByTagName("tbody").length,htmlSerialize:!!a.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,unknownElems:!!a.getElementsByTagName("nav").length,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:a.className!=="t",enctype:!!c.createElement("form").enctype,submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,k.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,k.optDisabled=!h.disabled;try{delete a.test}catch(v){k.deleteExpando=!1}!a.addEventListener&&a.attachEvent&&a.fireEvent&&(a.attachEvent("onclick",function(){k.noCloneEvent=!1}),a.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),k.radioValue=i.value==="t",i.setAttribute("checked","checked"),a.appendChild(i),l=c.createDocumentFragment(),l.appendChild(a.lastChild),k.checkClone=l.cloneNode(!0).cloneNode(!0).lastChild.checked,a.innerHTML="",a.style.width=a.style.paddingLeft="1px",m=c.getElementsByTagName("body")[0],o=c.createElement(m?"div":"body"),p={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},m&&f.extend(p,{position:"absolute",left:"-999px",top:"-999px"});for(t in p)o.style[t]=p[t];o.appendChild(a),n=m||b,n.insertBefore(o,n.firstChild),k.appendChecked=i.checked,k.boxModel=a.offsetWidth===2,"zoom"in a.style&&(a.style.display="inline",a.style.zoom=1,k.inlineBlockNeedsLayout=a.offsetWidth===2,a.style.display="",a.innerHTML="",k.shrinkWrapBlocks=a.offsetWidth!==2),a.innerHTML="",q=a.getElementsByTagName("td"),u=q[0].offsetHeight===0,q[0].style.display="",q[1].style.display="none",k.reliableHiddenOffsets=u&&q[0].offsetHeight===0,a.innerHTML="",c.defaultView&&c.defaultView.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",a.appendChild(j),k.reliableMarginRight=(parseInt((c.defaultView.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(a.attachEvent)for(t in{submit:1,change:1,focusin:1})s="on"+t,u=s in a,u||(a.setAttribute(s,"return;"),u=typeof a[s]=="function"),k[t+"Bubbles"]=u;f(function(){var a,b,d,e,g,h,i=1,j="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",l="visibility:hidden;border:0;",n="style='"+j+"border:5px solid #000;padding:0;'",p=""+"";m=c.getElementsByTagName("body")[0];!m||(a=c.createElement("div"),a.style.cssText=l+"width:0;height:0;position:static;top:0;margin-top:"+i+"px",m.insertBefore(a,m.firstChild),o=c.createElement("div"),o.style.cssText=j+l,o.innerHTML=p,a.appendChild(o),b=o.firstChild,d=b.firstChild,g=b.nextSibling.firstChild.firstChild,h={doesNotAddBorder:d.offsetTop!==5,doesAddBorderForTableAndCells:g.offsetTop===5},d.style.position="fixed",d.style.top="20px",h.fixedPosition=d.offsetTop===20||d.offsetTop===15,d.style.position=d.style.top="",b.style.overflow="hidden",b.style.position="relative",h.subtractsBorderForOverflowNotVisible=d.offsetTop===-5,h.doesNotIncludeMarginInBodyOffset=m.offsetTop!==i,m.removeChild(a),o=a=null,f.extend(k,h))}),o.innerHTML="",n.removeChild(o),o=l=g=h=m=j=a=i=null;return k}(),f.boxModel=f.support.boxModel;var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[f.expando]:a[f.expando]&&f.expando,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[f.expando]=n=++f.uuid:n=f.expando),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[f.expando]:f.expando;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)?b=b:b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" "));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];if(!arguments.length){if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}return b}e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!a||j===3||j===8||j===2)return b;if(e&&c in f.attrFn)return f(a)[c](d);if(!("getAttribute"in a))return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return b}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g},removeAttr:function(a,b){var c,d,e,g,h=0;if(a.nodeType===1){d=(b||"").split(p),g=d.length;for(;h=0}})});var z=/\.(.*)$/,A=/^(?:textarea|input|select)$/i,B=/\./g,C=/ /g,D=/[^\w\s.|`]/g,E=/^([^\.]*)?(?:\.(.+))?$/,F=/\bhover(\.\S+)?/,G=/^key/,H=/^(?:mouse|contextmenu)|click/,I=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,J=function(a){var b=I.exec(a);b&&
+(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},K=function(a,b){return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||a.id===b[2])&&(!b[3]||b[3].test(a.className))},L=function(a){return f.event.special.hover?a:a.replace(F,"mouseenter$1 mouseleave$1")};f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=L(c).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"",(g||!e)&&c.preventDefault();if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,n=null;for(m=e.parentNode;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;l=0:t===b&&(t=o[s]=r.quick?K(m,r.quick):f(m).is(s)),t&&q.push(r);q.length&&j.push({elem:m,matches:q})}d.length>e&&j.push({elem:this,matches:d.slice(e)});for(k=0;k0?this.bind(b,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),G.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),H.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(V(c[0])||V(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c),g=S.call(arguments);O.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!U[a]?f.unique(e):e,(this.length>1||Q.test(d))&&P.test(a)&&(e=e.reverse());return this.pushStack(e,a,g.join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var Y="abbr article aside audio canvas datalist details figcaption figure footer header hgroup mark meter nav output progress section summary time video",Z=/ jQuery\d+="(?:\d+|null)"/g,$=/^\s+/,_=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,ba=/<([\w:]+)/,bb=/",""],legend:[1,""],thead:[1,""],tr:[2,""],td:[3,""],col:[2,""],area:[1,""],_default:[0,"",""]},bk=X(c);bj.optgroup=bj.option,bj.tbody=bj.tfoot=bj.colgroup=bj.caption=bj.thead,bj.th=bj.td,f.support.htmlSerialize||(bj._default=[1,"div"," "]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){return this.each(function(){f(this).wrapAll(a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f(arguments[0]);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after"
+,arguments);a.push.apply(a,f(arguments[0]).toArray());return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function(){for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(Z,""):null;if(typeof a=="string"&&!bd.test(a)&&(f.support.leadingWhitespace||!$.test(a))&&!bj[(ba.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(_,"<$1>$2>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d=a.cloneNode(!0),e,g,h;if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bn(a,d),e=bo(a),g=bo(d);for(h=0;e[h];++h)g[h]&&bn(e[h],g[h])}if(b){bm(a,d);if(c){e=bo(a),g=bo(d);for(h=0;e[h];++h)bm(e[h],g[h])}}e=g=null;return d},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!bc.test(k))k=b.createTextNode(k);else{k=k.replace(_,"<$1>$2>");var l=(ba.exec(k)||["",""])[1].toLowerCase(),m=bj[l]||bj._default,n=m[0],o=b.createElement("div");b===c?bk.appendChild(o):X(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=bb.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&$.test(k)&&o.insertBefore(b.createTextNode($.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return bt.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bs,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bs.test(g)?g.replace(bs,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bB(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bC=function(a,c){var d,e,g;c=c.replace(bu,"-$1").toLowerCase();if(!(e=a.ownerDocument.defaultView))return b;if(g=e.getComputedStyle(a,null))d=g.getPropertyValue(c),d===""&&!f.contains(a.ownerDocument.documentElement,a)&&(d=f.style(a,c));return d}),c.documentElement.currentStyle&&(bD=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bv.test(f)&&bw.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bB=bC||bD,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bF=/%20/g,bG=/\[\]$/,bH=/\r?\n/g,bI=/#.*$/,bJ=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bK=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bL=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bM=/^(?:GET|HEAD)$/,bN=/^\/\//,bO=/\?/,bP=/
+
+
+
+ pageTitle); ?>
+
+
+
+
+
+
+
+
+
+
+ breadcrumbs)):?>
+ widget('zii.widgets.CBreadcrumbs', array(
+ 'links'=>$this->breadcrumbs,
+ 'separator'=>'',
+ )); ?>
+
+
+ pageTitle)):?>
+ pageTitle; ?>
+
+
+ menu)>0): ?>
+
+ widget('zii.widgets.CMenu', array(
+ 'items'=>$this->menu,
+ 'encodeLabel' => false,
+ ));
+ ?>
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/www/themes/intranet/views/layouts/login.php b/www/themes/intranet/views/layouts/login.php
new file mode 100644
index 0000000..4358d21
--- /dev/null
+++ b/www/themes/intranet/views/layouts/login.php
@@ -0,0 +1,28 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ pageTitle); ?>
+
+
+
+
+
+
diff --git a/www/themes/intranet/views/site/login.php b/www/themes/intranet/views/site/login.php
new file mode 100644
index 0000000..4eb6a2c
--- /dev/null
+++ b/www/themes/intranet/views/site/login.php
@@ -0,0 +1,48 @@
+pageTitle=Yii::app()->name . ' - Login';
+$this->breadcrumbs=array(
+ 'Login',
+);
+?>
+
+
+
+
+
+beginWidget('CActiveForm', array(
+ 'id'=>'login-form',
+ 'enableClientValidation'=>true,
+ 'clientOptions'=>array(
+ 'validateOnSubmit'=>true,
+ ),
+)); ?>
+
+error($model,'username', array('class'=>'notification notifyError loginNotify'));
+ echo $form->error($model,'password', array('class'=>'notification notifyError loginNotify'));
+ echo $form->error($model,'rememberMe', array('class'=>'notification notifyError loginNotify'));
+?>
+
+
+
+
+ labelEx($model,'username');*/
+ echo $form->textField($model,'username', array('class'=>'username'));
+ /*echo $form->labelEx($model,'password'); */
+ echo $form->passwordField($model,'password', array('class'=>'password'));
+ ?>
+
+
+
+
+
+
+ checkBox($model,'rememberMe');
+ echo $form->label($model,'rememberMe');
+ echo $form->error($model,'rememberMe');
+ ?>
+
+
+endWidget(); ?>
diff --git a/www/themes/intranet/views/site/tablero.php b/www/themes/intranet/views/site/tablero.php
new file mode 100644
index 0000000..d0376f2
--- /dev/null
+++ b/www/themes/intranet/views/site/tablero.php
@@ -0,0 +1 @@
+ SOY EL TABLERO
diff --git a/www/themes/intranet/views/usuario/_form.php b/www/themes/intranet/views/usuario/_form.php
new file mode 100644
index 0000000..f6303e3
--- /dev/null
+++ b/www/themes/intranet/views/usuario/_form.php
@@ -0,0 +1,74 @@
+beginWidget('CActiveForm', array(
+ 'id'=>'usuario-form',
+ 'enableAjaxValidation'=>true,
+)); ?>
+
+
+
+
+
+ Los campos marcados con * son obligatorios.
+
+
+ errorSummary($model, " ", "", array('class'=>"notification msgerror")); ?>
+
+
+
+
+
+
+
+endWidget(); ?>
+
diff --git a/www/themes/intranet/views/usuario/_search.php b/www/themes/intranet/views/usuario/_search.php
new file mode 100644
index 0000000..da5e619
--- /dev/null
+++ b/www/themes/intranet/views/usuario/_search.php
@@ -0,0 +1,39 @@
+
\ No newline at end of file
diff --git a/www/themes/intranet/views/usuario/_view.php b/www/themes/intranet/views/usuario/_view.php
new file mode 100644
index 0000000..78e4f35
--- /dev/null
+++ b/www/themes/intranet/views/usuario/_view.php
@@ -0,0 +1,28 @@
+
+
+ getAttributeLabel('id')); ?>:
+ id), array('view', 'id'=>$data->id)); ?>
+
+
+ getAttributeLabel('email')); ?>:
+ email); ?>
+
+
+ getAttributeLabel('name')); ?>:
+ name); ?>
+
+
+ getAttributeLabel('username')); ?>:
+ username); ?>
+
+
+ getAttributeLabel('password')); ?>:
+ password); ?>
+
+
+ getAttributeLabel('last_login_time')); ?>:
+ last_login_time); ?>
+
+
+
+
\ No newline at end of file
diff --git a/www/themes/intranet/views/usuario/admin.php b/www/themes/intranet/views/usuario/admin.php
new file mode 100644
index 0000000..3f6c1fe
--- /dev/null
+++ b/www/themes/intranet/views/usuario/admin.php
@@ -0,0 +1,55 @@
+breadcrumbs=array(
+ 'Usuarios'=>array('index'),
+ 'Manage',
+);
+
+$this->menu=array(
+ array('label'=>'List Usuario', 'url'=>array('index')),
+ array('label'=>'Create Usuario', 'url'=>array('create')),
+);
+
+Yii::app()->clientScript->registerScript('search', "
+$('.search-button').click(function(){
+ $('.search-form').toggle();
+ return false;
+});
+$('.search-form form').submit(function(){
+ $.fn.yiiGridView.update('usuario-grid', {
+ data: $(this).serialize()
+ });
+ return false;
+});
+");
+?>
+
+Manage Usuarios
+
+
+You may optionally enter a comparison operator (<, <=, >, >=, <>
+or =) at the beginning of each of your search values to specify how the comparison should be done.
+
+
+'search-button')); ?>
+
+renderPartial('_search',array(
+ 'model'=>$model,
+)); ?>
+
+
+widget('zii.widgets.grid.CGridView', array(
+ 'id'=>'usuario-grid',
+ 'dataProvider'=>$model->search(),
+ 'filter'=>$model,
+ 'columns'=>array(
+ 'id',
+ 'email',
+ 'name',
+ 'username',
+ 'password',
+ 'last_login_time',
+ array(
+ 'class'=>'CButtonColumn',
+ ),
+ ),
+)); ?>
diff --git a/www/themes/intranet/views/usuario/create.php b/www/themes/intranet/views/usuario/create.php
new file mode 100644
index 0000000..bc63067
--- /dev/null
+++ b/www/themes/intranet/views/usuario/create.php
@@ -0,0 +1,16 @@
+breadcrumbs=array(
+ 'Usuarios'=>array('index'),
+ 'Nuevo usuario',
+);
+$this->menu=array(
+ array(
+ 'label'=>' Lista de usuarios',
+ 'url'=>array('index'),
+ 'linkOptions'=>array('class'=>'iconlink'),
+ ),
+);
+$this->pageTitle='Nuevo usuario';
+?>
+
+renderPartial('_form', array('model'=>$model)); ?>
\ No newline at end of file
diff --git a/www/themes/intranet/views/usuario/index.php b/www/themes/intranet/views/usuario/index.php
new file mode 100644
index 0000000..6c482dd
--- /dev/null
+++ b/www/themes/intranet/views/usuario/index.php
@@ -0,0 +1,51 @@
+breadcrumbs=array(
+ 'Usuarios',
+);
+$this->menu=array(
+ array(
+ 'label'=>' Nuevo usuario',
+ 'url'=>array('create'),
+ 'linkOptions'=>array('class'=>'iconlink'),
+ ),
+);
+
+/*$cs=Yii::app()->clientScript;
+$cs->registerScriptFile(Yii::app()->baseUrl . '/js/star-rating/jquery.rating.pack.js', CClientScript::POS_HEAD);
+$cs->registerScriptFile(Yii::app()->baseUrl . '/js/star-rating/jquery.MetaData.js', CClientScript::POS_HEAD);
+$cs->registerCssFile(Yii::app()->baseUrl . '/js/star-rating/jquery.rating.css'); */
+
+$this->pageTitle='Gestión de usuarios';
+
+?>
+
+
+
+
+You may optionally enter a comparison operator (<, <=, >, >=, <>
+or =) at the beginning of each of your search values to specify how the comparison should be done.
+
+
+'search-button')); ?>
+
+renderPartial('_search',array(
+ 'model'=>$model,
+)); ?>
+
+
+widget('zii.widgets.grid.CGridView', array(
+ 'id'=>'usuario-grid',
+ 'dataProvider'=>$model->search(),
+ 'filter'=>$model,
+ 'columns'=>array(
+ 'id',
+ 'username',
+ 'name',
+ 'email',
+ 'last_login_time',
+ array(
+ 'class'=>'CButtonColumn',
+ ),
+ ),
+)); ?>
+
diff --git a/www/themes/intranet/views/usuario/update.php b/www/themes/intranet/views/usuario/update.php
new file mode 100644
index 0000000..72c5560
--- /dev/null
+++ b/www/themes/intranet/views/usuario/update.php
@@ -0,0 +1,18 @@
+breadcrumbs=array(
+ 'Usuarios'=>array('index'),
+ $model->name=>array('view','id'=>$model->id),
+ 'Update',
+);
+
+$this->menu=array(
+ array('label'=>'List Usuario', 'url'=>array('index')),
+ array('label'=>'Create Usuario', 'url'=>array('create')),
+ array('label'=>'View Usuario', 'url'=>array('view', 'id'=>$model->id)),
+ array('label'=>'Manage Usuario', 'url'=>array('admin')),
+);
+?>
+
+Update Usuario id; ?>
+
+renderPartial('_form', array('model'=>$model)); ?>
\ No newline at end of file
diff --git a/www/themes/intranet/views/usuario/view.php b/www/themes/intranet/views/usuario/view.php
new file mode 100644
index 0000000..3ee1abe
--- /dev/null
+++ b/www/themes/intranet/views/usuario/view.php
@@ -0,0 +1,28 @@
+breadcrumbs=array(
+ 'Usuarios'=>array('index'),
+ $model->name,
+);
+
+$this->menu=array(
+ array('label'=>'List Usuario', 'url'=>array('index')),
+ array('label'=>'Create Usuario', 'url'=>array('create')),
+ array('label'=>'Update Usuario', 'url'=>array('update', 'id'=>$model->id)),
+ array('label'=>'Delete Usuario', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
+ array('label'=>'Manage Usuario', 'url'=>array('admin')),
+);
+?>
+
+View Usuario #id; ?>
+
+widget('zii.widgets.CDetailView', array(
+ 'data'=>$model,
+ 'attributes'=>array(
+ 'id',
+ 'email',
+ 'name',
+ 'username',
+ 'password',
+ 'last_login_time',
+ ),
+)); ?>
|