File indexing completed on 2024-12-29 05:24:37

0001 <?php 
0002 /**
0003  *  ocs-webserver
0004  *
0005  *  Copyright 2016 by pling GmbH.
0006  *
0007  *    This file is part of ocs-webserver.
0008  *
0009  *    This program is free software: you can redistribute it and/or modify
0010  *    it under the terms of the GNU Affero General Public License as
0011  *    published by the Free Software Foundation, either version 3 of the
0012  *    License, or (at your option) any later version.
0013  *
0014  *    This program is distributed in the hope that it will be useful,
0015  *    but WITHOUT ANY WARRANTY; without even the implied warranty of
0016  *    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
0017  *    GNU Affero General Public License for more details.
0018  *
0019  *    You should have received a copy of the GNU Affero General Public License
0020  *    along with this program.  If not, see <http://www.gnu.org/licenses/>.
0021  **/
0022 ?>
0023 <!-- Modal -->
0024 <div id="thank-you-overlay" class="modal fade " tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true">
0025     <div class="modal-dialog content-modal">
0026         <div class="modal-content">
0027             <div class="modal-header">
0028                 <button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
0029                 <h3 id="myModalLabel" class="center"><?= $this->translate('Error') ?></h3>
0030             </div>
0031             <div class="modal-body">
0032                 <div class="center">
0033                     <?=$this->registerErrMsg?>
0034                 </div>
0035                 <p class="small center">&nbsp;</p>
0036 
0037                 <div class="center"><a href="/" class="btn btn-native btn-min-width"><?= $this->translate('Home') ?></a>
0038                 </div>
0039             </div>
0040             <div class="modal-footer">
0041 
0042             </div>
0043         </div>
0044     </div>
0045 
0046 </div>
0047 <?php $this->inlineScript()->appendScript("
0048     $(document).ready(function(){
0049         $('#thank-you-overlay').modal('show');
0050     });
0051     ");