Skip to content
This repository

SAKIII-5573 Uniquely identify the Sakai2Tools widget from the BasicLTI wiget #2075

Closed
wants to merge 2 commits into from

2 participants

Chris Roby Christian Vuerings
Chris Roby
croby commented
  • Also added a separate commit to clean up the trailing whitespace in the two JS files

https://jira.sakaiproject.org/browse/SAKIII-5573

Christian Vuerings christianv commented on the diff
devwidgets/sakai2tools/css/sakai2tools.css
@@ -16,35 +16,35 @@
16 16
  * specific language governing permissions and limitations under the License.
17 17
  */
18 18
 /* Settings */
19  
-#basiclti_settings input[type="text"]{background-color:#f1f1f1;border:1px solid #d6d6d6;margin-top:3px;padding:3px;width:99%;}
20  
-.basiclti_settings_error{color:red;}
21  
-.basiclti_settings_label_head{font-weight:bold;}
22  
-#basiclti_settings_reset_size{margin-left:15px;}
23  
-.basiclti_settings_subcontainer{border-bottom:1px solid #ddd;margin-bottom:15px;padding-bottom:10px;}
24  
-.basiclti_settings_width_unit_selected{font-weight:bold;text-decoration:underline;}
  19
+#sakai2tools_settings input[type="text"]{background-color:#f1f1f1;border:1px solid #d6d6d6;margin-top:3px;padding:3px;width:99%;}
1
Christian Vuerings
christianv added a note

@croby Can we convert this to the new style guidelines?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Christian Vuerings christianv commented on the diff
devwidgets/sakai2tools/javascript/sakai2tools.js
((8 lines not shown))
62  
-        var basicltiSettingsAdvancedToggleSettings = basicltiSettingsAdvanced + "_toggle_settings";
63  
-        var basicltiSettingsAdvancedUp = basicltiSettingsAdvanced + "_up";
64  
-        var basicltiSettingsBorders = basicltiSettings + "_borders";
65  
-        var basicltiSettingsCancel = basicltiSettings + "_cancel";
66  
-        var basicltiSettingsColorContainer = basicltiSettings + "_color_container";
67  
-        var basicltiSettingsHeight = basicltiSettings + "_frame_height";
68  
-        var basicltiSettingsInsert = basicltiSettings + "_insert";
69  
-        var basicltiSettingsPreview = basicltiSettings + "_preview";
70  
-        var basicltiSettingsPreviewId = tuid + "_frame";
71  
-        var basicltiSettingsPreviewFrame = "#" + basicltiSettingsPreviewId;
72  
-        var basicltiSettingsLtiUrl = basicltiSettings + "_ltiurl";
73  
-        var basicltiSettingsLtiKey = basicltiSettings + "_ltikey";
74  
-        var basicltiSettingsLtiSecret = basicltiSettings + "_ltisecret";
75  
-        var basicltiSettingsWidth = basicltiSettings + "_width";
76  
-        var basicltiSettingsReleaseName = basicltiSettings + "_release_names";
  58
+        var sakai2tools = "#sakai2tools";
1
Christian Vuerings
christianv added a note

@croby Can we convert this file and the following one(s) to use the new style guidelines?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Christian Vuerings

@croby please issue a new PR against 1.5.0

Christian Vuerings christianv closed this
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
This page is out of date. Refresh to see the latest.
2  devwidgets/basiclti/basiclti.html
@@ -94,7 +94,7 @@
94 94
 
95 95
 <!-- Template to show the preview of the iframe -->
96 96
 <div id="basiclti_settings_preview_template"><!--
97  
-    <iframe id="${tuidFrame}" style="border: ${border_size}px #${border_color} solid" width="${width}${width_unit}" height="${frame_height}px"></iframe>
  97
+    <iframe id="${tuidFrame}" name="basiclti_iframe" style="border: ${border_size}px #${border_color} solid" width="${width}${width_unit}" height="${frame_height}px"></iframe>
98 98
 --></div>
99 99
 
100 100
 <!-- Template for choosing the color -->
6  devwidgets/basiclti/javascript/basiclti.js
@@ -161,8 +161,8 @@ require(['jquery', 'sakai/sakai.api.core'], function($, sakai) {
161 161
          * @param {Boolean} complete Render the preview completely or only adjust values
162 162
          */
163 163
         var renderIframeSettings = function(complete) {
164  
-            if (complete) { 
165  
-                json.launchDataUrl = sakai.config.URL.SDATA_FETCH_URL.replace(/__PLACEMENT__/, sakai.site.currentsite.id + '/_widgets').replace(/__TUID__/, tuid).replace(/__NAME__/, 'basiclti') + '.launch.html';               
  164
+            if (complete) {
  165
+                json.launchDataUrl = sakai.config.URL.SDATA_FETCH_URL.replace(/__PLACEMENT__/, sakai.site.currentsite.id + '/_widgets').replace(/__TUID__/, tuid).replace(/__NAME__/, 'basiclti') + '.launch.html';
166 166
                 $(basicltiSettingsPreview, $rootel).html(sakai.api.Util.TemplateRenderer($basicltiSettingsPreviewTemplate, json));
167 167
             } else {
168 168
                 $(basicltiSettingsPreviewFrame, $rootel).attr('style', 'border: ' + json.border_size + 'px #' + json.border_color + ' solid');
@@ -254,7 +254,7 @@ require(['jquery', 'sakai/sakai.api.core'], function($, sakai) {
254 254
          * Save the basiclti to the jcr
255 255
          */
256 256
         var saveRemoteContent = function(){
257  
- 
  257
+
258 258
             if (json.ltiurl !== '') {
259 259
 
260 260
                 var savejson = {
48  devwidgets/sakai2tools/css/sakai2tools.css
@@ -16,35 +16,35 @@
16 16
  * specific language governing permissions and limitations under the License.
17 17
  */
18 18
 /* Settings */
19  
-#basiclti_settings input[type="text"]{background-color:#f1f1f1;border:1px solid #d6d6d6;margin-top:3px;padding:3px;width:99%;}
20  
-.basiclti_settings_error{color:red;}
21  
-.basiclti_settings_label_head{font-weight:bold;}
22  
-#basiclti_settings_reset_size{margin-left:15px;}
23  
-.basiclti_settings_subcontainer{border-bottom:1px solid #ddd;margin-bottom:15px;padding-bottom:10px;}
24  
-.basiclti_settings_width_unit_selected{font-weight:bold;text-decoration:underline;}
  19
+#sakai2tools_settings input[type="text"]{background-color:#f1f1f1;border:1px solid #d6d6d6;margin-top:3px;padding:3px;width:99%;}
  20
+.sakai2tools_settings_error{color:red;}
  21
+.sakai2tools_settings_label_head{font-weight:bold;}
  22
+#sakai2tools_settings_reset_size{margin-left:15px;}
  23
+.sakai2tools_settings_subcontainer{border-bottom:1px solid #ddd;margin-bottom:15px;padding-bottom:10px;}
  24
+.sakai2tools_settings_width_unit_selected{font-weight:bold;text-decoration:underline;}
25 25
 
26 26
 /* Preview */
27  
-#basiclti_settings_preview{text-align:center;}
28  
-#basiclti_settings_preview_frame{border-style:solid;margin-bottom:1px;}
  27
+#sakai2tools_settings_preview{text-align:center;}
  28
+#sakai2tools_settings_preview_frame{border-style:solid;margin-bottom:1px;}
29 29
 
30 30
 /* Color */
31  
-#basiclti_settings_color_container{margin-top:9px;}
32  
-.basiclti_settings_color{border:1px solid #eee;cursor:pointer;display:block;float:left;height:26px;margin-right:9px;text-decoration:none;width:26px;}
33  
-.basiclti_settings_color:hover{border:1px solid #ccc;text-decoration:none;}
34  
-.basiclti_settings_color_selected,.basiclti_settings_color_selected:hover{border:1px solid #000;}
35  
-#basiclti_settings_color_000000{background-color:#000;}
36  
-#basiclti_settings_color_cccccc{background-color:#ccc;}
37  
-#basiclti_settings_color_ff0000{background-color:red;}
38  
-#basiclti_settings_color_008000{background-color:green;}
39  
-#basiclti_settings_color_0000ff{background-color:#00f;}
  31
+#sakai2tools_settings_color_container{margin-top:9px;}
  32
+.sakai2tools_settings_color{border:1px solid #eee;cursor:pointer;display:block;float:left;height:26px;margin-right:9px;text-decoration:none;width:26px;}
  33
+.sakai2tools_settings_color:hover{border:1px solid #ccc;text-decoration:none;}
  34
+.sakai2tools_settings_color_selected,.sakai2tools_settings_color_selected:hover{border:1px solid #000;}
  35
+#sakai2tools_settings_color_000000{background-color:#000;}
  36
+#sakai2tools_settings_color_cccccc{background-color:#ccc;}
  37
+#sakai2tools_settings_color_ff0000{background-color:red;}
  38
+#sakai2tools_settings_color_008000{background-color:green;}
  39
+#sakai2tools_settings_color_0000ff{background-color:#00f;}
40 40
 
41 41
 /* Advanced */
42  
-#basiclti_settings_advanced_toggle_settings{margin-top:-30px;float:right;}
43  
-#basiclti_settings_advanced input[type="text"]{width:65px;}
  42
+#sakai2tools_settings_advanced_toggle_settings{margin-top:-30px;float:right;}
  43
+#sakai2tools_settings_advanced input[type="text"]{width:65px;}
44 44
 
45 45
 /* Block */
46  
-.basiclti_settings_block{margin-left:15px;}
47  
-.basiclti_settings_block label{float:left;margin-right:5px;margin-top:3px;padding-top:5px;width:75px;}
48  
-.basiclti_settings_block .basiclti_settings_checkbox{float:left;margin:10px 20px 0 0;width:auto;}
49  
-.basiclti_settings_block .basiclti_settings_checkbox label{float:none;width:auto;}
50  
-.basiclti_settings_block .basiclti_settings_checkbox input[type="checkbox"]{margin:0 auto;}
  46
+.sakai2tools_settings_block{margin-left:15px;}
  47
+.sakai2tools_settings_block label{float:left;margin-right:5px;margin-top:3px;padding-top:5px;width:75px;}
  48
+.sakai2tools_settings_block .sakai2tools_settings_checkbox{float:left;margin:10px 20px 0 0;width:auto;}
  49
+.sakai2tools_settings_block .sakai2tools_settings_checkbox label{float:none;width:auto;}
  50
+.sakai2tools_settings_block .sakai2tools_settings_checkbox input[type="checkbox"]{margin:0 auto;}
178  devwidgets/sakai2tools/javascript/sakai2tools.js
@@ -26,9 +26,9 @@
26 26
 require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
27 27
 
28 28
     /**
29  
-     * @name sakai_global.basiclti
  29
+     * @name sakai_global.sakai2tools
30 30
      *
31  
-     * @class basiclti
  31
+     * @class sakai2tools
32 32
      *
33 33
      * @description
34 34
      * Basiclti widget
@@ -55,37 +55,37 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
55 55
         var defaultHeight = 200;
56 56
 
57 57
         // Links and labels
58  
-        var basiclti = "#basiclti";
59  
-        var basicltiSettings = basiclti + "_settings";
60  
-        var basicltiSettingsAdvanced = basicltiSettings + "_advanced";
61  
-        var basicltiSettingsAdvancedDown = basicltiSettingsAdvanced + "_down";
62  
-        var basicltiSettingsAdvancedToggleSettings = basicltiSettingsAdvanced + "_toggle_settings";
63  
-        var basicltiSettingsAdvancedUp = basicltiSettingsAdvanced + "_up";
64  
-        var basicltiSettingsBorders = basicltiSettings + "_borders";
65  
-        var basicltiSettingsCancel = basicltiSettings + "_cancel";
66  
-        var basicltiSettingsColorContainer = basicltiSettings + "_color_container";
67  
-        var basicltiSettingsHeight = basicltiSettings + "_frame_height";
68  
-        var basicltiSettingsInsert = basicltiSettings + "_insert";
69  
-        var basicltiSettingsPreview = basicltiSettings + "_preview";
70  
-        var basicltiSettingsPreviewId = tuid + "_frame";
71  
-        var basicltiSettingsPreviewFrame = "#" + basicltiSettingsPreviewId;
72  
-        var basicltiSettingsLtiUrl = basicltiSettings + "_ltiurl";
73  
-        var basicltiSettingsLtiKey = basicltiSettings + "_ltikey";
74  
-        var basicltiSettingsLtiSecret = basicltiSettings + "_ltisecret";
75  
-        var basicltiSettingsWidth = basicltiSettings + "_width";
76  
-        var basicltiSettingsReleaseName = basicltiSettings + "_release_names";
  58
+        var sakai2tools = "#sakai2tools";
  59
+        var sakai2toolsSettings = sakai2tools + "_settings";
  60
+        var sakai2toolsSettingsAdvanced = sakai2toolsSettings + "_advanced";
  61
+        var sakai2toolsSettingsAdvancedDown = sakai2toolsSettingsAdvanced + "_down";
  62
+        var sakai2toolsSettingsAdvancedToggleSettings = sakai2toolsSettingsAdvanced + "_toggle_settings";
  63
+        var sakai2toolsSettingsAdvancedUp = sakai2toolsSettingsAdvanced + "_up";
  64
+        var sakai2toolsSettingsBorders = sakai2toolsSettings + "_borders";
  65
+        var sakai2toolsSettingsCancel = sakai2toolsSettings + "_cancel";
  66
+        var sakai2toolsSettingsColorContainer = sakai2toolsSettings + "_color_container";
  67
+        var sakai2toolsSettingsHeight = sakai2toolsSettings + "_frame_height";
  68
+        var sakai2toolsSettingsInsert = sakai2toolsSettings + "_insert";
  69
+        var sakai2toolsSettingsPreview = sakai2toolsSettings + "_preview";
  70
+        var sakai2toolsSettingsPreviewId = tuid + "_frame";
  71
+        var sakai2toolsSettingsPreviewFrame = "#" + sakai2toolsSettingsPreviewId;
  72
+        var sakai2toolsSettingsLtiUrl = sakai2toolsSettings + "_ltiurl";
  73
+        var sakai2toolsSettingsLtiKey = sakai2toolsSettings + "_ltikey";
  74
+        var sakai2toolsSettingsLtiSecret = sakai2toolsSettings + "_ltisecret";
  75
+        var sakai2toolsSettingsWidth = sakai2toolsSettings + "_width";
  76
+        var sakai2toolsSettingsReleaseName = sakai2toolsSettings + "_release_names";
77 77
 
78 78
         // Containers
79  
-        var basicltiMainContainer = basiclti + "_main_container";
  79
+        var sakai2toolsMainContainer = sakai2tools + "_main_container";
80 80
 
81 81
         // Classes
82  
-        var basicltiSettingsWidthUnitClass = ".basiclti_settings_width_unit";
83  
-        var basicltiSettingsWidthUnitSelectedClass = "basiclti_settings_width_unit_selected";
  82
+        var sakai2toolsSettingsWidthUnitClass = ".sakai2tools_settings_width_unit";
  83
+        var sakai2toolsSettingsWidthUnitSelectedClass = "sakai2tools_settings_width_unit_selected";
84 84
 
85 85
         // Templates
86  
-        var $basicltiSettingsColorContainerTemplate = $("#basiclti_settings_color_container_template", rootel);
87  
-        var $basicltiSettingsTemplate = $("#basiclti_settings_template", rootel);
88  
-        var $basicltiSettingsPreviewTemplate = $("#basiclti_settings_preview_template", rootel);
  86
+        var $sakai2toolsSettingsColorContainerTemplate = $("#sakai2tools_settings_color_container_template", rootel);
  87
+        var $sakai2toolsSettingsTemplate = $("#sakai2tools_settings_template", rootel);
  88
+        var $sakai2toolsSettingsPreviewTemplate = $("#sakai2tools_settings_preview_template", rootel);
89 89
 
90 90
         // see: http://www.ietf.org/rfc/rfc2396.txt Appendix B
91 91
         var urlRegExp = new RegExp("^(([^:/?#]+):)?(//([^/?#]*))?([^?#]*)(\\?([^#]*))?(#(.*))?");
@@ -164,12 +164,12 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
164 164
          * @param {Boolean} complete Render the preview completely or only adjust values
165 165
          */
166 166
         var renderIframeSettings = function(complete){
167  
-            if (complete) { 
168  
-                json.launchDataUrl = sakai.config.URL.SDATA_FETCH_URL.replace(/__PLACEMENT__/, sakai.site.currentsite.id + "/_widgets").replace(/__TUID__/, tuid).replace(/__NAME__/, "basiclti") + '.launch.html';               
169  
-                $(basicltiSettingsPreview, rootel).html(sakai.api.Util.TemplateRenderer($basicltiSettingsPreviewTemplate, json));
  167
+            if (complete) {
  168
+                json.launchDataUrl = sakai.config.URL.SDATA_FETCH_URL.replace(/__PLACEMENT__/, sakai.site.currentsite.id + "/_widgets").replace(/__TUID__/, tuid).replace(/__NAME__/, "sakai2tools") + '.launch.html';
  169
+                $(sakai2toolsSettingsPreview, rootel).html(sakai.api.Util.TemplateRenderer($sakai2toolsSettingsPreviewTemplate, json));
170 170
             }
171 171
             else {
172  
-                $(basicltiSettingsPreviewFrame, rootel).attr("style", "border: " + json.border_size + "px #" + json.border_color + " solid");
  172
+                $(sakai2toolsSettingsPreviewFrame, rootel).attr("style", "border: " + json.border_size + "px #" + json.border_color + " solid");
173 173
             }
174 174
         };
175 175
 
@@ -178,39 +178,39 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
178 178
          */
179 179
         var renderIframe = function(){
180 180
             if (json) {
181  
-                json.tuidFrame = basicltiSettingsPreviewId;
182  
-                $(basicltiMainContainer, rootel).html(sakai.api.Util.TemplateRenderer($basicltiSettingsPreviewTemplate, json));
  181
+                json.tuidFrame = sakai2toolsSettingsPreviewId;
  182
+                $(sakai2toolsMainContainer, rootel).html(sakai.api.Util.TemplateRenderer($sakai2toolsSettingsPreviewTemplate, json));
183 183
                 json.launchDataUrl = sakai.api.Widgets.getWidgetDataStorageURL(tuid) + ".launch.html";
184 184
                 if (sakai_global.group) {
185 185
                     json.launchDataUrl += "?groupid=" + sakai_global.group.groupData["sakai:group-id"];
186 186
                 }
187  
-                $("#" + json.tuidFrame, rootel).attr("src", json.launchDataUrl); 
  187
+                $("#" + json.tuidFrame, rootel).attr("src", json.launchDataUrl);
188 188
 
189 189
                 // resize the iframe to match inner body height if in the same origin (i.e. same protocol/domain/port)
190 190
                 if(isSameOriginPolicy(window.location.href, json.ltiurl)) {
191  
-                    $(basicltiSettingsPreviewFrame, rootel).load(function() {
  191
+                    $(sakai2toolsSettingsPreviewFrame, rootel).load(function() {
192 192
                         $(this).height($(this).contents().find("body").height() + 15); // add 10px for IE and 5px more for Gradebook weirdness
193 193
                     });
194 194
                 }
195 195
 
196 196
                 // SAKIII-314 We need to show the container, otherwise the second item won't be shown.
197  
-                $(basicltiMainContainer, rootel).show();
  197
+                $(sakai2toolsMainContainer, rootel).show();
198 198
             }
199 199
         };
200 200
 
201 201
         /**
202  
-         * Render the html of the basicltisettings
  202
+         * Render the html of the sakai2toolssettings
203 203
          */
204 204
         var renderRemoteContentSettings = function(){
205 205
             if (json) {
206 206
                 // temporarily add the toolList to the json for rendering, but
207 207
                 // remove it afterwards because we don't want to store it in the node
208 208
                 json.toolList = toolList;
209  
-                $(basicltiSettings, rootel).html(sakai.api.Util.TemplateRenderer($basicltiSettingsTemplate, json));
  209
+                $(sakai2toolsSettings, rootel).html(sakai.api.Util.TemplateRenderer($sakai2toolsSettingsTemplate, json));
210 210
                 delete json.toolList;
211  
-                // Necessary until we parameterize the tool list on the server and client side.            
  211
+                // Necessary until we parameterize the tool list on the server and client side.
212 212
                 if (isSakai2Tool && json.lti_virtual_tool_id) {
213  
-                    $('#basiclti_settings_lti_virtual_tool_id',rootel).val(json.lti_virtual_tool_id);
  213
+                    $('#sakai2tools_settings_lti_virtual_tool_id',rootel).val(json.lti_virtual_tool_id);
214 214
                 }
215 215
             }
216 216
         };
@@ -220,7 +220,7 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
220 220
          */
221 221
         var renderColorContainer = function(){
222 222
             if (json) {
223  
-                $(basicltiSettingsColorContainer, rootel).html(sakai.api.Util.TemplateRenderer($basicltiSettingsColorContainerTemplate, json));
  223
+                $(sakai2toolsSettingsColorContainer, rootel).html(sakai.api.Util.TemplateRenderer($sakai2toolsSettingsColorContainerTemplate, json));
224 224
             }
225 225
         };
226 226
 
@@ -255,7 +255,7 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
255 255
         };
256 256
 
257 257
         /**
258  
-         * Save the basiclti to the jcr
  258
+         * Save the sakai2tools to the jcr
259 259
          */
260 260
         var saveRemoteContent = function(){
261 261
             var  saveContentAjax = function(json_data) {
@@ -264,32 +264,32 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
264 264
                     type: "POST",
265 265
                     url: url,
266 266
                     data: json,
267  
-                    success: function(data) { 
268  
-                        savedDataToJCR(true, data); 
  267
+                    success: function(data) {
  268
+                        savedDataToJCR(true, data);
269 269
                     }
270  
-                }); 
  270
+                });
271 271
                 // Because we need to use a particular servlet (LiteBasicLTI), and it
272 272
                 // requires some different options, we make our own ajax call above
273 273
                 // instead of using saveWidgetData for now.
274  
-                // 
275  
-                //sakai.api.Widgets.saveWidgetData(tuid, json, savedDataToJCR);                
  274
+                //
  275
+                //sakai.api.Widgets.saveWidgetData(tuid, json, savedDataToJCR);
276 276
             };
277 277
 
278 278
             if (isSakai2Tool()) {
279  
-                json["lti_virtual_tool_id"] = $('#basiclti_settings_lti_virtual_tool_id',rootel).val();    
  279
+                json["lti_virtual_tool_id"] = $('#sakai2tools_settings_lti_virtual_tool_id',rootel).val();
280 280
 
281 281
                 json[":operation"] = "basiclti";
282 282
                 json["sling:resourceType"] = "sakai/basiclti";
283  
-                json.ltikey = $(basicltiSettingsLtiKey,rootel).val() || "";
284  
-                json.ltisecret = $(basicltiSettingsLtiSecret,rootel).val() || "";
  283
+                json.ltikey = $(sakai2toolsSettingsLtiKey,rootel).val() || "";
  284
+                json.ltisecret = $(sakai2toolsSettingsLtiSecret,rootel).val() || "";
285 285
                 json["debug@TypeHint"] = "Boolean";
286  
-                json.debug = $('#basiclti_settings_debug:checked',rootel).val() !== null;
  286
+                json.debug = $('#sakai2tools_settings_debug:checked',rootel).val() !== null;
287 287
                 json["release_names@TypeHint"] = "Boolean";
288  
-                json.release_names = $('#basiclti_settings_release_names:checked',rootel).val() !== null;
  288
+                json.release_names = $('#sakai2tools_settings_release_names:checked',rootel).val() !== null;
289 289
                 json["release_principal_name@TypeHint"] = "Boolean";
290  
-                json.release_principal_name = $('#basiclti_settings_release_principal_name:checked',rootel).val() !== null;
  290
+                json.release_principal_name = $('#sakai2tools_settings_release_principal_name:checked',rootel).val() !== null;
291 291
                 json["release_email@TypeHint"] = "Boolean";
292  
-                json.release_email = $('#basiclti_settings_release_email:checked',rootel).val() !== null;
  292
+                json.release_email = $('#sakai2tools_settings_release_email:checked',rootel).val() !== null;
293 293
                 json.launchDataUrl = ""; // does not need to be persisted
294 294
                 json.tuidFrame = ""; // does not need to be persisted
295 295
                 json.defined = ""; // what the heck is this? Where does it come from?
@@ -298,19 +298,19 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
298 298
                 saveContentAjax(json);
299 299
             }
300 300
             else if (json.ltiurl !== "") {
301  
-                json.ltiurl = $(basicltiSettingsLtiUrl,rootel).val() || "";    
  301
+                json.ltiurl = $(sakai2toolsSettingsLtiUrl,rootel).val() || "";
302 302
                 json[":operation"] = "basiclti";
303 303
                 json["sling:resourceType"] = "sakai/basiclti";
304  
-                json.ltikey = $(basicltiSettingsLtiKey,rootel).val() || "";
305  
-                json.ltisecret = $(basicltiSettingsLtiSecret,rootel).val() || "";
  304
+                json.ltikey = $(sakai2toolsSettingsLtiKey,rootel).val() || "";
  305
+                json.ltisecret = $(sakai2toolsSettingsLtiSecret,rootel).val() || "";
306 306
                 json["debug@TypeHint"] = "Boolean";
307  
-                json.debug = $('#basiclti_settings_debug:checked',rootel).val() !== null;
  307
+                json.debug = $('#sakai2tools_settings_debug:checked',rootel).val() !== null;
308 308
                 json["release_names@TypeHint"] = "Boolean";
309  
-                json.release_names = $('#basiclti_settings_release_names:checked',rootel).val() !== null;
  309
+                json.release_names = $('#sakai2tools_settings_release_names:checked',rootel).val() !== null;
310 310
                 json["release_principal_name@TypeHint"] = "Boolean";
311  
-                json.release_principal_name = $('#basiclti_settings_release_principal_name:checked',rootel).val() !== null;
  311
+                json.release_principal_name = $('#sakai2tools_settings_release_principal_name:checked',rootel).val() !== null;
312 312
                 json["release_email@TypeHint"] = "Boolean";
313  
-                json.release_email = $('#basiclti_settings_release_email:checked',rootel).val() !== null;
  313
+                json.release_email = $('#sakai2tools_settings_release_email:checked',rootel).val() !== null;
314 314
                 json.launchDataUrl = ""; // does not need to be persisted
315 315
                 json.tuidFrame = ""; // does not need to be persisted
316 316
                 json.defined = ""; // what the heck is this? Where does it come from?
@@ -329,12 +329,12 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
329 329
          */
330 330
         var changeAdvancedSettingsArrow = function(){
331 331
             if (isAdvancedSettingsVisible) {
332  
-                $(basicltiSettingsAdvancedDown, rootel).hide();
333  
-                $(basicltiSettingsAdvancedUp, rootel).show();
  332
+                $(sakai2toolsSettingsAdvancedDown, rootel).hide();
  333
+                $(sakai2toolsSettingsAdvancedUp, rootel).show();
334 334
             }
335 335
             else {
336  
-                $(basicltiSettingsAdvancedUp, rootel).hide();
337  
-                $(basicltiSettingsAdvancedDown, rootel).show();
  336
+                $(sakai2toolsSettingsAdvancedUp, rootel).hide();
  337
+                $(sakai2toolsSettingsAdvancedDown, rootel).show();
338 338
             }
339 339
         };
340 340
 
@@ -347,7 +347,7 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
347 347
          * Add binding to the color boxes
348 348
          */
349 349
         var addColorBinding = function(){
350  
-            $(".basiclti_settings_color",rootel).click(function(){
  350
+            $(".sakai2tools_settings_color",rootel).click(function(){
351 351
                 json.border_color = $(this).attr("id").split("_")[$(this).attr("id").split("_").length - 1];
352 352
                 renderIframeSettings(false);
353 353
                 renderColorContainer();
@@ -361,7 +361,7 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
361 361
         var addBinding = function(){
362 362
 
363 363
             // Change the url for the iFrame
364  
-            $(basicltiSettingsLtiUrl,rootel).change(function(){
  364
+            $(sakai2toolsSettingsLtiUrl,rootel).change(function(){
365 365
                 var urlValue = $(this).val();
366 366
                 if (urlValue !== "") {
367 367
                     // Check if someone already wrote http inside the url
@@ -374,8 +374,8 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
374 374
             });
375 375
 
376 376
             // Change the iframe width
377  
-            $(basicltiSettingsWidth,rootel).change(function(){
378  
-                var widthValue = $(basicltiSettingsWidth,rootel).val();
  377
+            $(sakai2toolsSettingsWidth,rootel).change(function(){
  378
+                var widthValue = $(sakai2toolsSettingsWidth,rootel).val();
379 379
 
380 380
                 if (isDecimal(widthValue)) {
381 381
                     json.width = widthValue;
@@ -384,8 +384,8 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
384 384
             });
385 385
 
386 386
             // Change the iframe height
387  
-            $(basicltiSettingsHeight,rootel).change(function(){
388  
-                var heightValue = $(basicltiSettingsHeight,rootel).val();
  387
+            $(sakai2toolsSettingsHeight,rootel).change(function(){
  388
+                var heightValue = $(sakai2toolsSettingsHeight,rootel).val();
389 389
 
390 390
                 if (isDecimal(heightValue)) {
391 391
                     json.frame_height = heightValue;
@@ -394,8 +394,8 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
394 394
             });
395 395
 
396 396
             // Change the border width
397  
-            $(basicltiSettingsBorders,rootel).change(function(){
398  
-                var borderValue = $(basicltiSettingsBorders,rootel).val();
  397
+            $(sakai2toolsSettingsBorders,rootel).change(function(){
  398
+                var borderValue = $(sakai2toolsSettingsBorders,rootel).val();
399 399
                 if (isDecimal(borderValue)) {
400 400
                     json.border_size = borderValue;
401 401
                     renderIframeSettings(false);
@@ -403,14 +403,14 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
403 403
             });
404 404
 
405 405
             // Toggle the advanced view
406  
-            $(basicltiSettingsAdvancedToggleSettings,rootel).click(function(){
407  
-                $("#basiclti_settings_advanced", rootel).toggle();
  406
+            $(sakai2toolsSettingsAdvancedToggleSettings,rootel).click(function(){
  407
+                $("#sakai2tools_settings_advanced", rootel).toggle();
408 408
                 isAdvancedSettingsVisible = !isAdvancedSettingsVisible;
409 409
                 changeAdvancedSettingsArrow();
410 410
             });
411 411
 
412 412
             // When you click on one of the width units (px or percentage)
413  
-            $(basicltiSettingsWidthUnitClass,rootel).click(function(){
  413
+            $(sakai2toolsSettingsWidthUnitClass,rootel).click(function(){
414 414
                 var widthUnitValue = $(this).attr("id").split("_")[$(this).attr("id").split("_").length - 1];
415 415
                 if (widthUnitValue === "px") {
416 416
                     json.width_unit = widthUnitValue;
@@ -418,19 +418,19 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
418 418
                 else {
419 419
                     json.width_unit = "%";
420 420
                 }
421  
-                $(basicltiSettingsWidthUnitClass,rootel).removeClass(basicltiSettingsWidthUnitSelectedClass);
422  
-                $(this).addClass(basicltiSettingsWidthUnitSelectedClass);
  421
+                $(sakai2toolsSettingsWidthUnitClass,rootel).removeClass(sakai2toolsSettingsWidthUnitSelectedClass);
  422
+                $(this).addClass(sakai2toolsSettingsWidthUnitSelectedClass);
423 423
                 renderIframeSettings(false);
424 424
             });
425 425
 
426 426
             // When you push the save button..
427  
-            $(basicltiSettingsInsert,rootel).click(function(){
  427
+            $(sakai2toolsSettingsInsert,rootel).click(function(){
428 428
                 saveRemoteContent();
429 429
             });
430 430
 
431 431
             // Cancel it
432  
-            $(basicltiSettingsCancel,rootel).click(function(){
433  
-                sakai.api.Widgets.Container.informCancel(tuid, "basiclti");
  432
+            $(sakai2toolsSettingsCancel,rootel).click(function(){
  433
+                sakai.api.Widgets.Container.informCancel(tuid, "sakai2tools");
434 434
             });
435 435
 
436 436
             addColorBinding();
@@ -444,7 +444,7 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
444 444
         /**
445 445
          * Function that fills in the input fields in the settings tab.
446 446
          * @param {Object} parameters A JSON object that contains the necessary information.
447  
-         * @param {Boolean} exists Does there exist a previous basiclti
  447
+         * @param {Boolean} exists Does there exist a previous sakai2tools
448 448
          */
449 449
         var displaySettings = function(parameters, exists){
450 450
             if (exists && parameters.ltiurl) {
@@ -471,19 +471,19 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
471 471
             renderColorContainer();
472 472
             addBinding(); // Add binding to the various elements
473 473
             changeAdvancedSettingsArrow();
474  
-            $(basicltiSettings,rootel).show(); // Show the basiclti settings
  474
+            $(sakai2toolsSettings,rootel).show(); // Show the sakai2tools settings
475 475
         };
476 476
 
477 477
         /*
478 478
          * Is the widget in settings mode or not
479 479
          */
480 480
         if (showSettings) {
481  
-            $(basicltiMainContainer,rootel).hide();
482  
-            $(basicltiSettings,rootel).show();
  481
+            $(sakai2toolsMainContainer,rootel).hide();
  482
+            $(sakai2toolsSettings,rootel).show();
483 483
         }
484 484
         else {
485  
-            $(basicltiSettings,rootel).hide();
486  
-            $(basicltiMainContainer,rootel).show();
  485
+            $(sakai2toolsSettings,rootel).hide();
  486
+            $(sakai2toolsMainContainer,rootel).show();
487 487
         }
488 488
 
489 489
         /**
@@ -493,7 +493,7 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
493 493
         var getRemoteContent = function() {
494 494
             // The list of available Sakai 2 Tools is configurable at runtime on nakamura
495 495
             sakai.api.Server.loadJSON('/var/basiclti/cletools.json' , function(success,data) {
496  
-                toolList = []; 
  496
+                toolList = [];
497 497
                 for (var i = 0; i < data.toolList.length; i++) {
498 498
                     // Our i18n keys for the tools are formatted as: sakai.announcements -> CLE_SAKAI_ANNOUNCEMENTS
499 499
                     var key = "CLE_" + data.toolList[i].replace(/\./g,"_").toUpperCase();
@@ -520,7 +520,7 @@ require(["jquery", "sakai/sakai.api.core"], function($, sakai) {
520 520
                     }
521 521
                     else {
522 522
                         displayRemoteContent(data);
523  
-                    } 
  523
+                    }
524 524
                 }
525 525
                 else {
526 526
                     displaySettings(null, false);
108  devwidgets/sakai2tools/sakai2tools.html
@@ -4,111 +4,111 @@
4 4
 <span style="display:none;">__MSG__IE_PLACEHOLDER__</span>
5 5
 
6 6
 <!-- SETTINGS -->
7  
-<div id="basiclti_settings" style="display:none;">
  7
+<div id="sakai2tools_settings" style="display:none;">
8 8
 
9 9
 </div>
10 10
 
11 11
 <!-- The main  settings template -->
12  
-<div id="basiclti_settings_template"><!--
  12
+<div id="sakai2tools_settings_template"><!--
13 13
     <form>
14  
-        <div class="basiclti_settings_subcontainer">
  14
+        <div class="sakai2tools_settings_subcontainer">
15 15
             <p>
16 16
             {if isSakai2Tool === true}
17  
-                <label for="basiclti_settings_lti_virtual_tool_id">Tool:</label>
18  
-                <select id="basiclti_settings_lti_virtual_tool_id" name="lti_virtual_tool_id">
  17
+                <label for="sakai2tools_settings_lti_virtual_tool_id">Tool:</label>
  18
+                <select id="sakai2tools_settings_lti_virtual_tool_id" name="lti_virtual_tool_id">
19 19
                 {for sakai2Tool in toolList} 
20 20
                     <option value="${sakai2Tool.toolid}">${sakai2Tool.toolname}</option>
21 21
                 {/for}
22 22
                 </select>
23 23
             {else}
24  
-                <label for="basiclti_settings_ltiurl">__MSG__URL__: </label>
25  
-                <input type="text" id="basiclti_settings_ltiurl" value="${ltiurl}" /><br />
26  
-                <label for="basiclti_settings_ltikey">__MSG__KEY__: </label>
27  
-                <input type="text" id="basiclti_settings_ltikey" value="${ltikey}" /><br />
28  
-                <label for="basiclti_settings_ltisecret">__MSG__SECRET__: </label>
29  
-                <input type="text" id="basiclti_settings_ltisecret" value="${ltisecret}" /><br />
  24
+                <label for="sakai2tools_settings_ltiurl">__MSG__URL__: </label>
  25
+                <input type="text" id="sakai2tools_settings_ltiurl" value="${ltiurl}" /><br />
  26
+                <label for="sakai2tools_settings_ltikey">__MSG__KEY__: </label>
  27
+                <input type="text" id="sakai2tools_settings_ltikey" value="${ltikey}" /><br />
  28
+                <label for="sakai2tools_settings_ltisecret">__MSG__SECRET__: </label>
  29
+                <input type="text" id="sakai2tools_settings_ltisecret" value="${ltisecret}" /><br />
30 30
             {/if}
31 31
             </p>
32 32
             <p>
33  
-                <label class="basiclti_settings_label_head"></label> <span><br class="fl-push" />
  33
+                <label class="sakai2tools_settings_label_head"></label> <span><br class="fl-push" />
34 34
             </p>
35  
-            <div id="basiclti_settings_preview">
  35
+            <div id="sakai2tools_settings_preview">
36 36
 
37 37
             </div>
38  
-            <button type="button" class="s3d-button s3d-button-primary" id="basiclti_settings_advanced_toggle_settings"><span class="s3d-button-inner">__MSG__ADVANCED_SETTINGS__ <span id="basiclti_settings_advanced_down">&#8595;</span><span id="basiclti_settings_advanced_up">&#8593;</span></span></button>
  38
+            <button type="button" class="s3d-button s3d-button-primary" id="sakai2tools_settings_advanced_toggle_settings"><span class="s3d-button-inner">__MSG__ADVANCED_SETTINGS__ <span id="sakai2tools_settings_advanced_down">&#8595;</span><span id="sakai2tools_settings_advanced_up">&#8593;</span></span></button>
39 39
         </div>
40  
-        <div id="basiclti_settings_advanced" style="display:none;">
41  
-            <div class="basiclti_settings_subcontainer">
42  
-                <label class="basiclti_settings_label_head">__MSG__PRIVACY__:</label><br />
43  
-                <div class="basiclti_settings_block">
44  
-                    <div class="basiclti_settings_checkbox">
45  
-                        <label for="basiclti_settings_release_names">__MSG__RELEASE_NAMES__:</label>
46  
-                        <input type="checkbox" id="basiclti_settings_release_names" name="release_names" {if release_names}checked="checked"{/if} /><span>&nbsp;</span>
  40
+        <div id="sakai2tools_settings_advanced" style="display:none;">
  41
+            <div class="sakai2tools_settings_subcontainer">
  42
+                <label class="sakai2tools_settings_label_head">__MSG__PRIVACY__:</label><br />
  43
+                <div class="sakai2tools_settings_block">
  44
+                    <div class="sakai2tools_settings_checkbox">
  45
+                        <label for="sakai2tools_settings_release_names">__MSG__RELEASE_NAMES__:</label>
  46
+                        <input type="checkbox" id="sakai2tools_settings_release_names" name="release_names" {if release_names}checked="checked"{/if} /><span>&nbsp;</span>
47 47
                     </div>
48  
-                    <div class="basiclti_settings_checkbox">
49  
-                        <label for="basiclti_settings_release_principal_name">__MSG__RELEASE_USERNAME__:</label>
50  
-                        <input type="checkbox" id="basiclti_settings_release_principal_name" name="release_principal_name" {if release_principal_name}checked="checked"{/if} /><span>&nbsp;</span>
  48
+                    <div class="sakai2tools_settings_checkbox">
  49
+                        <label for="sakai2tools_settings_release_principal_name">__MSG__RELEASE_USERNAME__:</label>
  50
+                        <input type="checkbox" id="sakai2tools_settings_release_principal_name" name="release_principal_name" {if release_principal_name}checked="checked"{/if} /><span>&nbsp;</span>
51 51
                     </div>
52  
-                    <div class="basiclti_settings_checkbox">
53  
-                        <label for="basiclti_settings_release_email">__MSG__RELEASE_EMAIL_ADDRESS__:</label>
54  
-                        <input type="checkbox" id="basiclti_settings_release_email" name="release_email" {if release_email}checked="checked"{/if} /><span>&nbsp;</span><br class="fl-push" />
  52
+                    <div class="sakai2tools_settings_checkbox">
  53
+                        <label for="sakai2tools_settings_release_email">__MSG__RELEASE_EMAIL_ADDRESS__:</label>
  54
+                        <input type="checkbox" id="sakai2tools_settings_release_email" name="release_email" {if release_email}checked="checked"{/if} /><span>&nbsp;</span><br class="fl-push" />
55 55
                     </div>
56 56
                     <br class="fl-push" />
57 57
                 </div>
58 58
             </div>
59 59
 
60  
-            <div class="basiclti_settings_subcontainer">
61  
-                <label class="basiclti_settings_label_head">__MSG__SIZE__:</label><br />
62  
-                <div class="basiclti_settings_block">
63  
-                    <label for="basiclti_settings_width">__MSG__WIDTH__:</label>
64  
-                    <input type="text" id="basiclti_settings_width" value="${width}" />
65  
-                    <button type="button" id="basiclti_settings_width_unit_px" class="s3d-link-button s3d-action basiclti_settings_width_unit {if width_unit == "px"} basiclti_settings_width_unit_selected{/if}"> px</button>
  60
+            <div class="sakai2tools_settings_subcontainer">
  61
+                <label class="sakai2tools_settings_label_head">__MSG__SIZE__:</label><br />
  62
+                <div class="sakai2tools_settings_block">
  63
+                    <label for="sakai2tools_settings_width">__MSG__WIDTH__:</label>
  64
+                    <input type="text" id="sakai2tools_settings_width" value="${width}" />
  65
+                    <button type="button" id="sakai2tools_settings_width_unit_px" class="s3d-link-button s3d-action sakai2tools_settings_width_unit {if width_unit == "px"} sakai2tools_settings_width_unit_selected{/if}"> px</button>
66 66
                     <span> or </span>
67  
-                    <button type="button" id="basiclti_settings_width_unit_percent" class="s3d-link-button s3d-action basiclti_settings_width_unit {if width_unit == "%"} basiclti_settings_width_unit_selected{/if}"> %</button>
  67
+                    <button type="button" id="sakai2tools_settings_width_unit_percent" class="s3d-link-button s3d-action sakai2tools_settings_width_unit {if width_unit == "%"} sakai2tools_settings_width_unit_selected{/if}"> %</button>
68 68
                     <br />
69  
-                    <label for="basiclti_settings_frame_height">__MSG__HEIGHT__:</label>
70  
-                    <input type="text" id="basiclti_settings_frame_height" value="${frame_height}" /><span> __MSG__PX__</span>
71  
-                    <button type="button" class="s3d-button s3d-button-primary" id="basiclti_settings_reset_size"><span class="s3d-button-inner">__MSG__RESET_TO_ORIGINAL_SIZE__</span></button>
  69
+                    <label for="sakai2tools_settings_frame_height">__MSG__HEIGHT__:</label>
  70
+                    <input type="text" id="sakai2tools_settings_frame_height" value="${frame_height}" /><span> __MSG__PX__</span>
  71
+                    <button type="button" class="s3d-button s3d-button-primary" id="sakai2tools_settings_reset_size"><span class="s3d-button-inner">__MSG__RESET_TO_ORIGINAL_SIZE__</span></button>
72 72
                     <br class="fl-push" />
73 73
                 </div>
74 74
             </div>
75 75
 
76  
-            <div class="basiclti_settings_subcontainer">
77  
-                <label class="basiclti_settings_label_head">__MSG__BORDER__:</label><br />
78  
-                <div class="basiclti_settings_block">
79  
-                    <label for="basiclti_settings_borders">__MSG__WIDTH__:</label>
80  
-                    <input type="text" id="basiclti_settings_borders" value="${border_size}" /><span> __MSG__PX__</span><br class="fl-push" />
81  
-                    <div id="basiclti_settings_color_container">
  76
+            <div class="sakai2tools_settings_subcontainer">
  77
+                <label class="sakai2tools_settings_label_head">__MSG__BORDER__:</label><br />
  78
+                <div class="sakai2tools_settings_block">
  79
+                    <label for="sakai2tools_settings_borders">__MSG__WIDTH__:</label>
  80
+                    <input type="text" id="sakai2tools_settings_borders" value="${border_size}" /><span> __MSG__PX__</span><br class="fl-push" />
  81
+                    <div id="sakai2tools_settings_color_container">
82 82
                     </div>
83 83
                 </div>
84 84
             </div>
85 85
         </div>
86 86
 
87 87
         <div class="dialog_buttons">
88  
-            <button type="button" class="s3d-button s3d-button-primary" id="basiclti_settings_insert"><span class="s3d-button-inner">__MSG__SAVE__</span></button>
89  
-            <button type="button" class="s3d-button" id="basiclti_settings_cancel"><span class="s3d-button-inner">__MSG__CANCEL__</span></button>
  88
+            <button type="button" class="s3d-button s3d-button-primary" id="sakai2tools_settings_insert"><span class="s3d-button-inner">__MSG__SAVE__</span></button>
  89
+            <button type="button" class="s3d-button" id="sakai2tools_settings_cancel"><span class="s3d-button-inner">__MSG__CANCEL__</span></button>
90 90
         </div>
91 91
     </form>
92 92
 --></div>
93 93
 
94 94
 <!-- Template to show the preview of the iframe -->
95  
-<div id="basiclti_settings_preview_template"><!--
96  
-    <iframe id="${tuidFrame}" style="border: ${border_size}px #${border_color} solid" width="${width}${width_unit}" height="${frame_height}px"></iframe>
  95
+<div id="sakai2tools_settings_preview_template"><!--
  96
+    <iframe id="${tuidFrame}" name="sakai2tools_iframe" style="border: ${border_size}px #${border_color} solid" width="${width}${width_unit}" height="${frame_height}px"></iframe>
97 97
 --></div>
98 98
 
99 99
 <!-- Template for choosing the color -->
100  
-<div id="basiclti_settings_color_container_template"><!--
  100
+<div id="sakai2tools_settings_color_container_template"><!--
101 101
     <label>Color:</label>
102  
-    <a title="__MSG__BLACK__" id="basiclti_settings_color_000000" class="basiclti_settings_color {if border_color == "000000"} basiclti_settings_color_selected{/if}">&nbsp;</a>
103  
-    <a title="__MSG__GREY__" id="basiclti_settings_color_cccccc" class="basiclti_settings_color {if border_color == "cccccc"} basiclti_settings_color_selected{/if}">&nbsp;</a>
104  
-    <a title="__MSG__RED__" id="basiclti_settings_color_ff0000" class="basiclti_settings_color {if border_color == "ff0000"} basiclti_settings_color_selected{/if}">&nbsp;</a>
105  
-    <a title="__MSG__GREEN__" id="basiclti_settings_color_008000" class="basiclti_settings_color {if border_color == "008000"} basiclti_settings_color_selected{/if}">&nbsp;</a>
106  
-    <a title="__MSG__BLUE__" id="basiclti_settings_color_0000ff" class="basiclti_settings_color {if border_color == "0000ff"} basiclti_settings_color_selected{/if}">&nbsp;</a>
  102
+    <a title="__MSG__BLACK__" id="sakai2tools_settings_color_000000" class="sakai2tools_settings_color {if border_color == "000000"} sakai2tools_settings_color_selected{/if}">&nbsp;</a>
  103
+    <a title="__MSG__GREY__" id="sakai2tools_settings_color_cccccc" class="sakai2tools_settings_color {if border_color == "cccccc"} sakai2tools_settings_color_selected{/if}">&nbsp;</a>
  104
+    <a title="__MSG__RED__" id="sakai2tools_settings_color_ff0000" class="sakai2tools_settings_color {if border_color == "ff0000"} sakai2tools_settings_color_selected{/if}">&nbsp;</a>
  105
+    <a title="__MSG__GREEN__" id="sakai2tools_settings_color_008000" class="sakai2tools_settings_color {if border_color == "008000"} sakai2tools_settings_color_selected{/if}">&nbsp;</a>
  106
+    <a title="__MSG__BLUE__" id="sakai2tools_settings_color_0000ff" class="sakai2tools_settings_color {if border_color == "0000ff"} sakai2tools_settings_color_selected{/if}">&nbsp;</a>
107 107
     <br class="fl-push" />
108 108
 --></div>
109 109
 
110 110
 <!-- MAIN CONTAINER -->
111  
-<div id="basiclti_main_container" style="display:none;">
  111
+<div id="sakai2tools_main_container" style="display:none;">
112 112
 </div>
113 113
 
114 114
 <!-- JAVASCRIPT -->
Commit_comment_tip

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.