</div> <div class="checkbox"> <label> <input type="checkbox" name="user_priv[post_editor]"<?php echo \App\Functions::isChecked($post_editor); ?> > Allow users to use the WYSIWYG editor when making a new post. </label> </div> <div class="checkbox"> <label> <input type="checkbox" name="user_priv[change_theme]"<?php echo \App\Functions::isChecked($change_theme); ?> > Allow users to change their css theme. </label> </div> <hr /> <div class="form-group "> <div class="dropdown"> <label class="control-label">Website Default Css Theme</label> <select class="selectpicker" name="default_theme"> <option value="<?php echo $default_theme->id; ?> "><?php
/** * returns the welcome page * @return [string] returns twig template */ public function welcome() { $c = array('var_one' => Fn::myFunction(), 'slug' => 'welcome'); return view('welcome.haml', $c); }
echo $ban_cat_id; ?> "<?php echo \App\Functions::isChecked($user->categoriesBan()); ?> > Ban user from adding new categories. (If users are allowed to add categories set via admin) </label> </div> <div class="checkbox"> <label> <input type="checkbox" name="ban_message" value="<?php echo $ban_message_id; ?> " <?php echo \App\Functions::isChecked($user->messageBan()); ?> > Ban user from sending messages to other users. </label> </div> <br /> <div class="form-group"> <div class=""> <button type="submit" class="btn btn-primary">Update Settings</button> </div> </div> </form> <br /> </div>