File: contentimport.tpl

package info (click to toggle)
gosa-plugins-ldapmanager 2.8~git20211022.877a67e-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 396 kB
  • sloc: php: 1,055; makefile: 5
file content (69 lines) | stat: -rw-r--r-- 2,101 bytes parent folder | download | duplicates (2)
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
<div class="ldap-import-wrapper">
	<div class="row">
		<span style="color:red">Temporary disabled</span>
	</div>
</div>

<!--
{if $type == FALSE || $LDIFError != FALSE}
	<h2>LDAP-Datenbank Import</h2>
	<p>{t}The LDIF import plug-in provides methods to upload a set of entries to your running LDAP directory as LDIF. You may use this to add new or modify existing entries. Remember that GOsa will not check your LDIF for GOsa conformance.{/t}</p>

	<div class="ldap-database-import">
		<div class="row">
			<div class="col s12 xl6">
				<h3>{t}Import LDIF File{/t}:</h3>

				<div class="database-import-action" id="database-import">
					<div class="file-field input-field">
						<div class="btn-small">
							<span>{t}Browse{/t}</span>
							<input type="hidden" name="ignore">
							<input type="hidden" name="MAX_FILE_SIZE" value="2097152">
							<input name="userfile" id="userfile" type="file" value="{t}Browse{/t}">
						</div>
						<div class="file-path-wrapper">
							<input type="text" class="file-path validate">
						</div>
					</div>
				</div>
			</div>

			<div class="col s12 xl6">
				<label>
					<p>
						<input type="radio" name="overwrite" id="modify" value="1" checked/>
						<span>{t}Modify existing objects, keep untouched attributes{/t}</span>
					</p>
				</label>

				<label>
					<p>
						<input type="radio" name="overwrite" id="overwrite" value="0"/>
						<span>{t}Overwrite existing objects, all not listed attributes will be removed{/t}</span>
					</p>
				</label>

				<label>
					<p>
						<input type="checkbox" name="cleanup" id="cleanup" value="1"/>
						<span for="cleanup">{t}Remove existing entries first{/t}</span>
					</p>
				</label>
			</div>
		</div>
	</div>

	<div class="plugin-actions card-action">
		<button class="btn-small primary" type="submit" name="fileup">{t}Import{/t}</button>
	</div>
{else}
	<h3>{t}Import successful{/t}</h3>

	<div class="plugin-actions card-action">
		<button class="btn-small primary" type="submit" name="back">{msgPool type=backButton}</button>
	</div>
{/if}

<input type="hidden" name="ignore">
-->