forked from bborn/communityengine
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Integrated the header into the general appappeal header so much code …
…could be deleted. Header content contains what is left of the old community engine header.
- Loading branch information
Showing
3 changed files
with
29 additions
and
39 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#NavBar | ||
%ul | ||
- Category.find(:all).each do |c| | ||
= topnav_tab c.name, {:url => category_path(c), :section => c.name} | ||
= topnav_tab "Forums".l, { :url => forums_path, :section => 'forums' } | ||
= topnav_tab "Popular".l, { :url => popular_path, :section => 'popular' } | ||
= topnav_tab "People".l, { :url => users_path, :section => 'users' } | ||
- if current_user | ||
= topnav_tab "My Profile".l, { :url => user_path(current_user), :section => 'my_profile'} | ||
|
||
/ SiteSearch Google | ||
%form{:method=>"get", :action=>"http://www.google.com/custom", :target=>"_top"} | ||
%input{ :type=>"hidden", :name=>"domains", :value=>"#{APP_URL}"} | ||
%label{ :for=>"search", :style=>"display: none"} | ||
= "Search #{AppConfig.community_name}" | ||
%input{ :type=>"text",:name=>"q", :size=>"17", :maxlength=>"255", :id=>"search"} | ||
%input{ :type=>"hidden", :name=>"sitesearch", :value=>"#{APP_URL}", :id=>"ss1"} | ||
%input{ :type=>"hidden", :name=>"client", :value=>"pub-9113954708528841"} | ||
%input{ :type=>"hidden", :name=>"forid", :value=>"1"} | ||
%input{ :type=>"hidden", :name=>"channel", :value=>"1842224655"} | ||
%input{ :type=>"hidden", :name=>"ie", :value=>"ISO-8859-1"} | ||
%input{ :type=>"hidden", :name=>"oe", :value=>"ISO-8859-1"} | ||
%input{ :type=>"hidden", :name=>"cof", :value=>"GALT:#008000;GL:1;DIV:#FFFFFF;VLC:663399;AH:center;BGC:FFFFFF;LBGC:FFFFFF;ALC:0066CC;LC:0066CC;T:000000;GFNT:0000FF;GIMP:0000FF;LH:50;LW:90;S:http://#{APP_URL};FORID:1"} | ||
%input{ :type=>"hidden", :name=>"hl", :value=>"en"} |