16
Themes Oficiales SMFSimple / Re:Light Theme - SMF 2.0
« on: September 06, 2011 - 11:17 11:17 »
Falta traducción en italiano..
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
Eso es porque no se hicieron las modificaciones en el archivo subs.¿Qué hago?
31: cache_put_data('page_index_news', $context['page_index'], 1800);
32: }else{
33: $context['news'] = cache_get_data('bk_news', 1800);
34: $context['page_index'] = cache_get_data('page_index_news', 1800);
35: }
36: }else{
37: LoadBlockNews();
38: }
39:
40: echo "
41: <script type="text/javascript">
42: function makesurelink() {
43: if (confirm('".$txt['ultport_delete_news_confirmation']."')) {
44: return true;
45: } else {
46: return false;
47: }
48: }
49: </script>";
50:
==>51: foreach($context['news'] as $news)
52: {
53: echo '<div class="description"><img style="vertical-align: middle;" alt="'. stripslashes($news['title_cat']) .'" src="'. $news['icon'] .'" width="20" height="20" />
54: <strong><a href="'. $scripturl .'?action=news;sa=show-cat;id='. $news['id_cat'] .'">'. stripslashes($news['title_cat']) .'</a></strong>
55: - <strong>'. $news['title'] .'</strong> <span style="text-align:right;">'. $news['view'] .'</span>
56: <br />'. $news['added-news'] .'</div>
57: <div>'. $news['body'] .'</div><br />';
58:
59: if (!empty($user_info['up-modules-permissions']['news_moderate']) || $user_info['is_admin'])
60: {
61: echo '<div style="border: 1px dashed #aaa;padding: 3px;">'. $news['edit'] .'
62: '. $news['delete'] .'</div>';
63: }
64:
65: }
66: //Page Index
67: echo '
68: <div style="text-align:center">
69: <strong>'. $txt['pages'] .':</strong> '. $context['page_index'] . '
70: </div>';
71: //End Page Index
Sí sí.Para el portal no se puede hacer algo?
http://www.passiongames.it/
Eso es joomla no?
http://www.passiongames.it/forum/index.php?8: Undefined index: colorForumFile: /web/htdocs/www.passiongames.it/home/forum/Themes/default/BoardIndex.template.php
Riga: 164
44: <img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'on', $board['new'] ? '' : '2', '.png" alt="', $txt['new_posts'], '" title="', $txt['new_posts'], '" />';
145: // Is it a redirection board?
146: elseif ($board['is_redirect'])
147: echo '
148: <img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'redirect.png" alt="*" title="*" />';
149: // No new posts at all! The agony!!
150: else
151: echo '
152: <img src="', $settings['images_url'], '/', $context['theme_variant_url'], 'off.png" alt="', $txt['old_posts'], '" title="', $txt['old_posts'], '" />';
153:
154: echo '</a>
155: </td>';
156:
157: //START Large Icon Board
158:
159: $iconimage = "Themes/default/images/boardicon/" . $board['id'] . ".gif";
160: if (file_exists($iconimage)) {
161:
162: echo '
163: <td class="info" width="10%" align="center" valign="middle">
==>164: <a href="', $board['href'], '" style="color:'.$context['colorForum'].'" name="b', $board['id'], '">
165: <img src="', $iconimage ,'" alt="',$board['id'],'" />
166: </a>
167: </td>';
168: }
169: else {
170: echo '
171: <td class="info" width="10%" align="center" valign="middle">
172: <a href="', $board['href'], '" style="color:'.$context['colorForum'].'" name="b', $board['id'], '">
173: <img src="', $settings['images_url'], '/boardicon/noimage.gif" alt="',$board['id'],'" />
174: </a>
175: </td>';
176: }
177: //END Large Icon Board
178:
179: echo '
180: </a>
181: </td>
182: <td class="info">';
183: colorForum($board['id']);
184: echo'