?> </td> </tr> <tr> <td><?php echo T_('Website'); ?> </td> <td> <input type="text" name="website" value="<?php echo scrub_out($_REQUEST['website']); ?> " /> <?php AmpError::display('website'); ?> </td> </tr> </table> <div class="formValidation"> <?php echo Core::form_register('add_label'); ?> <input class="button" type="submit" value="<?php echo T_('Add'); ?> " /> </div> </form> <?php UI::show_box_bottom();
<td> <?php echo T_('End'); ?> : <?php Error::display('end'); ?> <input type="text" name="end" value="<?php if ($action == 'show_add_current') { echo scrub_out($_SERVER['REMOTE_ADDR']); } else { echo scrub_out($_REQUEST['end']); } ?> " /> </td> </tr> </table> <div class="formValidation"> <?php echo Core::form_register('add_acl'); ?> <input class="button" type="submit" value="<?php echo T_('Create ACL'); ?> " /> </div> </form> <?php UI::show_box_bottom();
</td> </tr> <tr> <td><?php echo T_('Clear Stats'); ?> :</td> <td> <input type="checkbox" name="clear_stats" value="1" /> </td> </tr> </table> <div class="formValidation"> <input type="hidden" name="user_id" value="<?php echo scrub_out($client->id); ?> " /> <?php echo Core::form_register('update_user'); ?> <input type="hidden" name="tab" value="<?php echo scrub_out($_REQUEST['tab']); ?> " /> <input class="button" type="submit" value="<?php echo T_('Update Account'); ?> " /> </div> </form>
</option> <option value="movie"><?php echo T_('Movie'); ?> </option> <option value="personal_video"><?php echo T_('Personal Video'); ?> </option> <?php } ?> </select> </td> </tr> </table> <div id="catalog_type_fields"> </div> <div class="formValidation"> <input type="hidden" name="action" value="add_catalog" /> <?php echo Core::form_register('add_catalog'); ?> <input class="button" type="submit" value="<?php echo T_('Add Catalog'); ?> " /> </div> </form> <?php UI::show_box_bottom();
<tr> <td> <?php echo T_('Avatar'); ?> (< <?php echo UI::format_bytes(AmpConfig::get('max_upload_size')); ?> ) </td> <td> <input type="file" id="avatar" name="avatar" value="" /> <input type="hidden" name="MAX_FILE_SIZE" value="<?php echo AmpConfig::get('max_upload_size'); ?> " /> </td> </tr> </table> <div class="formValidation"> <?php echo Core::form_register('add_user'); ?> <input type="submit" value="<?php echo T_('Add User'); ?> " /> </div> </form> <?php UI::show_box_bottom();
create_preference_input($pref['name'], $pref['value']); ?> </td> </tr> <?php } // End foreach ($preferences['prefs'] as $pref) ?> <tr> <td> <div class="formValidation"> <input class="button" type="submit" value="<?php echo T_('Update Preferences'); ?> " /> <?php echo Core::form_register('update_preference'); ?> <input type="hidden" name="user_id" value="<?php echo scrub_out($_REQUEST['user_id']); ?> " /> </div> </td> <td> </td> </tr> </table> </form> <?php UI::show_box_bottom();
?> </td> </tr> <tr> <td><?php echo T_('Bitrate'); ?> </td> <td> <input type="text" name="bitrate" value="<?php echo scrub_out($_REQUEST['bitrate'] ?: '128'); ?> " /> <?php Error::display('bitrate'); ?> </td> </tr> </table> <div class="formValidation"> <?php echo Core::form_register('add_channel'); ?> <input class="button" type="submit" value="<?php echo T_('Create'); ?> " /> </div> </form> <?php UI::show_box_bottom();
* * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <http://www.gnu.org/licenses/>. * */ $confirmation = Core::form_register($form_name); UI::show_box_top(scrub_out($title), 'box box_confirmation'); echo $text; ?> <br /> <form method="post" action="<?php echo $path; ?> " style="display:inline;"> <input type="submit" value="<?php echo T_('Continue'); ?> " /> <?php echo $confirmation; ?>
<?php if (Access::check('interface', '50')) { ?> <tr> <td><input type="checkbox" name="sticky" /> <strong><?php echo T_('Stick this comment'); ?> </strong></td> </tr> <?php } ?> <tr> <td> <?php echo Core::form_register('add_shout'); ?> <input type="hidden" name="object_id" value="<?php echo $object->id; ?> " /> <input type="hidden" name="object_type" value="<?php echo $object_type; ?> " /> <input type="hidden" name="data" value="<?php echo $data; ?> " /> <input type="submit" value="<?php echo T_('Create');
echo T_('Make Default'); ?> </td> <td><input type="checkbox" name="make_default" value="1" <?php if ($democratic->primary) { echo "checked"; } ?> /></td> </tr> <tr><td> </td><td> </td></tr> <tr> <td><?php echo T_('Force Democratic Play'); ?> </td> <td><input type="checkbox" value="1" name="force_democratic" /></td> </tr> </table> <div class="formValidation"> <?php echo Core::form_register('create_democratic'); ?> <input type="submit" value="<?php echo T_('Update'); ?> " /> </div> </form> <?php UI::show_box_bottom();
<td> <input type="text" name="codec" value="<?php echo scrub_out($_REQUEST['codec']); ?> " /> </td> </tr> <tr> <td><?php echo T_('Catalog'); ?> </td> <td> <?php echo show_catalog_select('catalog', intval($_REQUEST['catalog'])); ?> </td> </tr> </table> <div class="formValidation"> <?php echo Core::form_register('add_radio'); ?> <input class="button" type="submit" value="<?php echo T_('Add'); ?> " /> </div> </form> <?php UI::show_box_bottom();
?> ><?php echo T_('Read'); ?> <input type="radio" name="level" value="50" <?php echo $level_50; ?> ><?php echo T_('Read/Write'); ?> <input type="radio" name="level" value="75" <?php echo $level_75; ?> ><?php echo T_('All'); ?> </td> </tr> </table> <div class="formValidation"> <?php echo Core::form_register('edit_acl'); ?> <input type="submit" value="<?php echo T_('Update'); ?> " /> </div> </form> <?php UI::show_box_bottom();
?> </span> </td> </tr> <tr> <td><?php echo T_('Clear Stats'); ?> </td> <td> <input type="checkbox" value="1" name="reset_stats" /> </td> </tr> </table> <div class="formValidation"> <input type="hidden" name="action" value="update_user" /> <input type="submit" value="<?php echo T_('Update User'); ?> " /> <?php echo Core::form_register('edit_user'); ?> <input type="hidden" name="user_id" value="<?php echo $client->id; ?> " /> </div> </form> <?php UI::show_box_bottom();
<?php if (($_REQUEST['type'] == 'song' || $_REQUEST['type'] == 'video') && Access::check_function('download') || Access::check_function('batch_download')) { ?> <tr> <td><?php echo T_('Allow Download'); ?> </td> <td> <input type="checkbox" name="allow_download" value="1" <?php echo $_REQUEST['allow_download'] || $_SERVER['REQUEST_METHOD'] === 'GET' ? 'checked' : ''; ?> /> </td> </tr> <?php } ?> </table> <div class="formValidation"> <?php echo Core::form_register('add_share'); ?> <input class="button" type="submit" value="<?php echo T_('Create'); ?> " /> </div> </form> <?php UI::show_box_bottom();
AmpError::display('feed'); ?> </td> </tr> <tr> <td><?php echo T_('Catalog'); ?> </td> <td> <?php show_catalog_select('catalog', scrub_out($_REQUEST['catalog']), '', false, 'podcast'); ?> <?php AmpError::display('catalog'); ?> </td> </tr> </table> <div class="formValidation"> <?php echo Core::form_register('add_podcast'); ?> <input class="button" type="submit" value="<?php echo T_('Subscribe'); ?> " /> </div> </form> <?php UI::show_box_bottom();
?> </td> <td> <textarea name="message" cols="64" rows="10"><?php echo scrub_out($_REQUEST['message']); ?> </textarea> <?php Error::display('message'); ?> </td> </tr> </table> <div class="formValidation"> <?php echo Core::form_register('add_pvmsg'); ?> <input class="button" type="submit" value="<?php echo T_('Send'); ?> " /> </div> </form> <script type="text/javascript"> $(function() { $( "#pvmsg_to_user" ).catcomplete({ source: function( request, response ) { $.getJSON( jsAjaxUrl, { page: 'search', action: 'search', target: 'user',