14 'Conferences'=>array(
'index'),
21 array(
'label'=>
'List Conference',
'url'=>array(
'index')),
22 array(
'label'=>
'Create Conference',
'url'=>array(
'create')),
23 array(
'label'=>
'Update Conference',
'url'=>array(
'update',
'id'=>$model->conferenceid)),
24 array(
'label'=>
'Delete Conference',
'url'=>
'#',
'linkOptions'=>array(
'submit'=>array(
'delete',
'id'=>$model->conferenceid),
'confirm'=>
'Are you sure you want to delete this item?')),
25 array(
'label'=>
'Manage Conference',
'url'=>array(
'admin')),
35 <!-- Script to view/hide -->
36 <script type=
"text/javascript">
38 function toggle_visibility(
id) {
39 var e = document.getElementById(
id);
40 if(e.style.display ==
'block')
41 e.style.display =
'none';
43 e.style.display =
'block';
48 <h1>Properties of <?php echo $model->name; ?></h1>
50 <?php $this->widget(
'zii.widgets.CDetailView', array(
72 <a href=
"#" <?php $this->isAdmin(); ?> style=
"text-decoration: none" onclick=
"toggle_visibility('adminfunctions'); return false;">
73 <h3>Administrative Functions</h3>
75 <div
id=
"adminfunctions" style=
"display:none";>
79 $this->adminFunctions();
85 <div <?php $this->isAdmin(); ?>>
89 <a href=
"#" <?php $this->isAuthor(); ?> style=
"text-decoration: none" onclick=
"toggle_visibility('authorfunctions'); return false;">
90 <h3>Authoring Functions</h3>
92 <div
id=
"authorfunctions" style=
"display:none";>
96 $this->authorFunctions();
102 <div <?php $this->isAuthor(); ?>>
106 <a href=
"#" <?php $this->isReferee(); ?> style=
"text-decoration: none" onclick=
"toggle_visibility('refereefunctions'); return false;">
107 <h3>Refereeing Functions</h3>
109 <div
id=
"refereefunctions" style=
"display:none";>
113 $this->refereeFunctions();
119 <div <?php $this->isReferee(); ?>>
124 <a href=
"#" <?php $this->hasAnnouncement(); ?> style=
"text-decoration: none" onclick=
"toggle_visibility('announcement'); return false;">
125 <h3>Announcements</h3>
127 <div
id=
"announcement" style=
"display:none";>
131 $this->announcementFunctions();
137 <div <?php $this->hasAnnouncement(); ?>>
143 <a href=
"#" style=
"text-decoration: none" onclick=
"toggle_visibility('topics'); return false;">
146 <div
id=
"topics" style=
"display:none";>
150 $this->viewTopics($model->conferenceid);
160 <a href=
"#" style=
"text-decoration: none" onclick=
"toggle_visibility('participants'); return false;">
163 <div
id=
"participants" style=
"display:none";>
167 $this->usersView($model->conferenceid);
177 <a href=
"#" style=
"text-decoration: none" onclick=
"toggle_visibility('papers'); return false;">
180 <div
id=
"papers" style=
"display:none";>
184 $this->papersView($model->conferenceid);
197 <div <?php echo $this->attends(); ?> >
198 <form action=
"index.php?r=participate/index" method=
"post">
199 <input hidden name=
"id" value=
"<?php echo $model->conferenceid;?>"/>
200 <input hidden name=
"type" value=
"<?php echo "attendee
";?>"/>
201 <input type=
"submit" value=
"Send Request to Become an Attendee">
205 <div <?php echo $this->attends2(); ?> >
206 <form action=
"index.php?r=participate_not/index" method=
"post">
207 <input hidden name=
"id" value=
"<?php echo $model->conferenceid;?>"/>
208 <input hidden name=
"type" value=
"<?php echo "4
";?>"/>
209 <input type=
"submit" value=
"Stop Attending This Conference">
213 <div <?php echo $this->authors(); ?> >
214 <form action=
"index.php?r=participate/index" method=
"post">
215 <input hidden name=
"id" value=
"<?php echo $model->conferenceid;?>"/>
216 <input hidden name=
"type" value=
"<?php echo "author
";?>"/>
217 <input type=
"submit" value=
"Send Request to Become an Author">
221 <div <?php echo $this->authors2(); ?> >
222 <form action=
"index.php?r=participate_not/index" method=
"post">
223 <input hidden name=
"id" value=
"<?php echo $model->conferenceid;?>"/>
224 <input hidden name=
"type" value=
"<?php echo "2
";?>"/>
225 <input type=
"submit" value=
"Stop Authoring For This Conference">
229 <div <?php echo $this->referees(); ?> >
230 <form action=
"index.php?r=participate/index" method=
"post">
231 <input hidden name=
"id" value=
"<?php echo $model->conferenceid;?>"/>
232 <input hidden name=
"type" value=
"<?php echo "referee
";?>"/>
233 <input type=
"submit" value=
"Send Request to Become a Referee">
237 <div <?php echo $this->referees2(); ?> >
238 <form action=
"index.php?r=participate_not/index" method=
"post">
239 <input hidden name=
"id" value=
"<?php echo $model->conferenceid;?>"/>
240 <input hidden name=
"type" value=
"<?php echo "3
";?>"/>
241 <input type=
"submit" value=
"Stop Refereeing For This Conference">