Skip to content

Commit

Permalink
Created settings page added almost all settings, still a few to go.
Browse files Browse the repository at this point in the history
  • Loading branch information
Sergey Chernyshev committed Jan 13, 2013
1 parent d19b6c6 commit 5f69aab
Show file tree
Hide file tree
Showing 6 changed files with 714 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,6 @@
[submodule "modules/facebook/facebook-php-sdk"]
path = modules/facebook/facebook-php-sdk
url = git://github.com/facebook/facebook-php-sdk.git
[submodule "trunk8"]
path = trunk8
url = git://github.com/rviscomi/trunk8.git
8 changes: 5 additions & 3 deletions admin/header.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,8 +59,8 @@
new Menu('badges', 'Badges', $ADMIN_ROOT . '/badges.php', 'star')
)),
new MenuSection('settings', 'Settings', null, array(
new Menu('features', 'Features', $ADMIN_ROOT . '/features.php', 'check', $features_num > 0, 'No features defined in this app'),
new Menu('templates', 'Templates', $ADMIN_ROOT . '/templates.php', 'list-alt', false),
new Menu('systemsettings', 'System Settings', $ADMIN_ROOT . '/settings.php', 'wrench'),
new Menu('features', 'Features', $ADMIN_ROOT . '/features.php', 'check', $features_num > 0, 'No features defined in this app')
))
));

Expand All @@ -80,6 +80,8 @@
<link href="<?php echo UserConfig::$USERSROOTURL ?>/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
<script src="<?php echo UserConfig::$USERSROOTURL ?>/jquery-1.8.2.min.js"></script>
<script src="<?php echo UserConfig::$USERSROOTURL ?>/bootstrap/js/bootstrap.min.js"></script>
<link href="<?php echo UserConfig::$USERSROOTURL ?>/bootstrap/css/bootstrap-responsive.min.css" rel="stylesheet">
<link rel="stylesheet" type="text/css" href="<?php echo UserConfig::$USERSROOTURL ?>/themes/<?php echo UserConfig::$theme ?>/startupapi.css">
<style>
.startupapi-sidebar.affix {
top: 4em;
Expand Down Expand Up @@ -131,4 +133,4 @@
<?php
$admin_menu->renderBreadCrumbs($BREADCRUMB_EXTRA);
?>
</div>
</div>
Loading

0 comments on commit 5f69aab

Please sign in to comment.