mirror of
https://github.com/silverstripe/silverstripe-blog
synced 2024-10-22 09:05:58 +00:00
MINOR invalid use of single quotes as HTML
MINOR whitespace in PHP cleanup
This commit is contained in:
parent
54f0af86ba
commit
237dd4564f
@ -105,7 +105,7 @@ class BlogHolder extends Page {
|
|||||||
/**
|
/**
|
||||||
* A simple form for creating blog entries
|
* A simple form for creating blog entries
|
||||||
*/
|
*/
|
||||||
function BlogEntryForm(){
|
function BlogEntryForm() {
|
||||||
Requirements::javascript('jsparty/behaviour.js');
|
Requirements::javascript('jsparty/behaviour.js');
|
||||||
Requirements::javascript('jsparty/prototype.js');
|
Requirements::javascript('jsparty/prototype.js');
|
||||||
Requirements::javascript('jsparty/scriptaculous/effects.js');
|
Requirements::javascript('jsparty/scriptaculous/effects.js');
|
||||||
@ -127,9 +127,9 @@ class BlogHolder extends Page {
|
|||||||
new TextField("Title",_t('BlogHolder.SJ', "Subject")),
|
new TextField("Title",_t('BlogHolder.SJ', "Subject")),
|
||||||
new TextField("Author",_t('BlogEntry.AU'),$membername),
|
new TextField("Author",_t('BlogEntry.AU'),$membername),
|
||||||
new CompositeField(
|
new CompositeField(
|
||||||
new LiteralField("BBCodeHelper","<a id=\"BBCodeHint\" target='new'>"._t("BlogEntry.BBH")."</a><div class='clear'><!-- --></div>" ),
|
new LiteralField("BBCodeHelper","<a id=\"BBCodeHint\" target='new'>"._t("BlogEntry.BBH")."</a><div class='clear'><!-- --></div>" ),
|
||||||
new TextareaField("Content", _t("BlogEntry.CN"),20),
|
new TextareaField("Content", _t("BlogEntry.CN"),20),
|
||||||
new LiteralField("BBCodeTags","<div id='BBTagsHolder' style='display:none;'>".$codeparser->useable_tagsHTML()."</div>")
|
new LiteralField("BBCodeTags","<div id=\"BBTagsHolder\">".$codeparser->useable_tagsHTML()."</div>")
|
||||||
),
|
),
|
||||||
new TextField("Tags","Tags"),
|
new TextField("Tags","Tags"),
|
||||||
new LiteralField("Tagsnote"," <label id='tagsnote'>"._t('BlogHolder.TE', "For example: sport, personal, science fiction")."<br/>" .
|
new LiteralField("Tagsnote"," <label id='tagsnote'>"._t('BlogHolder.TE', "For example: sport, personal, science fiction")."<br/>" .
|
||||||
|
Loading…
x
Reference in New Issue
Block a user