@@ -364,7 +364,7 @@ function block_admin_configure($form, &$form_state, $module, $delta) {
BLOCK_VISIBILITY_NOTLISTED=>t('All pages except those listed'),
BLOCK_VISIBILITY_LISTED=>t('Only the listed pages'),
);
$description=t("Specify pages by using their paths. Enter one path per line. The '*' character is a wildcard. Example paths are %blog for the blog page and %blog-wildcard for every personal blog. %front is the front page.",array('%blog'=>'blog','%blog-wildcard'=>'blog/*','%front'=>'<front>'));
$description=t("Specify pages by using their paths. Enter one path per line. The '*' character is a wildcard. Example paths are %user for the current user's page and %user-wildcard for every user page. %front is the front page.",array('%user'=>'user','%user-wildcard'=>'user/*','%front'=>'<front>'));
if(module_exists('php')&&$access){
$options+=array(BLOCK_VISIBILITY_PHP=>t('Pages on which this PHP code returns <code>TRUE</code> (experts only)'));
@@ -14,7 +14,7 @@ function dashboard_help($path, $arg) {
$output.='<dt>'.t('Tracking user activity').'</dt>';
$output.='<dd>'.t("By enabling blocks such as <em>Who's online</em> and <em>Who's new</em>, site users can track who is logged in and new user signups at a centralized location.").'</dd>';
$output.='<dd>'.t('By enabling blocks such as <em>Recent blog posts</em>, <em>New forum topics</em> and <em>Recent comments</em>, site users can view newly added site content at a glance.').'</dd>';
$output.='<dd>'.t('By enabling blocks such as <em>New forum topics</em> and <em>Recent comments</em>, site users can view newly added site content at a glance.').'</dd>';
@@ -290,7 +290,7 @@ class RdfMappingDefinitionTestCase extends TaxonomyWebTestCase {
}
/**
* Create a node of type blog and test whether the RDF mapping defined for
* Create a node of type article and test whether the RDF mapping defined for
* this node type in rdf_test.module is used in the node page.
*/
functiontestAttributesInMarkup1(){
...
...
@@ -301,10 +301,10 @@ class RdfMappingDefinitionTestCase extends TaxonomyWebTestCase {
// Ensure the default bundle mapping for node is used. These attributes come
// from the node default bundle definition.
$blog_title=$this->xpath("//meta[@property='dc:title' and @content='$node->title']");
$blog_meta=$this->xpath("//div[(@about='$url')]//span[contains(@property, 'dc:date') and contains(@property, 'dc:created') and @datatype='xsd:dateTime' and @content='$isoDate']");
$this->assertTrue(!empty($blog_title),t('Property dc:title is present in meta tag.'));
$this->assertTrue(!empty($blog_meta),t('RDF type is present on post. Properties dc:date and dc:created are present on post date.'));
$node_title=$this->xpath("//meta[@property='dc:title' and @content='$node->title']");
$node_meta=$this->xpath("//div[(@about='$url')]//span[contains(@property, 'dc:date') and contains(@property, 'dc:created') and @datatype='xsd:dateTime' and @content='$isoDate']");
$this->assertTrue(!empty($node_title),t('Property dc:title is present in meta tag.'));
$this->assertTrue(!empty($node_meta),t('RDF type is present on post. Properties dc:date and dc:created are present on post date.'));
'#markup'=>l(t('View recent blog entries'),"blog/$account->uid",array('attributes'=>array('title'=>t("Read !username's latest blog entries.",array('!username'=>format_username($account)))))),