Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Better SEO TItles #13

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 2 additions & 1 deletion branding/default/js/ckeditor/config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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 = [
Expand Down Expand Up @@ -81,4 +82,4 @@ CKEDITOR.editorConfig = function( config ) {

// remove upload tab
config.filebrowserUploadUrl = null;
};
};
4 changes: 2 additions & 2 deletions branding/default/js/universal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,'');
Expand Down Expand Up @@ -306,4 +306,4 @@ function notice_animate () {
$(window).scroll(function() {
$('#notices div').animate({top:$(window).scrollTop()+5+"px" },{queue: false, duration: 0});
});
}
}
2 changes: 1 addition & 1 deletion themes/cubed/account_templates/invoices.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,4 @@ Invoices - {$smarty.block.parent}
{else}
<p>No invoices match your criteria.</p>
{/if}
{/block}
{/block}
1 change: 1 addition & 0 deletions themes/cubed/account_templates/registration.thtml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ Create an Account - {$smarty.block.parent}
{/if}

<fieldset>
<!-- hi -->
<legend>Access Information</legend>
<ul class="form">
<li>
Expand Down