Blame Extras/Puntal/themes/punbb/calendar/add_event.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
	if (calendar::hasErrors()) : ?>
4c79b5
	
4c79b5
		

4c79b5
		
4c79b5
			
4c79b5
				

4c79b5
				%s', '
  • %s
  • '); ?>
    4c79b5
    			
    
    4c79b5
    		
    
    4c79b5
    	
    
    4c79b5
    
    
    4c79b5
    
    
    4c79b5
    4c79b5
    	if (calendar::onPreview()) : ?>
    
    4c79b5
    
    
    4c79b5
    4c79b5
    	

    4c79b5
    	
    4c79b5
    		
    4c79b5
    			
    4c79b5
    				
    4c79b5
    					
    
    4c79b5
    				
    
    4c79b5
    			
    
    4c79b5
    		
    
    4c79b5
    	
    
    4c79b5
    
    
    4c79b5
    
    
    4c79b5
    
    
    4c79b5
    
    
    4c79b5
    	
    4c79b5
    		

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

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

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

    4c79b5
    					</fieldset>
    
    4c79b5
    											
    
    4c79b5
    			
    
    4c79b5
    				
    4c79b5
    					<fieldset>
    
    4c79b5
    						<legend></legend>
    
    4c79b5
    						
    4c79b5
    							

    4c79b5
    							<select class="calendar" name="event_annee" tabindex="<?php echo calendar::curIndex();?>"> 
    
    4c79b5
    								%s</option>','<option value="%s">%s</option>','year'); ?>
    
    4c79b5
    							</select>
    
    4c79b5
    							
    
    4c79b5
    							<select class="calendar" name="event_mois" tabindex="<?php echo calendar::curIndex(); ?>"> 
    
    4c79b5
    								%s</option>','<option value="%s">%s</option>','month'); ?>
    
    4c79b5
    							</select>
    
    4c79b5
    							
    
    4c79b5
    							<select class="calendar" name="event_jour" tabindex="<?php echo calendar::curIndex(); ?>">
    
    4c79b5
    								%s</option>','<option value="%s">%s</option>','day'); ?>	
    
    4c79b5
    							</select>
    
    4c79b5
    							

    4c79b5
    						
    
    4c79b5
    					</fieldset>
    
    4c79b5
    				
    
    4c79b5
    				
    4c79b5
    					<fieldset>
    
    4c79b5
    						<legend></legend>
    
    4c79b5
    						
    4c79b5
    
    
    4c79b5
    							

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

    4c79b5
    							<input type="text" name="req_username" id="req_username" class="longinput" size="80" maxlength="70" value="" tabindex="<?php echo calendar::curIndex(); ?>" />

    4c79b5
    							
    
    4c79b5
    							

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

    4c79b5
    							<input type="text" name="req_email" id="req_email" class="longinput" size="80" maxlength="70" value="" tabindex="<?php echo calendar::curIndex(); ?>" />

    4c79b5
    							
    
    4c79b5
    							
    4c79b5
    
    
    4c79b5
    
    
    4c79b5
    							

    <label for="req_category"></label>

    4c79b5
    							<select class="category" name="req_category" id="req_category">
    
    4c79b5
    								<option value=""> </option> 
    
    4c79b5
    								%s</option>','<option value="%s">%s</option>'); ?>
    
    4c79b5
    							</select>							
    
    4c79b5
    							

    4c79b5
    
    
    4c79b5
    							

    <label for="req_subject"></label>

    4c79b5
    							<input type="text" name="req_subject" id="req_subject" class="longinput" size="80" maxlength="70" value="<?php calendar::formSubject(); ?>" tabindex="<?php echo calendar::curIndex(); ?>" />

    4c79b5
    							
    
    4c79b5
    							

    <label for="req_message"></label>

    4c79b5
    							<textarea name="req_message" id="req_message" cols="55" rows="10" tabindex="<?php echo calendar::curIndex(); ?>"></textarea>

    4c79b5
    4c79b5
    require_once PT_INC_PATH.'libs/puntoolbar_smilies.php'; 
    
    4c79b5
    $ptb = new puntoolbarSmilies($puntal);
    
    4c79b5
    echo $ptb->generatePtb('req_message');
    
    4c79b5
    ?>	
    
    4c79b5
    							
    4c79b5
    								
  • : pun_config['p_message_bbcode'] == '1') ? __('Enabled') : __('Disabled'); ?>
  • 4c79b5
    								
  • : pun_config['p_message_img_tag'] == '1') ? __('Enabled') : __('Disabled'); ?>
  • 4c79b5
    								
  • : pun_config['o_smilies'] == '1') ? __('Enabled') : __('Disabled'); ?>
  • 4c79b5
    							
    
    4c79b5
    						
    
    4c79b5
    					</fieldset>
    
    4c79b5
    									
    
    4c79b5
    4c79b5
    // If we have to post new topic
    
    4c79b5
    if (pt_mod_calendar_forum_id > 0) : ?>
    
    4c79b5
    	
    
    4c79b5
    			
    4c79b5
    				<fieldset>
    
    4c79b5
    					<legend></legend>
    
    4c79b5
    					
    4c79b5
    						
    4c79b5
    	
    
    4c79b5
    		
    
    4c79b5
    			<label><input type="checkbox" name="hide_smilies" value="1" tabindex="<?php calendar::curIndex(); ?>" <?php calendar::checked('hide_smilies');?> /> </label>
    
    4c79b5
    		
    
    4c79b5
    		
    
    4c79b5
    			<label><input type="checkbox" name="subscribe" value="1" tabindex="<?php calendar::curIndex(); ?>" <?php calendar::checked('subscribe'); ?> /> </label>
    
    4c79b5
    		
    
    4c79b5
    	
    
    4c79b5
    						
    
    4c79b5
    					
    
    4c79b5
    				</fieldset>
    
    4c79b5
    			
    
    4c79b5
    				
    
    4c79b5
    	
    
    4c79b5
    			

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

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

    4c79b5
    		</form>
    
    4c79b5
    	
    
    4c79b5