Server : Apache/2.4.41 (Ubuntu) System : Linux journalup 5.4.0-198-generic #218-Ubuntu SMP Fri Sep 27 20:18:53 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.4.33 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals,pcntl_unshare, Directory : /var/www/html/cache/t_compile/ |
<?php /* Smarty version 3.1.34-dev-7, created on 2024-10-31 03:21:51 from 'app:usernotificationSettingsF' */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.34-dev-7', 'unifunc' => 'content_6722f7cf5330c5_61563154', 'has_nocache_code' => false, 'file_dependency' => array ( 'a30f866b29d80531bfc63eba879304b1f665a133' => array ( 0 => 'app:usernotificationSettingsF', 1 => 1612588888, 2 => 'app', ), ), 'includes' => array ( 'core:user/notificationSettingsForm.tpl' => 1, ), ),false)) { function content_6722f7cf5330c5_61563154 (Smarty_Internal_Template $_smarty_tpl) { $_smarty_tpl->smarty->ext->_capture->open($_smarty_tpl, 'default', "additionalNotificationSettingsContent", null);?> <?php if ($_smarty_tpl->tpl_vars['displayOpenAccessNotification']->value) {?> <?php $_smarty_tpl->_assignInScope('notFirstJournal', 0);?> <?php $_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['journals']->value, 'thisJournal', false, 'thisJournalId', 'journalOpenAccessNotifications', array ( 'last' => true, 'iteration' => true, 'total' => true, )); if ($_from !== null) { foreach ($_from as $_smarty_tpl->tpl_vars['thisJournalId']->value => $_smarty_tpl->tpl_vars['thisJournal']->value) { $_smarty_tpl->tpl_vars['__smarty_foreach_journalOpenAccessNotifications']->value['iteration']++; $_smarty_tpl->tpl_vars['__smarty_foreach_journalOpenAccessNotifications']->value['last'] = $_smarty_tpl->tpl_vars['__smarty_foreach_journalOpenAccessNotifications']->value['iteration'] === $_smarty_tpl->tpl_vars['__smarty_foreach_journalOpenAccessNotifications']->value['total']; ?> <?php $_smarty_tpl->_assignInScope('thisJournalId', $_smarty_tpl->tpl_vars['thisJournal']->value->getId());?> <?php $_smarty_tpl->_assignInScope('publishingMode', $_smarty_tpl->tpl_vars['thisJournal']->value->getData('publishingMode'));?> <?php $_smarty_tpl->_assignInScope('enableOpenAccessNotification', $_smarty_tpl->tpl_vars['thisJournal']->value->getData('enableOpenAccessNotification'));?> <?php $_smarty_tpl->_assignInScope('notificationEnabled', $_smarty_tpl->tpl_vars['user']->value->getData('openAccessNotification',$_smarty_tpl->tpl_vars['thisJournalId']->value));?> <?php if (!$_smarty_tpl->tpl_vars['notFirstJournal']->value) {?> <?php $_smarty_tpl->_assignInScope('notFirstJournal', 1);?> <tr> <td class="label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['translate'][0], array( array('key'=>"user.profile.form.openAccessNotifications"),$_smarty_tpl ) );?> </td> <td class="value"> <?php }?> <?php if ($_smarty_tpl->tpl_vars['publishingMode']->value == @constant('PUBLISHING_MODE_SUBSCRIPTION') && $_smarty_tpl->tpl_vars['enableOpenAccessNotification']->value) {?> <input type="checkbox" name="openAccessNotify[]" <?php if ($_smarty_tpl->tpl_vars['notificationEnabled']->value) {?>checked="checked" <?php }?>id="openAccessNotify-<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['thisJournalId']->value ));?> " value="<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['thisJournalId']->value ));?> " /> <label for="openAccessNotify-<?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['thisJournalId']->value ));?> "><?php echo call_user_func_array($_smarty_tpl->registered_plugins[ 'modifier' ][ 'escape' ][ 0 ], array( $_smarty_tpl->tpl_vars['thisJournal']->value->getLocalizedName() ));?> </label><br/> <?php }?> <?php if ((isset($_smarty_tpl->tpl_vars['__smarty_foreach_journalOpenAccessNotifications']->value['last']) ? $_smarty_tpl->tpl_vars['__smarty_foreach_journalOpenAccessNotifications']->value['last'] : null)) {?> </td> </tr> <?php }?> <?php } } $_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl, 1);?> <?php } $_smarty_tpl->smarty->ext->_capture->close($_smarty_tpl); $_smarty_tpl->_subTemplateRender("core:user/notificationSettingsForm.tpl", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, $_smarty_tpl->cache_lifetime, array('additionalNotificationSettingsContent'=>$_smarty_tpl->tpl_vars['additionalNotificationSettingsContent']->value), 0, false); } }