summaryrefslogtreecommitdiffstats
path: root/apps/shorty/templates/tmpl_dlg_qrcode.php
blob: 15b0eb2c3669eaf814fbb9ab8318978d55f49e1d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
<?php
/**
* @package shorty an ownCloud url shortener plugin
* @category internet
* @author Christian Reiner
* @copyright 2011-2012 Christian Reiner <foss@christian-reiner.info>
* @license GNU Affero General Public license (AGPL)
* @link information
* @link repository https://svn.christian-reiner.info/svn/app/oc/shorty
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU AFFERO GENERAL PUBLIC LICENSE
* License as published by the Free Software Foundation; either
* version 3 of the license, or any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
* GNU AFFERO GENERAL PUBLIC LICENSE for more details.
*
* You should have received a copy of the GNU Affero General Public
* License along with this library.
* If not, see <http://www.gnu.org/licenses/>.
*
*/
?>

<?php
/**
 * @file templates/tmpl_dlg_qrcode.php
 * Dialog popup to visualize and offer an url as a QRCode (2D barcode)
 * @access public
 * @author Christian Reiner
 */
?>

<!-- additional (hidden) popup dialogs for specific usage actions -->
<fieldset id="dialog-qrcode" style="display:none;" class="" style="align:center;">
  <input id="qrcode-url" type="hidden" value="<?php echo $_['qrcode-url']; ?>">
  <span id='qrcode-img'>
    <?php echo $l->t("Click for qrcode url").":"; ?>
    <br>
  <img width="100%" class="shorty-status" border="1" alt="<?php echo $l->t("QRCode"); ?>"
       src="<?php echo OCP\Util::imagePath('shorty','loading-disk.gif'); ?>" >
  </span>
  <span id='qrcode-val' style="display:none;">
    <?php echo $l->t("Click for qrcode image").":"; ?>
    <br>
    <span class="shorty-framed"><a title="<?php echo $l->t("QRCode url").":"; ?>"></a></span>
  </span>
</fieldset>
<!-- end of qrcode dialog -->