- BugFix for the Piwik-Integration in Mandalay
- Integrated an extension from the IfS-Theme. It is now possible to suppress the label for specific contact entries in the list view of SciMember git-svn-id: https://svn.libreccm.org/ccm/trunk@2605 8810af33-2d31-482b-a856-94f89814c4dfmaster
parent
702f03280f
commit
6fdc39c8d9
|
|
@ -88,7 +88,7 @@ To use the templates definied here follow these steps:
|
||||||
_paq.push(["enableLinkTracking"]);
|
_paq.push(["enableLinkTracking"]);
|
||||||
|
|
||||||
(function() {
|
(function() {
|
||||||
var u=(("https:" == document.location.protocol) ? "https" : "http") + piwikUrl;
|
var u=(("https:" == document.location.protocol) ? "https" : "http") + '://' + piwikUrl + "/";
|
||||||
_paq.push(["setTrackerUrl", u+"piwik.php"]);
|
_paq.push(["setTrackerUrl", u+"piwik.php"]);
|
||||||
_paq.push(["setSiteId", idSite]);
|
_paq.push(["setSiteId", idSite]);
|
||||||
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
|
var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="text/javascript";
|
||||||
|
|
@ -104,7 +104,7 @@ To use the templates definied here follow these steps:
|
||||||
<img>
|
<img>
|
||||||
<xsl:attribute name="href">
|
<xsl:attribute name="href">
|
||||||
<xsl:value-of disable-output-escaping="no"
|
<xsl:value-of disable-output-escaping="no"
|
||||||
select="concat('http://', $piwikUrl, '?idsite=', $idSite, '&rec=1')"/>
|
select="concat('http://', $piwikUrl, '/piwik.php?idsite=', $idSite, '&rec=1')"/>
|
||||||
</xsl:attribute>
|
</xsl:attribute>
|
||||||
<xsl:attribute name="style">border:0</xsl:attribute>
|
<xsl:attribute name="style">border:0</xsl:attribute>
|
||||||
<xsl:attribute name="alt"></xsl:attribute>
|
<xsl:attribute name="alt"></xsl:attribute>
|
||||||
|
|
|
||||||
|
|
@ -332,11 +332,22 @@
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</xsl:variable>
|
</xsl:variable>
|
||||||
|
|
||||||
|
<xsl:variable name="omitContactEntryKey">
|
||||||
|
<xsl:call-template name="mandalay:getSetting">
|
||||||
|
<xsl:with-param name="module" select="'SciMember'"/>
|
||||||
|
<xsl:with-param name="setting" select="concat('contactentry/',$keyId,'/omitKey')"/>
|
||||||
|
<xsl:with-param name="default" select="'false'"/>
|
||||||
|
</xsl:call-template>
|
||||||
|
</xsl:variable>
|
||||||
|
|
||||||
<xsl:if test="($showContactEntry = 'true')">
|
<xsl:if test="($showContactEntry = 'true')">
|
||||||
|
|
||||||
<xsl:for-each select="../../contactentries[keyId=$keyId]">
|
<xsl:for-each select="../../contactentries[keyId=$keyId]">
|
||||||
|
<span>
|
||||||
<span class="contactentry">
|
<xsl:attribute name="class">
|
||||||
|
<xsl:value-of select="concat('contactentry contactentry_', $keyId)"/>
|
||||||
|
</xsl:attribute>
|
||||||
|
<xsl:if test="$omitContactEntryKey = 'false'">
|
||||||
<span class="contactentryKey">
|
<span class="contactentryKey">
|
||||||
<xsl:value-of select="./key"/>
|
<xsl:value-of select="./key"/>
|
||||||
<xsl:call-template name="mandalay:string-replace">
|
<xsl:call-template name="mandalay:string-replace">
|
||||||
|
|
@ -345,6 +356,7 @@
|
||||||
<xsl:with-param name="to" select="' '"/>
|
<xsl:with-param name="to" select="' '"/>
|
||||||
</xsl:call-template>
|
</xsl:call-template>
|
||||||
</span>
|
</span>
|
||||||
|
</xsl:if>
|
||||||
<span class="contactentryValue">
|
<span class="contactentryValue">
|
||||||
<xsl:choose>
|
<xsl:choose>
|
||||||
<xsl:when test="(substring(./value, 1, 7) = 'http://') or (substring(./value, 1, 3) = 'www') or contains(./value, '@')">
|
<xsl:when test="(substring(./value, 1, 7) = 'http://') or (substring(./value, 1, 3) = 'www') or contains(./value, '@')">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue