diff options
author | rvelices <rv-github@modusoptimus.com> | 2010-07-06 20:11:06 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2010-07-06 20:11:06 +0000 |
commit | 6c7b53e0b6ee7fcd9c58570d999efa6d1bd158b8 (patch) | |
tree | b1c9b048c3091ebb979e35964ed995d30413fa1e /themes/default | |
parent | 4845a85685c3d9cb02334dd78a008f58b0b98c10 (diff) |
merge r6668 from trunk
- removed function get_extra_fields and its usage (unnecessary + perf issue when retrieving many image ids in a section)
- 2 fixes recent feed.php commit
* month names were decalated by one
* strptime function is not implemented under Windows in php
- added somme missing $ROOT_URL in templates
git-svn-id: http://piwigo.org/svn/branches/2.1@6669 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'themes/default')
-rw-r--r-- | themes/default/template/comments.tpl | 2 | ||||
-rw-r--r-- | themes/default/template/notification.tpl | 2 | ||||
-rw-r--r-- | themes/default/template/password.tpl | 2 | ||||
-rw-r--r-- | themes/default/template/tags.tpl | 6 | ||||
-rw-r--r-- | themes/default/template/upload.tpl | 2 |
5 files changed, 7 insertions, 7 deletions
diff --git a/themes/default/template/comments.tpl b/themes/default/template/comments.tpl index 77952ce40..9616d27a9 100644 --- a/themes/default/template/comments.tpl +++ b/themes/default/template/comments.tpl @@ -2,7 +2,7 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li> + <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li> </ul> <h2>{'User comments'|@translate}</h2> </div> diff --git a/themes/default/template/notification.tpl b/themes/default/template/notification.tpl index 734ccdbf0..1848e5e46 100644 --- a/themes/default/template/notification.tpl +++ b/themes/default/template/notification.tpl @@ -6,7 +6,7 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li> + <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li> </ul> <h2>{'Notification'|@translate}</h2> </div> diff --git a/themes/default/template/password.tpl b/themes/default/template/password.tpl index 7e3b5ed76..413286e29 100644 --- a/themes/default/template/password.tpl +++ b/themes/default/template/password.tpl @@ -2,7 +2,7 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li> + <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li> </ul> <h2>{'Password forgotten'|@translate}</h2> </div> diff --git a/themes/default/template/tags.tpl b/themes/default/template/tags.tpl index 03cccbbaf..4c226f80c 100644 --- a/themes/default/template/tags.tpl +++ b/themes/default/template/tags.tpl @@ -3,14 +3,14 @@ <div class="titrePage"> <ul class="categoryActions"> {if $display_mode == 'letters'} - <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"></a></li> + <li><a href="{$U_CLOUD}" title="{'show tag cloud'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/tag_cloud.png" class="button" alt="{'cloud'|@translate}"></a></li> {/if} {if $display_mode == 'cloud'} - <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}" rel="nofollow"><img src="{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"></a></li> + <li><a href="{$U_LETTERS}" title="{'group by letters'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/tag_letters.png" class="button" alt="{'letters'|@translate}"></a></li> {/if} - <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li> + <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li> </ul> <h2>{'Tags'|@translate}</h2> </div> diff --git a/themes/default/template/upload.tpl b/themes/default/template/upload.tpl index ba57fd877..6e6bdc42a 100644 --- a/themes/default/template/upload.tpl +++ b/themes/default/template/upload.tpl @@ -8,7 +8,7 @@ <div class="titrePage"> <ul class="categoryActions"> - <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li> + <li><a href="{$U_HOME}" title="{'Home'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'Home'|@translate}"></a></li> </ul> <h2>{'Upload a picture'|@translate}</h2> </div> |