mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +00:00
Merge branch 'seeddms-5.1.x' into seeddms-6.0.x
This commit is contained in:
commit
51943050c2
|
@ -116,6 +116,10 @@
|
|||
- add document list which can be exported as an archive
|
||||
- search results can be exported
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.14
|
||||
--------------------------------------------------------------------------------
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
Changes in version 5.1.13
|
||||
--------------------------------------------------------------------------------
|
||||
|
|
|
@ -139,6 +139,7 @@ class UI extends UI_Default {
|
|||
$view->setParam('showmissingtranslations', $settings->_showMissingTranslations);
|
||||
$view->setParam('defaultsearchmethod', $settings->_defaultSearchMethod);
|
||||
$view->setParam('cachedir', $settings->_cacheDir);
|
||||
$view->setParam('onepage', $settings->_onePageMode);
|
||||
foreach($decorators as $extname=>$decorator) {
|
||||
$filename = $settings->_rootDir.'ext/'.$extname.'/decorators/'.$theme."/".$decorator['file'];
|
||||
require($filename);
|
||||
|
|
|
@ -421,7 +421,7 @@ background-image: linear-gradient(to bottom, #882222, #111111);;
|
|||
echo " </li>\n";
|
||||
echo " </ul>\n";
|
||||
|
||||
if($this->params['enablemenutasks']) {
|
||||
if($this->params['enablemenutasks'] && !$this->params['user']->isGuest()) {
|
||||
echo " <div id=\"menu-tasks\">";
|
||||
echo " <div class=\"ajax\" data-no-spinner=\"true\" data-view=\"Tasks\" data-action=\"menuTasks\"></div>";
|
||||
// echo " <ul id=\"main-menu-tasks\" class=\"nav pull-right\">\n";
|
||||
|
|
|
@ -224,6 +224,8 @@ class SeedDMS_View_Calendar extends SeedDMS_Bootstrap_Style {
|
|||
} /* }}} */
|
||||
|
||||
function js() { /* {{{ */
|
||||
$dms = $this->params['dms'];
|
||||
$user = $this->params['user'];
|
||||
$strictformcheck = $this->params['strictformcheck'];
|
||||
header('Content-Type: application/javascript');
|
||||
?>
|
||||
|
@ -232,6 +234,7 @@ class SeedDMS_View_Calendar extends SeedDMS_Bootstrap_Style {
|
|||
$('#calendar').fullCalendar({
|
||||
height: $(window).height()-210,
|
||||
locale: '<?php echo substr($this->params['session']->getLanguage(), 0, 2); ?>',
|
||||
<?php if(!$user->isGuest()) { ?>
|
||||
customButtons: {
|
||||
addEventButton: {
|
||||
text: '<?php printMLText('add_event'); ?>',
|
||||
|
@ -241,6 +244,7 @@ class SeedDMS_View_Calendar extends SeedDMS_Bootstrap_Style {
|
|||
}
|
||||
}
|
||||
},
|
||||
<?php } ?>
|
||||
header: {
|
||||
left: 'prev,next today addEventButton',
|
||||
center: 'title',
|
||||
|
|
Loading…
Reference in New Issue
Block a user