Commit 6cbb5799 authored by Aaron Wells's avatar Aaron Wells

Removing straightfoward instances of target="_blank"

Bug 1558361

behatnotneeded

Change-Id: Idc139a671137cbde6958fdc8406bc56f8c395f08
parent 97d5846a
......@@ -217,7 +217,7 @@ $smarty->assign('introtext1', get_string('cookieconsentintro1', 'cookieconsent')
$smarty->assign('introtext2', get_string('cookieconsentintro2', 'cookieconsent'));
$smarty->assign('introtext3', get_string('cookieconsentintro3', 'cookieconsent'));
$smarty->assign('introtext4', get_string('cookieconsentintro4', 'cookieconsent'));
$smarty->assign('introtext5', get_string('cookieconsentintro51', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/" target="_blank">', '</a>'));
$smarty->assign('introtext5', get_string('cookieconsentintro51', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/">', '</a>'));
// Official EU languages
$smarty->assign('languages', array('BG','CS','DA','DE','EL','EN','ES','ET','FI','FR','HU','IT','LT','LV','MT','NL','PL','PT','RO','SK','SL','SV'));
$smarty->assign('PAGEHEADING', TITLE);
......
......@@ -158,7 +158,7 @@ $data = array(
'code1' => $examplesocialbefore,
'code2' => $examplesocialafter,
'help1' => get_string('itdidntwork1', 'cookieconsent', 'cc-onconsent-social', 'cc-onconsent-inline-social'),
'help2' => get_string('itdidntwork2', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/documentation/code-examples#examples-social" target="_blank">', '</a>', '<a href="http://www.linkedin.com/groups/Cookie-Consent-developers-4980594?trk=groups_management_submission_queue-h-dsc" target="_blank">', '</a>')
'help2' => get_string('itdidntwork2', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/documentation/code-examples#examples-social">', '</a>', '<a href="http://www.linkedin.com/groups/Cookie-Consent-developers-4980594?trk=groups_management_submission_queue-h-dsc">', '</a>')
),
'analytics' => array(
'title' => get_string('cookietypesanalytics', 'cookieconsent'),
......@@ -168,7 +168,7 @@ $data = array(
'code1' => $exampleanalyticsbefore,
'code2' => $exampleanalyticsafter,
'help1' => get_string('itdidntwork1', 'cookieconsent', 'cc-onconsent-analytics', 'cc-onconsent-inline-analytics'),
'help2' => get_string('itdidntwork2', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/documentation/code-examples#examples-analytics" target="_blank">', '</a>', '<a href="http://www.linkedin.com/groups/Cookie-Consent-developers-4980594?trk=groups_management_submission_queue-h-dsc" target="_blank">', '</a>')
'help2' => get_string('itdidntwork2', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/documentation/code-examples#examples-analytics">', '</a>', '<a href="http://www.linkedin.com/groups/Cookie-Consent-developers-4980594?trk=groups_management_submission_queue-h-dsc">', '</a>')
),
'advertising' => array(
'title' => get_string('cookietypesadvertising', 'cookieconsent'),
......@@ -178,7 +178,7 @@ $data = array(
'code1' => $exampleadvertisingbefore,
'code2' => $exampleadvertisingafter,
'help1' => get_string('itdidntwork1', 'cookieconsent', 'cc-onconsent-advertising', 'cc-onconsent-inline-advertising'),
'help2' => get_string('itdidntwork2', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/documentation/code-examples#examples-advertising" target="_blank">', '</a>', '<a href="http://www.linkedin.com/groups/Cookie-Consent-developers-4980594?trk=groups_management_submission_queue-h-dsc" target="_blank">', '</a>')
'help2' => get_string('itdidntwork2', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/documentation/code-examples#examples-advertising">', '</a>', '<a href="http://www.linkedin.com/groups/Cookie-Consent-developers-4980594?trk=groups_management_submission_queue-h-dsc">', '</a>')
),
'necessary' => array(
'title' => get_string('cookietypesnecessary', 'cookieconsent'),
......@@ -188,7 +188,7 @@ $data = array(
'code1' => $examplenecessarybefore,
'code2' => $examplenecessaryafter,
'help1' => get_string('itdidntwork1', 'cookieconsent', 'cc-onconsent-necessary', 'cc-onconsent-inline-necessary'),
'help2' => get_string('itdidntwork2', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/documentation/code-examples#examples-necessary" target="_blank">', '</a>', '<a href="http://www.linkedin.com/groups/Cookie-Consent-developers-4980594?trk=groups_management_submission_queue-h-dsc" target="_blank">', '</a>')
'help2' => get_string('itdidntwork2', 'cookieconsent', '<a href="http://sitebeam.net/cookieconsent/documentation/code-examples#examples-necessary">', '</a>', '<a href="http://www.linkedin.com/groups/Cookie-Consent-developers-4980594?trk=groups_management_submission_queue-h-dsc">', '</a>')
)
);
......
......@@ -34,7 +34,7 @@ if (!empty($font)) {
$fonttitle = $fontdata->title;
if (!empty($fontdata->licence) && !is_null($fontdata->licence)) {
$fontpath = get_config('wwwroot') . 'skins/fonts/' . $fontdata->name . '/';
$fontlicence = '<a href="' . $fontpath . $fontdata->licence . '" target="_blank">' . get_string('fontlicence', 'skin') . '</a>';
$fontlicence = '<a href="' . $fontpath . $fontdata->licence . '">' . get_string('fontlicence', 'skin') . '</a>';
}
else {
$fontlicence = get_string('fontlicencenotfound', 'skin');
......
......@@ -83,7 +83,7 @@ if (empty($edit)) {
else {
$elements['name']['value'] = $edit->name;
$elements['name']['type'] = 'hidden';
$elements['name2']['value'] = '<a href="' . hsc($edit->name) . '" target="_blank">' . hsc($edit->name) . '</a>';
$elements['name2']['value'] = '<a href="' . hsc($edit->name) . '">' . hsc($edit->name) . '</a>';
unset($elements['name2']['ignore']);
foreach (array('displayname', 'shortname', 'icon') as $f) {
$elements[$f]['defaultvalue'] = $edit->{$f};
......
{if ($editing)}
<div class="shortcut">
<span> <a class="btn" href="{$WWWROOT}artefact/blog/post.php?blog={$blogid}" target="_blank">{str tag='shortcutnewentry' section='artefact.blog'}</a> </span>
<span> <a class="btn" href="{$WWWROOT}artefact/blog/post.php?blog={$blogid}">{str tag='shortcutnewentry' section='artefact.blog'}</a> </span>
</div>
{/if}
{if !$options.hidetitle}
......
{foreach $files file}
<div class="filedownload-item" title="{$file.title}">
<div class="fl"><a href="{$file.downloadurl}" target="_blank"><img src="{$file.iconsrc}" alt=""></a></div>
<div class="fl"><a href="{$file.downloadurl}"><img src="{$file.iconsrc}" alt=""></a></div>
<div style="margin-left: 30px;">
<h3 class="title"><a href="{$file.downloadurl}" target="_blank">{$file.title}</a></h3>
<h3 class="title"><a href="{$file.downloadurl}">{$file.title}</a></h3>
{if $file.description}<div class="detail">{$file.description}</div>{/if}
<div class="description">{$file.size|display_size} | {$file.ctime|format_date:'strftimedaydate'}
| <a href="{$WWWROOT}artefact/artefact.php?artefact={$file.id}&view={$viewid}">{str tag=Details section=artefact.file}</a></div>
......
......@@ -42,13 +42,13 @@ $string['previewwidthdesc'] = 'Set the maximum width to which the photos will be
// Flickr
$string['flickrsettings'] = 'Flickr settings';
$string['flickrapikey'] = 'Flickr API key';
$string['flickrapikeydesc'] = 'To show photo sets from Flickr, you\'ll need a valid Flickr API key. <a href="https://www.flickr.com/services/api/keys/apply/" target="_blank">Apply for your key online</a>.';
$string['flickrapikeydesc'] = 'To show photo sets from Flickr, you\'ll need a valid Flickr API key. <a href="https://www.flickr.com/services/api/keys/apply/">Apply for your key online</a>.';
$string['flickrsets'] = 'Flickr sets';
// Photobucket
$string['pbsettings'] = 'Photobucket settings';
$string['pbapikey'] = 'Photobucket API key';
$string['pbapikeydesc'] = 'To show photo albums from Photobucket, you\'ll need a valid API key and API private key.<br>Go to the <a href="http://developer.photobucket.com/" target="_blank">Photobucket developer website</a>, agree to the terms of service, sign up, and get the API keys.';
$string['pbapikeydesc'] = 'To show photo albums from Photobucket, you\'ll need a valid API key and API private key.<br>Go to the <a href="http://developer.photobucket.com/">Photobucket developer website</a>, agree to the terms of service, sign up, and get the API keys.';
$string['pbapiprivatekey'] = 'Photobucket API private key';
$string['photobucketphotosandalbums'] = 'Photobucket user photos and albums';
......
......@@ -223,9 +223,9 @@ class PluginBlocktypeGallery extends PluginBlocktype {
$thumb = str_replace('/original/', '/thumbnail/', $photo['photo_file_url']);
}
$title = (!empty($photo['photo_title']) ? $photo['photo_title'] : get_string('Photo', 'blocktype.file/gallery'));
$description = '<a href="' . $photo['photo_url'] . '" target="_blank">' . $title . '</a>'
$description = '<a href="' . $photo['photo_url'] . '">' . $title . '</a>'
. '&nbsp;' . get_string('by', 'blocktype.file/gallery') . '&nbsp;'
. '<a href="' . $photo['owner_url'] . '" target="_blank">' . $photo['owner_name'] . '</a>';
. '<a href="' . $photo['owner_url'] . '">' . $photo['owner_name'] . '</a>';
$images[] = array(
'link' => $link,
......
......@@ -8,7 +8,7 @@
</td>
<td>
{foreach from=$images item=image key=k name=images}
<a href="{$image.link}" target="_blank"><img src="{$image.source}" alt="{$image.title}" title="{$image.title}" style="max-width: {$width}px;{if !$dwoo.foreach.images.first} display:none;{/if}"></a>
<a href="{$image.link}"><img src="{$image.source}" alt="{$image.title}" title="{$image.title}" style="max-width: {$width}px;{if !$dwoo.foreach.images.first} display:none;{/if}"></a>
{if $showdescription && $image.title}<div class="caption" id="description_{$instanceid}_{$k}" style="{if !$dwoo.foreach.images.first} display:none;{/if}">{$image.title}</div>{/if}
{/foreach}
</td>
......@@ -32,4 +32,4 @@ $j(function() {
</script>
{else}
{str tag=noimagesfound section=artefact.file}
{/if}
\ No newline at end of file
{/if}
<div class="thumbnails" id="thumbnails{$instanceid}">
{foreach from=$images item=image}
<div style="float:left;{if $frame} padding: 3px;{/if}" class="thumb">
<a rel="{$image.slimbox2}" href="{$image.link}" title="{$image.title}" target="_blank">
<a rel="{$image.slimbox2}" href="{$image.link}" title="{$image.title}">
<img src="{$image.source}" alt="{$image.title}" title="{$image.title}" width="{$width}" height="{$width}" {if $frame}class="frame"{/if}/>
</a>
{if $showdescription && $image.title}<div class="caption" style="width: {$captionwidth}px;">{$image.title|safe}</div>{/if}
......
<a href="https://www.flickr.com/" target="_blank">
<a href="https://www.flickr.com/">
<img src="{$wwwroot}artefact/file/blocktype/gallery/logos/flickr.png" border="0" width="16" height="16" title="{str tag=flickrsets section=blocktype.file/gallery}">
</a>
<a href="http://picasaweb.google.com/" target="_blank">
<a href="http://picasaweb.google.com/">
<img src="{$wwwroot}artefact/file/blocktype/gallery/logos/picasa.png" border="0" width="16" height="16" title="{str tag=picasaalbums section=blocktype.file/gallery}">
</a>
<a href="http://www.panoramio.com/" target="_blank">
<a href="http://www.panoramio.com/">
<img src="{$wwwroot}artefact/file/blocktype/gallery/logos/panoramio.png" border="0" width="16" height="16" title="{str tag=panoramiouserphotos section=blocktype.file/gallery}">
</a>
<a href="http://www.photobucket.com/" target="_blank">
<a href="http://www.photobucket.com/">
<img src="{$wwwroot}artefact/file/blocktype/gallery/logos/photobucket.png" border="0" width="16" height="16" title="{str tag=photobucketphotosandalbums section=blocktype.file/gallery}">
</a>
<a href="http://www.live.com/" target="_blank">
<a href="http://www.live.com/">
<img src="{$wwwroot}artefact/file/blocktype/gallery/logos/windowslive.png" border="0" width="16" height="16" title="{str tag=windowslivephotoalbums section=blocktype.file/gallery}">
</a>
<div class="thumbnails" id="thumbnails{$instanceid}">
{foreach from=$images item=image}
<div style="float:left;{if $frame} padding: 3px;{/if}" class="thumb">
<a rel="{$image.slimbox2}" href="{$image.link}" title="{$image.title}" target="_blank">
<a rel="{$image.slimbox2}" href="{$image.link}" title="{$image.title}">
<img src="{$image.source}" {if $image.height}height="{$image.height}"{/if} alt="{$image.title}" title="{$image.title}" {if $frame}class="frame"{/if} />
</a>
{if $showdescription && $image.title}<div class="caption" style="width: {$captionwidth}px;">{$image.title|safe}</div>{/if}
......
{if $images}
<center><div width="100" height="115" style="width:100px;height:115px;padding:0;background-color:#fcfcfc;"><center><a href="http://{$images.user}.photos.live.com/play.aspx/{$images.album}?ref=1" target="_blank"><img src="{$WWWROOT}/artefact/file/blocktype/gallery/thumb.png" width="96" height="96" border="0"></a><br />{$images.album}</center></div></center>
<center><div width="100" height="115" style="width:100px;height:115px;padding:0;background-color:#fcfcfc;"><center><a href="http://{$images.user}.photos.live.com/play.aspx/{$images.album}?ref=1"><img src="{$WWWROOT}/artefact/file/blocktype/gallery/thumb.png" width="96" height="96" border="0"></a><br />{$images.album}</center></div></center>
{else}
{str tag=cannotdisplayslideshow section=blocktype.file/gallery}
{/if}
......@@ -47,7 +47,7 @@
{elseif !$publishable}
{$displaytitle}
{else}
<a href="{$WWWROOT}artefact/file/download.php?file={$file->id}" target="_blank" title="{str tag=downloadfile section=artefact.file arg1=$displaytitle}">{$displaytitle}</a>
<a href="{$WWWROOT}artefact/file/download.php?file={$file->id}" title="{str tag=downloadfile section=artefact.file arg1=$displaytitle}">{$displaytitle}</a>
{/if}
</td>
<td class="filedescription">{$file->description}</td>
......
......@@ -16,7 +16,7 @@
<img src="{if $file->artefacttype == 'image' || $file->artefacttype == 'profileicon'}{$WWWROOT}artefact/file/download.php?file={$file->id}&size=24x24{else}{theme_url filename=images/`$file->artefacttype`.png}{/if}">
</td>
<td class="filename">
{if $selectfolders}{$displaytitle}{else}<a href="{$WWWROOT}artefact/file/download.php?file={$file->id}" target="_blank" title="{str tag=downloadfile section=artefact.file arg1=$displaytitle}">{$displaytitle}</a>{/if}
{if $selectfolders}{$displaytitle}{else}<a href="{$WWWROOT}artefact/file/download.php?file={$file->id}" title="{str tag=downloadfile section=artefact.file arg1=$displaytitle}">{$displaytitle}</a>{/if}
</td>
<td class="filedescription">{$file->description}</td>
<td class="right s">
......
......@@ -20,7 +20,7 @@ $string['introtext'] = 'Introduction text';
$string['useintroductioninstead'] = 'You can use your introduction profile field instead by enabling that and leaving this field blank';
$string['dontshowprofileicon'] = "Don't show a profile picture";
$string['dontshowemail'] = "Don't show email address";
$string['uploadaprofileicon'] = "You have no profile pictures. <a href=\"%sartefact/file/profileicons.php\" target=\"_blank\">Upload one</a>.";
$string['uploadaprofileicon'] = "You have no profile pictures. <a href=\"%sartefact/file/profileicons.php\">Upload one</a>.";
$string['dontshowsocialprofiles'] = "Don't show social media accounts";
$string['showsocialprofiles'] = "Show selected social media accounts";
......@@ -16,7 +16,7 @@
<ul>
{foreach from=$profileinfo.socialprofiles item=item}
<li><strong>{$item.description}:</strong>
{if $item.link}<a href="{$item.link}" title="{$item.link}" target="_blank">{/if}{$item.title|clean_html|safe}{if $item.link}</a>{/if}
{if $item.link}<a href="{$item.link}" title="{$item.link}">{/if}{$item.title|clean_html|safe}{if $item.link}</a>{/if}
</li>
{/foreach}
</ul>
......
<p>
{foreach from=$profiles item=p}
{if $p->link}<a href="{$p->link}" title="{$p->link}" class="btn socialbtn" target="_blank">
{if $p->link}<a href="{$p->link}" title="{$p->link}" class="btn socialbtn">
{if $showicon}<img src="{$p->icon}" alt="{$p->link}" class="valign-top">{/if}
{if $showicon && $showtext}&nbsp;{/if}
{if $showtext}{$p->description}{/if}
</a>{/if}
{/foreach}
{if $email}
<a href="mailto:{$email}" title="{$email}" class="btn socialbtn" target="_blank">
<a href="mailto:{$email}" title="{$email}" class="btn socialbtn">
{if $showicon}<img src="{$WWWROOT}artefact/internal/blocktype/socialprofile/theme/raw/static/images/email.png" alt="{$email}" class="valign-top">{/if}
{if $showicon && $showtext}&nbsp;{/if}
{if $showtext}{str tag='email'}{/if}
......
......@@ -17,7 +17,7 @@
<tr class="{cycle values='r0,r1'}">
<td class="center"><img src="{$row->icon}" alt="{$row->description}"></td>
<td><span>{$row->description}</span></td>
<td>{if $row->link}<a href="{$row->link}" title="{$row->link}" target="_blank" class="socialprofile">{/if}{$row->title}{if $row->link}</a>{/if}</td>
<td>{if $row->link}<a href="{$row->link}" title="{$row->link}" class="socialprofile">{/if}{$row->title}{if $row->link}</a>{/if}</td>
{if $controls}<td class="right buttonscell btns2">
<a href="{$WWWROOT}artefact/internal/socialprofile.php?id={$row->id}" title="{str tag='edit'}"><img src="{theme_url filename='images/btn_edit.png'}" alt="{str tag='edit'}"></a>
{if $candelete}
......
......@@ -30,7 +30,7 @@
<div class="expandable-body">
<div class="compositedesc">
{$row->description}
{if $row->url}<p><a href="{$row->url}" target="_blank">{$row->url}</a></p>{/if}
{if $row->url}<p><a href="{$row->url}">{$row->url}</a></p>{/if}
</div>
{if $row->attachments}
<table class="cb attachments fullwidth">
......
<ul style="list-style-type: none;" class="inlinelist">
{foreach from=$data item=item}
<li><a href="{$item.url}" target="_blank"><img src="{$item.icon}" alt="{$item.name}" title="{$item.name}"></a></li>
<li><a href="{$item.url}"><img src="{$item.icon}" alt="{$item.name}" title="{$item.name}"></a></li>
{/foreach}
</ul>
<ul style="list-style-type: none;">
<li>
<a href="http://books.google.com/" target="_blank">
<a href="http://books.google.com/">
<img src="{$protocol}://www.google.com/intl/{$lang}/googlebooks/images/books_logo_sm.gif" border="0" height="20">
</a>
</li>
<li>
<a href="https://www.google.com/calendar" target="_blank">
<a href="https://www.google.com/calendar">
<img src="{$protocol}://calendar.google.com/googlecalendar/images/calendar_logo_sm_{$lang}.gif" border="0" height="20">
</a>
</li>
<li>
<a href="https://docs.google.com/" target="_blank">
<a href="https://docs.google.com/">
<img src="{$protocol}://docs.google.com/images/doclist/docs_logo_sm.gif" border="0" height="20">
</a>
</li>
<li>
<a href="http://maps.google.com/" target="_blank">
<a href="http://maps.google.com/">
<img src="{$protocol}://maps.google.com/intl/{$lang}/images/logos/maps_logo.gif" border="0" height="20">
</a>
</li>
......
......@@ -15,6 +15,6 @@
</tr>
</table>
{/if}
<div class="morelinkwrap"><a class="morelink" href="{$WWWROOT}interaction/forum/index.php?group={$group->id}" target="_blank">{str tag=gotoforums section=interaction.forum} &raquo;</a></div>
<div class="morelinkwrap"><a class="morelink" href="{$WWWROOT}interaction/forum/index.php?group={$group->id}">{str tag=gotoforums section=interaction.forum} &raquo;</a></div>
<div class="cb"></div>
</div>
<!-- @license http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later -->
<!-- @copyright For copyright information on Mahara, please see the README file distributed with this software. -->
<h3>Leap2A files</h3>
<p>This option gives you the ability to import a <a href="http://wiki.cetis.ac.uk/2009-03/Leap2A_specification#About_this_specification" target="_blank">Leap2A export file</a>, which contains data about a person's portfolio.</p>
<p>You can read more on the Mahara wiki about <a href="https://wiki.mahara.org/wiki/Developer_Area/Import//Export" target="_blank">Mahara's support for Leap2A</a>.</p>
<p>This option gives you the ability to import a <a href="http://wiki.cetis.ac.uk/2009-03/Leap2A_specification#About_this_specification">Leap2A export file</a>, which contains data about a person's portfolio.</p>
<p>You can read more on the Mahara wiki about <a href="https://wiki.mahara.org/wiki/Developer_Area/Import//Export">Mahara's support for Leap2A</a>.</p>
......@@ -2,7 +2,7 @@
<!-- @copyright For copyright information on Mahara, please see the README file distributed with this software. -->
<h3>Authentication plugin</h3>
<p>Here you can choose how users in this institution will authenticate to the site. Institutions should have at least one method of authentication tied to them.</p>
<p>The <strong>internal</strong> authentication plugin checks the site database for usernames and passwords. Users have to have an account for this to work, which can be done by allowing registration via the registration form, or using the <a href="add.php" target="_blank">Add user</a> or <a href="uploadcsv.php" target="_blank">Add users by CSV</a> pages.</p>
<p>The <strong>internal</strong> authentication plugin checks the site database for usernames and passwords. Users have to have an account for this to work, which can be done by allowing registration via the registration form, or using the <a href="add.php">Add user</a> or <a href="uploadcsv.php">Add users by CSV</a> pages.</p>
<p>The <strong>none</strong> authentication method allows anyone in. Users can pick any username and password. This should only be used for testing!</p>
<p>The other authentication methods generally authenticate against an external source, such as an LDAP server or remote application. They have their own settings, which you can configure in a pop-up window when you add them. Some methods are disabled because their required PHP extensions are missing or the outgoing connection to the external sources cannot be established. For example, the Persona authentication plugin needs the cURL PHP extension and the HTTPS connection to <em>verifier.login.persona.org</em>.</p>
<p>One setting they normally share is whether accounts can be automatically created on the site when a user signs in for the first time (as opposed to accounts being created previously by the administrator, which users can then log in to).</p>
......@@ -4,4 +4,4 @@
<p>If this setting is enabled, users will be able to register for the site using the registration form. If it is disabled, the registration form will not be available, but users may be able to create an account through an authentication plugin which has auto-creation of accounts enabled. Make sure you remove such authentication plugins from your institution if you want to fully disable auto-creation for all new accounts.</p>
<p>If more than one institution has this setting enabled, the user will be able to choose which institution they wish to register for using a drop-down menu.</p>
<p>If no institutions have this setting enabled, then users will not be able to register using the registration form.</p>
<p>In general, if you have users set up to join this institution through a mechanism such as LDAP login or SSO from an external application, you should turn this setting off. You should also turn it off if you wish to control the creation of accounts using the <a href="add.php" target="_blank">Add user</a> or <a href="uploadcsv.php" target="_blank">Add users by CSV</a> pages.</p>
<p>In general, if you have users set up to join this institution through a mechanism such as LDAP login or SSO from an external application, you should turn this setting off. You should also turn it off if you wish to control the creation of accounts using the <a href="add.php">Add user</a> or <a href="uploadcsv.php">Add users by CSV</a> pages.</p>
......@@ -165,7 +165,7 @@ When you find an appropriate free font that you are allowed to embed into a web
<br />TrueType Font, Embedded OpenType Font, Web Open Font Format Font and Scalable Vector Graphic Font.
</p>
<p>
You can use <a href="http://www.fontsquirrel.com/fontface/generator/" target="_blank">FontSquirrel Online Generator</a> for the conversion.
You can use <a href="http://www.fontsquirrel.com/fontface/generator/">FontSquirrel Online Generator</a> for the conversion.
</p>';
$string['nofonts'] = 'There are no fonts.';
$string['font'] = 'font';
......@@ -205,7 +205,7 @@ $string['fonttype'] = 'Font type';
$string['headingandtext'] = 'Heading and text';
$string['headingonly'] = 'Heading only';
$string['fontuploadinstructions'] = '<br />To upload the needed font files, you can either upload the ZIP file generated by the <a href="http://www.fontsquirrel.com/fontface/generator/" target="_blank">FontSquirrel Online Generator</a> directly
$string['fontuploadinstructions'] = '<br />To upload the needed font files, you can either upload the ZIP file generated by the <a href="http://www.fontsquirrel.com/fontface/generator/">FontSquirrel Online Generator</a> directly
<br />or upload the EOT, SVG, TTF, WOFF, and license files individually.';
$string['fontfiles'] = 'Font files';
$string['fontfilemissing'] = 'ZIP file does not contain a \'%s\' font file.';
......@@ -268,7 +268,7 @@ $string['gwfontadded'] = 'Google font(s) installed successfully';
$string['gwfontsnotavailable'] = 'Google fonts are currently not available.';
$string['gwfinstructions'] = '<ol>
<li>Visit <a href="http://www.google.com/fonts/" target="_blank">Google fonts</a></li>
<li>Visit <a href="http://www.google.com/fonts/">Google fonts</a></li>
<li>Select fonts and add them to your collection</li>
<li>Download fonts in a collection as a ZIP file</li>
<li>Upload that ZIP file in this form</li>
......
......@@ -182,7 +182,7 @@ $string['cantsubmittogroup'] = 'You cannot submit to this group.';
$string['cantdeleteview'] = 'You cannot delete this page.';
$string['deletespecifiedview'] = 'Delete page "%s"';
$string['deleteviewconfirm1'] = 'Do you really want to delete this page? It cannot be undone.';
$string['deleteviewconfirmbackup'] = 'Please consider creating a backup of this page by <a href="%sexport/" target="_blank">exporting</a> it.';
$string['deleteviewconfirmbackup'] = 'Please consider creating a backup of this page by <a href="%sexport/">exporting</a> it.';
$string['deleteviewconfirmnote1'] = '<strong>NOTE:</strong> All your files and journal entries that you linked in this page will still be available.<br/>However, any feedback placed on this page will be deleted.';
$string['deleteviewconfirmnote2'] = 'This page is a part of the collection <a href="%s">"%s"</a>.';
......
......@@ -12,7 +12,7 @@
{if $record->artefacttype == 'socialprofile'}
<img src="{$record->icon}" alt="{$record->note}">
{$record->note|str_shorten_html:50:true|safe}
<a href="{$record->link}" title="{$record->link}" target="_blank" class="socialprofile">{$record->title|str_shorten_html:50:true|safe}</a>
<a href="{$record->link}" title="{$record->link}" class="socialprofile">{$record->title|str_shorten_html:50:true|safe}</a>
{else}
<a href="{$WWWROOT}{$record->link}">{$record->title|str_shorten_html:50:true|safe}</a>
{/if}
......
......@@ -22,7 +22,7 @@
{if $subpagedata.table.csv}
<div class="fr">
<span class="bulkaction-title">{str tag=exportstatsascsv section=admin}:</span>
<a href="{$WWWROOT}download.php" target="_blank">{str tag=Download section=admin} <span class="accessible-hidden">{str tag=downloaddataascsv section=admin args=$type}</span></a>
<a href="{$WWWROOT}download.php">{str tag=Download section=admin} <span class="accessible-hidden">{str tag=downloaddataascsv section=admin args=$type}</span></a>
</div>
{/if}
<div id="statistics_table_container" class="statistics-subpage-{if $subpagedata.summary}right{else}full{/if}-column {if $subpagedata.table.count == 0} hidden{/if}">
......
......@@ -10,7 +10,7 @@ return <<<EOF
<div class="checkbox">{$element['html']}</div>
<div class="labeldescriptpreview">{$element['labelhtml']}
{$element['description']}
<a href="{$element['viewlink']}" class="viewlink nojs-hidden-inline" target="_blank">{$strclicktopreview}</a>
<a href="{$element['viewlink']}" class="viewlink nojs-hidden-inline">{$strclicktopreview}</a>
</div>
</td>
EOF;
......
......@@ -11,7 +11,7 @@
<input type="hidden" name="limit" id="limit" value="{$limit}">
{/if}
<div class="fr">
<a id="csvlink" href="{$WWWROOT}admin/groups/archivescsvdownload.php{if $.request.institution}?institution={$.request.institution}{/if}" target="_blank">{str tag=exportdataascsv section=admin}</a>
<a id="csvlink" href="{$WWWROOT}admin/groups/archivescsvdownload.php{if $.request.institution}?institution={$.request.institution}{/if}">{str tag=exportdataascsv section=admin}</a>
</div>
<div class="usersearchform">
<label for="query">{str tag='usersearch' section='admin'}:</label>
......
......@@ -17,7 +17,7 @@ GNU General Public License for more details.</p>
along with this program. If not, see <a href="http://www.gnu.org/licenses/gpl.html">http://www.gnu.org/licenses/</a>.
</div>
<div class="message">Before you install Mahara, you may want to check out the <a href="https://wiki.mahara.org/wiki/Release_Notes" target="_blank">release notes</a> for this release.</div>
<div class="message">Before you install Mahara, you may want to check out the <a href="https://wiki.mahara.org/wiki/Release_Notes">release notes</a> for this release.</div>
<form action="{$WWWROOT}admin/upgrade.php" method="post" class="center"><input type="submit" class="submit" value="{str tag=installmahara section=admin}"></form>
......
......@@ -15,7 +15,7 @@
<th>{str tag=directive2009136 section=cookieconsent}</th>
<td>
{foreach from=$languages item=lang name=languages}
<a href="http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=OJ:L:2009:337:0011:0036:{$lang}:PDF" target="_blank" title="{str tag=readdirective$lang section=cookieconsent}">{$lang}</a>{if not $dwoo.foreach.languages.last} | {/if}
<a href="http://eur-lex.europa.eu/LexUriServ/LexUriServ.do?uri=OJ:L:2009:337:0011:0036:{$lang}:PDF" title="{str tag=readdirective$lang section=cookieconsent}">{$lang}</a>{if not $dwoo.foreach.languages.last} | {/if}
{/foreach}
</td>
</tr>
......
......@@ -21,7 +21,7 @@
{if $subpagedata.table.csv}
<div class="fr">
<span class="bulkaction-title">{str tag=exportstatsascsv section=admin}:</span>
<a href="{$WWWROOT}download.php" target="_blank">{str tag=Download section=admin} <span class="accessible-hidden"> {str tag=downloaddataascsv section=admin args=$type}</span></a>
<a href="{$WWWROOT}download.php">{str tag=Download section=admin} <span class="accessible-hidden"> {str tag=downloaddataascsv section=admin args=$type}</span></a>
</div>
{/if}
<div id="statistics_table_container" class="statistics-subpage-{if $subpagedata.summary}right{else}full{/if}-column {if $subpagedata.table.count == 0} hidden{/if}">
......
......@@ -24,7 +24,7 @@
{if $csv}
<div class="fr">
<span class="bulkaction-title">{str tag=exportusersascsv section=admin}:</span>
<a href="{$WWWROOT}download.php" target="_blank">{str tag=Download section=admin} <span class="accessible-hidden">{str tag=downloadusersascsv section=admin}</span></a>
<a href="{$WWWROOT}download.php">{str tag=Download section=admin} <span class="accessible-hidden">{str tag=downloadusersascsv section=admin}</span></a>
</div>
{/if}
<h2>{str tag=selectedusers section=admin} ({count($users)})</h2>
......
......@@ -23,7 +23,7 @@
{if $subpagedata.table.csv}
<div class="fr">
<span class="bulkaction-title">{str tag=exportstatsascsv section=admin}:</span>
<a href="{$WWWROOT}download.php" target="_blank">{str tag=Download section=admin} <span class="accessible-hidden">{str tag=downloadstatsascsv section=admin}</span></a>
<a href="{$WWWROOT}download.php">{str tag=Download section=admin} <span class="accessible-hidden">{str tag=downloadstatsascsv section=admin}</span></a>
</div>
{/if}
<div id="statistics_table_container" class="statistics-subpage-{if $subpagedata.summary}right{else}full{/if}-column {if $subpagedata.table.count == 0} hidden{/if}">
......
......@@ -13,19 +13,19 @@
<tr class="{cycle values='r0,r1'}">
<td>
{if $row.collid}
<h3 class="title"><a class="collectionlink" href="{$WWWROOT}view/view.php?id={$row.id}" target="_blank">{$row.name}</a></h3>
<h3 class="title"><a class="collectionlink" href="{$WWWROOT}view/view.php?id={$row.id}">{$row.name}</a></h3>
{/if}
</td>
<td>
<h3 class="title"><a class="viewlink" href="{$WWWROOT}view/view.php?id={$row.id}" target="_blank">{$row.title}</a></h3>
<h3 class="title"><a class="viewlink" href="{$WWWROOT}view/view.php?id={$row.id}">{$row.title}</a></h3>
</td>
{if $row.institution}
<td class="owner s">{$row.sharedby}</td>
{elseif $row.group}
<td class="owner s"><a class="grouplink" href="{group_homepage_url($row.groupdata, true, true)}" target="_blank">{$row.sharedby}</a></td>
<td class="owner s"><a class="grouplink" href="{group_homepage_url($row.groupdata, true, true)}">{$row.sharedby}</a></td>
{elseif $row.owner}
<td class="ownericon s">
<a class="userlink" href="{profile_url($row.user, true, true)}" target="_blank">
<a class="userlink" href="{profile_url($row.user, true, true)}">
<img src="{profile_icon_url user=$row.user maxwidth=20 maxheight=20}" alt="{str tag=profileimagetext arg1=$row.user|display_default_name}" class="profile-icon-container">
{$row.sharedby}
</a>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment