dynamic loading and editing of plugin configs is now complete minus using bootstrap switches, when you used them it would send to submits basically making the value the orignal value again. Will have to look into this as a bug maybe.
minor changes to make auth functions work
small changes/ cleanup
some more minor changes to allow loading of plugin values from the database without having to hard code them in config.php anymore
changes to installer, this version works but has no nav bars yet adding next to modify the nav system to autoload links and what not. User at own risk until noted as good to go

--
-- Table structure for table `uf_templates`
--

CREATE TABLE IF NOT EXISTS `uf_templates` (
`id` int(11) NOT NULL,
  `name` varchar(150) COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'name of the template',
  `value` text COLLATE utf8mb4_unicode_ci NOT NULL COMMENT 'template code'
) ENGINE=InnoDB  DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci AUTO_INCREMENT=3 ;

--
-- Dumping data for table `uf_templates`
--

INSERT INTO `uf_templates` (`id`, `name`, `value`) VALUES
(1, 'menu-1', '<!-- Brand and toggle get grouped for better mobile display -->\r\n\r\n<div class="navbar-header">\r\n  <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">\r\n	<span class="sr-only">Toggle navigation</span>\r\n	<span class="icon-bar"></span>\r\n	<span class="icon-bar"></span>\r\n	<span class="icon-bar"></span>\r\n  </button>\r\n  <a class="navbar-brand" href="../account/index.php">#WEBSITENAME#</a>\r\n</div>\r\n\r\n<div class="collapse navbar-collapse navbar-ex1-collapse">\r\n<!-- Collect the nav links, forms, and other content for toggling -->\r\n  <ul class="nav navbar-nav side-nav">\r\n	  <li class="navitem-dashboard"><a href="../account/dashboard.php"><i class="fa fa-dashboard"></i> Dashboard</a></li>\r\n	  <li class=''navitem-settings''><a href="../account/account_settings.php"><i class="fa fa-gear"></i> Account Settings</a></li>\r\n  </ul>\r\n  <ul class="nav navbar-master navbar-nav navbar-right">\r\n    <!--<li class=''navitem-pms''><a href="../privatemessages/pm.php"><i class="fa fa-envelope"></i> Private Messages</a></li>-->\r\n	<li class="dropdown user-dropdown">\r\n	  <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> #USERNAME# <b class="caret"></b></a>\r\n	  <ul class="dropdown-menu">\r\n		<li><a href="../account/account_settings.php"><i class="fa fa-gear"></i> Account Settings</a></li>\r\n		<li class="divider"></li>\r\n		<li><a href="../account/logout.php"><i class="fa fa-power-off"></i> Log Out</a></li>\r\n	  </ul>\r\n	</li>\r\n  </ul>\r\n</div><!-- /.navbar-collapse -->'),
(2, 'menu-2', '<!-- Brand and toggle get grouped for better mobile display -->\r\n\r\n<div class="navbar-header">\r\n  <button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-ex1-collapse">\r\n	<span class="sr-only">Toggle navigation</span>\r\n	<span class="icon-bar"></span>\r\n	<span class="icon-bar"></span>\r\n	<span class="icon-bar"></span>\r\n  </button>\r\n  <a class="navbar-brand" href="../account/index.php">#WEBSITENAME#</a>\r\n  #HEADERMESSAGE#\r\n</div>\r\n\r\n<div class="collapse navbar-collapse navbar-ex1-collapse">\r\n<!-- Collect the nav links, forms, and other content for toggling -->\r\n\r\n  <ul class="nav navbar-nav side-nav">\r\n	  <li class=''navitem-dashboard-admin''><a href=''../account/dashboard_admin.php''><i class=''fa fa-dashboard''></i> Admin Dashboard</a></li>\r\n	  <li class=''navitem-users''><a href=''../account/users.php''><i class=''fa fa-users''></i> Users</a></li>\r\n	  <li class="navitem-dashboard"><a href="../account/dashboard.php"><i class="fa fa-dashboard"></i> Dashboard</a></li>\r\n	  <li class=''navitem-settings''><a href="../account/account_settings.php"><i class="fa fa-gear"></i> Account Settings</a></li>\r\n	  <li class=''dropdown''>\r\n		  <a href=''#'' class=''dropdown-toggle'' data-toggle=''dropdown''><i class=''fa fa-wrench''></i> Site Settings <b class=''caret''></b></a>\r\n		  <ul class=''dropdown-menu''>\r\n			  <li class=''navitem-site-settings''><a href=''../account/site_settings.php''><i class=''fa fa-globe''></i> Site Configuration</a></li>\r\n              <li class=''navitem-groups''><a href=''../account/groups.php''><i class=''fa fa-users''></i> Groups</a></li>\r\n              <li class=''navitem-site-pages''><a href=''../account/site_authorization.php''><i class=''fa fa-key''></i> Authorization</a></li>\r\n		  </ul>\r\n	  </li>\r\n  </ul>\r\n  <ul class="nav navbar-master navbar-nav navbar-right">\r\n    <li class=''navitem-pms''><a href="../privatemessages/pm.php"><i class="fa fa-envelope"></i> Private Messages</a></li>\r\n	<li class="dropdown user-dropdown">\r\n	  <a href="#" class="dropdown-toggle" data-toggle="dropdown"><i class="fa fa-user"></i> #USERNAME# <b class="caret"></b></a>\r\n	  <ul class="dropdown-menu">\r\n		<li><a href="../account/account_settings.php"><i class="fa fa-gear"></i> Account Settings</a></li>\r\n		<li class="divider"></li>\r\n		<li><a href="../account/logout.php"><i class="fa fa-power-off"></i> Log Out</a></li>\r\n	  </ul>\r\n	</li>\r\n  </ul>\r\n</div><!-- /.navbar-collapse -->');

--
-- Indexes for table `uf_templates`
--
ALTER TABLE `uf_templates`
 ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for table `uf_templates`
--
ALTER TABLE `uf_templates`
MODIFY `id` int(11) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=3;
minor edit
Merge pull request #20 from lilfade/dev

Dev