News:

Want to get involved in developing SMF, then why not lend a hand on our github!

Main Menu

Error "Topic Prefix Mod"

Started by Giancarlo, November 28, 2013, 10:31:40 AM

Previous topic - Next topic

Giancarlo

Hola amigos ;)

He querido instalar el Topic Prefic Mod

Y me deja instalarlo correctamente pero me sale un error en Post.Template.php

Lo que me dice que tengo que reemplazar es lo siguiente:

// Now show the subject box for this post.
   echo \'
                     <tr>
                        <td align=\"right\" style=\"font-weight: bold;\"\', isset($context[\'post_error\'][\'no_subject\']) ? \' class=\"error\"\' : \'\', \' id=\"caption_subject\">
                           \', $txt[\'subject\'], \':
                        </td>



Y al mirarlo en mi Post.Template lo mas parecido que encuentro es lo siguiente:

  // Now show the subject box for this post.
   echo \'
                  <dt>
                     <span\', isset($context[\'post_error\'][\'no_subject\']) ? \' class=\"error\"\' : \'\', \' id=\"caption_subject\">\', $txt[\'subject\'], \':</span>
                  </dt>
                  <dd>
                     <input type=\"text\" name=\"subject\"\', $context[\'subject\'] == \'\' ? \'\' : \' value=\"\' . $context[\'subject\'] . \'\"\', \' tabindex=\"\', $context[\'tabindex\']  , \'\" size=\"80\" maxlength=\"80\" class=\"input_text\" />
                  </dd>
                  <dt class=\"clear_left\">
                     \', $txt[\'message_icon\'], \':
                  </dt>
                  <dd>
                     <select name=\"icon\" id=\"icon\" onchange=\"showimage()\">\';


Que tendria que hacer para que no me de fallo? Adjunto Post.Template

Gracias! ;)

4Kstore

Cierro el theme, estas adjuntando archivos de un theme premium, ya te lo dije en smfsimple. Si queres soporte paga por los themes que descargas y de paso no elimines los copyrights.

¡¡NEW MOD: Sparkles User Names!!!

Advertisement: