Changeset 6516
- Timestamp:
- 08/31/08 13:22:21 (3 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.5/conferences/page.conferences.php
r6422 r6516 79 79 //get details for this meetme 80 80 $thisMeetme = conferences_get($extdisplay); 81 //create variables 82 extract($thisMeetme); 81 $options = $thisMeetme['options']; 82 $userpin = $thisMeetme['userpin']; 83 $adminpin = $thisMeetme['adminpin']; 84 $description = $thisMeetme['description']; 85 $joinmsg_id = $thisMeetme['joinmsg_id']; 86 } else { 87 $options = ""; 88 $userpin = ""; 89 $adminpin = ""; 90 $description = ""; 91 $joinmsg_id = ""; 83 92 } 84 93 … … 124 133 <tr> 125 134 <td><a href="#" class="info"><?php echo _("Conference Name:")?><span><?php echo _("Give this conference a brief name to help you identify it.")?></span></a></td> 126 <td><input type="text" name="name" value="<?php echo (isset($description) ? $description : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td>135 <td><input type="text" name="name" value="<?php echo $description; ?>" tabindex="<?php echo ++$tabindex;?>"></td> 127 136 </tr> 128 137 <tr> 129 138 <td><a href="#" class="info"><?php echo _("User PIN:")?><span><?php echo _("You can require callers to enter a password before they can enter this conference.<br><br>This setting is optional.<br><br>If either PIN is entered, the user will be prompted to enter a PIN.")?></span></a></td> 130 <td><input size="8" type="text" name="userpin" value="<?php echo (isset($userpin) ? $userpin : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td>139 <td><input size="8" type="text" name="userpin" value="<?php echo $userpin; ?>" tabindex="<?php echo ++$tabindex;?>"></td> 131 140 </tr> 132 141 <tr> 133 142 <td><a href="#" class="info"><?php echo _("Admin PIN:")?><span><?php echo _("Enter a PIN number for the admin user.<br><br>This setting is optional unless the 'leader wait' option is in use, then this PIN will identify the leader.")?></span></a></td> 134 <td><input size="8" type="text" name="adminpin" value="<?php echo (isset($adminpin) ? $adminpin : ''); ?>" tabindex="<?php echo ++$tabindex;?>"></td> 135 </tr> 136 137 <?php 138 $options = (isset($options) ? $options : ""); 139 ?> 143 <td><input size="8" type="text" name="adminpin" value="<?php echo $adminpin; ?>" tabindex="<?php echo ++$tabindex;?>"></td> 144 </tr> 145 140 146 <input type="hidden" name="options" value="<?php echo $options; ?>"> 141 147 … … 148 154 <?php 149 155 $tresults = recordings_list(); 150 $default = (isset($joinmsg_id) ? $joinmsg_id : '');151 156 echo '<option value="">'._("None")."</option>"; 152 157 if (isset($tresults[0])) { 153 158 foreach ($tresults as $tresult) { 154 echo '<option value="'.$tresult['id'].'"'.($tresult['id'] == $ default? ' SELECTED' : '').'>'.$tresult['displayname']."</option>\n";159 echo '<option value="'.$tresult['id'].'"'.($tresult['id'] == $joinmsg_id ? ' SELECTED' : '').'>'.$tresult['displayname']."</option>\n"; 155 160 } 156 161 } … … 163 168 <td><a href="#" class="info"><?php echo _("Join Message:")?><span><?php echo _("Message to be played to the caller before joining the conference.<br><br>You must install and enable the \"Systems Recordings\" Module to edit this option")?></span></a></td> 164 169 <td> 165 <?php 166 $default = (isset($joinmsg_id) ? $joinmsg_id : ''); 167 ?> 168 <input type="hidden" name="joinmsg_id" value="<?php echo $default; ?>"><?php echo ($default != '' ? $default : 'None'); ?> 170 <input type="hidden" name="joinmsg_id" value="<?php echo $joinmsg_id; ?>"><?php echo ($joinmsg_id != '' ? $joinmsg_id : 'None'); ?> 169 171 </td> 170 172 </tr>
