<?php
/* Smarty version 3.1.30, created on 2022-08-04 06:32:49
  from "/home/hkfami5/waterapp.cf/FileRun/system/modules/weblinks/sections/default/html/pages/default.html" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_62eb68112afff5_80078381',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    'bb831ebf36619ae94f695f5d4f7286433c0eaa21' => 
    array (
      0 => '/home/hkfami5/waterapp.cf/FileRun/system/modules/weblinks/sections/default/html/pages/default.html',
      1 => 1653016368,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_62eb68112afff5_80078381 (Smarty_Internal_Template $_smarty_tpl) {
echo '<script'; ?>
>
FR = {
    UI: {},
    language: '<?php echo $_smarty_tpl->tpl_vars['app']->value['language'];?>
',
    userCanUpload: <?php if ($_smarty_tpl->tpl_vars['app']->value['user']['perms']['upload']) {?>true<?php } else { ?>false<?php }?>,
    userCanEdit: <?php if (!$_smarty_tpl->tpl_vars['app']->value['user']['perms']['read_only']) {?>true<?php } else { ?>false<?php }?>,
	userCanEmail: <?php if ($_smarty_tpl->tpl_vars['app']->value['user']['perms']['email']) {?>true<?php } else { ?>false<?php }?>,
    disableShortURL: <?php if ($_smarty_tpl->tpl_vars['app']->value['config']['app']['weblinks']['disableShortURL']) {?>true<?php } else { ?>false<?php }?>,
    useClientEmail: <?php if ($_smarty_tpl->tpl_vars['app']->value['config']['app']['weblinks']['useClientEmail']) {?>true<?php } else { ?>false<?php }?>,
    showQR: <?php if ($_smarty_tpl->tpl_vars['app']->value['config']['app']['weblinks']['hideQRCode']) {?>false<?php } else { ?>true<?php }?>,
    defaultMode: '<?php echo (($tmp = @$_smarty_tpl->tpl_vars['app']->value['settings']['weblinks_default_mode'])===null||$tmp==='' ? "grid" : $tmp);?>
'
};
<?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="?module=fileman&section=utils&sec=Web%20Links&calendar=1&lang=<?php echo \S::forURL($_smarty_tpl->tpl_vars['app']->value['language']);?>
&v=<?php echo \S::forURL($_smarty_tpl->tpl_vars['app']->value['settings']['currentVersion']);?>
&page=translation.js"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="js/min/fileman/weblink.js?v=<?php echo \S::forURL($_smarty_tpl->tpl_vars['app']->value['settings']['currentVersion']);?>
"><?php echo '</script'; ?>
>
<?php echo '<script'; ?>
 src="js/min/genpass.js?v=<?php echo \S::forURL($_smarty_tpl->tpl_vars['app']->value['settings']['currentVersion']);?>
"><?php echo '</script'; ?>
>
<style>
.weblinkField {
	height: 40px;
}
.weblinkField .x-form-text {
	font-weight: bold;
}
</style><?php }
}
