Last active
February 17, 2022 13:10
-
-
Save joelmiguelvalente/1f17b05cdbdccf592ac9221d5df9b42e to your computer and use it in GitHub Desktop.
En los campos con el atributo name se agregó "c_" y "c_allow_"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="boxy-title"> | |
<h3>Características y Opciones</h3> | |
</div> | |
<div id="res" class="boxy-content"> | |
{if $tsSave} | |
<div style="display: block;" class="mensajes ok">Configuraciones guardadas</div>{/if} | |
<form action="" method="post" autocomplete="off"> | |
<fieldset> | |
<legend>Configuración del Sitio</legend> | |
<dl> | |
<dt> | |
<label for="ai_titulo">Nombre del Sitio:</label> | |
</dt> | |
<dd> | |
<input type="text" id="ai_titulo" name="titulo" maxlength="24" value="{$tsConfig.titulo}" /> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_slogan">Descripción del Sitio:</label> | |
</dt> | |
<dd> | |
<input type="text" id="ai_slogan" name="slogan" maxlength="32" value="{$tsConfig.slogan}" /> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_url">Dirección del sitio:</label> | |
</dt> | |
<dd> | |
<input type="text" id="ai_url" name="url" maxlength="32" value="{$tsConfig.url}" /> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_offline">Modo mantenimiento:</label> | |
<br /><span>Esto hará al Sitio inaccesible a los usuarios. Si quiere, también puede introducir un breve mensaje (255 caracteres) para mostrar.</span></dt> | |
<dd> | |
<label> | |
<input name="offline" type="radio" id="ai_offline" value="1" {if $tsConfig.offline==1 }checked="checked" {/if} class="radio" /> Sí</label> | |
<label> | |
<input name="offline" type="radio" id="ai_offline" value="0" {if $tsConfig.offline !=1 }checked="checked" {/if} class="radio" /> No</label> | |
<br /> | |
<input type="text" name="offline_message" id="ai_offline" value="{$tsConfig.offline_message}" /> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_chat">Chatango ID:</label> | |
<br /><span>Por defecto puedes agregar un chat de <a href="http://chatango.com">Chatango</a> para tu web, solo crea tu grupo he ingresa el nombre. (Dejar vacío para usar xat)</span></dt> | |
<dd> | |
<input type="text" id="ai_chat" name="chat_id" maxlength="20" value="{$tsConfig.chat_id}" /> </dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_xat">Xat ID:</label> | |
<br /><span>Por defecto puedes agregar un chat de <a href="http://xat.com">Xat</a> para tu web, solo crea tu grupo he ingresa el nombre.</span></dt> | |
<dd> | |
<input type="text" id="ai_xat" name="xat_id" maxlength="20" value="{$tsConfig.xat_id}" /> </dd> | |
</dl> | |
<hr /> | |
<dl> | |
<dt> | |
<label for="pkey">reCaptcha pública</label> | |
<br /><span>Clave pública de <a href="https://www.google.com/recaptcha/admin">reCatpcha</a>.</span> | |
</dt> | |
<dd> | |
<input type="text" id="pkey" name="pkey" value="{$tsConfig.pkey}" /> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="skey">reCaptcha secreta</label> | |
<br /><span>Clave privada de <a href="https://www.google.com/recaptcha/admin">reCatpcha</a>.</span> | |
</dt> | |
<dd> | |
<input type="text" id="skey" name="skey" value="{$tsConfig.skey}" /> | |
</dd> | |
</dl> | |
<hr /> | |
<dl> | |
<dt> | |
<label for="ai_edad">Edad requerida:</label> | |
<br /><span>A partir de que edad los usuarios pueden registrarse.</span></dt> | |
<dd> | |
<input type="text" id="ai_edad" name="c_allow_edad" style="width:10%" maxlength="2" value="{$tsConfig.c_allow_edad}" /> años.</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_met_welcome">Mensaje de Bienvenida:</label> | |
<br /><span id="c_message_welcome" {if $tsConfig.c_met_welcome==0 }style="display:none;" {/if}> <br /> [usuario] => Nombre del registrado <br /> [welcome] => Bienvenido/a depende del sexo <br /> [web] => Nombre de esta web <br /> <br />(Se aceptan BBCodes y Smileys)</span></dt> | |
<dd> | |
<select id="ai_met_welcome" name="c_met_welcome" style="width: 266px;" class="select" {if $tsConfig.c_met_welcome==0 } onchange="if($('#ai_met_welcome').val() != 0) $('textarea[name=c_message_welcome]').slideDown(); $('#c_message_welcome').slideDown();" {/if}> | |
<option value="0" {if $tsConfig.c_met_welcome==0 }selected{/if}>No dar bienvenida</option> | |
<option value="1" {if $tsConfig.c_met_welcome==1 }selected{/if}>Muro</option> | |
<option value="2" {if $tsConfig.c_met_welcome==2 }selected{/if}>Mensaje privado</option> | |
<option value="3" {if $tsConfig.c_met_welcome==3 }selected{/if}>Aviso</option> | |
</select> | |
<br /> | |
<textarea name="c_message_welcome" id="ai_met_welcome" style="width: 260px; height: 100px; {if $tsConfig.c_met_welcome == 0} display:none; {/if}">{$tsConfig.c_message_welcome}</textarea> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_active">Usuario online:</label> | |
<br /><span>Tiempo que debe trascurrir para considerar que un usuario está en linea.</span></dt> | |
<dd> | |
<input type="text" id="ai_active" name="c_last_active" style="width:10%" maxlength="2" value="{$tsConfig.c_last_active}" /> min.</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_stats_cache">Estadísticas en buffer:</label> | |
<br /><span>Tiempo que debe trascurrir para actualizar las estadísticas del sitio.</span></dt> | |
<dd> | |
<input type="text" id="ai_stats_cache" name="c_stats_cache" style="width:10%" maxlength="2" value="{$tsConfig.c_stats_cache}" /> min.</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_sess_ip">Login por IP:</label> | |
<br /><span>Por seguridad cada que un usuario cambie de IP se le pedirá loguearse nuevamente.</span></dt> | |
<dd> | |
<label> | |
<input name="c_allow_sess_ip" type="radio" id="ai_sess_ip" value="1" {if $tsConfig.c_allow_sess_ip==1 }checked="checked" {/if} class="radio" />Sí</label> | |
<label> | |
<input name="c_allow_sess_ip" type="radio" id="ai_sess_ip" value="0" {if $tsConfig.c_allow_sess_ip !=1 }checked="checked" {/if} class="radio" />No</label> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_count_guests">Los visitantes suman estadísticas</label> | |
<br /><span>Contar a los visitantes en las estadísticas generales.</span></dt> | |
<dd> | |
<label> | |
<input name="c_count_guests" type="radio" id="ai_count_guests" value="1" {if $tsConfig.c_count_guests==1 }checked="checked" {/if} class="radio" />Sí</label> | |
<label> | |
<input name="c_count_guests" type="radio" id="ai_count_guests" value="0" {if $tsConfig.c_count_guests !=1 }checked="checked" {/if} class="radio" />No</label> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_hits_guest">Los visitantes suman visitas</label> | |
<br /><span>Contar las visitas de los visitantes en posts y fotos.</span></dt> | |
<dd> | |
<label> | |
<input name="c_hits_guest" type="radio" id="ai_hits_guest" value="1" {if $tsConfig.c_hits_guest==1 }checked="checked" {/if} class="radio" />Sí</label> | |
<label> | |
<input name="c_hits_guest" type="radio" id="ai_hits_guest" value="0" {if $tsConfig.c_hits_guest !=1 }checked="checked" {/if} class="radio" />No</label> | |
</dd> | |
</dl> | |
<hr /> | |
<dl> | |
<dt> | |
<label for="ai_reg_active">Registro abierto:</label> | |
<br /><span>Permitir el registro de nuevos usuarios</span></dt> | |
<dd> | |
<label> | |
<input name="c_reg_active" type="radio" id="ai_reg_active" value="1" {if $tsConfig.c_reg_active==1 }checked="checked" {/if} class="radio" />Sí</label> | |
<label> | |
<input name="c_reg_active" type="radio" id="ai_reg_active" value="0" {if $tsConfig.c_reg_active !=1 }checked="checked" {/if} class="radio" />No</label> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_reg_activate">Activar usuarios:</label> | |
<br /><span>Activar automáticamente la cuenta de usuario.</span></dt> | |
<dd> | |
<label> | |
<input name="c_reg_activate" type="radio" id="ai_reg_activate" value="1" {if $tsConfig.c_reg_activate==1 }checked="checked" {/if} class="radio" />Sí</label> | |
<label> | |
<input name="c_reg_activate" type="radio" id="ai_reg_activate" value="0" {if $tsConfig.c_reg_activate !=1 }checked="checked" {/if} class="radio" />No</label> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_firma">Firma de usuario:</label> | |
<br /><span>Las firmas de los usuarios son visibles en los post.</span></dt> | |
<dd> | |
<label> | |
<input name="c_allow_firma" type="radio" id="ai_firma" value="1" {if $tsConfig.c_allow_firma==1 }checked="checked" {/if} class="radio" />Sí</label> | |
<label> | |
<input name="c_allow_firma" type="radio" id="ai_firma" value="0" {if $tsConfig.c_allow_firma !=1 }checked="checked" {/if} class="radio" />No</label> | |
</dd> | |
</dl> | |
<hr /> | |
<dl> | |
<dt> | |
<label for="ai_upload">Carga externa:</label> | |
<br /><span>Si cuentas con un servidor de pago o la librería CURL puedes subir imágenes remotamente a imgur.com</span></dt> | |
<dd> | |
<label> | |
<input name="c_allow_upload" type="radio" id="ai_upload" value="1" {if $tsConfig.c_allow_upload==1 }checked="checked" {/if} class="radio" />Sí</label> | |
<label> | |
<input name="c_allow_upload" type="radio" id="ai_upload" value="0" {if $tsConfig.c_allow_upload !=1 }checked="checked" {/if} class="radio" />No</label> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_portal">Activar portal:</label> | |
<br /><span>Los usuarios podrán tener un inicio perzonalizado.</span></dt> | |
<dd> | |
<label> | |
<input name="c_allow_portal" type="radio" id="ai_portal" value="1" {if $tsConfig.c_allow_portal==1 }checked="checked" {/if} class="radio" />Sí</label> | |
<label> | |
<input name="c_allow_portal" type="radio" id="ai_portal" value="0" {if $tsConfig.c_allow_portal !=1 }checked="checked" {/if} class="radio" />No</label> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_fotos_private">Sección de fotos oculta</label> | |
<br /><span>Si está activado, los visitantes no podrán ver la sección fotos.</span></dt> | |
<dd> | |
<label> | |
<input name="c_fotos_private" type="radio" id="ai_fotos_private" value="1" {if $tsConfig.c_fotos_private==1 }checked="checked" {/if} class="radio" />Sí</label> | |
<label> | |
<input name="c_fotos_private" type="radio" id="ai_fotos_private" value="0" {if $tsConfig.c_fotos_private !=1 }checked="checked" {/if} class="radio" />No</label> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_see_mod">Vista moderativa amplia</label> | |
<br /><span>Si está activado, el equipo de moderación podrá ver, diferenciado por colores, los distintos estados de los posts.</span></dt> | |
<dd> | |
<label> | |
<input name="c_see_mod" type="radio" id="ai_see_mod" value="1" {if $tsConfig.c_see_mod==1 }checked="checked" {/if} class="radio" />Sí</label> | |
<label> | |
<input name="c_see_mod" type="radio" id="ai_see_mod" value="0" {if $tsConfig.c_see_mod !=1 }checked="checked" {/if} class="radio" />No</label> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_desapprove_post">Revisión de posts tras su publicación</label> | |
<br /><span>Si está activado, el equipo de moderación deberá aprobar un post antes de que éste sea publicado.</span></dt> | |
<dd> | |
<label> | |
<input name="c_desapprove_post" type="radio" id="ai_desapprove_post" value="1" {if $tsConfig.c_desapprove_post==1 }checked="checked" {/if} class="radio" />Sí</label> | |
<label> | |
<input name="c_desapprove_post" type="radio" id="ai_desapprove_post" value="0" {if $tsConfig.c_desapprove_post !=1 }checked="checked" {/if} class="radio" />No</label> | |
</dd> | |
</dl> | |
<hr /> | |
<dl> | |
<dt> | |
<label for="ai_keep_points">Mantener los puntos:</label> | |
<br /><span>Al momento de recargar los puntos, si está habilitado se conservarán los puntos que el usuario no haya gastado los puntos en el dí, si está deshabilitado, se restablecerán a los puntos asignados para cada rango.</span></dt> | |
<dd> | |
<label> | |
<input name="c_keep_points" type="radio" id="ai_keep_points" value="1" {if $tsConfig.c_keep_points==1 }checked="checked" {/if} class="radio" />Sí</label> | |
<label> | |
<input name="c_keep_points" type="radio" id="ai_keep_points" value="0" {if $tsConfig.c_keep_points !=1 }checked="checked" {/if} class="radio" />No</label> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_live">Notificaciones Live:</label> | |
<br /><span>Los usuarios podrán ver en tiempo real sus notificaciones. (Esta opción puede consumir un poco más de recursos.)</span></dt> | |
<dd> | |
<label> | |
<input name="c_allow_live" type="radio" id="ai_live" value="1" {if $tsConfig.c_allow_live==1 }checked="checked" {/if} class="radio" />Sí</label> | |
<label> | |
<input name="c_allow_live" type="radio" id="ai_live" value="0" {if $tsConfig.c_allow_live !=1 }checked="checked" {/if} class="radio" />No</label> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_max_nots">Máximo de notificaciones:</label> | |
<br /><span>Cuantas notificaciones puede recibir un usuario.</span></dt> | |
<dd> | |
<input type="text" id="ai_max_nots" name="c_max_nots" style="width:10%" maxlength="3" value="{$tsConfig.c_max_nots}" /> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_max_acts">Máximo de actividades:</label> | |
<br /><span>Cuantas actividades puede registrar un usuario.</span></dt> | |
<dd> | |
<input type="text" id="ai_max_acts" name="c_max_acts" style="width:10%" maxlength="3" value="{$tsConfig.c_max_acts}" /> | |
</dd> | |
</dl> | |
<hr /> | |
<dl> | |
<dt> | |
<label for="ai_max_post">Posts por página:</label> | |
<br /><span>Número máximo de posts a mostrar en cada página de la portada.</span></dt> | |
<dd> | |
<input type="text" id="ai_max_post" name="c_max_posts" style="width:10%" maxlength="3" value="{$tsConfig.c_max_posts}" /> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_max_com">Comentarios por post:</label> | |
<br /><span>Número máximo de comentarios por página en los post.</span></dt> | |
<dd> | |
<input type="text" id="ai_max_com" name="c_max_com" style="width:10%" maxlength="3" value="{$tsConfig.c_max_com}" /> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_allow_points" class="qtip" title="Si introducimos '0', se permitirá dar los puntos definidos por el rango del usuario. <br /> <br /> Si introducimos '-1', se podrán dar todos los puntos que el usuario tenga para dar hoy. <br /> <br /> Introduciendo un número superior a 0, todos los usuarios sin importar su rango, tendán esa cantidad para dar.">Puntos por post:</label> | |
<br /><span>Número máximo de puntos que permitimos dar en los posts. </span></dt> | |
<dd> | |
<input type="text" id="ai_allow_points" name="c_allow_points" style="width:10%" maxlength="3" value="{$tsConfig.c_allow_points}" /> | |
</dd> | |
</dl> | |
<dl> | |
<dt> | |
<label for="ai_sum_p">Los votos suman puntos:</label> | |
<br /><span>Cada voto positivo en un comentario es un punto más para el usuario. <strong>Nota:</strong> Los votos negativos no restan puntos</span></dt> | |
<dd> | |
<label> | |
<input name="c_allow_sump" type="radio" id="ai_sum_p" value="1" {if $tsConfig.c_allow_sump==1 }checked="checked" {/if} class="radio" />Si</label> | |
<label> | |
<input name="c_allow_sump" type="radio" id="ai_sum_p" value="0" {if $tsConfig.c_allow_sump !=1 }checked="checked" {/if} class="radio" />No</label> | |
</dd> | |
</dl> | |
<hr /> | |
<dl> | |
<dt> | |
<label for="ai_nfu">Cambio de rango:</label> | |
<br /><span>Un usuario sube de rango cuando obtiene los puntos mínimos en:</span></dt> | |
<dd> | |
<label> | |
<input name="c_newr_type" type="radio" id="ai_nfu" value="1" {if $tsConfig.c_newr_type==1 }checked="checked" {/if} class="radio" />Todos sus post</label> | |
<label> | |
<input name="c_newr_type" type="radio" id="ai_nfu" value="0" {if $tsConfig.c_newr_type !=1 }checked="checked" {/if} class="radio" />Solo en un post</label> | |
</dd> | |
</dl> | |
<p> | |
<input type="submit" name="save" value="Guardar Cambios" class="btn_g" /> | |
</p> | |
</fieldset> | |
</form> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment