Welcome to mirror list, hosted at ThFree Co, Russian Federation.

tmpl_settings.php « templates « imprint - github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 67e9d2172091e0ca5bb86943ce288ccf237d066b (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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
<?php
/**
* @package imprint an ownCloud app
* @author Christian Reiner
* @copyright 2012-2014 Christian Reiner <foss@christian-reiner.info>
* @license GNU Affero General Public license (AGPL)
* @link information http://apps.owncloud.com/content/show.php?content=153220
*
* 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/>.
*
*/

vendor_style('imprint', 'chosen.jquery.min');
vendor_script('imprint', 'chosen.jquery.min');

?>

<?php
/**
 * @file templates/tmpl_settings.php
 * Dialog to change app settings, to be included in the clouds settings page.
 * @access public
 * @author Christian Reiner
 */
?>


<!-- settings of app 'imprint' -->
<div class="section" id="imprint">
	<img src="<?php p(\OCP\Util::imagePath("imprint","imprint-dusky.svg")); ?> ">
	<h2><?php p($l->t("Imprint"));?></h2>
	<div id="imprint-options" class="imprint-option">
		<label for="imprint-option-position-user" class="imprint-option"><?php p($l->t("Reference").": ");?></label>
		<select id="imprint-option-position-user" class="imprint-option" type="select" name="position-user">
			<option value=""></option>
			<option value="header-left"><?php p($l->t("Header left"));?></option>
			<option value="header-right"><?php p($l->t("Header right"));?></option>
		</select>
		<label for="imprint-option-position-guest" class="imprint-option followup"><?php p($l->t("As guest").": ");?></label>
		<select id="imprint-option-position-guest" class="imprint-option" type="select" name="position-guest">
			<option value=""></option>
			<option value="header-left"><?php p($l->t("Header left"));?></option>
			<option value="header-right"><?php p($l->t("Header right"));?></option>
			<option value="footer-left"><?php p($l->t("Footer left"));?></option>
			<option value="footer-right"><?php p($l->t("Footer right"));?></option>
		</select>
		<label for="imprint-option-position-login" class="imprint-option followup"><?php p($l->t("At login").": ");?></label>
		<select id="imprint-option-position-login" class="imprint-option" type="select" name="position-login">
			<option value=""></option>
			<option value="header-left"><?php p($l->t("Header left"));?></option>
			<option value="header-right"><?php p($l->t("Header right"));?></option>
			<option value="footer-left"><?php p($l->t("Footer left"));?></option>
			<option value="footer-right"><?php p($l->t("Footer right"));?></option>
		</select>
		<br>
		<label for="imprint-option-standalone" class="imprint-option"><?php p($l->t("Application").": ");?></label>
		<input id="imprint-option-standalone" type="checkbox" class="imprint-option">Offer as application inside the menu</input>
		<br>
		<label   for="imprint-content" class="imprint-option"><?php p($l->t("Content").': ');?></label>
		<textarea id="imprint-content" class="imprint-option"></textarea>
		<br>
		<label   for="imprint-usage"   class="imprint-option"></label>
		<span     id="imprint-usage"   class="imprint-option imprint-hint">
			<?php p($l->t("You can use plain text, markdown notation or html markup with inline style attributes. "));?>
		</span>
	</div>
</div>