From ee5b0051d8720906549b86acac294887d8b025a8 Mon Sep 17 00:00:00 2001 From: eckleyval Date: Sat, 6 Jul 2013 15:41:52 -0600 Subject: [PATCH 1/3] Updated to produces better SEO URL Titles Replaced underscore of url = url.replace(/\s+/g,'_'); with hyphen url = url.replace(/\s+/g,'-'); for better SEO URL Title --- branding/default/js/universal.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/branding/default/js/universal.js b/branding/default/js/universal.js index 54bd23dc..01e933d5 100644 --- a/branding/default/js/universal.js +++ b/branding/default/js/universal.js @@ -51,7 +51,7 @@ $(document).ready(function() { url += $('input#title').val().toLowerCase(); - url = url.replace(/\s+/g,'_'); + url = url.replace(/\s+/g,'-'); url = url.replace(/<(.*?)>/g, ''); url = url.replace(/\/{2,10}/g,''); url = url.replace(/[^a-z0-9\/\-_\.]/ig,''); @@ -306,4 +306,4 @@ function notice_animate () { $(window).scroll(function() { $('#notices div').animate({top:$(window).scrollTop()+5+"px" },{queue: false, duration: 0}); }); -} \ No newline at end of file +} From 28415167d93b940bc89479c4cd044223a24615dd Mon Sep 17 00:00:00 2001 From: eckleyval Date: Sat, 6 Jul 2013 15:51:19 -0600 Subject: [PATCH 2/3] updated settings to turn on native spell check added line config.disableNativeSpellChecker = false; to enable spell check --- branding/default/js/ckeditor/config.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/branding/default/js/ckeditor/config.js b/branding/default/js/ckeditor/config.js index d63df947..52379d13 100755 --- a/branding/default/js/ckeditor/config.js +++ b/branding/default/js/ckeditor/config.js @@ -10,6 +10,7 @@ CKEDITOR.editorConfig = function( config ) { config.extraPlugins = 'font,panelbutton,colorbutton,justify,menubutton,scayt'; config.scayt_autoStartup = true; + config.disableNativeSpellChecker = false; // The toolbar groups arrangement, optimized for two toolbar rows. config.toolbarGroups = [ @@ -81,4 +82,4 @@ CKEDITOR.editorConfig = function( config ) { // remove upload tab config.filebrowserUploadUrl = null; -}; \ No newline at end of file +}; From daff57d01313a001edc401490d680269ff278709 Mon Sep 17 00:00:00 2001 From: eckleyval Date: Fri, 24 Sep 2021 15:41:35 -0600 Subject: [PATCH 3/3] test --- themes/cubed/account_templates/invoices.thtml | 2 +- themes/cubed/account_templates/registration.thtml | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/themes/cubed/account_templates/invoices.thtml b/themes/cubed/account_templates/invoices.thtml index a1e2b086..78a363ca 100644 --- a/themes/cubed/account_templates/invoices.thtml +++ b/themes/cubed/account_templates/invoices.thtml @@ -22,4 +22,4 @@ Invoices - {$smarty.block.parent} {else}

No invoices match your criteria.

{/if} -{/block} \ No newline at end of file +{/block} diff --git a/themes/cubed/account_templates/registration.thtml b/themes/cubed/account_templates/registration.thtml index 8d651c3a..98158d1f 100644 --- a/themes/cubed/account_templates/registration.thtml +++ b/themes/cubed/account_templates/registration.thtml @@ -19,6 +19,7 @@ Create an Account - {$smarty.block.parent} {/if}
+ Access Information