Files
CRM/customerportal/writeable/templates_c/default/e5a4a5b66c8af00d587a351a518f074a5272036f.file.IndexContentAfter.tpl.php
BACHIR SOULDI 2794e62571 first commit
2025-09-28 08:49:37 +01:00

57 lines
2.8 KiB
PHP

<?php /* Smarty version Smarty-3.1.19, created on 2019-09-08 15:00:52
compiled from "C:\wamp64\www\sophalcrm\customerportal\layouts\default\templates\Documents\partials\IndexContentAfter.tpl" */ ?>
<?php /*%%SmartyHeaderCode:175605d7517a449f258-43067225%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
'file_dependency' =>
array (
'e5a4a5b66c8af00d587a351a518f074a5272036f' =>
array (
0 => 'C:\\wamp64\\www\\sophalcrm\\customerportal\\layouts\\default\\templates\\Documents\\partials\\IndexContentAfter.tpl',
1 => 1520231416,
2 => 'file',
),
),
'nocache_hash' => '175605d7517a449f258-43067225',
'function' =>
array (
),
'has_nocache_code' => false,
'version' => 'Smarty-3.1.19',
'unifunc' => 'content_5d7517a44ab9f1_30867004',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_5d7517a44ab9f1_30867004')) {function content_5d7517a44ab9f1_30867004($_smarty_tpl) {?>
<script type="text/ng-template" id="editRecordModalDocuments.template">
<form class="form form-vertical" name="docForm" enctype='multipart/form-data' novalidate="novalidate">
<div class="modal-header">
<button type="button" class="close" ng-click="cancel()" title="Close">&times;</button>
<h4 class="modal-title" >{{'Add New Document'|translate}}</h4>
</div>
<div class="modal-body">
<div class="row">
<div class="input-group col-sm-8 col-sm-offset-2">
<input type="text" id="upload-file-info" class="form-control" ng-disabled="true">
<span class="input-group-btn">
<span class="btn btn-primary btn-file">
{{'Browse'|translate}}&hellip;<input type="file" name="file" file-input="editRecord.filename" ng-required="true" onchange='$("#upload-file-info").val($(this).val().replace("C:\\fakepath\\",""));'/></span>
</span>
</span>
</div>
<div class="col-sm-12 col-sm-offset-2" style="padding-left:0px;">
<span ng-show="message" class="text-danger">{{'File size uploaded is greater than 25 MB'|translate}}</span>
</div>
<div ng-show="!editRecord.filename && !message" class="col-sm-8 col-sm-offset-2" style="padding-left:0px;"><span class="text-danger">{{'Maximum size for file upload is 25 MB'|translate}}</span></div>
</div>
</div>
<div class="modal-footer">
<a type="button" class="btn btn-default" ng-click="cancel()" translate="Cancel">Cancel</a>
<button type="submit" class="btn btn-success" ng-disabled="message || !editRecord.filename ||saving" ng-click="save()" type="submit" translate="Save">Save</button>
</div>
</form>
</script>
<?php }} ?>