Blame Extras/Puntal/themes/punbb/bugtracker/form_add.php

4c79b5
4c79b5
/***********************************************************************
4c79b5

4c79b5
  Copyright (C) 2005-2007 Vincent Garnier and contributors. All rights
4c79b5
  reserved.
4c79b5
  
4c79b5
  This file is part of Puntal 2.
4c79b5

4c79b5
  Puntal 2 is free software; you can redistribute it and/or modify it
4c79b5
  under the terms of the GNU General Public License as published
4c79b5
  by the Free Software Foundation; either version 2 of the License,
4c79b5
  or (at your option) any later version.
4c79b5

4c79b5
  Puntal 2 is distributed in the hope that it will be useful, but
4c79b5
  WITHOUT ANY WARRANTY; without even the implied warranty of
4c79b5
  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
4c79b5
  GNU General Public License for more details.
4c79b5

4c79b5
  You should have received a copy of the GNU General Public License
4c79b5
  along with this program; if not, write to the Free Software
4c79b5
  Foundation, Inc., 59 Temple Place, Suite 330, Boston,
4c79b5
  MA  02111-1307  USA
4c79b5

4c79b5
************************************************************************/?>
4c79b5

4c79b5
	
4c79b5
	if (bugtracker::hasErrors()) : ?>
4c79b5
	
4c79b5
	
4c79b5
		

4c79b5
		
4c79b5
			
4c79b5
				%s', '
  • %s
  • ') ?>
    4c79b5
    			
    
    4c79b5
    		
    
    4c79b5
    	
    
    4c79b5
    	
    4c79b5
    	/* Fin affichage erreurs */ ?>
    
    4c79b5
    
    
    4c79b5
    	
    4c79b5
    	if (bugtracker::onPreview()) : ?>
    
    4c79b5
    	
    
    4c79b5
    	
    4c79b5
    		

    4c79b5
    		
    4c79b5
    			
    4c79b5
    				
    
    4c79b5
    			
    
    4c79b5
    		
    
    4c79b5
    	
    
    4c79b5
    	
    4c79b5
    	/* Fin affichage prévisualisation */ ?>
    
    4c79b5
    
    
    4c79b5
    	
    4c79b5
    		

    4c79b5
    		
    4c79b5
    			<form action="<?php bugtracker::url('add') ?>" method="post">
    
    4c79b5
    			
    4c79b5
    				<fieldset><legend></legend>
    
    4c79b5
    					
    4c79b5
    											
    
    4c79b5
    						
    
    4c79b5
    						

    <label for="req_username"></label>

    4c79b5
    						<input type="text" name="req_username" value="<?php bugtracker::formValue('req_username') ?>" size="25" maxlength="25" />

    4c79b5
    						
    
    4c79b5
    						

    <label for="req_email"></label>

    4c79b5
    						<input type="text" name="req_email" id="req_email" value="<?php bugtracker::formValue('req_email') ?>" size="50" maxlength="50" />

    4c79b5
    						
    
    4c79b5
    											
    
    4c79b5
    						

    <label for="neo_bug"></label>

    4c79b5
    						<input class="longinput" name="neo_bug" id="neo_bug" value="<?php bugtracker::formValue('neo_bug') ?>" size="80" maxlength="70" type="text" />

    4c79b5
    						
    
    4c79b5
    						
    4c79b5
    							

    4c79b5
    								<label></label>
    
    4c79b5
    								<select name="neo_component" id="neo_component">
    
    4c79b5
    									%s</option>') ?>
    
    4c79b5
    								</select>											
    
    4c79b5
    							

    4c79b5
    									
    
    4c79b5
    							

    <label for="neo_severity"></label>

    4c79b5
    							<select name="neo_severity" id="neo_severity">
    
    4c79b5
    								%s</option>') ?>
    
    4c79b5
    							</select>

    4c79b5
    						
    
    4c79b5
    														
    
    4c79b5
    						

    <label for="neo_version"></label>

    4c79b5
    						<select name="neo_version" id="neo_version">
    
    4c79b5
    							%s</option>') ?>
    
    4c79b5
    						</select>

    4c79b5
    						
    
    4c79b5
    						

    <label for="neo_desc"></label>

    4c79b5
    						<textarea name="neo_desc" id="neo_desc" rows="5" cols="55"></textarea>

    4c79b5
    4c79b5
    require_once PT_INC_PATH.'libs/puntoolbar_smilies.php'; 
    
    4c79b5
    $ptb = new puntoolbarSmilies($puntal);
    
    4c79b5
    echo $ptb->generatePtb('neo_desc');
    
    4c79b5
    ?>	
    
    4c79b5
    					
    
    4c79b5
    				</fieldset>
    
    4c79b5
    			
    
    4c79b5
    			

    <input type="hidden" name="form_sent" value="1" />

    4c79b5
    			<input type="submit" name="submit" class="submit" value="<?php tpl::lang('Add') ?>" /> 
    
    4c79b5
    			<input type="submit" name="preview" class="submit" value="<?php tpl::lang('Preview') ?>" />
    
    4c79b5
    			<input type="hidden" name="ptkn" value="<?php echo tpl::pTkn(); ?>" /> 
    
    4c79b5
    			

    4c79b5
    			</form>
    
    4c79b5
    		
    
    4c79b5