Blame Extras/Puntal/themes/punbb/articles/form_submit.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 (!empty($errors)) : ?>
4c79b5
	
4c79b5
	
4c79b5
		

4c79b5
		
4c79b5
			
4c79b5
				%s', '
  • %s
  • ') ?>
    4c79b5
    			
    
    4c79b5
    		
    
    4c79b5
    	
    
    4c79b5
    	
    4c79b5
    	/* Fin affichage erreurs */ ?>
    
    4c79b5
    
    
    4c79b5
    	
    4c79b5
    		

    4c79b5
    		
    4c79b5
    			<form action="<?php articles::submitUrl() ?>" method="post">
    
    4c79b5
    			
    4c79b5
    				<fieldset><legend></legend>
    
    4c79b5
    					
    4c79b5
    						
    
    4c79b5
    						

    <label for="p_title"></label>

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

    4c79b5
    						
    
    4c79b5
    						

    <label for="p_cat"></label>

    4c79b5
    						

    4c79b5
    						
    
    4c79b5
    						

    <label for="p_content"></label>

    4c79b5
    						<textarea name="p_content" id="p_content" cols="55" rows="10" ></textarea>

    4c79b5
    4c79b5
    require_once PT_INC_PATH.'libs/puntoolbar_smilies.php'; 
    
    4c79b5
    $ptb = new puntoolbarSmilies($puntal);
    
    4c79b5
    echo $ptb->generatePtb('p_content');
    
    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('Submit') ?>" />
    
    4c79b5
    			<input type="hidden" name="ptkn" value="<?php echo tpl::pTkn(); ?>" />

    4c79b5
    			</form>
    
    4c79b5
    		
    
    4c79b5