File indexing completed on 2025-05-04 05:29:26

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="share-form modal-dialog content-modal">
0024 
0025     <div class="modal-content">
0026         <!-- modal header -->
0027         <div class="modal-header">
0028             <button type="button" class="close share-close" data-dismiss="modal" aria-hidden="true">×</button>
0029             <figure>
0030                 <img src="<?= $this->Image($this->product->image_small, array('width' => 120, 'height' => 90)); ?>"/>
0031             </figure>
0032             <h3><?php echo $this->product->title; ?></h3>
0033         </div>
0034         <!-- /modal header -->
0035 
0036         <!-- modal body -->
0037         <form class="standard-form form-share modal-form partialjson"
0038               action="<?= $this->form->getAction(); ?>"
0039               method="<?= $this->form->getMethod(); ?>"
0040               data-target="#modal-dialog">
0041             <div class="modal-body">
0042                 <ul class="nav nav-tabs">
0043                     <li class="active">
0044                         <a href="#share-social-option" data-toggle="tab">Please share your love</a>
0045                     </li>
0046                 </ul>
0047                 <div class="tab-content">
0048                     <!-- via social -->
0049                     <div class="tab-pane active social-container" id="share-social-option">
0050                         <div class="clearfix">
0051                             <div class="facebook social left">
0052                                 <a class="partial-popup"
0053                                    rel="nofollow"
0054                                    target="_blank"
0055                                    href="http://www.facebook.com/sharer.php?u=<?= urlencode($this->permaLink) ?>&t=<?php echo urlencode('ocs - open content store'); ?>"
0056                                    title="Share this post on Facebook"><em class="icon icon-facebook"></em>
0057                                 </a>
0058                             </div>
0059                             <div class="twitter social left">
0060                                 <a class="partial-popup"
0061                                    rel="nofollow"
0062                                    target="_blank"
0063                                    href="http://twitter.com/home?status=i love <?php echo $this->product->title; ?> by <?php echo $this->product->username; ?>: <?= $this->permaLink; ?>"
0064                                    title="Share this article with your Twitter followers"><em class="icon icon-twitter"></em>
0065                                 </a>
0066                             </div>
0067                         </div>
0068                     </div>
0069                     <!-- /via social -->
0070                     <!-- via email -->
0071                     <div class="tab-pane well" id="share-email-option">
0072                         <h4><?= $this->translate('Email') ?></h4>
0073 
0074                         <label for="">Sender Email</label>
0075 
0076                         <div class="clearfix margin-bottom-10">
0077                             <div class="pull-left full-width"><?= $this->form->sender_mail ?></div>
0078                         </div>
0079                         <label for="">Receiver Email</label>
0080 
0081                         <div class="clearfix margin-bottom-10">
0082                             <div class="pull-left full-width"><?= $this->form->mail ?></div>
0083                         </div>
0084                         <div class="clearfix">
0085                             <div class="pull-right"><?= $this->form->send ?></div>
0086                         </div>
0087                     </div>
0088                     <!-- /via email -->
0089                 </div>
0090 
0091             </div>
0092         </form>
0093         <!-- modal body -->
0094     </div>
0095 </div><!-- /.share -->