Blame Identity/Webenv/Themes/Default/Puntal/themes/punbb/calendar/edit_event.php

f2e824
f2e824
/***********************************************************************
f2e824

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

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

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

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

f2e824
************************************************************************/?>
f2e824
f2e824
	if (calendar::hasErrors()) : ?>
f2e824
	
f2e824
		

f2e824
		
f2e824
			
f2e824
				

f2e824
				
f2e824
	
f2e824
				calendar::error('
    %s
', '
  • %s
  • ');
    f2e824
    	?>
    
    f2e824
    				
    
    f2e824
    			
    
    f2e824
    		
    
    f2e824
    	
    
    f2e824
    
    
    f2e824
    
    
    f2e824
    f2e824
    	if (calendar::onPreview()) : ?>
    
    f2e824
    
    
    f2e824
    f2e824
    	

    f2e824
    	
    f2e824
    		
    f2e824
    			
    f2e824
    				
    f2e824
    					
    
    f2e824
    				
    
    f2e824
    			
    
    f2e824
    		
    
    f2e824
    	
    
    f2e824
    
    
    f2e824
    
    
    f2e824
    
    
    f2e824
    	
    f2e824
    		

    f2e824
    		
    f2e824
    			<form method="post" action="<?php echo calendar::url('edit') ?>">
    
    f2e824
    
    
    f2e824
    				
    f2e824
    					<fieldset>
    
    f2e824
    						<legend></legend>
    
    f2e824
    							

    <label for="req_cal_category"></label>

    f2e824
    							<select class="category" name="req_cal_category" id="req_cal_category">
    
    f2e824
    								<option value=""> </option> 
    
    f2e824
    								%s</option>','<option value="%s">%s</option>'); ?>
    
    f2e824
    							</select>							
    
    f2e824
    							

    f2e824
    					</fieldset>
    
    f2e824
    											
    
    f2e824
    						
    
    f2e824
    				
    f2e824
    					<fieldset>
    
    f2e824
    						<legend></legend>
    
    f2e824
    						
    f2e824
    							<select name="event_annee" > 
    
    f2e824
    								%s</option>','<option value="%s">%s</option>','year'); ?>
    
    f2e824
    							</select>
    
    f2e824
    							
    
    f2e824
    							<select name="event_mois" > 
    
    f2e824
    								%s</option>','<option value="%s">%s</option>','month'); ?>
    
    f2e824
    							</select>
    
    f2e824
    							
    
    f2e824
    							<select name="event_jour" >
    
    f2e824
    								%s</option>','<option value="%s">%s</option>','day'); ?>	
    
    f2e824
    							</select>
    
    f2e824
    						
    
    f2e824
    						
    
    f2e824
    					</fieldset>
    
    f2e824
    				
    
    f2e824
    				
    f2e824
    					<fieldset>
    
    f2e824
    						<legend></legend>
    
    f2e824
    						
    f2e824
    
    
    f2e824
    	
    
    f2e824
    						<label class="conl">
    <input type="text" name="req_username" value="<?php calendar::formValue('req_username') ?>" size="25" maxlength="25" />
    </label>
    f2e824
    						<label class="conl">
    <input type="text" name="<?php echo calendar::guestEmailName() ?> ?>" value="<?php calendar::formValue('req_username') ?>" size="50" maxlength="50" />
    </label>
    f2e824
    						
    f2e824
    
    
    f2e824
    						<label>
    <input class="longinput" type="text" name="req_subject" value="<?php calendar::formSubject(); ?>" size="80" maxlength="50" />
    </label>
    f2e824
    						<label>
    f2e824
    						<textarea id="req_message" name="req_message" rows="20" cols="95"></textarea>
    </label>
    f2e824
    f2e824
    require_once PT_INC_PATH.'libs/puntoolbar_smilies.php'; 
    
    f2e824
    $ptb = new puntoolbarSmilies($puntal);
    
    f2e824
    echo $ptb->generatePtb('req_message');
    
    f2e824
    ?>						
    
    f2e824
    						
    f2e824
    							
  • : pun_config['p_message_bbcode'] == '1') ? __('Enabled') : __('Disabled'); ?>
  • f2e824
    							
  • : pun_config['p_message_img_tag'] == '1') ? __('Enabled') : __('Disabled'); ?>
  • f2e824
    							
  • : pun_config['o_smilies'] == '1') ? __('Enabled') : __('Disabled'); ?>
  • f2e824
    						
    
    f2e824
    						
    
    f2e824
    					</fieldset>
    
    f2e824
    									
    
    f2e824
    
    
    f2e824
    f2e824
    // If we have to post new topic
    
    f2e824
    if (pt_mod_calendar_forum_id > 0) : ?>
    
    f2e824
    
    
    f2e824
    			
    f2e824
    				<fieldset>
    
    f2e824
    					<legend></legend>
    
    f2e824
    					
    f2e824
    						
    f2e824
    	
    
    f2e824
    
    
    f2e824
    		
    
    f2e824
    						<label><input type="checkbox" name="hide_smilies" value="1" <?php calendar::checked('hide_smilies');?> /></label>
    
    f2e824
    		
    
    f2e824
    		
    
    f2e824
    						<label><input type="checkbox" name="subscribe" value="1" <?php calendar::checked('subscribe'); ?> /> </label>
    
    f2e824
    		
    
    f2e824
    	
    
    f2e824
    						<label><input type="checkbox" name="hide_smilies" value="1" <?php calendar::checked('hide_smilies');?> /> </label>
    
    f2e824
    		
    
    f2e824
    						<label><input type="checkbox" name="silent" value="1" checked="checked" /> </label>
    
    f2e824
    						
    
    f2e824
    					
    
    f2e824
    				</fieldset>
    
    f2e824
    			
    
    f2e824
    	
    
    f2e824
    			

    f2e824
    				<input type="hidden" name="event_id" value="<?php echo calendar::eventId(); ?>" />
    
    f2e824
    				<input type="hidden" name="form_sent" value="1" />
    
    f2e824
    				<input type="hidden" name="form_user" value="<?php echo calendar::formUser(); ?>"/>
    
    f2e824
    				<input type="hidden" name="ptkn" value="<?php echo tpl::pTkn(); ?>" />		
    
    f2e824
    			<input type="submit" value=" <?php tpl::lang('Validate'); ?> " /><input type="submit" name="preview" value="<?php tpl::lang('Preview') ?>" />
    
    f2e824
    			

    f2e824
    		</form>
    
    f2e824
    	
    
    f2e824