PEAK XOOPS - default to public event (hidden option) in englishin japanese

default to public event (hidden option)

  • You cannot open a new topic into this forum
  • Guests cannot post into this forum
Previous post - Next post | Parent - No child | Posted on 2004/10/28 0:47
joeblow  Private 1st Class   Posts: 19
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

  Advanced search


Login
Username or e-mail:

Password:

Remember Me

Lost Password?

Register now!