Skip to content
This repository has been archived by the owner on Aug 15, 2018. It is now read-only.

Commit

Permalink
added themes top level menu entry in admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Josh Adams committed Nov 14, 2008
1 parent 43a12b0 commit f20e089
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 20 deletions.
18 changes: 1 addition & 17 deletions README
Expand Up @@ -28,23 +28,7 @@ Ansuz is licensed via the BSD license.

NOTE: SQLite has problems with ansuz, please don't use it for now.

== This software is BSD licensed

Copyright (C) 2008 Josh Adams and James Cook, Isotope 11, Inc. and Adam Dill, Isshen Solutions, Inc.

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 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 General Public License for more details.

You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
== This software is BSD licensed. See the COPYING file for details.

For help, feel free to contact the authors at:

Expand Down
6 changes: 5 additions & 1 deletion config/initializers/setup_admin_menu_entries.rb
@@ -1,5 +1,9 @@
Ansuz::PluginManagerInstance.register_admin_menu_entry "Ansuz", 'Choose a Theme', '/admin/site_settings/choose_theme'
Ansuz::PluginManagerInstance.add_top_level_menu_entry "Themes"

Ansuz::PluginManagerInstance.register_admin_menu_entry "Themes", 'Choose a Theme', '/admin/site_settings/choose_theme'

Ansuz::PluginManagerInstance.register_admin_menu_entry "Content", 'Manage Pages', '/admin/pages'

Ansuz::PluginManagerInstance.register_admin_menu_entry "Ansuz", 'Site Settings', '/admin/site_settings'
Ansuz::PluginManagerInstance.register_admin_menu_entry "Ansuz", 'List Plugins', '/admin/plugins'
Ansuz::PluginManagerInstance.register_admin_menu_entry "Ansuz", 'Logout', '/admin/account/logout'
Expand Down
2 changes: 1 addition & 1 deletion vendor/plugins/ansuz_theme_installer/init.rb
@@ -1,3 +1,3 @@
# Include hook code here
require 'ansuz/jadams/ansuz_themes_listing'
Ansuz::PluginManagerInstance.register_admin_menu_entry('Ansuz', 'Install Themes (from remote repositories)', '/admin/ansuz_theme_installers')
Ansuz::PluginManagerInstance.register_admin_menu_entry('Themes', 'Install Themes (from remote repositories)', '/admin/ansuz_theme_installers')
2 changes: 1 addition & 1 deletion vendor/plugins/ansuz_theme_repository/init.rb
@@ -1,3 +1,3 @@
# Include hook code here
require 'ansuz_theme'
Ansuz::PluginManagerInstance.register_admin_menu_entry('Ansuz', "Administer this ansuz installation's Theme Repository", '/admin/ansuz_themes')
Ansuz::PluginManagerInstance.register_admin_menu_entry('Themes', "Administer this ansuz installation's Theme Repository", '/admin/ansuz_themes')

0 comments on commit f20e089

Please sign in to comment.