Changeset 5413
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/clients/web/net/sf/basedb/clients/web/resources/common.properties
r5409 r5413 66 66 67 67 ## Item names, etc. ## 68 ## NOTE! item.xxx should match lower-case of Item.XXX enumeration 69 ## item.xxx+ is the plural version 68 70 item.file File 69 item.file sFiles71 item.file+ Files 70 72 item.fileserver File server 71 item.fileserver sFile servers73 item.fileserver+ File servers 72 74 item.project Project 73 item.project sProjects75 item.project+ Projects 74 76 item.permissiontemplate Permission template 75 item.permissiontemplate sPermission templates77 item.permissiontemplate+ Permission templates 76 78 item.message Message 77 item.message sMessages79 item.message+ Messages 78 80 item.job Job 79 item.job sJobs81 item.job+ Jobs 80 82 item.session Session 81 item.session sSessions83 item.session+ Sessions 82 84 item.hybridization Hybridization 83 item.hybridization sHybridizations85 item.hybridization+ Hybridizations 84 86 item.scan Scan 85 item.scan sScans87 item.scan+ Scans 86 88 item.rawbioassay Raw bioassay 87 item.rawbioassay sRaw bioassays89 item.rawbioassay+ Raw bioassays 88 90 item.experiment Experiment 89 item.experiment sExperiments91 item.experiment+ Experiments 90 92 item.formula Formula 91 item.formula sFormulas93 item.formula+ Formulas 92 94 item.reporter Reporter 93 item.reporter sReporters95 item.reporter+ Reporters 94 96 item.reporterlist Reporter list 95 item.reporterlists Reporter lists 97 item.reporterlist+ Reporter lists 98 item.biosource Biosource 99 item.biosource+ Biosources 100 item.sample Sample 101 item.sample+ Samples 102 item.extract Extract 103 item.extract+ Extracts 104 item.labeledextract Labeled extract 105 item.labeledextract+ Labeled extracts 106 item.label Label 107 item.label+ Labels 108 item.bioplate Bioplate 109 item.bioplate+ Bioplates 110 item.bioplatetype Bioplate type 111 item.bioplatetype+ Bioplate types 112 item.bioplateeventdefinition Bioplate event definition 113 item.bioplateeventdefinition+ Bioplate event definitions 114 item.biomateriallist Biomaterial list 115 item.biomateriallist+ Biomaterial lists 116 item.plategeometry Plate geometry 117 item.plategeometry+ Plate geometries 118 item.platetype Plate type 119 item.platetype+ Plate types 120 item.plate Plate 121 item.plate+ Plates 122 item.platemapping Plate mapping 123 item.platemapping+ Plate mappings 124 item.arraydesign Array design 125 item.arraydesign+ Array designs 126 item.arraybatch Array batch 127 item.arraybatch+ Array batches 128 item.arrayslide Array slide 129 item.arrayslide+ Array slides 130 item.user User 131 item.user+ Users 132 item.group Group 133 item.group+ Groups 134 item.role Role 135 item.role+ Roles 136 item.quota Quota 137 item.quota+ Quota 138 item.software Software 139 item.software+ Software 140 item.hardware Hardware 141 item.hardware+ Hardware 142 item.protocol Protocol 143 item.protocol+ Protocols 144 item.client Client 145 item.client+ Clients 146 item.news News 147 item.news+ News 148 item.diskusage Disk usage 149 item.diskusage+ Disk usage 150 item.plugintype Plug-in type 151 item.plugintype+ Plug-in types 152 item.plugindefinition Plug-in definition 153 item.plugindefinition+ Plug-in definitions 154 item.pluginconfiguration Plug-in configuration 155 item.pluginconfiguration+ Plug-in configurations 156 item.jobagent Job agent 157 item.jobagent+ Job agents 158 item.platform Experimental platform 159 item.platform+ Experimental platforms 160 item.platformvariant Platform variant 161 item.platformvariant+ Platform variants 162 item.datafiletype Data file type 163 item.datafiletype+ Data file types 164 item.quotatype Quota type 165 item.quotatype+ Quota types 166 item.protocoltype Protocol type 167 item.protocoltype+ Protocol types 168 item.filetype File type 169 item.filetype+ File types 170 item.mimetype MIME type 171 item.mimetype+ MIME types 172 item.softwaretype Software type 173 item.softwaretype+ Software types 174 item.hardwaretype Hardware type 175 item.hardwaretype+ Hardware types 176 item.annotationtype Annotation type 177 item.annotationtype+ Annotation types 178 item.annotationtypecategory Annotation type category 179 item.annotationtypecategory+ Annotation type categories 180 item.unit Unit 181 item.unit+ Units 182 item.quantity Quantity 183 item.quantity+ Quantities 184 item.reportertype Reporter type 185 item.reportertype+ Reporter types 186 item.extravaluetype Extra value type 187 item.extravaluetype+ Extra value types 188 item.bioassayset Bioassay set 189 item.bioassayset+ Bioassay sets 190 item.transformation Transformation 191 item.transformation+ Transformations 192 item.directory Directory 193 item.directory+ Directories -
trunk/src/clients/web/net/sf/basedb/clients/web/resources/menu.properties
r5409 r5413 21 21 22 22 ## Resource bundle with string that are used in the menu. 23 ## Entries with suffix .1 and .0 are usually used when a user is allowed (.1) 24 ## or disallowed (.0) to access something 23 25 24 26 ## BASE menu ## 25 27 ############### 26 28 menu.base BASE 27 29 contactinfo.title Contact information 30 contactinfo.tooltip Set your address, phone, email, etc. 31 password.title Change password 32 password.tooltip Set your password 33 other.title Other information 34 other.tooltip Other user-related information 35 preferences.title Preferences 36 preferences.tooltip Change font sizes, etc. 37 reloadpermissions.title Reload permissions 38 reloadpermissions.tooltip Reload permissions that may have changed since you logged in 39 resetlistsettings.title Reset list settings 40 resetlistsettings.tooltip Reset visible columns, sort order, filters, etc. to default settings on all lists 41 logout.title Logout 42 logout.tooltip Exit from BASE 43 44 ## Projects menu ## 45 ################### 46 menu.projects Select project 47 menu.projects.tooltip.1 Switch active project 48 menu.projects.tooltip.0 Set active project 49 noactiveproject.title no active project 50 noactiveproject.tooltip.1 No project is active 51 noactiveproject.tooltip.0 Disable the currently active project 52 activeproject.tooltip This is the active project 53 inactiveproject.tooltip Set this project to the active project 54 ## {0} = Number of projects 55 moreprojects.title {0} more 56 moreprojects.tooltip Show more projects 57 projects.error.title Error loading projects 58 ## {0} = The error message 59 projects.error.tooltip {0}: Check log file for more details 28 60 29 61 ## View menu ## … … 72 104 ########################### 73 105 menu.biolims Biomaterial LIMS 106 biosources.tooltip.1 Manage biosources 107 biosources.tooltip.0 You do not have permission to manage biosources 108 samples.tooltip.1 Manage samples 109 samples.tooltip.0 You do not have permission to manage samples 110 extracts.tooltip.1 Manage extracts 111 extracts.tooltip.0 You do not have permission to manage extracts 112 labeledextracts.tooltip.1 Manage labeled extracts 113 labeledextracts.tooltip.0 You do not have permission to manage labeled extracts 114 labels.tooltip.1 Manage labels 115 labels.tooltip.0 You do not have permission to manage labels 116 # -------------- 117 bioplates.tooltip.1 Manage bio plates 118 bioplates.tooltip.0 You do not have permission to manage bio plates 119 bioplatetypes.tooltip.1 Manage bio plate types 120 bioplatetypes.tooltip.0 You do not have permission to manage bio plate types 121 bioplateeventdefinitions.tooltip.1 Manage bioplate event definitions 122 bioplateeventdefinitions.tooltip.0 You do not have permission to manage bioplate event definitions 123 biomateriallists.tooltip.1 Manage biomaterial lists 124 biomateriallists.tooltip.0 You do not have permission to manage biomaterial lists 125 74 126 75 127 ## Array LIMS menu ## 76 128 ##################### 77 129 menu.arraylims Array LIMS 130 plategeometries.tooltip.1 Manage plate geometries 131 plategeometries.tooltip.0 You do not have permission to manage plate geometries 132 platetypes.tooltip.1 Manage plate types 133 platetypes.tooltip.0 You do not have permission to manage plate types 134 plates.tooltip.1 Manage plates 135 plates.tooltip.0 You do not have permission to manage plates 136 platemappings.tooltip.1 Manage plate mappings 137 platemappings.tooltip.0 You do not have permission to manage plate mappings 138 # --------------------- 139 arraydesigns.tooltip.1 Manage array designs 140 arraydesigns.tooltip.0 You do not have permission to manage array designs 141 arraybatches.tooltip.1 Manage array batches 142 arraybatches.tooltip.0 You do not have permission to manage array batches 143 arrayslides.tooltip.1 Manage array slides 144 arrayslides.tooltip.0 You do not have permission to manage array slides 145 78 146 79 147 ## Administrate menu ## 80 148 ####################### 81 149 menu.administrate Administrate 150 users.tooltip.1 Administrate users 151 users.tooltip.0 You do not have permission to administrate users 152 groups.tooltip.1 Administrate groups 153 groups.tooltip.0 You do not have permission to administrate groups 154 roles.tooltip.1 Administrate roles 155 roles.tooltip.0 You do not have permission to administrate roles 156 # ------------- 157 quota.tooltip.1 Administrate quota 158 quota.tooltip.0 You do not have permission to administrate quota 159 software.tooltip.1 Administrate software 160 software.tooltip.0 You do not have permission to administrate software 161 hardware.tooltip.1 Administrate hardware 162 hardware.tooltip.0 You do not have permission to administrate hardware 163 protocols.tooltip.1 Administrate protocols 164 protocols.tooltip.0 You do not have permission to administrate protocols 165 clients.tooltip.1 Administrate client applications 166 clients.tooltip.0 You do not have permission to administrate client applications 167 news.tooltip.1 Administrate news 168 news.tooltip.0 You do not have permission to administrate news 169 # ------------ 170 diskusage.tooltip.1 Check disk usage 171 diskusage.tooltip.0 You do not have permission to check disk usage 172 serversettings.title Server settings 173 serversettings.tooltip.1 Configure the server 174 serversettings.tooltip.0 You do not have permission to configure the server 175 broadcast.title Broadcast message 176 broadcast.tooltip.1 Broadcast a message to all logged in users 177 broadcast.tooltip.0 You do not have permission to send messages 178 services.title Services 179 services.tooltip.1 Manage service extensions 180 services.tooltip.0 You do not have permission to manage services 181 182 ## Plug-ins menu ## 183 ################### 184 menu.plugins Plug-ins 185 menu.plugins.tooltip Administrate plug-in definitions, configurations and job agents 186 plugintypes.title Types 187 plugintypes.tooltip.1 Administrate plug-in types 188 plugintypes.tooltip.0 You do not have permission to administrate plug-in types 189 plugindefinitions.title Definitions 190 plugindefinitions.tooltip.1 Administrate plug-in definitions 191 plugindefinitions.tooltip.0 You do not have permission to administrate plug-in definitions 192 pluginconfigurations.title Configurations 193 pluginconfigurations.tooltip.1 Administrate plugin configurations 194 pluginconfigurations.tooltip.0 You do not have permission to administrate plugin configurations 195 jobagents.tooltip.1 Administrate job agents 196 jobagents.tooltip.0 You do not have permission to administrate job agents 197 198 ## Platforms menu ## 199 #################### 200 menu.platforms Platforms 201 menu.platforms.tooltip Administrate experimental platforms 202 platforms.tooltip.1 Administrate experimental platforms 203 platforms.tooltip.0 You do not have permission to administrate experimental platforms 204 datafiletypes.tooltip.1 Administrate data file types 205 datafiletypes.tooltip.0 You do not have permission to administrate data file types 206 207 ## Types menu ## 208 ################ 209 menu.types Types 210 menu.types.tooltip Administrate quota, file, hardware and software types, etc. 211 quotatypes.tooltip.1 Administrate quota types 212 quotatypes.tooltip.0 You do not have permission to administrate quota types 213 protocoltypes.tooltip.1 Administrate protocol types 214 protocoltypes.tooltip.0 You do not have permission to administrate protocol types 215 filetypes.tooltip.1 Administrate file types 216 filetypes.tooltip.0 You do not have permission to administrate file types 217 mimetypes.tooltip.1 Administrate MIME types 218 mimetypes.tooltip.0 You do not have permission to administrate mime types 219 softwaretypes.tooltip.1 Administrate software types 220 softwaretypes.tooltip.0 You do not have permission to administrate software types 221 hardwaretypes.tooltip.1 Administrate hardware types 222 hardwaretypes.tooltip.0 You do not have permission to administrate hardware types 223 annotationtypes.tooltip.1 Administrate annotation types 224 annotationtypes.tooltip.0 You do not have permission to administrate annotation types 225 annotationtypecategories.tooltip.1 Administrate annotation type categories 226 annotationtypecategories.tooltip.0 You do not have permission to administrate annotation types categories 227 units+quantities.title Units and quantities 228 units+quantities.tooltip.1 Administrate units and quantities 229 units+quantities.tooltip.0 You do not have permission to administrate units and quantities 230 reportertypes.tooltip.1 Administrate reporter types 231 reportertypes.tooltip.0 You do not have permission to administrate reporter types 232 extravaluetypes.tooltip.1 Administrate extra value types 233 extravaluetypes.tooltip.0 You do not have permission to administrate extra value types 82 234 83 235 ## Extensions menu ## 84 236 ##################### 85 237 menu.extensions Extensions 238 installedextensions.title Installed extensions 239 installedextensions.tooltip Display and administrate installed extensions 240 manualscan.title Manual scan 241 manualscan.tooltip Start a manual scan for new, updated and deleted extensions 86 242 87 243 ## Help menu ## … … 97 253 basesite.tooltip Go to the main BASE project site 98 254 255 ## Recent items menu ## 256 ####################### 257 menu.recentitems.tooltip Shortcut to the most recently view items 258 recentitems.title Recently viewed items 259 stickyitems.title Sticky items 260 nostickyitems.title no sticky items 261 recentoptions.title Options 262 recentoptions.tooltip Set options for the recently viewed items menu 263 ## {0} = name of the item, {1} = type of the item 264 gotorecentitem.tooltip Go to {0} ({1}) 265 ## {0} = name of the item 266 experimentexplorer.title Experiment explorer{0} 267 experimentexplorer.tooltip Go to experiment explorer 268 269 ## User menu ## 270 ############### 271 menu.user.tooltip Switch user/logout 272 switchuser.title Switch user 273 switchuser.tooltip Login as another user 274 impersonate.title Impersonate 275 impersonate.tooltip Login as another user without knowing the password 276 277 ## Refresh menu ## 278 ################## 279 menu.refresh.tooltip Refresh current page -
trunk/www/include/menu.jsp
r5409 r5413 2 2 ------------------------------------------------------------------ 3 3 Copyright (C) 2005 Nicklas Nordborg, Gregory Vincic 4 Copyright (C) 2006 Jari H �kkinen, Nicklas Nordborg, Martin Svensson, Gregory Vincic4 Copyright (C) 2006 Jari Häkkinen, Nicklas Nordborg, Martin Svensson, Gregory Vincic 5 5 Copyright (C) 2007 Nicklas Nordborg 6 6 … … 98 98 > 99 99 <m:menuitem 100 title="< i>- no active project -</i>"100 title="<%="<i>- " + menu.getString("noactiveproject.title") + " -</i>"%>" 101 101 onclick="<%="Main.openPopup('"+root+"my_base/projects/set_active.jsp?ID="+ID+"', 'ActivateProject', 300, 140)"%>" 102 102 icon="<%=activeProjectId == 0 ? "checkedmenu.gif" : null%>" 103 103 enabled="<%=activeProjectId != 0%>" 104 tooltip="<%= activeProjectId == 0 ? "No project is active" : "Disable the currently active project"%>"104 tooltip="<%=menu.getString("noactiveproject.tooltip", activeProjectId == 0)%>" 105 105 /> 106 106 <% … … 118 118 boolean breakAt20 = projects.size() > 25; 119 119 int index = 0; 120 String thisIsTheActiveProject = menu.getString("activeproject.tooltip"); 121 String thisIsNotTheActiveProject = menu.getString("inactiveproject.tooltip"); 120 122 for (Project p : projects) 121 123 { … … 131 133 icon="<%=active ? "checkedmenu.gif" : null%>" 132 134 enabled="<%=!active%>" 133 tooltip="<%=active ? "This is the active project" : "Set this project to the active project"%>"135 tooltip="<%=active ? thisIsTheActiveProject : thisIsNotTheActiveProject%>" 134 136 /> 135 137 <% … … 141 143 <m:menuseparator /> 142 144 <m:menuitem 143 title="<%=m ore + " more"%>"145 title="<%=menu.getString("moreprojects.title", Integer.toString(more))%>" 144 146 onclick="<%="Menu.openUrl('"+root+"my_base/projects/index.jsp?ID="+ID+"')"%>" 145 tooltip=" Show more projects"147 tooltip="<%=menu.getString("moreprojects.tooltip")%>" 146 148 /> 147 149 <% … … 152 154 t.printStackTrace(); 153 155 %> 154 <m:menuitem 155 title="Error loading projects" 156 tooltip="<%=t.getMessage() + ": Check log file for more details"%>" 156 <m:menuseparator /> 157 <m:menuitem 158 title="<%=menu.getString("projects.error.title")%>" 159 tooltip="<%=menu.getString("projects.error.tooltip", t.getMessage())%>" 157 160 enabled="false" 158 161 icon="error.gif" … … 193 196 %> 194 197 <m:menuitem 195 title=" Recently viewed items"198 title="<%=menu.getString("recentitems.title")%>" 196 199 style="font-weight: bold; color: #000000; background: #e8e8e8;" 197 200 enabled="false" … … 205 208 String[] tmp = recent.split("="); 206 209 Item itemType = Item.valueOf(tmp[0]); 210 String itemTextKey = "item." + itemType.name().toLowerCase(); 211 String itemText = common.getString(itemTextKey); 212 if (itemText == itemTextKey) itemText = itemType.toString(); 207 213 int itemId = Values.getInt(tmp[1], 0); 208 214 if (itemId != 0) … … 225 231 else 226 232 { 227 fullName = itemT ype.toString()+ "; id=" + itemId;228 shortName = itemT ype+ " (id=" + itemId + ")";233 fullName = itemText + "; id=" + itemId; 234 shortName = itemText + " (id=" + itemId + ")"; 229 235 } 230 236 numItems++; … … 233 239 title="<%=numItems + ". " + shortName%>" 234 240 onclick="<%="Main.viewOrEditItem('" + ID + "', '" + itemType.name() + "', " + itemId + ")"%>" 235 tooltip="<%= "Go to " + HTML.encodeTags(fullName) + " (" + itemType + ")"%>"241 tooltip="<%=menu.getString("gotorecentitem.tooltip", fullName, itemText)%>" 236 242 /> 237 243 <% … … 253 259 %> 254 260 <m:menuitem 255 title=" Sticky items"261 title="<%=menu.getString("stickyitems.title")%>" 256 262 style="font-weight: bold; color: #000000; background: #e8e8e8;" 257 263 enabled="false" … … 267 273 Item itemType = Item.valueOf(recentItem); 268 274 ItemContext cc = sc.getCurrentContext(itemType); 275 String itemTextKey = "item." + itemType.name().toLowerCase(); 276 String itemText = common.getString(itemTextKey); 277 if (itemText == itemTextKey) itemText = itemType.toString(); 269 278 if (cc.getId() != 0) 270 279 { … … 286 295 else 287 296 { 288 fullName = itemT ype.toString()+ "; id=" + cc.getId();297 fullName = itemText + "; id=" + cc.getId(); 289 298 shortName = " (id=" + cc.getId() + ")"; 290 299 } … … 293 302 %> 294 303 <m:menuitem 295 title="<%=itemT ype+ shortName%>"304 title="<%=itemText + shortName%>" 296 305 onclick="<%="Main.viewOrEditItem('" + ID + "', '" + itemType.name() + "', " + cc.getId() + ")"%>" 297 tooltip="<%= "Go to " + HTML.encodeTags(fullName) + " (" + itemType + ")"%>"306 tooltip="<%=menu.getString("gotorecentitem.tooltip", fullName, itemText)%>" 298 307 /> 299 308 <% … … 303 312 %> 304 313 <m:menuitem 305 title="<%= "Experiment explorer"+HTML.encodeTags(shortName)%>"314 title="<%=menu.getString("experimentexplorer.title", shortName)%>" 306 315 onclick="<%="location.href = '"+root+"views/experiments/explorer/view/index.jsp?ID=" + ID + "&bioassayset_id="+cc.getId()+"'"%>" 307 tooltip=" Go to experiment explorer"316 tooltip="<%=menu.getString("experimentexplorer.tooltip")%>" 308 317 visible="<%=item == null || ((BioAssaySet)item).getNumSpots() > 0 %>" 309 318 /> … … 319 328 %> 320 329 <m:menuitem 321 title="< i>- no sticky items -</i>"330 title="<%="<i>- " + menu.getString("nostickyitems.title") + " -</i>"%>" 322 331 enabled="false" 323 332 /> … … 328 337 <m:menuseparator /> 329 338 <m:menuitem 330 title=" Options…"339 title="<%=menu.getString("recentoptions.title") + "…"%>" 331 340 onclick="<%="Main.openPopup('"+root+"my_base/user/preferences.jsp?ID="+ID+"&page=mostRecent', 'Preferences', 500, 400);"%>" 332 tooltip=" Change options for this menu"341 tooltip="<%=menu.getString("recentoptions.tooltip")%>" 333 342 /> 334 343 </m:menu> … … 350 359 { 351 360 fillText.append("<img src=\""+root+"images/no_active_project.gif\" border=\"0\"> "); 352 fillText.append("<a href=\"javascript:void(0)\" style=\"color:#FF0000;\" title=\" Set active project\"");361 fillText.append("<a href=\"javascript:void(0)\" style=\"color:#FF0000;\" title=\"" + menu.getString("menu.projects.tooltip.0") + "\""); 353 362 } 354 363 else 355 364 { 356 365 fillText.append("<img src=\""+root+"images/project.gif\" border=\"0\"> "); 357 fillText.append("<a href=\"javascript:void(0)\" title=\" Switch active project\"");366 fillText.append("<a href=\"javascript:void(0)\" title=\"" + menu.getString("menu.projects.tooltip.1") + "\""); 358 367 } 359 368 360 369 fillText.append(" onclick=\"Menu.toggleTopMenu(document.getElementById('projects'), event.clientX-50, event.clientY); event.cancelBubble = true;\">"); 361 fillText.append(activeProject == null ? "<i>- no active project-</i>" : HTML.encodeTags(activeProject.getName()));370 fillText.append(activeProject == null ? "<i>- " + menu.getString("noactiveproject.title") + " -</i>" : HTML.encodeTags(activeProject.getName())); 362 371 fillText.append(" <img src=\""+root+"images/sort_asc.gif\" border=\"0\"></a><span class=\"menuseparator\"> </span>"); 363 372 364 fillText.append("<a href=\"javascript:void(0)\" title=\" Refresh current page\"");373 fillText.append("<a href=\"javascript:void(0)\" title=\"" + menu.getString("menu.refresh.tooltip") + "\""); 365 374 fillText.append(" onclick=\"location.reload()\">"); 366 375 fillText.append("<img src=\""+root+"images/refresh.gif\" border=\"0\"></a><span class=\"menuseparator\"> </span>"); 367 376 368 fillText.append("<a href=\"javascript:void(0)\" title=\" Go to the most recently viewed item\"");377 fillText.append("<a href=\"javascript:void(0)\" title=\"" + menu.getString("menu.recentitems.tooltip") + "\""); 369 378 fillText.append(" onclick=\"Menu.toggleTopMenu(document.getElementById('mostRecent'), event.clientX-200, event.clientY); event.cancelBubble = true;\">"); 370 379 fillText.append(" <img src=\""+root+"images/recent.png\" border=\"0\"><img src=\""+root+"images/sort_asc.gif\" border=\"0\"></a><span class=\"menuseparator\"> </span>"); 371 380 372 381 User user = User.getById(dc, sc.getLoggedInUserId()); 373 String userPrompt = sc.isImpersonated() ? "Impersonated" : "User"; 374 fillText.append("<img src=\""+root+"images/take_ownership.png\" border=\"0\"> <a href=\"javascript:void(0)\" title=\"Switch user/logout\""); 382 fillText.append("<img src=\""+root+"images/take_ownership.png\" border=\"0\"> <a href=\"javascript:void(0)\" title=\"" + menu.getString("menu.user.tooltip") + "\""); 375 383 fillText.append(" onclick=\"javascript:Menu.toggleTopMenu(document.getElementById('switchuser'), event.clientX-100, event.clientY); event.cancelBubble = true;\">"); 376 384 fillText.append(HTML.encodeTags(user.getLogin())); … … 429 437 <m:menuseparator /> 430 438 <m:menuitem 431 title="<%=common.getString("item.file s")%>"439 title="<%=common.getString("item.file+")%>" 432 440 onclick="<%="Menu.openUrl('"+root+"filemanager/index.jsp?ID="+ID+"')"%>" 433 441 tooltip="<%=menu.getString("files.tooltip", hasFiles)%>" … … 435 443 /> 436 444 <m:menuitem 437 title="<%=common.getString("item.fileserver s")%>"445 title="<%=common.getString("item.fileserver+")%>" 438 446 onclick="<%="Menu.openUrl('"+root+"filemanager/fileservers/index.jsp?ID="+ID+"')"%>" 439 447 tooltip="<%=menu.getString("fileservers.tooltip", hasFileServers)%>" … … 441 449 /> 442 450 <m:menuitem 443 title="<%=common.getString("item.project s")%>"451 title="<%=common.getString("item.project+")%>" 444 452 onclick="<%="Menu.openUrl('"+root+"my_base/projects/index.jsp?ID="+ID+"')"%>" 445 453 tooltip="<%=menu.getString("projects.tooltip", hasProjects)%>" … … 447 455 /> 448 456 <m:menuitem 449 title="<%=common.getString("item.permissiontemplate s")%>"457 title="<%=common.getString("item.permissiontemplate+")%>" 450 458 onclick="<%="Menu.openUrl('"+root+"views/permissiontemplates/index.jsp?ID="+ID+"')"%>" 451 459 tooltip="<%=menu.getString("permissiontemplates.tooltip", hasPermissionTemplates)%>" … … 453 461 /> 454 462 <m:menuitem 455 title="<%=common.getString("item.message s")%>"463 title="<%=common.getString("item.message+")%>" 456 464 onclick="<%="Menu.openUrl('"+root+"my_base/messages/index.jsp?ID="+ID+"')"%>" 457 465 tooltip="<%=menu.getString("messages.tooltip", hasMessages)%>" … … 459 467 /> 460 468 <m:menuitem 461 title="<%=common.getString("item.job s")%>"469 title="<%=common.getString("item.job+")%>" 462 470 onclick="<%="Menu.openUrl('"+root+"views/jobs/index.jsp?ID="+ID+"')"%>" 463 471 tooltip="<%=menu.getString("jobs.tooltip", hasJobs)%>" … … 465 473 /> 466 474 <m:menuitem 467 title="<%=common.getString("item.session s")%>"475 title="<%=common.getString("item.session+")%>" 468 476 onclick="<%="Menu.openUrl('"+root+"views/sessions/index.jsp?ID="+ID+"')"%>" 469 477 tooltip="<%=menu.getString("sessions.tooltip", hasSessions)%>" … … 472 480 <m:menuseparator /> 473 481 <m:menuitem 474 title="<%=common.getString("item.hybridization s")%>"482 title="<%=common.getString("item.hybridization+")%>" 475 483 onclick="<%="Menu.openUrl('"+root+"views/hybridizations/index.jsp?ID="+ID+"')"%>" 476 484 tooltip="<%=menu.getString("hybridizations.tooltip", hasHybridizations)%>" … … 478 486 /> 479 487 <m:menuitem 480 title="<%=common.getString("item.scan s")%>"488 title="<%=common.getString("item.scan+")%>" 481 489 onclick="<%="Menu.openUrl('"+root+"views/scans/index.jsp?ID="+ID+"')"%>" 482 490 tooltip="<%=menu.getString("scans.tooltip", hasScans)%>" … … 484 492 /> 485 493 <m:menuitem 486 title="<%=common.getString("item.rawbioassay s")%>"494 title="<%=common.getString("item.rawbioassay+")%>" 487 495 onclick="<%="Menu.openUrl('"+root+"views/rawbioassays/index.jsp?ID="+ID+"')"%>" 488 496 tooltip="<%=menu.getString("rawbioassays.tooltip", hasRawBioAssays)%>" … … 490 498 /> 491 499 <m:menuitem 492 title="<%=common.getString("item.experiment s")%>"500 title="<%=common.getString("item.experiment+")%>" 493 501 onclick="<%="Menu.openUrl('"+root+"views/experiments/index.jsp?ID="+ID+"')"%>" 494 502 tooltip="<%=menu.getString("experiments.tooltip", hasExperiments)%>" … … 496 504 /> 497 505 <m:menuitem 498 title="<%=common.getString("item.formula s")%>"506 title="<%=common.getString("item.formula+")%>" 499 507 onclick="<%="Menu.openUrl('"+root+"views/formulas/index.jsp?ID="+ID+"')"%>" 500 508 tooltip="<%=menu.getString("formulas.tooltip", hasFormulas)%>" … … 503 511 <m:menuseparator /> 504 512 <m:menuitem 505 title="<%=common.getString("item.reporter s")%>"513 title="<%=common.getString("item.reporter+")%>" 506 514 onclick="<%="Menu.openUrl('"+root+"views/reporters/index.jsp?ID="+ID+"')"%>" 507 515 tooltip="<%=menu.getString("reporters.tooltip", hasReporters)%>" … … 509 517 /> 510 518 <m:menuitem 511 title="<%=common.getString("item.reporterlist s")%>"519 title="<%=common.getString("item.reporterlist+")%>" 512 520 onclick="<%="Menu.openUrl('"+root+"views/reporterlists/index.jsp?ID="+ID+"')"%>" 513 521 tooltip="<%=menu.getString("reporterlists.tooltip", hasReporterLists)%>" … … 522 530 <m:submenu 523 531 subid="projects" 524 title="Select project" 532 title="<%=menu.getString("menu.projects")%>" 533 tooltip="<%=menu.getString("menu.projects.tooltip", activeProject != null)%>" 525 534 enabled="<%=hasProjects%>" 526 535 /> 527 536 <m:menuseparator /> 528 537 <m:menuitem 529 title=" Contact information…"538 title="<%=menu.getString("contactinfo.title") + "…"%>" 530 539 onclick="<%="Main.openPopup('"+root+"my_base/user/settings.jsp?ID="+ID+"&page=contact', 'Settings', 500, 360);"%>" 531 tooltip=" Set your address, phone, email, etc."532 /> 533 <m:menuitem 534 title=" Change password…"540 tooltip="<%=menu.getString("contactinfo.tooltip")%>" 541 /> 542 <m:menuitem 543 title="<%=menu.getString("password.title") + "…"%>" 535 544 onclick="<%="Main.openPopup('"+root+"my_base/user/settings.jsp?ID="+ID+"&page=password', 'Settings', 500, 360);"%>" 536 tooltip=" Set your password"537 /> 538 <m:menuitem 539 title=" Other information…"545 tooltip="<%=menu.getString("password.tooltip")%>" 546 /> 547 <m:menuitem 548 title="<%=menu.getString("other.title") + "…"%>" 540 549 onclick="<%="Main.openPopup('"+root+"my_base/user/settings.jsp?ID="+ID+"&page=other', 'Settings', 500, 360);"%>" 541 tooltip=" Other user-related information"550 tooltip="<%=menu.getString("other.tooltip")%>" 542 551 /> 543 552 <m:menuseparator /> 544 553 <m:menuitem 545 title=" Preferences…"554 title="<%=menu.getString("preferences.title") + "…"%>" 546 555 onclick="<%="Main.openPopup('"+root+"my_base/user/preferences.jsp?ID="+ID+"', 'Preferences', 500, 400);"%>" 547 tooltip=" Change font sizes, etc."548 /> 549 <m:menuitem 550 title=" Reload permissions"556 tooltip="<%=menu.getString("preferences.tooltip")%>" 557 /> 558 <m:menuitem 559 title="<%=menu.getString("reloadpermissions.title") + "…"%>" 551 560 onclick="<%="Main.openPopup('"+root+"my_base/user/submit_user.jsp?ID="+ID+"&cmd=ReloadPermissions', 'ReloadPermissions', 300, 200);"%>" 552 tooltip=" Reload permissions"553 /> 554 <m:menuitem 555 title=" Reset list settings…"561 tooltip="<%=menu.getString("reloadpermissions.tooltip")%>" 562 /> 563 <m:menuitem 564 title="<%=menu.getString("resetlistsettings.title") + "…"%>" 556 565 onclick="<%="Main.openPopup('"+root+"my_base/user/reset_filters.jsp?ID="+ID+"', 'ResetFilter', 400, 300);"%>" 557 tooltip=" Reset visible columns, sort order, filters, etc. to default settings on all lists"566 tooltip="<%=menu.getString("resetlistsettings.tooltip")%>" 558 567 /> 559 568 <m:menuseparator /> 560 569 <m:menuitem 561 title=" Logout…"570 title="<%=menu.getString("logout.title") + "…"%>" 562 571 onclick="<%="Main.openPopup('"+root+"logout.jsp?ID="+ID+"', 'Logout', 360, 200);"%>" 563 tooltip=" Exit from BASE"572 tooltip="<%=menu.getString("logout.tooltip")%>" 564 573 /> 565 574 </m:menu> … … 600 609 > 601 610 <m:menuitem 602 title=" Biosources"611 title="<%=common.getString("item.biosource+")%>" 603 612 onclick="<%="Menu.openUrl('"+root+"biomaterials/biosources/index.jsp?ID="+ID+"')"%>" 604 tooltip="<%= hasBioSources ? "Manage biosources" : "You do not have permission to manage biosources"%>"613 tooltip="<%=menu.getString("biosources.tooltip", hasBioSources)%>" 605 614 enabled="<%=hasBioSources%>" 606 615 /> 607 616 <m:menuitem 608 title=" Samples"617 title="<%=common.getString("item.sample+")%>" 609 618 onclick="<%="Menu.openUrl('"+root+"biomaterials/samples/index.jsp?ID="+ID+"')"%>" 610 tooltip="<%= hasSamples ? "Manage samples" : "You do not have permission to manage samples"%>"619 tooltip="<%=menu.getString("samples.tooltip", hasSamples)%>" 611 620 enabled="<%=hasSamples%>" 612 621 /> 613 622 <m:menuitem 614 title=" Extracts"623 title="<%=common.getString("item.extract+")%>" 615 624 onclick="<%="Menu.openUrl('"+root+"biomaterials/extracts/index.jsp?ID="+ID+"')"%>" 616 tooltip="<%= hasExtracts ? "Manage extracts" : "You do not have permission to manage extracts"%>"625 tooltip="<%=menu.getString("extracts.tooltip", hasExtracts)%>" 617 626 enabled="<%=hasExtracts%>" 618 627 /> 619 628 <m:menuitem 620 title=" Labeled extracts"629 title="<%=common.getString("item.labeledextract+")%>" 621 630 onclick="<%="Menu.openUrl('"+root+"biomaterials/labeledextracts/index.jsp?ID="+ID+"')"%>" 622 tooltip="<%= hasLabeledExtracts ? "Manage labeled extracts" : "You do not have permission to manage labeled extracts"%>"631 tooltip="<%=menu.getString("labeledextracts.tooltip", hasLabeledExtracts)%>" 623 632 enabled="<%=hasLabeledExtracts%>" 624 633 /> 625 634 <m:menuitem 626 title=" Labels"635 title="<%=common.getString("item.label+")%>" 627 636 onclick="<%="Menu.openUrl('"+root+"biomaterials/labels/index.jsp?ID="+ID+"')"%>" 628 tooltip="<%= hasLabels ? "Manage labels" : "You do not have permission to manage labels"%>"637 tooltip="<%=menu.getString("labels.tooltip", hasLabels)%>" 629 638 enabled="<%=hasLabels%>" 630 639 /> 631 640 <m:menuseparator /> 632 641 <m:menuitem 633 title=" Bioplates"642 title="<%=common.getString("item.bioplate+")%>" 634 643 onclick="<%="Menu.openUrl('"+root+"biomaterials/bioplates/index.jsp?ID="+ID+"')"%>" 635 tooltip="<%= hasBioPlates ? "Manage bio plates" : "You do not have permission to manage bio plates"%>"644 tooltip="<%=menu.getString("bioplates.tooltip", hasBioPlates)%>" 636 645 enabled="<%=hasBioPlates%>" 637 646 /> 638 647 <m:menuitem 639 title=" Bioplate types"648 title="<%=common.getString("item.bioplatetype+")%>" 640 649 onclick="<%="Menu.openUrl('"+root+"biomaterials/bioplatetypes/index.jsp?ID="+ID+"')"%>" 641 tooltip="<%= hasBioPlateTypes ? "Manage bio plate types" : "You do not have permission to manage bio plate types"%>"650 tooltip="<%=menu.getString("bioplatetypes.tooltip", hasBioPlateTypes)%>" 642 651 enabled="<%=hasBioPlateTypes%>" 643 652 /> 644 653 <m:menuitem 645 title=" Bioplate event definitions"654 title="<%=common.getString("item.bioplateeventdefinition+")%>" 646 655 onclick="<%="Menu.openUrl('"+root+"biomaterials/eventdef/index.jsp?ID="+ID+"')"%>" 647 tooltip="<%= hasBioPlateEventDefinitions ? "Manage bioplate event definitions" : "You do not have permission to manage bioplate event definitions"%>"656 tooltip="<%=menu.getString("bioplateeventdefinitions.tooltip", hasBioPlateEventDefinitions)%>" 648 657 enabled="<%=hasBioPlateEventDefinitions%>" 649 658 /> 650 659 <m:menuitem 651 title=" Biomaterial lists"660 title="<%=common.getString("item.biomateriallist+")%>" 652 661 onclick="<%="Menu.openUrl('"+root+"biomaterials/lists/index.jsp?ID="+ID+"')"%>" 653 tooltip="<%= hasBioMaterialLists ? "Manage biomaterial lists" : "You do not have permission to manage biomaterial lists"%>"662 tooltip="<%=menu.getString("biomateriallists.tooltip", hasBioMaterialLists)%>" 654 663 enabled="<%=hasBioMaterialLists%>" 655 664 /> … … 676 685 > 677 686 <m:menuitem 678 title=" Plate geometries"687 title="<%=common.getString("item.plategeometry+")%>" 679 688 onclick="<%="Menu.openUrl('"+root+"lims/geometries/index.jsp?ID="+ID+"')"%>" 680 tooltip="<%= hasPlateGeometries ? "Manage plate geometries" : "You do not have permission to manage plate geometries"%>"689 tooltip="<%=menu.getString("plategeometries.tooltip", hasPlateGeometries)%>" 681 690 enabled="<%=hasPlateGeometries%>" 682 691 /> 683 692 <m:menuitem 684 title=" Plate types"693 title="<%=common.getString("item.platetype+")%>" 685 694 onclick="<%="Menu.openUrl('"+root+"lims/platetypes/index.jsp?ID="+ID+"')"%>" 686 tooltip="<%= hasPlateTypes ? "Manage plate types" : "You do not have permission to manage plate types"%>"695 tooltip="<%=menu.getString("platetypes.tooltip", hasPlateTypes)%>" 687 696 enabled="<%=hasPlateTypes%>" 688 697 /> 689 698 <m:menuitem 690 title=" Plates"699 title="<%=common.getString("item.plate+")%>" 691 700 onclick="<%="Menu.openUrl('"+root+"lims/plates/index.jsp?ID="+ID+"')"%>" 692 tooltip="<%= hasPlates ? "Manage plates" : "You do not have permission to manage plates"%>"701 tooltip="<%=menu.getString("plates.tooltip", hasPlates)%>" 693 702 enabled="<%=hasPlates%>" 694 703 /> 695 704 <m:menuitem 696 title=" Plate mappings"705 title="<%=common.getString("item.platemapping+")%>" 697 706 onclick="<%="Menu.openUrl('"+root+"lims/platemappings/index.jsp?ID="+ID+"')"%>" 698 tooltip="<%= hasPlateTypes ? "Manage plate mappings" : "You do not have permission to manage plate mappings"%>"707 tooltip="<%=menu.getString("platetypes.tooltip", hasPlateTypes)%>" 699 708 enabled="<%=hasPlateTypes%>" 700 709 /> 701 710 <m:menuseparator /> 702 711 <m:menuitem 703 title=" Array designs"712 title="<%=common.getString("item.arraydesign+")%>" 704 713 onclick="<%="Menu.openUrl('"+root+"lims/arraydesigns/index.jsp?ID="+ID+"')"%>" 705 tooltip="<%= hasArrayDesigns ? "Manage array designs" : "You do not have permission to manage array designs"%>"714 tooltip="<%=menu.getString("arraydesigns.tooltip", hasArrayDesigns)%>" 706 715 enabled="<%=hasArrayDesigns%>" 707 716 /> 708 717 <m:menuitem 709 title=" Array batches"718 title="<%=common.getString("item.arraybatch+")%>" 710 719 onclick="<%="Menu.openUrl('"+root+"lims/arraybatches/index.jsp?ID="+ID+"')"%>" 711 tooltip="<%= hasArrayBatches ? "Manage array batches" : "You do not have permission to manage array batches"%>"720 tooltip="<%=menu.getString("arraybatches.tooltip", hasArrayBatches)%>" 712 721 enabled="<%=hasArrayBatches%>" 713 722 /> 714 723 <m:menuitem 715 title=" Array slides"724 title="<%=common.getString("item.arrayslide+")%>" 716 725 onclick="<%="Menu.openUrl('"+root+"lims/arrayslides/index.jsp?ID="+ID+"')"%>" 717 tooltip="<%= hasArraySlides ? "Manage array slides" : "You do not have permission to manage array slides"%>"726 tooltip="<%=menu.getString("arrayslides.tooltip", hasArraySlides)%>" 718 727 enabled="<%=hasArraySlides%>" 719 728 /> … … 746 755 > 747 756 <m:menuitem 748 title=" Quota types"757 title="<%=common.getString("item.quotatype+")%>" 749 758 onclick="<%="Menu.openUrl('"+root+"admin/quotatypes/index.jsp?ID="+ID+"')"%>" 750 tooltip="<%= hasQuotaTypes ? "Administrate quota types" : "You do not have permission to administrate quota types"%>"759 tooltip="<%=menu.getString("quotatypes.tooltip", hasQuotaTypes)%>" 751 760 enabled="<%=hasQuotaTypes%>" 752 761 /> 753 762 <m:menuitem 754 title=" Protocol types"763 title="<%=common.getString("item.protocoltype+")%>" 755 764 onclick="<%="Menu.openUrl('"+root+"admin/protocoltypes/index.jsp?ID="+ID+"')"%>" 756 tooltip="<%= hasProtocolTypes ? "Administrate protocol types" : "You do not have permission to administrate protocol types"%>"765 tooltip="<%=menu.getString("protocoltypes.tooltip", hasProtocolTypes)%>" 757 766 enabled="<%=hasProtocolTypes%>" 758 767 /> 759 768 <m:menuitem 760 title=" File types"769 title="<%=common.getString("item.filetype+")%>" 761 770 onclick="<%="Menu.openUrl('"+root+"admin/filetypes/index.jsp?ID="+ID+"')"%>" 762 tooltip="<%= hasFileTypes ? "Administrate file types" : "You do not have permission to administrate file types"%>"771 tooltip="<%=menu.getString("filetypes.tooltip", hasFileTypes)%>" 763 772 enabled="<%=hasFileTypes%>" 764 773 /> 765 774 <m:menuitem 766 title=" MIME types"775 title="<%=common.getString("item.mimetype+")%>" 767 776 onclick="<%="Menu.openUrl('"+root+"admin/mimetypes/index.jsp?ID="+ID+"')"%>" 768 tooltip="<%= hasMimeTypes ? "Administrate MIME types" : "You do not have permission to administrate mime types"%>"777 tooltip="<%=menu.getString("mimetypes.tooltip", hasMimeTypes)%>" 769 778 enabled="<%=hasMimeTypes%>" 770 779 /> 771 780 <m:menuitem 772 title=" Software types"781 title="<%=common.getString("item.softwaretype+")%>" 773 782 onclick="<%="Menu.openUrl('"+root+"admin/softwaretypes/index.jsp?ID="+ID+"')"%>" 774 tooltip="<%= hasSoftwareTypes ? "Administrate software types" : "You do not have permission to administrate software types"%>"783 tooltip="<%=menu.getString("softwaretypes.tooltip", hasSoftwareTypes)%>" 775 784 enabled="<%=hasSoftwareTypes%>" 776 785 /> 777 786 <m:menuitem 778 title=" Hardware types"787 title="<%=common.getString("item.hardwaretype+")%>" 779 788 onclick="<%="Menu.openUrl('"+root+"admin/hardwaretypes/index.jsp?ID="+ID+"')"%>" 780 tooltip="<%= hasHardwareTypes ? "Administrate hardware types" : "You do not have permission to administrate hardware types"%>"789 tooltip="<%=menu.getString("hardwaretypes.tooltip", hasHardwareTypes)%>" 781 790 enabled="<%=hasHardwareTypes%>" 782 791 /> 783 792 <m:menuitem 784 title=" Annotation type categories"793 title="<%=common.getString("item.annotationtypecategory+")%>" 785 794 onclick="<%="Menu.openUrl('"+root+"admin/annotationtypecategories/index.jsp?ID="+ID+"')"%>" 786 tooltip="<%= hasAnnotationTypeCategories ? "Administrate annotation type categories" : "You do not have permission to administrate annotation types categories"%>"795 tooltip="<%=menu.getString("annotationtypecategories.tooltip", hasAnnotationTypeCategories)%>" 787 796 enabled="<%=hasAnnotationTypeCategories%>" 788 797 /> 789 798 <m:menuitem 790 title=" Annotation types"799 title="<%=common.getString("item.annotationtype+")%>" 791 800 onclick="<%="Menu.openUrl('"+root+"admin/annotationtypes/index.jsp?ID="+ID+"')"%>" 792 tooltip="<%= hasAnnotationTypes ? "Administrate annotation types" : "You do not have permission to administrate annotation types"%>"801 tooltip="<%=menu.getString("annotationtypes.tooltip", hasAnnotationTypes)%>" 793 802 enabled="<%=hasAnnotationTypes%>" 794 803 /> 795 804 <m:menuitem 796 title=" Units and quantities"805 title="<%=menu.getString("units+quantities.title")%>" 797 806 onclick="<%="Menu.openUrl('"+root+"admin/quantities/index.jsp?ID="+ID+"')"%>" 798 tooltip="<%= hasQuantities ? "Administrate quantities" : "You do not have permission to administrate quantities"%>"807 tooltip="<%=menu.getString("units+quantities.tooltip", hasQuantities)%>" 799 808 enabled="<%=hasQuantities%>" 800 809 /> 801 810 <m:menuitem 802 title=" Reporter types"811 title="<%=common.getString("item.reportertype+")%>" 803 812 onclick="<%="Menu.openUrl('"+root+"admin/reportertypes/index.jsp?ID="+ID+"')"%>" 804 tooltip="<%= hasReporterTypes ? "Administrate reporter types" : "You do not have permission to administrate reporter types"%>"813 tooltip="<%=menu.getString("reportertypes.tooltip", hasReporterTypes)%>" 805 814 enabled="<%=hasReporterTypes%>" 806 815 /> 807 816 <m:menuitem 808 title=" Extra value types"817 title="<%=common.getString("item.extravaluetype+")%>" 809 818 onclick="<%="Menu.openUrl('"+root+"admin/extravaluetypes/index.jsp?ID="+ID+"')"%>" 810 tooltip="<%= hasExtraValueTypes ? "Administrate extra value types" : "You do not have permission to administrate extra value types"%>"819 tooltip="<%=menu.getString("extravaluetypes.tooltip", hasExtraValueTypes)%>" 811 820 enabled="<%=hasExtraValueTypes%>" 812 821 /> … … 828 837 > 829 838 <m:menuitem 830 title=" Experimental platforms"839 title="<%=common.getString("item.platform+")%>" 831 840 onclick="<%="Menu.openUrl('"+root+"admin/platforms/index.jsp?ID="+ID+"')"%>" 832 tooltip="<%= hasPlatforms ? "Administrate experimental platforms" : "You do not have permission to administrate experimental platforms"%>"841 tooltip="<%=menu.getString("platforms.tooltip", hasPlatforms)%>" 833 842 enabled="<%=hasPlatforms%>" 834 843 /> 835 844 <m:menuitem 836 title=" Data file types"845 title="<%=common.getString("item.datafiletype+")%>" 837 846 onclick="<%="Menu.openUrl('"+root+"admin/datafiletypes/index.jsp?ID="+ID+"')"%>" 838 tooltip="<%= hasFileSetMemberTypes ? "Administrate data file types" : "You do not have permission to administrate data file types"%>"847 tooltip="<%=menu.getString("datafiletypes.tooltip", hasFileSetMemberTypes)%>" 839 848 enabled="<%=hasFileSetMemberTypes%>" 840 849 /> … … 861 870 > 862 871 <m:menuitem 863 title=" Types"872 title="<%=menu.getString("plugintypes.title")%>" 864 873 onclick="<%="Menu.openUrl('"+root+"admin/plugintypes/index.jsp?ID="+ID+"')"%>" 865 tooltip="<%= hasPluginDefinitions ? "Administrate plugin types" : "You do not have permission to administrate plugin types"%>"874 tooltip="<%=menu.getString("plugintypes.tooltip", hasPluginTypes)%>" 866 875 enabled="<%=hasPluginTypes%>" 867 876 /> 868 877 <m:menuitem 869 title=" Definitions"878 title="<%=menu.getString("plugindefinitions.title")%>" 870 879 onclick="<%="Menu.openUrl('"+root+"admin/plugindefinitions/index.jsp?ID="+ID+"')"%>" 871 tooltip="<%= hasPluginDefinitions ? "Administrate plugin definitions" : "You do not have permission to administrate plugin definitions"%>"880 tooltip="<%=menu.getString("plugindefinitions.tooltip", hasPluginDefinitions)%>" 872 881 enabled="<%=hasPluginDefinitions%>" 873 882 /> 874 883 <m:menuitem 875 title=" Configurations"884 title="<%=menu.getString("pluginconfigurations.title")%>" 876 885 onclick="<%="Menu.openUrl('"+root+"admin/pluginconfigurations/index.jsp?ID="+ID+"')"%>" 877 tooltip="<%= hasPluginConfigurations ? "Administrate plugin configurations" : "You do not have permission to administrate plugin configurations"%>"886 tooltip="<%=menu.getString("pluginconfigurations.tooltip", hasPluginConfigurations)%>" 878 887 enabled="<%=hasPluginConfigurations%>" 879 888 /> 880 889 <m:menuseparator /> 881 890 <m:menuitem 882 title=" Job agents"891 title="<%=common.getString("item.jobagent+")%>" 883 892 onclick="<%="Menu.openUrl('"+root+"admin/jobagents/index.jsp?ID="+ID+"')"%>" 884 tooltip="<%= hasJobAgents ? "Administrate job agents" : "You do not have permission to administrate job agents"%>"893 tooltip="<%=menu.getString("jobagents.tooltip", hasJobAgents)%>" 885 894 enabled="<%=hasJobAgents%>" 886 895 /> … … 918 927 > 919 928 <m:menuitem 920 title=" Users"929 title="<%=common.getString("item.user+")%>" 921 930 onclick="<%="Menu.openUrl('"+root+"admin/users/index.jsp?ID="+ID+"')"%>" 922 tooltip="<%= hasUsers ? "Administrate users" : "You do not have permission to administrate users"%>"931 tooltip="<%=menu.getString("users.tooltip", hasUsers)%>" 923 932 enabled="<%=hasUsers%>" 924 933 /> 925 934 <m:menuitem 926 title=" Groups"935 title="<%=common.getString("item.group+")%>" 927 936 onclick="<%="Menu.openUrl('"+root+"admin/groups/index.jsp?ID="+ID+"')"%>" 928 tooltip="<%= hasGroups ? "Administrate groups" : "You do not have permission to administrate groups"%>"937 tooltip="<%=menu.getString("groups.tooltip", hasGroups)%>" 929 938 enabled="<%=hasGroups%>" 930 939 /> 931 940 <m:menuitem 932 title=" Roles"941 title="<%=common.getString("item.role+")%>" 933 942 onclick="<%="Menu.openUrl('"+root+"admin/roles/index.jsp?ID="+ID+"')"%>" 934 tooltip="<%= hasRoles ? "Administrate roles" : "You do not have permission to administrate roles"%>"943 tooltip="<%=menu.getString("roles.tooltip", hasRoles)%>" 935 944 enabled="<%=hasRoles%>" 936 945 /> … … 938 947 <m:submenu 939 948 subid="plugins" 940 title=" Plugins"941 tooltip=" Administrate plugin definitions and configurations"949 title="<%=menu.getString("menu.plugins")%>" 950 tooltip="<%=menu.getString("menu.plugins.tooltip")%>" 942 951 enabled="<%=hasPlugins%>" 943 952 /> 944 953 <m:menuseparator /> 945 954 <m:menuitem 946 title=" Quota"955 title="<%=common.getString("item.quota+")%>" 947 956 onclick="<%="Menu.openUrl('"+root+"admin/quota/index.jsp?ID="+ID+"')"%>" 948 tooltip="<%= hasQuota ? "Administrate quota" : "You do not have permission to administrate quota"%>"957 tooltip="<%=menu.getString("quota.tooltip", hasQuota)%>" 949 958 enabled="<%=hasQuota%>" 950 959 /> 951 960 <m:menuitem 952 title=" Software"961 title="<%=common.getString("item.software+")%>" 953 962 onclick="<%="Menu.openUrl('"+root+"admin/software/index.jsp?ID="+ID+"')"%>" 954 tooltip="<%= hasSoftware ? "Administrate software" : "You do not have permission to administrate software"%>"963 tooltip="<%=menu.getString("software.tooltip", hasSoftware)%>" 955 964 enabled="<%=hasSoftware%>" 956 965 /> 957 966 <m:menuitem 958 title=" Hardware"967 title="<%=common.getString("item.hardware+")%>" 959 968 onclick="<%="Menu.openUrl('"+root+"admin/hardware/index.jsp?ID="+ID+"')"%>" 960 tooltip="<%= hasHardware ? "Administrate hardware" : "You do not have permission to administrate hardware"%>"969 tooltip="<%=menu.getString("hardware.tooltip", hasHardware)%>" 961 970 enabled="<%=hasHardware%>" 962 971 /> 963 972 <m:menuitem 964 title=" Protocols"973 title="<%=common.getString("item.protocol+")%>" 965 974 onclick="<%="Menu.openUrl('"+root+"admin/protocols/index.jsp?ID="+ID+"')"%>" 966 tooltip="<%= hasProtocols ? "Administrate protocols" : "You do not have permission to administrate protocols"%>"975 tooltip="<%=menu.getString("protocols.tooltip", hasProtocols)%>" 967 976 enabled="<%=hasProtocols%>" 968 977 /> 969 978 <m:menuitem 970 title=" Clients"979 title="<%=common.getString("item.client+")%>" 971 980 onclick="<%="Menu.openUrl('"+root+"admin/clients/index.jsp?ID="+ID+"')"%>" 972 tooltip="<%= hasClients ? "Administrate client applications" : "You do not have permission to administrate client applications"%>"981 tooltip="<%=menu.getString("clients.tooltip", hasClients)%>" 973 982 enabled="<%=hasClients%>" 974 983 /> 975 984 <m:menuitem 976 title=" News"985 title="<%=common.getString("item.news+")%>" 977 986 onclick="<%="Menu.openUrl('"+root+"admin/news/index.jsp?ID="+ID+"')"%>" 978 tooltip="<%= hasNews ? "Administrate news" : "You do not have permission to administrate news"%>"987 tooltip="<%=menu.getString("news.tooltip", hasNews)%>" 979 988 enabled="<%=hasNews%>" 980 989 /> … … 982 991 <m:submenu 983 992 subid="platforms" 984 title=" Platforms"985 tooltip=" Administrate experimental platforms"993 title="<%=menu.getString("menu.platforms")%>" 994 tooltip="<%=menu.getString("menu.platforms.tooltip")%>" 986 995 enabled="<%=hasTopPlatforms%>" 987 996 /> 988 997 <m:submenu 989 998 subid="types" 990 title=" Types"991 tooltip=" Administrate quota, file, hardware and software types"999 title="<%=menu.getString("menu.types")%>" 1000 tooltip="<%=menu.getString("menu.types.tooltip")%>" 992 1001 enabled="<%=hasTypes%>" 993 1002 /> 994 1003 <m:menuseparator /> 995 1004 <m:menuitem 996 title=" Disk usage"1005 title="<%=common.getString("item.diskusage+")%>" 997 1006 onclick="<%="Menu.openUrl('"+root+"admin/diskusage/index.jsp?ID="+ID+"')"%>" 998 tooltip="<%= hasDiskUsage ? "Check disk usage" : "You do not have permission to check disk usage"%>"1007 tooltip="<%=menu.getString("diskusage.tooltip", hasDiskUsage)%>" 999 1008 enabled="<%=hasDiskUsage%>" 1000 1009 /> 1001 1010 <m:menuitem 1002 title=" Server settings…"1011 title="<%=menu.getString("serversettings.title")+"…"%>" 1003 1012 onclick="<%="Main.openPopup('"+root+"admin/server/configure.jsp?ID="+ID+"', 'ServerSettings', 500, 400);"%>" 1004 tooltip="<%= hasServer ? "Configure the server" : "You do not have permission to configure the server"%>"1013 tooltip="<%=menu.getString("serversettings.tooltip", hasServer)%>" 1005 1014 enabled="<%=hasServer%>" 1006 1015 /> 1007 1016 <m:menuitem 1008 title=" Broadcast message…"1017 title="<%=menu.getString("broadcast.title")+"…"%>" 1009 1018 onclick="<%="Main.openPopup('"+root+"admin/server/broadcast.jsp?ID="+ID+"', 'BroadcastMessage', 640, 400);"%>" 1010 tooltip="<%= hasServer ? "Broadcast a message to all logged in users" : "You do not have permission to send messages"%>"1019 tooltip="<%=menu.getString("broadcast.tooltip", hasServer)%>" 1011 1020 enabled="<%=hasServer%>" 1012 1021 /> 1013 1022 <m:menuitem 1014 title=" Services"1015 tooltip="<%= hasServer ? "Manage service extensions" : "You do not have permission to manage services"%>"1023 title="<%=menu.getString("services.title")%>" 1024 tooltip="<%=menu.getString("services.tooltip", hasServer)%>" 1016 1025 onclick="<%="Menu.openUrl('"+root+"admin/services/index.jsp?ID="+ID+"')"%>" 1017 1026 enabled="<%=hasServer%>" … … 1074 1083 > 1075 1084 <m:menuitem 1076 title=" Switch user…"1085 title="<%=menu.getString("switchuser.title") + "…"%>" 1077 1086 onclick="<%="Main.openPopup('"+root+"switch.jsp?ID="+ID+"', 'Switch', 360, 200);"%>" 1078 tooltip=" Login as another user"1079 /> 1080 <m:menuitem 1081 title=" Impersonate…"1087 tooltip="<%=menu.getString("switchuser.tooltip")%>" 1088 /> 1089 <m:menuitem 1090 title="<%=menu.getString("impersonate.title") + "…"%>" 1082 1091 onclick="<%="Main.openPopup('"+root+"impersonate.jsp?ID="+ID+"', 'Impersonate', 480, 240);"%>" 1083 tooltip=" Login as another user without knowing the password"1092 tooltip="<%=menu.getString("impersonate.tooltip")%>" 1084 1093 visible="<%=hasImpersonate%>" 1085 1094 /> 1086 1095 <m:menuitem 1087 title=" Logout…"1096 title="<%=menu.getString("logout.title") + "…"%>" 1088 1097 onclick="<%="Main.openPopup('"+root+"logout.jsp?ID="+ID+"', 'Logout', 360, 200);"%>" 1089 tooltip=" Exit from BASE"1098 tooltip="<%=menu.getString("logout.tooltip")%>" 1090 1099 /> 1091 1100 </m:menu> … … 1171 1180 %> 1172 1181 <m:menuitem 1173 title=" Installed extensions"1182 title="<%=menu.getString("installedextensions.title")%>" 1174 1183 onclick="<%="Menu.openUrl('"+root+"admin/extensions/index.jsp?ID="+ID+"')"%>" 1175 tooltip=" Display and administrate installed extensions"1176 /> 1177 <m:menuitem 1178 title=" Manual scan…"1184 tooltip="<%=menu.getString("installedextensions.tooltip")%>" 1185 /> 1186 <m:menuitem 1187 title="<%=menu.getString("manualscan.title") + "…"%>" 1179 1188 onclick="<%="Main.openPopup('"+root+"admin/extensions/manual_scan.jsp?ID=" + ID + "', 'ManualScan', 500, 400);"%>" 1180 1189 enabled="<%=ec.hasPermission(Permission.WRITE)%>" 1181 tooltip=" Start a manual scan for new, updated and deleted extensions"1190 tooltip="<%=menu.getString("manualscan.tooltip")%>" 1182 1191 /> 1183 1192 <%
Note: See TracChangeset
for help on using the changeset viewer.