[se4_repository] / trunk / source / layout / page.xsl Repository:
ViewVC logotype

Diff of /trunk/source/layout/page.xsl

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1039, Thu Apr 20 19:15:02 2006 UTC revision 1314, Fri Apr 28 08:28:01 2006 UTC
# Line 15  Line 15 
15          <xsl:include href="login.xsl" />          <xsl:include href="login.xsl" />
16          <xsl:include href="usertemplates.xsl" />          <xsl:include href="usertemplates.xsl" />
17      <xsl:include href="message.xsl" />      <xsl:include href="message.xsl" />
18        <xsl:include href="comments.xsl" />
19        <xsl:include href="subscriptions.xsl" />
20        <xsl:include href="event.xsl" />
21        <xsl:include href="agenda.xsl" />
22    
23          <xsl:template match="PAGE">          <xsl:template match="PAGE">
24                  <xsl:variable name="edit">                  <xsl:variable name="edit">
# Line 64  Line 68 
68                                                  </h1>                                                  </h1>
69                                                  <div class="menuGroup">                                                  <div class="menuGroup">
70                                                          <a href="usercontroller.cgi" title="What's up today?"><img src="../images/menu_icon.gif" alt="1" /> Today</a><span class="noDisplay"> | </span>                                                          <a href="usercontroller.cgi" title="What's up today?"><img src="../images/menu_icon.gif" alt="1" /> Today</a><span class="noDisplay"> | </span>
71                                                          <a href="usercontroller.cgi" title="Show me the calendar!"><img src="../images/menu_icon.gif" alt="2" /> Calendar</a><span class="noDisplay"> | </span>                              <a href="agendacontroller.cgi?operation=get_agenda" title="Show me the calendar!"><img src="../images/menu_icon.gif" alt="2" /> Agenda</a><span class="noDisplay"> | </span>
72                                                          <a href="usercontroller.cgi" title="Show me the events!"><img src="../images/menu_icon.gif" alt="3" /> Events</a><span class="noDisplay"> | </span>                                                          <a href="usercontroller.cgi" title="Show me the events!"><img src="../images/menu_icon.gif" alt="3" /> Events</a><span class="noDisplay"> | </span>
73                                                          <a href="usercontroller.cgi" title="I want users!"><img src="../images/menu_icon.gif" alt="4" /> Users</a><span class="noDisplay"> | </span>                                                          <a href="usercontroller.cgi" title="I want users!"><img src="../images/menu_icon.gif" alt="4" /> Users</a><span class="noDisplay"> | </span>
74                                                  </div>                                                  </div>
# Line 78  Line 82 
82                                                                  <a href="usercontroller.cgi?operation=login_form" title="eVenturize me!">                                                                  <a href="usercontroller.cgi?operation=login_form" title="eVenturize me!">
83                                                                          <img src="../images/menu_icon.gif" alt="1" /> Log me in</a>                                                                          <img src="../images/menu_icon.gif" alt="1" /> Log me in</a>
84                                                                  <span class="noDisplay">|</span>                                                                  <span class="noDisplay">|</span>
85                                    <a href="usercontroller.cgi?operation=subscribe_form" title="Subscribe!">
86                                        <img src="../images/menu_icon.gif" alt="2" /> Subscribe</a>
87                                    <span class="noDisplay">|</span>
88                                                                  <a href="usercontroller.cgi?operation=lost_password_form" title="Help me!">                                                                  <a href="usercontroller.cgi?operation=lost_password_form" title="Help me!">
89                                                                          <img src="../images/menu_icon.gif" alt="2" /> Lost password</a>                                      <img src="../images/menu_icon.gif" alt="3" /> Lost password</a>
90                                                                  <span class="noDisplay">|</span>                                                                  <span class="noDisplay">|</span>
91    
92                                                          </xsl:if>                                                          </xsl:if>
# Line 92  Line 99 
99                                                                  <a href="usercontroller.cgi?operation=edit_user_form" title="Edit my stuff">                                                                  <a href="usercontroller.cgi?operation=edit_user_form" title="Edit my stuff">
100                                                                          <img src="../images/menu_icon.gif" alt="2" /> Edit preferences</a>                                                                          <img src="../images/menu_icon.gif" alt="2" /> Edit preferences</a>
101                                  <span class="noDisplay">|</span>                                  <span class="noDisplay">|</span>
102                                    <a href="usercontroller.cgi?operation=user_keyword_form" title="Edit keywords">
103                                        <img src="../images/menu_icon.gif" alt="3" /> Edit keywords</a>
104                                    <span class="noDisplay">|</span>
105                                  <a href="usercontroller.cgi?operation=change_password_form" title="Edit yout magic word">                                  <a href="usercontroller.cgi?operation=change_password_form" title="Edit yout magic word">
106                                      <img src="../images/menu_icon.gif" alt="3" /> Change password</a>                                      <img src="../images/menu_icon.gif" alt="4" /> Change password</a>
107                                  <span class="noDisplay">|</span>                                  <span class="noDisplay">|</span>
108                                  <a href="usercontroller.cgi?operation=find_user_form" title="Find your cyberspace friends">                                  <a href="usercontroller.cgi?operation=find_user_form" title="Find your cyberspace friends">
109                                      <img src="../images/menu_icon.gif" alt="4" /> Find user</a>                                      <img src="../images/menu_icon.gif" alt="5" /> Find user</a>
110                                  <span class="noDisplay">|</span>                                  <span class="noDisplay">|</span>
111                                  <a href="usercontroller.cgi?operation=receive_messages" title="Email">                                  <a href="usercontroller.cgi?operation=receive_messages" title="Receive mail to your cyberspace friend">
112                                      <img src="../images/menu_icon.gif" alt="6" /> Email</a>                                      <img src="../images/menu_icon.gif" alt="6" /> Inbox</a>
113                                    <span class="noDisplay">|</span>
114                                    <a href="usercontroller.cgi?operation=get_outbox" title="Check mail send to your cyberspace friend">
115                                        <img src="../images/menu_icon.gif" alt="7" /> Outbox</a>
116                                    <span class="noDisplay">|</span>
117                                    <a href="usercontroller.cgi?operation=send_message_form" title="Contact your cyberspace friends">
118                                        <img src="../images/menu_icon.gif" alt="8" /> Send message</a>
119                                  <span class="noDisplay">|</span>                                  <span class="noDisplay">|</span>
   
120    
121                                  <a href="usercontroller.cgi?operation=logout" title="dEventurize me">                                  <a href="usercontroller.cgi?operation=logout" title="dEventurize me">
122                                      <img src="../images/menu_icon.gif" alt="7" /> Log me out</a>                                      <img src="../images/menu_icon.gif" alt="9" /> Log me out</a>
123                                  <span class="noDisplay">|</span>                                  <span class="noDisplay">|</span>
124                                  <a href="usercontroller.cgi?operation=unsubscribe_form" title="I don't want no eVentures no more">                                  <a href="usercontroller.cgi?operation=unsubscribe_form" title="I don't want no eVentures no more">
125                                      <img src="../images/menu_icon.gif" alt="8" /> Unsubscribe</a>                                      <img src="../images/menu_icon.gif" alt="10" /> Unsubscribe</a>
126                                  <span class="noDisplay">|</span>                                  <span class="noDisplay">|</span>
127    
128                                                          </xsl:if>                                                          </xsl:if>
129                                                  </div>                                                  </div>
130    
131    
132                            <h1>
133                                Agenda menu
134                            </h1>
135                            <div class="menuGroup">
136                                <xsl:if test="$loggedin='yes'">
137                                    <a href="agendacontroller.cgi?operation=add_event_form" title="Add new event">
138                                        <img src="../images/menu_icon.gif" alt="1" /> Add event</a>
139                                    <span class="noDisplay">|</span>
140                                    <a href="agendacontroller.cgi?operation=show_agenda" title="Show my personal agenda">
141                                        <img src="../images/menu_icon.gif" alt="1" /> Show my personal agenda</a>
142                                    <span class="noDisplay">|</span>
143                                </xsl:if>
144                            </div>
145    
146    
147                                                  <h1>                                                  <h1>
148                                                          Rss                                                          Rss
149                                                  </h1>                                                  </h1>
# Line 159  Line 190 
190                                  <xsl:call-template name="unsubscribe" />                                  <xsl:call-template name="unsubscribe" />
191                              </xsl:if>                              </xsl:if>
192                          </xsl:if>                          </xsl:if>
193                            <xsl:if test="$operation='user_keyword_form'">
194                                <xsl:call-template name="keywordsdispatch">
195                                    <xsl:with-param name="edit">
196                                        <xsl:value-of select="$edit" />
197                                    </xsl:with-param>
198                                    <xsl:with-param name="operation">
199                                        <xsl:value-of select="$operation" />
200                                    </xsl:with-param>
201    
202                                </xsl:call-template>
203                            </xsl:if>
204                            <xsl:if test="$operation='event_keyword_form'">
205                                <xsl:call-template name="keywordsdispatch">
206                                    <xsl:with-param name="edit">
207                                        <xsl:value-of select="$edit" />
208                                    </xsl:with-param>
209                                    <xsl:with-param name="operation">
210                                        <xsl:value-of select="$operation" />
211                                    </xsl:with-param>
212                                </xsl:call-template>
213                            </xsl:if>
214                            <xsl:if test="$operation='comment_form'">
215                                <xsl:call-template name="write_comment_form" />
216                            </xsl:if>
217                            <xsl:if test="$operation='set_event_form'">
218                                <xsl:call-template name="eventdispatch">
219                                    <xsl:with-param name="edit">
220                                        <xsl:value-of select="$edit" />
221                                    </xsl:with-param>
222                                    <xsl:with-param name="operation">
223                                        <xsl:value-of select="$operation" />
224                                    </xsl:with-param>
225                                </xsl:call-template>
226                            </xsl:if>
227                            <xsl:if test="$operation='ubsubscribe_form'">
228                                <xsl:if test="$loggedin='yes'">
229                                    <xsl:call-template name="unsubscribe" />
230                                </xsl:if>
231                            </xsl:if>
232                            <xsl:if test="$operation='edit_event_form'">
233                                <xsl:call-template name="eventdispatch">
234                                    <xsl:with-param name="edit">
235                                        <xsl:value-of select="$edit" />
236                                    </xsl:with-param>
237                                    <xsl:with-param name="operation">
238                                        <xsl:value-of select="$operation" />
239                                    </xsl:with-param>
240                                </xsl:call-template>
241                            </xsl:if>
242                            <xsl:if test="$operation='inbox'">
243                                <xsl:call-template name="show_messages">
244                                    <xsl:with-param name="operation">
245                                        <xsl:value-of select="$operation" />
246                                    </xsl:with-param>
247                                </xsl:call-template>
248                            </xsl:if>
249                            <xsl:if test="$operation='outbox'">
250                                <xsl:call-template name="show_messages">
251                                                                                                                            <xsl:with-param name="operation">
252                                        <xsl:value-of select="$operation" />
253                                    </xsl:with-param>
254                                </xsl:call-template>
255                            </xsl:if>
256    
257    
258                                                  <xsl:if test="$operation='none'">                                                  <xsl:if test="$operation='none'">
259                                                  <xsl:for-each select="CONTENT/MODEL">                                                  <xsl:for-each select="CONTENT/MODEL">
# Line 172  Line 267 
267                                      </xsl:with-param>                                      </xsl:with-param>
268                                  </xsl:call-template>                                  </xsl:call-template>
269                              </xsl:if>                              </xsl:if>
270                                    <xsl:if test="$model='agenda'">
271                                        <xsl:call-template name="agenda" />
272                                    </xsl:if>
273                                    <xsl:if test="$model='event'">
274                                        <xsl:call-template name="eventdispatch">
275                                            <xsl:with-param name="edit">
276                                                <xsl:value-of select="$edit" />
277                                            </xsl:with-param>
278                                        </xsl:call-template>
279                                    </xsl:if>
280    
281                                    <xsl:if test="$model='keywordlist'">
282                                        <xsl:call-template name="keywordsdispatch">
283                                            <xsl:with-param name="edit">
284                                                <xsl:value-of select="$edit" />
285                                            </xsl:with-param>
286                                        </xsl:call-template>
287                                    </xsl:if>
288                              <xsl:if test="$model='form'">                              <xsl:if test="$model='form'">
289                                  <xsl:call-template name="form" />                                  <xsl:call-template name="form" />
290                              </xsl:if>                              </xsl:if>
291                              <xsl:if test="$model='message_list'">                              <xsl:if test="$model='message_list'">
292                                  <xsl:call-template name="show_messages" />                                  <xsl:call-template name="show_messages" />
293                              </xsl:if>                              </xsl:if>
294                                    <xsl:if test="$model='comment_list'">
295                                        <xsl:call-template name="show_comments" />
296                                    </xsl:if>
297                                    <xsl:if test="$model='subscription_list'">
298                                        <xsl:call-template name="show_subscriptions" />
299                                    </xsl:if>
300    
301                              <xsl:if test="$model='message'">                              <xsl:if test="$model='message'">
302                                  <xsl:call-template name="get_message" />                                  <xsl:call-template name="get_message" />
303                              </xsl:if>                              </xsl:if>
304                                    <xsl:if test="$model='comment'">
305                                        <xsl:call-template name="get_comment" />
306                                    </xsl:if>
307    
308                                                          <xsl:if test="$model='exception'">                                                          <xsl:if test="$model='exception'">
309                                                                  <xsl:call-template name="exception" />                                                                  <xsl:call-template name="exception" />
# Line 199  Line 322 
322    
323                                          <div class="spacer">                                          <div class="spacer">
324                                          </div>                                          </div>
   
325                                  </div>                                  </div>
326    
327                          </body>                          </body>

Legend:
Removed from v.1039  
changed lines
  Added in v.1314

Kevin Pinte

Powered by ViewVC 1.0-dev

ViewVC Help