">

			    <?php 
    wpdc_the_input_text('job_name', get_the_title($post_id), 'Nombre de la oferta', 'Prácticas en...');
    ?>

				<?php 
    wpdc_the_input_text('job_bussiness', $job_bussiness, 'Empresa', 'Empresa');
    ?>

				<?php 
    wpdc_the_input_text('job_info', $job_info, 'Más información', 'http://');
    ?>

				<?php 
    wpdc_the_input_textarea('description', get_post_field('post_content', $post_id), 'Descripción de la oferta');
    ?>
			    
			    <?php 
    wpdc_the_submit('updatesection', 'updatejob', '', '', 'Guardar cambios');
    ?>
			</form>
			<?php 
    include locate_template('templates/sections/section-close.php');
    ?>
		</section>

	<?php 
} elseif (is_user_role('author') || is_user_role('editor') || is_user_role('administrator')) {
    ?>
예제 #2
0
  <section class="wrap wrap--content wrap--shadow wrap--form wrap--author">
		<?php 
wpdc_the_profile_photo($user);
?>

		<?php 
wpdc_the_input_text('login', get_user_meta($user->ID, 'nickname', 1), 'Login (No se puede cambiar)', 'login', true);
?>

		<?php 
wpdc_the_input_text('first_name', get_user_meta($user->ID, 'first_name', 1), 'Nombre', 'Nombre');
?>
		
		<?php 
wpdc_the_input_text('last_name', get_user_meta($user->ID, 'last_name', 1), 'Apellidos', 'Apellidos');
?>

		<?php 
wpdc_the_input_email('email', esc_attr(get_the_author_meta('email', $user->ID)), 'Email', '*****@*****.**');
?>
      
		<?php 
wpdc_the_input_text('position', get_user_meta($user->ID, 'position', 1), 'Perfil', 'Diseñador en LittlePep S.A.');
?>
      
	
    	<?php 
wpdc_the_input_textarea('description', $user->description, 'Descripción');
?>
  </section><!-- end of author -->
예제 #3
0
<section id="newjob" class="wrap wrap--content wrap--form wrap--shadow wrap--hidden js-section">
	<h3 class="title title--section">Crear oferta de trabajo</h3>
	<form method="POST" action="">
		<?php 
wpdc_the_input_text('job_name', '', 'Nombre de la oferta', 'Prácticas en...');
?>

		<?php 
wpdc_the_input_text('job_bussiness', '', 'Empresa', 'Empresa');
?>

		<?php 
wpdc_the_input_text('job_info', '', 'Más información', 'http://');
?>

		<?php 
wpdc_the_input_textarea('description', '', 'Descripción de la oferta');
?>

		<?php 
wpdc_the_submit('updatesection', 'newjob', '', '', 'Publicar oferta');
?>

		<?php 
include locate_template('templates/sections/section-close.php');
?>
  	</form>
</section>
	        <form method="POST" action="">
	        	<h3 class="sep">Registro de usuarios</h3>
		        <?php 
        wpdc_the_input_text('tos_link', get_option("tos_link"), 'Link a términos y condiciones', 'http://');
        ?>
		        <?php 
        wpdc_the_input_textarea('text_register', get_option("text_register"), 'Texto para el registro');
        ?>
		        <?php 
        wpdc_the_input_textarea('text_subscriber_upgrade', get_option("text_subscriber_upgrade"), 'Texto para los suscriptores');
        ?>
		        <?php 
        wpdc_the_input_textarea('text_asociate_payfee', get_option("text_asociate_payfee"), 'Texto inserto en cada cuotas');
        ?>
		        <?php 
        wpdc_the_input_textarea('text_asociate_payfee_banks', get_option("text_asociate_payfee_banks"), 'Texto explicativo para el pago por transferencia bancaria');
        ?>
		        <!-- submit change status -->
				<?php 
        wpdc_the_submit('updatesection', 'texts-update', '', '', 'Guardar cambios');
        ?>
			</form>
		</section>
	<?php 
    }
    ?>

	<?php 
    include locate_template('templates/sections/config-twitter.php');
    ?>
예제 #5
0
<section id="newposts" class="wrap wrap--content wrap--form wrap--shadow wrap--hidden js-section">
	<h3 class="title title--section">Crear artículo</h3>
	<form method="POST" action="">
		<?php 
wpdc_the_input_text('post_name', '', 'Título', 'Título');
?>

		<?php 
wpdc_the_input_text('post_subtitle', '', 'Subtítulo', 'Subtítulo');
?>

		<?php 
wpdc_the_input_textarea('description', '', 'Contenido');
?>

		<?php 
wpdc_the_submit('updatesection', 'newposts', '', '', 'Publicar artículo');
?>

		<?php 
include locate_template('templates/sections/section-close.php');
?>
  	</form>
</section>
wpdc_the_input_text('concurso_name', '', 'Nombre del concurso', 'Nombre del concurso');
?>

    <?php 
wpdc_the_input_text('concurso_org', '', 'Organismo convocante', 'Organismo');
?>
    
    <?php 
wpdc_the_input_text('concurso_bases', '', 'Bases/Más información', 'http://');
?>
    
    <?php 
wpdc_the_input_text('concurso_quantity', '', 'Máximo premio', '3000€, Viaje a Roma...');
?>
    
    <?php 
wpdc_the_input_date('concurso_date', '', 'Cierre de convocatoria');
?>

    <?php 
wpdc_the_input_textarea('description', '', 'Descripción del concurso');
?>
    
    <?php 
wpdc_the_submit('updatesection', 'newconcurso', '', '', 'Crear concurso');
?>
  </form>
  <?php 
include locate_template('templates/sections/section-close.php');
?>
</section>