This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set($ses = $request.getSession(true)) | |
#set($item = $request.getParameter('courseid')) | |
#set($_dummy = $ses.setMaxInactiveInterval(1800)) | |
#set($myCookie = $request.getCookies()) | |
#foreach($cookie in $myCookie) | |
#if($cookie.getName().equals("JSESSIONID")) | |
#set($ck = $cookie) | |
#set($_dummy = $ck.setMaxAge(1800)) | |
#end | |
#end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.ie #twoway section.wrapper { | |
width: 49%; | |
float: left; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#foreach($inode in $category) | |
#if($velocityCount == 1) | |
#set($catlist = "+c${inode}c:on") | |
#else | |
#set($catlist = "$catlist +c${inode}c:on") | |
#end | |
#end | |
#set($mySlides = $dotcontent.pull("+structureInode:9651b909-b784-4867-bfb8-03049e6269f1 +live:true +deleted:false $catlist", "0", "weightedOrder asc")) | |
<div class="clear"></div> | |
<div id="outer_wrap" style="margin-top: 20px;"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
$ch = curl_init($sub_req_url); | |
$encoded = ''; | |
// include GET as well as POST variables; your needs may vary. | |
foreach($_GET as $name => $value) { | |
$encoded .= urlencode($name).'='.urlencode($value).'&'; | |
} | |
foreach($_POST as $name => $value) { | |
$encoded .= urlencode($name).'='.urlencode($value).'&'; | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#set($id = $request.getParameter('coolid')) | |
#if($UtilMethods.isSet( $request.getParameter('captionPosition'))) | |
#set($captionPosition = $request.getParameter('captionPosition')) | |
#end | |
##if($UtilMethods.isSet($request.getParameter('displayCaption'))) | |
#set($displayCaption = $request.getParameter('displayCaption')) | |
##end | |
#set($content = $dotcontent.find($id)) | |
#if($captionPosition == "1") | |
<div class="content" style="height: 300px;"> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#foreach($inode in $staffAssociation) | |
#if($velocityCount == 1) | |
#set($catlist = $categories.getCategoryByInode($inode).getCategoryVelocityVarName()) | |
#else | |
#set($catlist = "$catlist $categories.getCategoryByInode($inode).getCategoryVelocityVarName()") | |
#end | |
#end |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"1": { | |
"id": "5e07e124-fd2f-4d36-b251-0552d1eced57", | |
"urlmap": "simmons_hall" | |
}, | |
"2": { | |
"id": "5e07e124-fd2f-4d36-b251-0552d1eced345", | |
"urlmap": "student_union" | |
} | |
} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script type="text/javascript"> | |
#set($left_b = "{") | |
#set($right_b = "}") | |
#set($colon = ":") | |
#set($comma = ",") | |
#set($ar_size = $my_id_array.size()) | |
#foreach($item in $my_id_array) | |
#set($a_i = "${quote}$item.cnt${quote}${colon}${left_b}${quote}id${quote}${colon}${quote}${item.id}${quote}${comma}${quote}urlmap${quote}${colon}${quote}${item.urlmap}${quote}${right_b}#if($velocityCount<$ar_size)${comma}#end") | |
#if($velocityCount == 1) | |
#set($my_json = "$a_i") |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function build_course_dept_dds(thisCourseCell) | |
{ | |
selector = (!thisCourseCell)?$('.thisCourseDept'):$('.thisCourseDept',thisCourseCell); | |
//console.log('build_course_dept_dds'); | |
selector.select2( | |
{ | |
data:thisCourseDeptData, | |
placeholder: 'Select Department/Track' | |
}).bind('change',function(){ |
OlderNewer