@@ -208,13 +208,13 @@ discard block |
||
208 | 208 | if(j.local_url !== undefined && j.local_url) |
209 | 209 | txt = txt+'<tr><td><?php escaped_echo(_("WWW:")); ?></td><td><a href="'+j.local_url+'" target="_blank">'+j.local_url+'</a></td></tr>'; |
210 | 210 | if(j.local_email !== undefined && j.local_email) |
211 | - txt = txt+'<tr><td><?php escaped_echo(_("email:"));?></td><td><a href=mailto:"'+j.local_email+'">'+j.local_email+'</a></td></tr>'; |
|
211 | + txt = txt+'<tr><td><?php escaped_echo(_("email:")); ?></td><td><a href=mailto:"'+j.local_email+'">'+j.local_email+'</a></td></tr>'; |
|
212 | 212 | if(j.local_phone !== undefined && j.local_phone) |
213 | - txt = txt+'<tr><td><?php escaped_echo(_("tel:"));?></td><td>'+j.local_phone+'</td></tr>'; |
|
213 | + txt = txt+'<tr><td><?php escaped_echo(_("tel:")); ?></td><td>'+j.local_phone+'</td></tr>'; |
|
214 | 214 | if(txt) |
215 | - txt = "<table><tr><th colspan='2'><?php escaped_echo(sprintf(_("If you encounter problems, then you can obtain direct assistance from your %s at:"),$cat->nomenclature_inst)); ?></th></tr>"+txt+'</table>'; |
|
215 | + txt = "<table><tr><th colspan='2'><?php escaped_echo(sprintf(_("If you encounter problems, then you can obtain direct assistance from your %s at:"), $cat->nomenclature_inst)); ?></th></tr>"+txt+'</table>'; |
|
216 | 216 | else |
217 | - txt = "<table><tr><th colspan='2'><?php escaped_echo(sprintf(_("If you encounter problems you should ask for help at your %s"),$cat->nomenclature_inst)); ?>.</th></tr></table>"; |
|
217 | + txt = "<table><tr><th colspan='2'><?php escaped_echo(sprintf(_("If you encounter problems you should ask for help at your %s"), $cat->nomenclature_inst)); ?>.</th></tr></table>"; |
|
218 | 218 | $("#user_info").html(txt); |
219 | 219 | $("#user_info").show(); |
220 | 220 | resetDevices(); |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | $("#g_"+v.id).addClass('alertButton'); |
228 | 228 | $("#cross_icon_"+v.id).show(); |
229 | 229 | $("#"+v.id).addClass('disabledDevice'); |
230 | - $("#download_button_header_"+v.id).html("<?php escaped_echo(sprintf(_("This device cannot be configured with settings provided by your %s"),$cat->nomenclature_inst))?>"); |
|
230 | + $("#download_button_header_"+v.id).html("<?php escaped_echo(sprintf(_("This device cannot be configured with settings provided by your %s"), $cat->nomenclature_inst))?>"); |
|
231 | 231 | $("#info_b_"+v.id+",#g_info_b_"+v.id).hide(); |
232 | 232 | } else { |
233 | 233 | if(v.status == -1) |
@@ -239,7 +239,7 @@ discard block |
||
239 | 239 | $("#"+v.id+",#g_"+v.id).addClass('additionalInfo'); |
240 | 240 | $("#"+v.id+",#g_"+v.id).click(function(event){ |
241 | 241 | i_div = $("#info_"+$(this).attr('id')); |
242 | - t = "<?php escaped_echo(_("Your site administrator has specified that this device should be configured with resources located on a local page. When you click <b>Continue</b> this page will be opened in a new window/tab."))?>"+"<br><span class='redirect_link'><a href='"+v.redirect+"' target='_blank'><?php escaped_echo(_("Continue"));?></a></span>"; |
|
242 | + t = "<?php escaped_echo(_("Your site administrator has specified that this device should be configured with resources located on a local page. When you click <b>Continue</b> this page will be opened in a new window/tab."))?>"+"<br><span class='redirect_link'><a href='"+v.redirect+"' target='_blank'><?php escaped_echo(_("Continue")); ?></a></span>"; |
|
243 | 243 | i_div.html(t); |
244 | 244 | $(".redirect_link").click(function(event) { |
245 | 245 | i_div.hide(); |
@@ -247,13 +247,13 @@ discard block |
||
247 | 247 | |
248 | 248 | }); |
249 | 249 | } else if(v.device_customtext != '0' || v.eap_customtext != '0' || v.message != '0' || v.status > 0) { |
250 | - var continue_text = "<?php escaped_echo(_("Continue"));?>"; |
|
250 | + var continue_text = "<?php escaped_echo(_("Continue")); ?>"; |
|
251 | 251 | $("#"+v.id+",#g_"+v.id).addClass('additionalInfo'); |
252 | 252 | $("#"+v.id+",#g_"+v.id).click(function(event){ |
253 | 253 | i_div = $("#info_"+$(this).attr('id')); |
254 | 254 | if(v.status > 0) { |
255 | - t = "<?php escaped_echo(sprintf(_("This device cannot be configured with settings provided by your %s"),$cat->nomenclature_inst))?>"; |
|
256 | - continue_text = "<?php escaped_echo(_("Close"));?>"; |
|
255 | + t = "<?php escaped_echo(sprintf(_("This device cannot be configured with settings provided by your %s"), $cat->nomenclature_inst))?>"; |
|
256 | + continue_text = "<?php escaped_echo(_("Close")); ?>"; |
|
257 | 257 | } else { |
258 | 258 | t = i_div.html(); |
259 | 259 | if(v.message != '0') { |
@@ -322,7 +322,7 @@ discard block |
||
322 | 322 | } |
323 | 323 | |
324 | 324 | function infoCAT(k,subK,title) { |
325 | - $.post('<?php echo $Gui->skinObject->findResourceUrl("BASE","user/cat_info.php")?>', {page: k, subpage: subK, lang: lang}, function(data) { |
|
325 | + $.post('<?php echo $Gui->skinObject->findResourceUrl("BASE", "user/cat_info.php")?>', {page: k, subpage: subK, lang: lang}, function(data) { |
|
326 | 326 | showInfo(data, title)}); |
327 | 327 | } |
328 | 328 | |
@@ -331,7 +331,7 @@ discard block |
||
331 | 331 | $("#loading_ico").css('left',x+'px'); |
332 | 332 | $("#loading_ico").attr('src','resources/images/icons/loading9.gif'); |
333 | 333 | $("#loading_ico").show(); |
334 | - window.location.replace("<?php echo $Gui->skinObject->findResourceUrl("BASE","admin/overview_user.php")?>?lang="+lang); |
|
334 | + window.location.replace("<?php echo $Gui->skinObject->findResourceUrl("BASE", "admin/overview_user.php")?>?lang="+lang); |
|
335 | 335 | } |
336 | 336 | |
337 | 337 | |
@@ -353,7 +353,7 @@ discard block |
||
353 | 353 | return(Math.round(windowWidth/2)); |
354 | 354 | } |
355 | 355 | |
356 | -<?php if($idpId) { |
|
356 | +<?php if ($idpId) { |
|
357 | 357 | print "front_page = 0;\n"; |
358 | 358 | } ?> |
359 | 359 | |
@@ -477,13 +477,13 @@ discard block |
||
477 | 477 | "overlay":true,"cookie":true,"type":false, |
478 | 478 | "country":true,"location":true, |
479 | 479 | "title":"<?php escaped_echo($cat->nomenclature_inst) ?>", |
480 | - "subtitle":"<?php escaped_echo(sprintf(_("Select your <strong>%s<\/strong>"),$cat->nomenclature_inst)) ?>", |
|
481 | - "textHelp": "<?php escaped_echo(sprintf(_("Help, my %s is not on the list"),$cat->nomenclature_inst)) ?>", |
|
482 | - "textHelpMore": "<?php escaped_echo(sprintf(_("This system relies on information supplied by local %s administrators. If your %s is not on the list, then nag them to add information to the %s database."),CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'], $cat->nomenclature_inst, CONFIG['APPEARANCE']['productname'])); ?>", |
|
480 | + "subtitle":"<?php escaped_echo(sprintf(_("Select your <strong>%s<\/strong>"), $cat->nomenclature_inst)) ?>", |
|
481 | + "textHelp": "<?php escaped_echo(sprintf(_("Help, my %s is not on the list"), $cat->nomenclature_inst)) ?>", |
|
482 | + "textHelpMore": "<?php escaped_echo(sprintf(_("This system relies on information supplied by local %s administrators. If your %s is not on the list, then nag them to add information to the %s database."), CONFIG_CONFASSISTANT['CONSORTIUM']['display_name'], $cat->nomenclature_inst, CONFIG['APPEARANCE']['productname'])); ?>", |
|
483 | 483 | "textLocateMe": "<?php escaped_echo(_("Locate me more accurately using HTML5 Geo-Location")) ?>", |
484 | 484 | "textShowProviders": "<?php escaped_echo(sprintf(_("Show %ss in"), $cat->nomenclature_inst)) ?>", |
485 | 485 | "textAllCountries": "<?php escaped_echo(_("all countries")) ?>", |
486 | - "textSearch" : "<?php escaped_echo(sprintf(_("or search for an %s, in example Univerity of Oslo"),$cat->nomenclature_inst)) ?>", |
|
486 | + "textSearch" : "<?php escaped_echo(sprintf(_("or search for an %s, in example Univerity of Oslo"), $cat->nomenclature_inst)) ?>", |
|
487 | 487 | "textShowAllCountries": "<?php escaped_echo(_("show all countries")) ?>", |
488 | 488 | "textLimited1" : "<?php escaped_echo(_("Results limited to"))?>", |
489 | 489 | "textLimited2" : "<?php escaped_echo(_("entries - show more"))?>", |