Revision: 1820
Author: olavmrk
Date: Mon Oct 5 06:01:29 2009
Log: Frontpage: Mark links to sp examples as deprecated.
Update issue 209
Owner: andreassolberg
Status: Started
Needs update of dictionary: {core:frontpage:deprecated}
http://code.google.com/p/simplesamlphp/source/detail?r=1820
Modified:
/trunk/modules/core/dictionaries/frontpage.php
/trunk/modules/core/templates/frontpage_auth.tpl.php
/trunk/modules/core/www/frontpage_auth.php
=======================================
--- /trunk/modules/core/dictionaries/frontpage.php Thu Sep 10 04:25:51 2009
+++ /trunk/modules/core/dictionaries/frontpage.php Mon Oct 5 06:01:29 2009
@@ -900,6 +900,9 @@
'es' => 'Probar las fuentes para la autentificación ya
configuradas',
'tr' => 'Düzenlenmiş kimlik doğrulama kaynaklarını test et',
),
+ 'deprecated' => array (
+ 'en' => 'Deprecated',
+ ),
);
=======================================
--- /trunk/modules/core/templates/frontpage_auth.tpl.php Thu Aug 27
07:05:39 2009
+++ /trunk/modules/core/templates/frontpage_auth.tpl.php Mon Oct 5
06:01:29 2009
@@ -18,7 +18,11 @@
<ul>
<?php
foreach ($this->data['links_auth'] AS $link) {
- echo '<li><a href="' . htmlspecialchars($link['href']) . '">' .
$this->t($link['text']) . '</a></li>';
+ echo '<li><a href="' . htmlspecialchars($link['href']) . '">' .
$this->t($link['text']) . '</a>';
+ if (isset($link['deprecated']) && $link['deprecated']) {
+ echo ' <b>' . $this->t('{core:frontpage:deprecated}') .
'</b>';
+ }
+ echo '</li>';
}
?>
</ul>
=======================================
--- /trunk/modules/core/www/frontpage_auth.php Fri Aug 28 00:47:22 2009
+++ /trunk/modules/core/www/frontpage_auth.php Mon Oct 5 06:01:29 2009
@@ -32,12 +32,16 @@
if ($config->getValue('enable.saml20-sp') === true)
$links_auth[] = array(
'href' =>
SimpleSAML_Utilities::getBaseURL() . 'example-simple/saml2-example.php',
- 'text' => '{core:frontpage:link_saml2example}');
+ 'text' => '{core:frontpage:link_saml2example}',
+ 'deprecated' => TRUE,
+ );
if ($config->getValue('enable.shib13-sp') === true)
$links_auth[] = array(
'href' =>
SimpleSAML_Utilities::getBaseURL() . 'example-simple/shib13-example.php',
- 'text' => '{core:frontpage:link_shib13example}');
+ 'text' => '{core:frontpage:link_shib13example}',
+ 'deprecated' => TRUE,
+ );
$allLinks = array(
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"simpleSAMLphp commits" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/simplesamlphp-commits?hl=en
-~----------~----~----~----~------~----~------~--~---