#javascript("/library/js/lang-datepicker/lang-datepicker.js") #if($calendarcounter)#else#set($calendarcounter = 0)#end #if($item && !$model)#set($model = $item)#end #if(!$item && $model)#set($item = $model)#end #* var calendarcounter = document.calendarcounter++; var inputfield_id = "chef_calendarhiddenfield"+calendarcounter; // The image button that the user clicks on to pop up the calendar document.write(''); // A hidden input field where the selected date value will be stored. document.write(''); // stuff away variables specific to this particular calendar instance so that updateXXX() can get them document.calendars[calendarcounter] = new Array(yearselect_id, monthselect_id, dayselect_id, inputfield_id); *# #macro (resources_dateselectionwidget $prefix $suffix $current_value $dateFormat) #set($yearSelected = $current_value.year) #set($earliestYear = $yearSelected - 4) #set($latestYear = $yearSelected + 4) #set($monthSelected = $current_value.month) #set($daySelected = $current_value.day) #chef_dateselectionwidget("${prefix}_year${DOT}${suffix}" "${prefix}_month${DOT}${suffix}" "${prefix}_day${DOT}${suffix}" $earliestYear $latestYear $yearSelected $monthSelected $daySelected $dateFormat "") #end #macro(resources_timeSelectionWidget $prefix $suffix $current_value) #set($time = $current_value.toStringLocalFull()) #set($hour = $current_value.breakdownLocal().hour) #set($minute = $current_value.breakdownLocal().min) #set($timeType = "am") #if($hour > 12) #set($hour = $hour - 12) #set($timeType = "pm") #elseif($hour == 12) #set($timeType = "pm") #elseif ($hour == 0) #set($hour = 12) #end #end #macro(resources_durationSelectionWidget $prefix $suffix $durationValues) #set($durationFirst = $durationValues.get(0)) #set($durationFirstQual = $durationValues.get(1)) #set($durationSecond = $durationValues.get(2)) #set($durationSecondQual = $durationValues.get(3)) #resources_dropdownSelectionWidget("${prefix}_first_qual${DOT}${suffix}" "duration_widget_qualifiers" $durationFirstQual) #resources_dropdownSelectionWidget("${prefix}_second_qual${DOT}${suffix}" "duration_widget_qualifiers" $durationSecondQual) #end ## generic dropdown widget builder. Uses the type of the item as the type to look up the properties to use #macro(resources_dropdownSelectionWidget $propname $type $current_value) ## use the type to look up the props, get the count, then get each one incl label ##data goes into types.ptoperties, and is of the form: ##dropdown.status.count=2 ##dropdown.status.1=abc ##dropdown.status.1.label=A B C ##dropdown.status.2=def ##dropdown.status.2.label=DEE EE EFF ## allow us to iterate using this string converted to an int #set($count = $tlang.getString("dropdown.${type}.count").trim()) #set($Integer = 0) #end

#if($model.canSetQuota())

#end #if ($model.isAdmin())
#if ($model.isAllowHtmlInlineInherited()) ## if the value of this property is inherited from the collection, we need to display a static value so it doesn't get unintentionally persisted with a new value. ## display a disabled checkbox to indicate to the user that inline html is allowed, but it cannot be changed because it is inherited #else #end $tlang.getString("edit.renderHtml.explanation")
#end #if($model.resourceTypeDef.hasRightsDialog()) #if ($!copyrightTypes.size() > 0)

*

$tlang.getString("cright.display") ([$tlang.getString('cright.newwin')]$tlang.getString("cright.show"))
#end #end ########## Begin Accordion Panel ##########
######### Begin Access Panel ##########
#if($availability_is_enabled && !$model.isUserSite() && !$model.isDropbox())

#if($model.isCollection()) $tlang.getString("instr.access.fldr") #else $tlang.getString("instr.access") #end

#set($release_year = $model.getReleaseDate().breakdownLocal().year) #set($release_month = $model.getReleaseDate().breakdownLocal().month) #set($release_day = $model.getReleaseDate().breakdownLocal().day) #set($release_hour = $model.getReleaseDate().breakdownLocal().hour) #set($release_minute = $model.getReleaseDate().breakdownLocal().min)
#set($retract_year = $model.getRetractDate().breakdownLocal().year) #set($retract_month = $model.getRetractDate().breakdownLocal().month) #set($retract_day = $model.getRetractDate().breakdownLocal().day) #set($retract_hour = $model.getRetractDate().breakdownLocal().hour) #set($retract_minute = $model.getRetractDate().breakdownLocal().min)
#if($model.isCollection()) #end
#if($conditions_enabled)
#if($resourceSelections.size() == 0) #else #if($item.isUseConditionalRelease()) #else #end #end
#if($resourceSelections.size() == 0) $tlang.getString("no.gradebook.assignments") #else $tlang.getString("conditional.gradebook_tool_name") #if($item.getSelectedConditionKey().startsWith("9") || $item.getSelectedConditionKey().startsWith("10")) #else #end #end
#end #end #if(!$model.isDropbox() && !$model.isSiteCollection())

$model.getAccessInstruction()

#set ($listDisplay="none") #if($model.isSiteOnly()) ##Site has *NO* groups and public-view is *NOT* enabled on the server (no choices to be made, but we should report the access) #elseif($model.isSingleGroupInherited()) ##Grouped access is inherited; parent folder limited to a single group (report that grouped access limited to a single group is inherited from above) #elseif($model.isGroupInherited() && "$model.accessMode" == "grouped") ##Grouped access is inherited; parent folder limited to two or more groups (present choice among groups; table shows only groups inherited from parent) #set ($listDisplay="block")
#elseif($model.isGroupInherited()) ##Grouped access is inherited; parent folder limited to two or more groups (present choice among groups; table shows only groups inherited from parent)
#else ## Site is possible; group and additional roles (including pubview) may be possible.
#if($model.rolesAreAvailable())
    #foreach ($roleId in $model.availableRoleIds())
  • #end
#end #if($model.isGroupPossible()) ## Group is possible #if("$!model.accessMode" == "$GROUP_ACCESS") #set ($listDisplay="block") #else #set ($listDisplay="none") #end
#set($theGroups = $model.possibleGroups) #foreach ($group in $!{theGroups}) #if($model.isPossible($group)) #end #end
$tlang.getString("edit.group1") $tlang.getString("edit.group2")
#if($model.isLocal($group) && $model.allowedRemove($group)) #elseif($model.isLocal($group)) #else #end ##mozilla does not resize table children dynamically , so set here #set($description = "") #if($group.description) #set($description = $group.Description) #end $validator.escapeHtml($!description)
#end #end
#if($model.groupsAreMissing())

$tlang.getString("access.groups.missing")

#end #end
######### End Access Panel ########## #if($showItemSummary) ######### Begin Summary Panel ##########
#if (!($dropboxMode && $collectionId==$homeCollectionId)) #end #if(! $item.isCollection()) #end #if(! $model.isUrl() && ! $model.isCollection() && "$!{model.mimetype}" != "") #end #if ($showFilter && ${item.html}) #end #if ($showMountPointProperty) #end
#if("$!TYPE_UPLOAD" == "$!{type.id}")$tlang.getString("props.creator.upl")#else$tlang.getString("props.creator")#end $validator.escapeHtml("$model.createdBy")
#if("$!TYPE_UPLOAD" == "$!{type.id}")$tlang.getString("props.creatime.upl")#else$tlang.getString("props.creatime")#end $validator.escapeHtml("$model.createdTime")
$tlang.getString("props.modby") $validator.escapeHtml("$model.modifiedBy")
$tlang.getString("props.modtime") $validator.escapeHtml("$model.modifiedTime")
$tlang.getString("props.url")
$tlang.getString("props.select") $tlang.getString("props.open") #if($shortUrlEnabled) $tlang.getString("props.shorturl") #end
$tlang.getString("props.size") $model.sizzle
$tlang.getString("props.mime") $model.mimetype
$tlang.getFormattedMessage("props.html_filter", $model.serviceName)
$tlang.getString("props.mountpoint")
######### End Summary Panel ########## #end ######### Metadata Panels are constructed in meta_edit_group.vm ########## #parse("/vm/resources/sakai_metadata-edit.vm")
########## End Accordion Panel ##########