Changeset 3572

Show
Ignore:
Timestamp:
06/27/12 14:36:10
Author:
johnsa
Message:

public client: expose event registration system (when enabled) in event detail view

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/css/bwTheme.css

    r3543 r3572  
    10221022 border: solid 1px #CCC; 
    10231023} 
     1024#bwRegistrationBox { 
     1025        float: right; 
     1026} 
    10241027.bwEventImage { 
    10251028 float: right; 
     1029 clear: right; 
    10261030 margin: 0pt 0.5em 1em 1em; 
    10271031} 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/event.xsl

    r3489 r3572  
    9696        </xsl:if> 
    9797      </h2> 
     98       
     99      <xsl:if test="$eventRegEnabled and xproperties/node()[name()='X-BEDEWORK-REGISTRATION-START']"> 
     100        <div id="bwRegistrationBox"> 
     101          <xsl:variable name="eventName"><xsl:value-of select="name"/></xsl:variable> 
     102          <iframe src="{$eventReg}?href={$calPath}%2F{$eventName}"> 
     103                  <p> 
     104                                <xsl:copy-of select="$bwStr-Error-IframeUnsupported"/> 
     105                              </p> 
     106                      </iframe> 
     107        </div> 
     108      </xsl:if> 
    98109 
    99110      <div class="eventWhen"> 
  • trunk/deployment/webpublic/webapp/resources/demoskins/MainCampus/themes/bedeworkTheme/themeSettings.xsl

    r3498 r3572  
    135135 
    136136 
    137  
     137  <!-- EVENT REGISTRATION SYSTEM --> 
     138  <!-- Bedework provides an application that allows users to register for events. --> 
     139   
     140  <!-- Enable the events registration system?  If set to true, the theme will  
     141       look for registration X-Properties and expose the registration system to  
     142       users for registerable events. --> 
     143  <xsl:variable name="eventRegEnabled">true</xsl:variable>      
     144   
     145  <!-- Location of the event registration application; this is set to the  
     146       default quickstart location. If you move it, you must change this 
     147       value. The value includes the path to initialize the system on page load.  --> 
     148  <xsl:variable name="eventReg">/eventreg/init.do</xsl:variable> 
    138149 
    139150