summaryrefslogtreecommitdiff
path: root/modules_v3
diff options
context:
space:
mode:
authorGreg Roach <fisharebest@gmail.com>2013-10-05 22:05:06 +0100
committerGreg Roach <fisharebest@gmail.com>2013-10-05 22:05:06 +0100
commit025cf7df5d857ea02bdaa60392bfe12ac7ebc143 (patch)
tree171e0f3486e4b6ddaeb6469e479378f2669c48fb /modules_v3
parentaed28092fb134bbc0d1660e78ffd0b2c5f8739c0 (diff)
downloadwebtrees-025cf7df5d857ea02bdaa60392bfe12ac7ebc143.tar.gz
webtrees-025cf7df5d857ea02bdaa60392bfe12ac7ebc143.tar.bz2
webtrees-025cf7df5d857ea02bdaa60392bfe12ac7ebc143.zip
HTML validation
Diffstat (limited to 'modules_v3')
-rw-r--r--modules_v3/GEDFact_assistant/CENS_ctrl.php4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules_v3/GEDFact_assistant/CENS_ctrl.php b/modules_v3/GEDFact_assistant/CENS_ctrl.php
index e33548bff4..859f6fcfad 100644
--- a/modules_v3/GEDFact_assistant/CENS_ctrl.php
+++ b/modules_v3/GEDFact_assistant/CENS_ctrl.php
@@ -30,6 +30,9 @@ check_record_access($person);
$controller
->setPageTitle(WT_I18N::translate('Create a new shared note using assistant'))
+ ->addInlineJavascript(
+ 'jQuery("head").append(\'<link rel="stylesheet" href="' . WT_STATIC_URL . WT_MODULES_DIR . 'GEDFact_assistant/css/cens_style.css" type="text/css">\');'
+ )
->pageHeader();
echo '<div id="edit_interface-page">';
@@ -60,7 +63,6 @@ echo '</h3>';
global $tabno, $linkToID, $SEARCH_SPIDER;
global $SHOW_AGE_DIFF, $GEDCOM;
global $show_full, $famid;
-echo '<link type="text/css" href="', WT_STATIC_URL, WT_MODULES_DIR, 'GEDFact_assistant/css/cens_style.css" rel="stylesheet">';
$summary=$person->format_first_major_fact(WT_EVENTS_BIRT, 2);
if (!($person->isDead())) {