default to public event (hidden option)
- You cannot open a new topic into this forum
- Guests cannot post into this forum
msg# 1
Previous post
-
Next post
|
Parent
-
No child
|
Posted on 2004/10/28 0:47
if i hide the private/public toggle on the submit event form to admin only, it registers events from user with this field blank (neither PRIVATE or PUBLIC in the database). is there a way to hide the following code from the database but still have all events default to public?
".($this->isadmin?"<tr>
<td class='head'>"._PICAL_TH_CLASS."</td>
<td class='even'><input type='radio' name='class' value='PUBLIC' $class_public onClick='document.MainForm.groupid.disabled=true'>"._PICAL_MB_PUBLIC." <input type='radio' name='class' value='PRIVATE' $class_private onClick='document.MainForm.groupid.disabled=false'>"._PICAL_MB_PRIVATE.sprintf( _PICAL_MB_PRIVATETARGET , $select_private )."</td>
</tr>":"")."
Votes:0
Average:0.00