JezK
Edit File: 4e0c6fb190e8280283dd74c60101d2a8e05e5003_0.file.generate-password.tpl.php
<?php /* Smarty version 3.1.36, created on 2022-02-18 11:01:32 from '/home/softwarehor/public_html/billoutofin/templates/twenty-one/includes/generate-password.tpl' */ /* @var Smarty_Internal_Template $_smarty_tpl */ if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array ( 'version' => '3.1.36', 'unifunc' => 'content_620f7c8c714d40_78189856', 'has_nocache_code' => false, 'file_dependency' => array ( '4e0c6fb190e8280283dd74c60101d2a8e05e5003' => array ( 0 => '/home/softwarehor/public_html/billoutofin/templates/twenty-one/includes/generate-password.tpl', 1 => 1643010415, 2 => 'file', ), ), 'includes' => array ( ), ),false)) { function content_620f7c8c714d40_78189856 (Smarty_Internal_Template $_smarty_tpl) { ?><form action="#" id="frmGeneratePassword"> <div class="modal fade" id="modalGeneratePassword"> <div class="modal-dialog"> <div class="modal-content"> <div class="modal-header bg-primary text-white"> <h4 class="modal-title"> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'generatePassword.title'),$_smarty_tpl ) );?> </h4> <button type="button" class="close" data-dismiss="modal" aria-label="Close"> <span aria-hidden="true">×</span> </button> </div> <div class="modal-body"> <div class="alert alert-danger w-hidden" id="generatePwLengthError"> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'generatePassword.lengthValidationError'),$_smarty_tpl ) );?> </div> <div class="form-group row"> <label for="generatePwLength" class="col-sm-4 col-form-label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'generatePassword.pwLength'),$_smarty_tpl ) );?> </label> <div class="col-sm-8"> <input type="number" min="8" max="64" value="12" step="1" class="form-control input-inline input-inline-100" id="inputGeneratePasswordLength"> </div> </div> <div class="form-group row"> <label for="generatePwOutput" class="col-sm-4 col-form-label"><?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'generatePassword.generatedPw'),$_smarty_tpl ) );?> </label> <div class="col-sm-8"> <input type="text" class="form-control" id="inputGeneratePasswordOutput"> </div> </div> <div class="row"> <div class="col-sm-8 offset-sm-4"> <button type="submit" class="btn btn-default btn-sm"> <i class="fas fa-plus fa-fw"></i> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'generatePassword.generateNew'),$_smarty_tpl ) );?> </button> <button type="button" class="btn btn-default btn-sm copy-to-clipboard" data-clipboard-target="#inputGeneratePasswordOutput"> <img src="<?php echo $_smarty_tpl->tpl_vars['WEB_ROOT']->value;?> /assets/img/clippy.svg" alt="Copy to clipboard" width="15"> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'copy'),$_smarty_tpl ) );?> </button> </div> </div> </div> <div class="modal-footer"> <button type="button" class="btn btn-default" data-dismiss="modal"> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'close'),$_smarty_tpl ) );?> </button> <button type="button" class="btn btn-primary" id="btnGeneratePasswordInsert" data-clipboard-target="#inputGeneratePasswordOutput"> <?php echo call_user_func_array( $_smarty_tpl->smarty->registered_plugins[Smarty::PLUGIN_FUNCTION]['lang'][0], array( array('key'=>'generatePassword.copyAndInsert'),$_smarty_tpl ) );?> </button> </div> </div> </div> </div> </form> <?php } }