projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix login on X.net with only 'groups' perm.
[platal.git]
/
plugins
/
function.display_education.php
diff --git
a/plugins/function.display_education.php
b/plugins/function.display_education.php
index
4e7db2a
..
752c5e7
100644
(file)
--- a/
plugins/function.display_education.php
+++ b/
plugins/function.display_education.php
@@
-1,6
+1,6
@@
<?php
/***************************************************************************
<?php
/***************************************************************************
- * Copyright (C) 2003-201
0
Polytechnique.org *
+ * Copyright (C) 2003-201
4
Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
@@
-32,7
+32,7
@@
function display_education($name, $url, $degree, $gradYear, $field, $program, $f
}
}
if ($url != '') {
}
}
if ($url != '') {
- $txt .= '<a href="' . $url . '"
onclick="return popup(this)
">' . $name . '</a>';
+ $txt .= '<a href="' . $url . '"
target="_blank
">' . $name . '</a>';
} else {
$txt .= $name;
}
} else {
$txt .= $name;
}
@@
-65,7
+65,7
@@
function display_education($name, $url, $degree, $gradYear, $field, $program, $f
return $txt;
}
return $txt;
}
-function smarty_function_display_education($params,
&
$smarty)
+function smarty_function_display_education($params, $smarty)
{
$params = new PlDict($params);
$edu = $params->v('edu');
{
$params = new PlDict($params);
$edu = $params->v('edu');
@@
-74,5
+74,5
@@
function smarty_function_display_education($params, &$smarty)
$edu->field, $edu->program, $params->b('full'));
}
$edu->field, $edu->program, $params->b('full'));
}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker
f
enc=utf-8:
?>
?>