Issue #1190214 by stijnbe, aspilicious: Convert user-profile.tpl.php to HTML5.

8.0.x
Nathaniel 2011-11-17 15:24:57 +09:00
parent deec92a839
commit cc453cc5b3
2 changed files with 3 additions and 3 deletions

View File

@ -360,7 +360,7 @@ class RdfMappingDefinitionTestCase extends TaxonomyWebTestCase {
$account_uri = url('user/' . $user2->uid);
$person_uri = url('user/' . $user2->uid, array('fragment' => 'me'));
$user2_profile_about = $this->xpath('//div[@class="profile" and @typeof="sioc:UserAccount" and @about=:account-uri]', array(
$user2_profile_about = $this->xpath('//article[@class="profile" and @typeof="sioc:UserAccount" and @about=:account-uri]', array(
':account-uri' => $account_uri,
));
$this->assertTrue(!empty($user2_profile_about), t('RDFa markup found on user profile page'));

View File

@ -28,6 +28,6 @@
* @see template_preprocess_user_profile()
*/
?>
<div class="profile"<?php print $attributes; ?>>
<article class="profile"<?php print $attributes; ?>>
<?php print render($user_profile); ?>
</div>
</article>