- partially implemented site reputation (required to grant privileges to comments) - reworked 'home'-page (the news-box is now as configurable as you want) - removed some ancient compatibility-code for IE67 (srsly, its 2014!) - dropped associated stylesheets, reviewed the rest - split some user-restrictions to trigger on insufficient siteRep - added text-page: Markup-Guide - implemented new class to handle Markup - bugfixes [TM] - also you will need to reapply the db-dumps (you may want do save account*, news, reports, ..)
121 lines
5.5 KiB
PHP
121 lines
5.5 KiB
PHP
<?php
|
|
if (User::$id > 0):
|
|
?>
|
|
<div id="tab-add-your-comment" style="display: none">
|
|
|
|
Ten en cuenta lo siguiente cuando escribas un comentario:
|
|
|
|
<ul>
|
|
<li><div>Tu comentario debe ser en español, o será eliminado.</div></li>
|
|
<li><div>¿No estás seguro de cómo escribir? ¡Échale un vistazo a <a href="?help=commenting-and-you" target="_blank">nuestra guía</a>!</div></li>
|
|
<li><div>Por favor, pon tus preguntas en nuestro <a href="?forums">foro</a> para obtener una respuesta más rápida.</div></li>
|
|
<li><div>Deberías corregir tus comentarios antes de enviarlos.</div></li>
|
|
</ul>
|
|
|
|
<form name="addcomment" action="?comment=add&type=<?php echo $this->type.'&typeid='.$this->typeId; ?>" method="post" onsubmit="return co_validateForm(this)">
|
|
<div id="funcbox-generic"></div>
|
|
<script type="text/javascript">Listview.funcBox.coEditAppend($('#funcbox-generic'), {body: ''}, 1)</script>
|
|
<div class="pad"></div>
|
|
<input type="submit" value="Submit"></input>
|
|
</form>
|
|
|
|
</div>
|
|
<div id="tab-submit-a-screenshot" style="display: none">
|
|
|
|
Simplemente busca tu captura de imagen usando el formulario que aparece abajo.
|
|
|
|
<ul>
|
|
<li><div>Preferimos imágenes sacadas del juego a capturas de visualizadores de modelos.</div></li>
|
|
<li><div>¡Mientras más calidad mejor!</div></li>
|
|
<li><div>Asegurate de leer las <a href="?help=screenshots-tips-tricks" target="_blank">sugerencias y trucos</a> si no lo has hecho antes.</div></li>
|
|
</ul>
|
|
|
|
<form action="?screenshot=add&<?php echo $this->type.'.'.$this->typeId; ?>" method="post" enctype="multipart/form-data" onsubmit="return ss_validateForm(this)">
|
|
|
|
File:<input type="file" name="screenshotfile" style="width: 35%"/><br />
|
|
<div class="pad2"></div>
|
|
Caption:<input type="text" name="screenshotcaption" maxlength="200" /> <small>Optional, up to 200 characters</small><br />
|
|
<div class="pad2"></div>
|
|
<input type="submit" value="Submit" />
|
|
|
|
<div class="pad3"></div>
|
|
<small class="q0">Nota: Su captura de imagen deberá ser aprobado antes de aparecer en el sitio.</small>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
<div id="tab-suggest-a-video" style="display: none">
|
|
|
|
Símplemente, escribe la URL del vídeo en el formulario.
|
|
|
|
<div class="pad2"></div>
|
|
<form action="?video=add&<?php echo $this->type.'.'.$this->typeId; ?>" method="post" enctype="multipart/form-data" onsubmit="return vi_validateForm(this)">
|
|
|
|
URL:<input type="text" name="videourl" style="width: 35%" /> <small>Soportado: Sólo YouTube</small>
|
|
<div class="pad2"></div>
|
|
Title:<input type="text" name="videotitle" maxlength="200" /> <small>Optional, up to 200 characters</small><br />
|
|
<div class="pad"></div>
|
|
<input type="submit" value="Submit" />
|
|
|
|
<div class="pad3"></div>
|
|
<small class="q0">Nota: Tu vídeo deberá ser aprobado antes de aparecer en el sitio.</small>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
<?php
|
|
else:
|
|
?>
|
|
<div id="tab-add-your-comment" style="display: none">
|
|
|
|
Ten en cuenta lo siguiente cuando escribas un comentario:
|
|
|
|
<ul>
|
|
<li><div>Tu comentario debe ser en español, o será eliminado.</div></li>
|
|
<li><div>¿No estás seguro de cómo escribir? ¡Échale un vistazo a <a href="?help=commenting-and-you" target="_blank">nuestra guía</a>!</div></li>
|
|
<li><div>Por favor, pon tus preguntas en nuestro <a href="?forums">foro</a> para obtener una respuesta más rápida.</div></li>
|
|
<li><div>Deberías corregir tus comentarios antes de enviarlos.</div></li>
|
|
</ul>
|
|
|
|
<form action="/" method="post">
|
|
|
|
<div class="comment-edit-body"><textarea class="comment-editbox" rows="10" cols="40" name="commentbody" disabled="disabled"></textarea></div>
|
|
<small>No has iniciado sesión. Por favor <a href="?account=signin">entra a tu cuenta</a> o <a href="?account=signup">registra una cuenta</a> para añadir tu comentario.</small>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
<div id="tab-submit-a-screenshot" style="display: none">
|
|
|
|
Simplemente busca tu captura de imagen usando el formulario que aparece abajo.
|
|
|
|
<ul>
|
|
<li><div>Preferimos imágenes sacadas del juego a capturas de visualizadores de modelos.</div></li>
|
|
<li><div>¡Mientras más calidad mejor!</div></li>
|
|
<li><div>Asegurate de leer las <a href="?help=screenshots-tips-tricks" target="_blank">sugerencias y trucos</a> si no lo has hecho antes.</div></li>
|
|
</ul>
|
|
|
|
<form action="/" method="post">
|
|
|
|
<input type="file" name="screenshotfile" disabled="disabled" /><br />
|
|
<small>No has iniciado sesión. <a href="?account=signin">Inicia sesión</a> para enviar una captura de pantalla.</small>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
<div id="tab-suggest-a-video" style="display: none">
|
|
|
|
Símplemente, escribe la URL del vídeo en el formulario.
|
|
|
|
<div class="pad2"></div>
|
|
<form action="/" method="post">
|
|
|
|
<input type="text" name="videourl" disabled="disabled" /><br />
|
|
<small>No has iniciado sesión. <a href="?account=signin">Inicia sesión</a> para enviar un vídeo.</small>
|
|
|
|
</form>
|
|
|
|
</div>
|
|
<?php
|
|
endif;
|
|
?>
|