Commit e2d98887f1ff3df8c1c152a678ee2ffc9eda4d95

Authored by Neil Blakey-Milner
1 parent b6be9ebb

Move navbar graphics under the navbar/ directory


git-svn-id: https://kt-dms.svn.sourceforge.net/svnroot/kt-dms/trunk@2960 c91229c3-7414-0410-bfa2-8a42b809f60b
Showing 1 changed file with 34 additions and 34 deletions
lib/visualpatterns/NavBar.inc
... ... @@ -54,14 +54,14 @@ class NavBar {
54 54 $this->sCategoryName = $sTmpCategoryName;
55 55 $this->iDocTypeID = $iTmpDocTypeID;
56 56  
57   - $this->mdocs = "$default->graphicsUrl/mdocs/norm.gif";
58   - $this->home = "$default->graphicsUrl/home/norm.gif";
59   - $this->subscriptions = "$default->graphicsUrl/subscriptions/norm.gif";
60   - $this->asearch = "$default->graphicsUrl/asearch/norm.gif";
61   - $this->admin = "$default->graphicsUrl/admin/norm.gif";
62   - $this->prefs = "$default->graphicsUrl/prefs/norm.gif";
63   - $this->help = "$default->graphicsUrl/help/norm.gif";
64   - $this->logout = "$default->graphicsUrl/logout/norm.gif";
  57 + $this->mdocs = "$default->graphicsUrl/navbar/mdocs/norm.gif";
  58 + $this->home = "$default->graphicsUrl/navbar/home/norm.gif";
  59 + $this->subscriptions = "$default->graphicsUrl/navbar/subscriptions/norm.gif";
  60 + $this->asearch = "$default->graphicsUrl/navbar/asearch/norm.gif";
  61 + $this->admin = "$default->graphicsUrl/navbar/admin/norm.gif";
  62 + $this->prefs = "$default->graphicsUrl/navbar/prefs/norm.gif";
  63 + $this->help = "$default->graphicsUrl/navbar/help/norm.gif";
  64 + $this->logout = "$default->graphicsUrl/navbar/logout/norm.gif";
65 65  
66 66 $this->mdocsClass = "dash";
67 67 $this->homeClass = "dash";
... ... @@ -93,55 +93,55 @@ class NavBar {
93 93  
94 94 // check for highlighting..and highlight as required
95 95 if($section == "General") {
96   - $this->home = "$default->graphicsUrl/home/over.gif";
97   - $this->nwColourBar = "$default->graphicsUrl/home/def.gif";
  96 + $this->home = "$default->graphicsUrl/navbar/home/over.gif";
  97 + $this->nwColourBar = "$default->graphicsUrl/navbar/home/def.gif";
98 98 $this->homeClass = "dashactive";
99 99 }
100 100  
101 101 if(($section == "Manage Documents") || ($section == "Manage Categories") || ($section == "Manage Document Types")) {
102   - $this->mdocs = "$default->graphicsUrl/mdocs/over.gif";
103   - $this->nwColourBar = "$default->graphicsUrl/mdocs/def.gif";
  102 + $this->mdocs = "$default->graphicsUrl/navbar/mdocs/over.gif";
  103 + $this->nwColourBar = "$default->graphicsUrl/navbar/mdocs/def.gif";
104 104 $this->mdocsClass = "dashactive";
105 105 }
106 106 if($section == "Discussion Threads" ) {
107   - $this->mdocs = "$default->graphicsUrl/mdocs/over.gif";
108   - $this->nwColourBar = "$default->graphicsUrl/mdocs/def.gif";
  107 + $this->mdocs = "$default->graphicsUrl/navbar/mdocs/over.gif";
  108 + $this->nwColourBar = "$default->graphicsUrl/navbar/mdocs/def.gif";
109 109 $this->mdocsClass = "dashactive";
110 110 }
111 111  
112 112 if($section == "Subscriptions") {
113   - $this->subscriptions = "$default->graphicsUrl/subscriptions/over.gif";
114   - $this->nwColourBar = "$default->graphicsUrl/subscriptions/def.gif";
  113 + $this->subscriptions = "$default->graphicsUrl/navbar/subscriptions/over.gif";
  114 + $this->nwColourBar = "$default->graphicsUrl/navbar/subscriptions/def.gif";
115 115 $this->subscriptionsClass = "dashactive";
116 116 }
117 117  
118 118 if(($section == "Standard Search") || ($section == "Advanced Search")) {
119   - $this->asearch = "$default->graphicsUrl/asearch/over.gif";
120   - $this->nwColourBar = "$default->graphicsUrl/asearch/def.gif";
  119 + $this->asearch = "$default->graphicsUrl/navbar/asearch/over.gif";
  120 + $this->nwColourBar = "$default->graphicsUrl/navbar/asearch/def.gif";
121 121 $this->asearchClass = "dashactive";
122 122 }
123 123  
124 124 if(substr($section, -14) == "Administration") {
125   - $this->admin = "$default->graphicsUrl/admin/over.gif";
126   - $this->nwColourBar = "$default->graphicsUrl/admin/def.gif";
  125 + $this->admin = "$default->graphicsUrl/navbar/admin/over.gif";
  126 + $this->nwColourBar = "$default->graphicsUrl/navbar/admin/def.gif";
127 127 $this->adminClass = "dashactive";
128 128 }
129 129  
130 130 if($section == "Preferences") {
131   - $this->prefs = "$default->graphicsUrl/prefs/over.gif";
132   - $this->nwColourBar = "$default->graphicsUrl/prefs/def.gif";
  131 + $this->prefs = "$default->graphicsUrl/navbar/prefs/over.gif";
  132 + $this->nwColourBar = "$default->graphicsUrl/navbar/prefs/def.gif";
133 133 $this->prefsClass = "dashactive";
134 134 }
135 135  
136 136 if($section == "Help") {
137   - $this->help = "$default->graphicsUrl/help/over.gif";
138   - $this->nwColourBar = "$default->graphicsUrl/help/def.gif";
  137 + $this->help = "$default->graphicsUrl/navbar/help/over.gif";
  138 + $this->nwColourBar = "$default->graphicsUrl/navbar/help/def.gif";
139 139 $this->helpClass = "dashactive";
140 140 }
141 141  
142 142 if($section == "Logout") {
143   - $this->logout = "$default->graphicsUrl/logout/over.gif";
144   - $this->nwColourBar = "$default->graphicsUrl/logout/def.gif";
  143 + $this->logout = "$default->graphicsUrl/navbar/logout/over.gif";
  144 + $this->nwColourBar = "$default->graphicsUrl/navbar/logout/def.gif";
145 145 $this->logoutClass = "dashactive";
146 146 }
147 147 }
... ... @@ -157,14 +157,14 @@ class NavBar {
157 157 $hStretched = "$default->graphicsUrl/hrepeat.gif";
158 158  
159 159 // set colour pics for row 4 of navbar
160   - $colourHome = "$default->graphicsUrl/home/colour.gif";
161   - $colourmdocs = "$default->graphicsUrl/mdocs/colour.gif";
162   - $coloursubscriptions = "$default->graphicsUrl/subscriptions/colour.gif";
163   - $colourasearch = "$default->graphicsUrl/asearch/colour.gif";
164   - $colouradmin = "$default->graphicsUrl/admin/colour.gif";
165   - $colourprefs = "$default->graphicsUrl/prefs/colour.gif";
166   - $colourhelp = "$default->graphicsUrl/help/colour.gif";
167   - $colourlogout = "$default->graphicsUrl/logout/colour.gif";
  160 + $colourHome = "$default->graphicsUrl/navbar/home/colour.gif";
  161 + $colourmdocs = "$default->graphicsUrl/navbar/mdocs/colour.gif";
  162 + $coloursubscriptions = "$default->graphicsUrl/navbar/subscriptions/colour.gif";
  163 + $colourasearch = "$default->graphicsUrl/navbar/asearch/colour.gif";
  164 + $colouradmin = "$default->graphicsUrl/navbar/admin/colour.gif";
  165 + $colourprefs = "$default->graphicsUrl/navbar/prefs/colour.gif";
  166 + $colourhelp = "$default->graphicsUrl/navbar/help/colour.gif";
  167 + $colourlogout = "$default->graphicsUrl/navbar/logout/colour.gif";
168 168  
169 169 // get list of sections
170 170 $aTopMenuLinks = array(generateControllerUrl("dashboard"),
... ...