aboutsummaryrefslogtreecommitdiffstats
path: root/template
diff options
context:
space:
mode:
Diffstat (limited to 'template')
-rw-r--r--template/yoga/picture.tpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/template/yoga/picture.tpl b/template/yoga/picture.tpl
index 9ba9d6ffa..e86e24ee9 100644
--- a/template/yoga/picture.tpl
+++ b/template/yoga/picture.tpl
@@ -209,7 +209,7 @@ y.callService(
<input type="submit" name="rate" value="{$mark}" class="rateButton" />
{/if}
{/foreach}
- <script type="text/javascript" src="{$ROOT_URL}{$themeconf.template_dir}/rating.js"></script>
+ <script type="text/javascript" src="{$ROOT_URL}template/{$themeconf.template}/rating.js"></script>
<script type="text/javascript">
makeNiceRatingForm( {ldelim}rootUrl: '{$ROOT_URL|@escape:"javascript"}', image_id: {$current.id},
updateRateText: "{'update_rate'|@translate|@escape:'javascript'}", updateRateElement: document.getElementById("updateRate"),