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

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 <div class="add-page-preview page-container">
0024     <div class="add-product-top clearfix">
0025         <div class="container clearfix">
0026             <div class="preview-title left">Preview</div>
0027             <div class="preview-explanation left italic">
0028                 <?php /*                <?=$this->translate('You must enter your PayPal email address to earn money. We will save it in your Settings.')?>*/ ?>
0029             </div>
0030             <ul class="steps right">
0031                 <li><?= $this->translate('STEP 1 - ADD') ?></li>
0032                 <li class="active"><?= $this->translate('STEP 2 - PREVIEW') ?></li>
0033             </ul>
0034             <!-- .steps -->
0035         </div>
0036         <!-- /.container -->
0037     </div>
0038     <!-- /.add-product-top -->
0039     <div class="container add-product-mid clearfix">
0040         <?php /* <div class="left paypal-label"><span class="icon-paypal"></span><?=$this->translate('PayPal Account')?></div>*/ ?>
0041         <div class="left">
0042             <form class="standard-form"
0043                   action="<?= $this->form->getAction(); ?>"
0044                   method="<?= $this->form->getMethod(); ?>">
0045                 <?php /*                 <div class="clearfix preview-inputs">
0046                     <?=$this->form->paypal_mail?>
0047                     <?=$this->form->firstname?>
0048                     <?=$this->form->lastname?>
0049                     <input type="text" placeholder="Email Address" class="left preview-input">
0050                     <input type="text" placeholder="First Name" class="left preview-input">
0051                     <input type="text" placeholder="Last Name" class="left preview-input">
0052                 </div>*/ ?>
0053                 <div class="clearfix preview-buttons">
0054                     <?= $this->form->back ?>
0055                     <?= $this->form->publish ?>
0056                     <?= $this->form->save ?>
0057                     <?php /*                    <button type="submit" class="btn btn-grey left preview-button"><?=$this->translate('BACK')?></button>
0058                     <button type="submit" class="btn btn-purple right preview-button"><?=$this->translate('PUBLISH')?></button>
0059                     <button type="submit" class="btn btn-submit right preview-button"><?=$this->translate('SAVE')?></button> */ ?>
0060                 </div>
0061             </form>
0062         </div>
0063     </div>
0064 </div>
0065 
0066 <div class="container preview-container">
0067     <div class="row-fluid">
0068         <?= $this->preview ?>
0069     </div>
0070     <!-- /.row-fluid -->
0071 </div> <!-- /.container -->
0072 
0073 <?php $this->inlineScript()->appendScript(
0074     '    $(document).ready(function(){
0075             $(\'header\').css(\'margin-top\', 0);
0076         });
0077     ');
0078 ?>