Changeset 2467
- Timestamp:
- 09/15/06 04:41:56 (2 years ago)
- Files:
-
- modules/branches/2.2/conferences/functions.inc.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.2/conferences/functions.inc.php
r2466 r2467 81 81 // userpin -- must do always, otherwise if there is just an adminpin 82 82 // there would be no way to get to the conference ! 83 $ext->add($contextname, $roomnum, '', new ext_gotoif('$[ foo${PIN} = foo'.$roomuserpin.']','USER'));83 $ext->add($contextname, $roomnum, '', new ext_gotoif('$[x${PIN} = x'.$roomuserpin.']','USER')); 84 84 85 85 // admin pin -- exists 86 86 if ($roomadminpin != '') { 87 $ext->add($contextname, $roomnum, '', new ext_gotoif('$[ ${PIN} ='.$roomadminpin.']','ADMIN'));87 $ext->add($contextname, $roomnum, '', new ext_gotoif('$[x${PIN} = x'.$roomadminpin.']','ADMIN')); 88 88 } 89 89 90 90 // pin invalid 91 $ext->add($contextname, $roomnum, '', new ext_setvar('PINCOUNT','$ {PINCOUNT} + 1'));91 $ext->add($contextname, $roomnum, '', new ext_setvar('PINCOUNT','$[${PINCOUNT}+1]')); 92 92 $ext->add($contextname, $roomnum, '', new ext_gotoif('$[${PINCOUNT}>3]', "h")); 93 93 $ext->add($contextname, $roomnum, '', new ext_playback('conf-invalidpin'));
