source: extensions/hotlink_compatibility/admin.tpl @ 25433

Last change on this file since 25433 was 16274, checked in by mistic100, 12 years ago

create Hotlink Compatibility plugin

File size: 1.4 KB
Line 
1{html_head}{literal}
2<style type="text/css">
3  .warning { margin-top:20px; border:1px solid #a00;padding:5px;border-radius:3px; }
4  .addht { max-width:750px;margin:0 auto;text-align:justify; }
5  textarea { font-size:12px;width:730px; }
6</style>
7{/literal}{/html_head}
8
9<div class="titrePage">
10  <h2>{'Hotlink Compatibility'|@translate}</h2>
11</div>
12
13<div class="addht">
14{if $DISPLAY_DESC}
15<p>
16{$DESC_CONTENT}
17</p>
18{/if}
19
20{if $FILE_ERROR}
21<p class="warning">
22{'Piwigo can\'t create or modify the .htaccess, you would have to do it manually if you want to apply this upgrade. Here is what you must put in the file:'|@translate}
23</p>
24<p><textarea rows="17">{$FILE_CONTENT}</textarea></p>
25{/if}
26
27{if $REWRITE_ERROR}
28<p class="warning">
29{'You already have a .htaccess file but it blocks the rewrite engine (line <i>RewriteEngine off</i>), please remove this line to allow Piwigo to apply the upgrade.'|@translate}
30</p>
31{/if}
32
33{if $HOST_WARNING}
34<p class="warning">
35{'Your gallery is hosted by a service known to have issues with URL Rewriting, you apply this upgrade at your own risk.'|@translate}
36</p>
37{/if}
38
39
40{if $NO_ERROR}
41<p>
42{if $HOST_WARNING}
43  <a href="{$URL_INIT}" onClick="return confirm('{'Are you sure?'|@translate}');">{'Apply upgrade anyway'|@translate}</a>
44{else}
45  <br><a href="{$URL_INIT}" onClick="return confirm('{'Are you sure?'|@translate}');">{'Apply upgrade'|@translate}</a>
46{/if}
47</p>
48{/if}
49</div>
Note: See TracBrowser for help on using the repository browser.