-
Notifications
You must be signed in to change notification settings - Fork 7
/
admin.tpl
59 lines (47 loc) · 2.03 KB
/
admin.tpl
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
{html_style}{literal}
fieldset p {text-align:left;}
{/literal}{/html_style}
<div class="titrePage">
<h2>{'Import from Menalto'|translate}</h2>
</div>
<fieldset>
<legend>{'Help'|translate}</legend>
<p>{'Menalto2Piwigo plugin imports data from a Menalto Gallery2/Gallery3 installation into Piwigo.'|translate} {'Imported properties:'|translate}</p>
<ul>
<li>{'Title and description for photos'|translate}</li>
<li>{'Name and description for albums'|translate}</li>
<li>{'User comments on photos'|translate}</li>
</ul>
<p><strong>{'How to use it?'|translate}</strong></p>
<ol>
<li>{'Copy the content of g2data/albums (Gallery2) or var/albums (Gallery3) into piwigo/galleries'|translate}</li>
<li><a href="admin.php?page=site_update&site=1">{'Synchronize'|translate}</a></li>
<li>{'Submit the form at the end of this page'|translate}</li>
<li>{'Install and activate plugins:'|translate} <a href="http://piwigo.org/ext/extension_view.php?eid=175" target="_blank">Extended Description</a></li>
</ol>
</fieldset>
<form method="post" action="{$action_url}">
<fieldset>
<legend>{'Import'|translate}</legend>
<p><strong>{'database host'|translate}</strong><br>
<input type="text" name="db_host" value="{$db_host}">
</p>
<p><strong>{'database name'|translate}</strong><br>
<input type="text" name="db_name" value="{$db_name}">
</p>
<p><strong>{'database user'|translate}</strong><br>
<input type="text" name="db_user" value="{$db_user}">
</p>
<p><strong>{'database password'|translate}</strong><br>
<input type="password" name="db_password" value="{$db_password}">
</p>
<p><strong>{'table prefix'|translate}</strong><br>
<input type="text" name="prefix_table" value="{$prefix_table}">
</p>
<p><strong>{'column prefix'|translate}</strong> ({'useless on Gallery3'|translate})<br>
<input type="text" name="prefix_column" value="{$prefix_column}">
</p>
<p class="actionButtons">
<input class="submit" type="submit" name="submit" value="{'Start import'|@translate}"/>
</p>
</form>