Вход Регистрация
Файл: adultscript-2.0.3-pro/files/templates/defboot/user_preferences.tpl.php
Строк: 438
<?php defined('_VALID') or die('Restricted Access!'); ?>
    <?php echo $this->fetch('_user_header'); ?>
                    <form id="edit-notifications-form" class="form-horizontal" method="post" action="<?php echo REL_URL?>/user/preferences/">
                        <p class="lead"><?php echo __('notifications-help'); ?></p>
                        <div class="form-group">
                            <label for="profile" class="col-sm-2 control-label"><?php echo __('show-profile'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="profile" type="radio" id="profile_all" value="all"<?php if ($this->prefs['profile'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="profile" type="radio" id="profile_friends" value="friends"<?php if ($this->prefs['profile'] == 'friends'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="profile" type="radio" id="profile_no" value="no"<?php if ($this->prefs['profile'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="profile_comments" class="col-sm-2 control-label"><?php echo __('show-profile-comments'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="profile_comments" type="radio" id="profile_comments_all" value="all"<?php if ($this->prefs['profile_comments'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="profile_comments" type="radio" id="profile_comments_friends" value="friends"<?php if ($this->prefs['profile_comments'] == 'friends'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="profile_comments" type="radio" id="profile_comments_no" value="no"<?php if ($this->prefs['profile_comments'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="show_videos" class="col-sm-2 control-label"><?php echo __('show-my-videos'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="show_videos" type="radio" id="show_videos_all" value="all"<?php if ($this->prefs['show_videos'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="show_videos" type="radio" id="show_videos_friends" value="friends"<?php if ($this->prefs['show_videos'] == 'friends'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="show_videos" type="radio" id="show_videos_no" value="no"<?php if ($this->prefs['show_videos'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="show_video_history" class="col-sm-2 control-label"><?php echo __('show-my-video-history'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="show_video_history" type="radio" id="show_video_history_all" value="all"<?php if ($this->prefs['show_video_history'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="show_video_history" type="radio" id="show_video_history_friends" value="friends"<?php if ($this->prefs['show_video_history'] == 'friends'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="show_video_history" type="radio" id="show_video_history_no" value="no"<?php if ($this->prefs['show_video_history'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="show_video_favorites" class="col-sm-2 control-label"><?php echo __('show-my-favorite-videos'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="show_video_favorites" type="radio" id="show_video_favorites_all" value="all"<?php if ($this->prefs['show_video_favorites'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="show_video_favorites" type="radio" id="show_video_favorites_friends" value="friends"<?php if ($this->prefs['show_video_favorites'] == 'friends'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="show_video_favorites" type="radio" id="show_video_favorites_no" value="no"<?php if ($this->prefs['show_video_favorites'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="show_video_playlists" class="col-sm-2 control-label"><?php echo __('show-my-video-playlists'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="show_video_playlists" type="radio" id="show_video_playlists_all" value="all"<?php if ($this->prefs['show_video_playlists'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="show_video_playlists" type="radio" id="show_video_playlists_friends" value="friends"<?php if ($this->prefs['show_video_playlists'] == 'friends'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="show_video_playlists" type="radio" id="show_video_playlists_no" value="no"<?php if ($this->prefs['show_video_playlists'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="show_video_ratings" class="col-sm-2 control-label"><?php echo __('show-my-rated-videos'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="show_video_ratings" type="radio" id="show_video_ratings_all" value="all"<?php if ($this->prefs['show_video_ratings'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="show_video_ratings" type="radio" id="show_video_ratings_friends" value="friends"<?php if ($this->prefs['show_video_ratings'] == 'friends'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="show_video_ratings" type="radio" id="show_video_ratings_no" value="no"<?php if ($this->prefs['show_video_ratings'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <?php if (VModule::enabled('photo')): ?>
                        <div class="form-group">
                            <label for="show_albums" class="col-sm-2 control-label"><?php echo __('show-my-photo-albums'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="show_albums" type="radio" id="show_albums_all" value="all"<?php if ($this->prefs['show_albums'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="show_albums" type="radio" id="show_albums_friends" value="friends"<?php if ($this->prefs['show_albums'] == 'friends'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="show_albums" type="radio" id="show_albums_no" value="no"<?php if ($this->prefs['show_albums'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="show_photo_favorites" class="col-sm-2 control-label"><?php echo __('show-my-favorite-photos'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="show_photo_favorites" type="radio" id="show_photo_favorites_all" value="all"<?php if ($this->prefs['show_photo_favorites'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="show_photo_favorites" type="radio" id="show_photo_favorites_friends" value="friends"<?php if ($this->prefs['show_photo_favorites'] == 'friends'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="show_photo_favorites" type="radio" id="show_photo_favorites_no" value="no"<?php if ($this->prefs['show_photo_favorites'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <?php endif; ?>
                        <div class="form-group">
                            <label for="show_friends" class="col-sm-2 control-label"><?php echo __('show-my-friends'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="show_friends" type="radio" id="show_friends_all" value="all"<?php if ($this->prefs['show_friends'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="show_friends" type="radio" id="show_friends_friends" value="friends"<?php if ($this->prefs['show_friends'] == 'friends'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="show_friends" type="radio" id="show_friends_no" value="no"<?php if ($this->prefs['show_friends'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="show_subscribers" class="col-sm-2 control-label"><?php echo __('show-my-subscribers'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="show_subscribers" type="radio" id="show_subscribers_all" value="all"<?php if ($this->prefs['show_subscribers'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="show_subscribers" type="radio" id="show_subscribers_subscribers" value="friends"<?php if ($this->prefs['show_subscribers'] == 'subscribers'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="show_subscribers" type="radio" id="show_subscribers_no" value="no"<?php if ($this->prefs['show_subscribers'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="show_subscriptions" class="col-sm-2 control-label"><?php echo __('show-my-subscriptions'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="show_subscriptions" type="radio" id="show_subscriptions_all" value="all"<?php if ($this->prefs['show_subscriptions'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="show_subscriptions" type="radio" id="show_subscriptions_subscriptions" value="friends"<?php if ($this->prefs['show_subscriptions'] == 'subscriptions'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="show_subscriptions" type="radio" id="show_subscriptions_no" value="no"<?php if ($this->prefs['show_subscriptions'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="show_activity" class="col-sm-2 control-label"><?php echo __('show-my-activities'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="show_activity" type="radio" id="show_activity_all" value="all"<?php if ($this->prefs['show_activity'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="show_activity" type="radio" id="show_activity_activity" value="friends"<?php if ($this->prefs['show_activity'] == 'activity'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="show_activity" type="radio" id="show_activity_no" value="no"<?php if ($this->prefs['show_activity'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="allow_comment" class="col-sm-2 control-label"><?php echo __('allow-profile-comments'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="allow_comment" type="radio" id="allow_comment_all" value="all"<?php if ($this->prefs['allow_comments'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="allow_comment" type="radio" id="allow_comment_comment" value="friends"<?php if ($this->prefs['allow_comments'] == 'comment'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="allow_comment" type="radio" id="allow_comment_approve" value="approve"<?php if ($this->prefs['allow_comments'] == 'approve'): echo ' checked="checked"'; endif; echo '> ',__('approve'); ?></label>
                                  <label class="radio-inline"><input name="allow_comment" type="radio" id="allow_comment_no" value="no"<?php if ($this->prefs['allow_comments'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <label for="allow_message" class="col-sm-2 control-label"><?php echo __('allow-private-messages'); ?></label>
                            <div class="col-sm-9">
                                  <label class="radio-inline"><input name="allow_message" type="radio" id="allow_message_all" value="all"<?php if ($this->prefs['allow_message'] == 'all'): echo ' checked="checked"'; endif; echo '> ',__('yes'); ?></label>
                                  <label class="radio-inline"><input name="allow_message" type="radio" id="allow_message_friends" value="friends"<?php if ($this->prefs['allow_message'] == 'friends'): echo ' checked="checked"'; endif; echo '> ',__('friends'); ?></label>
                                  <label class="radio-inline"><input name="allow_message" type="radio" id="allow_message_no" value="no"<?php if ($this->prefs['allow_message'] == 'no'): echo ' checked="checked"'; endif; echo '> ',__('no'); ?></label>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="col-sm-offset-2 col-sm-10">
                                <button name="submit_preferences_edit" id="submit-preferences-edit" class="btn btn-lg btn-default"><?php echo __('preferences-update'); ?></button>
                            </div>
                        </div>                        
                    </form>
                </div>
    <?php echo $this->fetch('_user_footer'); ?>
Онлайн: 0
Реклама