Commits

pi11 committed 77b8985

detskie-igry fix

Comments (0)

Files changed (3)

templates/detskie-igry/base.html

   <link href="{{ MEDIA_URL }}/style.css" type="text/css" rel="stylesheet" />
   <meta name="Description" content="Детские игры, детские флэш игры" />
   <meta name="Keywords" content="игры, флэш, онлайн" />
-  <link href="{{ MEDIA_URL }}images/favicon.png" rel='shortcut icon'/>
-  <link href="{{ MEDIA_URL }}images/favicon.png" rel='icon'/>
+  <link href="{{ STATIC_URL }}images/favicon.png" rel='shortcut icon'/>
+  <link href="{{ STATIC_URL }}images/favicon.png" rel='icon'/>
 
-  <script type="text/javascript" src="{{ MEDIA_URL }}js/jquery-1.3.2.js"></script>
-  <script type="text/javascript" src="{{ MEDIA_URL }}js/bookmark.js"></script>
+  <script type="text/javascript" src="{{ STATIC_URL }}js/jquery-1.3.2.js"></script>
+  <script type="text/javascript" src="{{ STATIC_URL }}js/bookmark.js"></script>
 
 </head>
 <body>

templates/detskie-igry/game.html

 
       <div class="options">
 	<div align="right">Загрузил: <a href="#">{{ g.user }}</a></div>
-	<div align="right">Оценка флэш игры:  <span style="font-size:18px; font:bold;"> <span id="mark1">{{ mark|default:0 }}</span> <a class="mark" id="upvote"><img src="{{ MEDIA_URL }}images/up.gif" /></a>  <a class="mark" id="downvote"><img src="{{ MEDIA_URL }}images/down.gif" /></a> </span> </div>
+	<div align="right">Оценка флэш игры:  <span style="font-size:18px; font:bold;"> <span id="mark1">{{ mark|default:0 }}</span> <a class="mark" id="upvote"><img src="{{ STATIC_URL }}images/up.gif" /></a>  <a class="mark" id="downvote"><img src="{{ STATIC_URL }}images/down.gif" /></a> </span> </div>
 	<div align="right">Просмотров: {{ views }}</div>
 	<div align="right">
           {% for t in gt %}

templates/detskie-igry/index.html

       <ul>
 	{% for p in top_profiles %}
 	{% if p.score > 0 %}
-	<li><a href="{{ p.get_absolute_url }}">{{ p.user.username }} <img src="{{ MEDIA_URL }}images/star.png" width="14px" /> <b>{{ p.score }}</b></a></li>
+	<li><a href="{{ p.get_absolute_url }}">{{ p.user.username }} <img src="{{ STATIC_URL }}images/star.png" width="14px" /> <b>{{ p.score }}</b></a></li>
 	{% endif %}
 	{% endfor %}
       </ul>