Commit 4245c555 authored by Naomi Guyer's avatar Naomi Guyer Committed by Aaron Wells
Browse files

BUG - general styling fixes

Bug 1465107: Use Bootstrap CSS Framework

Change-Id: I754032b3288bf5ed743756019e6c1ff6d4c729bf
parent e0d6f1c6
{include file="header.tpl"}
{if $institution}
{$institutionselector|safe}
{/if}
{if $institution && $institution == 'mahara'}
<p class="intro">{str tag="adminfilespagedescription2" section="admin" args=$descriptionstrargs}</p>
{else}
{if $institution}
<p class="intro">{str tag='institutionfilespagedescription1' section='artefact.file'}</p>
{else}
{if $group}
<p class="intro">{str tag='groupfilespagedescription1' section='artefact.file'}</p>
{else}
<p class="intro">{str tag='filespagedescription1' section='artefact.file'}</p>
{/if}
{/if}
{/if}
<div>{$form|safe}</div>
{include file="footer.tpl"}
<div>
{if !$simpledisplay}<h3 class="title">{$title}</h3>{/if}
<div class="detail">{$description}</div>
{if $tags}<div class="tags">{str tag=tags}: {list_tags owner=$owner tags=$tags}</div>{/if}
<div id="commentfiles">
{if (isset($children))}
<h4>{str tag=foldercontents section=artefact.file}:</h4>
<table class="fullwidth">
<thead>
<tr>
<th></th>
<th class="filename">{str tag=name}</th>
<th class="filedescription">{str tag=description}</th>
{if !$simpledisplay}<th class="filedate">{str tag=Date section=artefact.file}</th>{/if}
</tr>
</thead>
<tbody>
{foreach from=$children item=child}
<tr class="{cycle values='r0,r1'}">
<td class="icon-container"><img src="{$child->iconsrc}" alt="{$child->artefacttype}"></td>
<td class="filename"><a href="{$WWWROOT}artefact/artefact.php?artefact={$child->id}&amp;view={$viewid}" title="{$child->hovertitle}">{$child->title}</a></td>
<td class="filedescription">{$child->description}</td>
{if !$simpledisplay}
<td class="filedate">{$child->date}</td>
{/if}
</tr>
{/foreach}
</tbody></table>
{if $downloadfolderzip}
<p>
<a href="{$WWWROOT}artefact/file/downloadfolder.php?folder={$folderid}&view={$viewid}">{str tag=downloadfolderziplink section=artefact.file}</a>
</p>
{/if}
{else}
{str tag=emptyfolder section=artefact.file}
{/if}
</div>
</div>
<tr id="{$prefix}_edit_row"{if !$fileinfo} class="hidden editrow"{/if}>
<td></td>
<td colspan="5" class="fileedittablewrap">
<table class="fileedittable">
<tbody>
<tr>
<th colspan="2" id="{$prefix}_edit_heading" class="fl">
{if $fileinfo}{if $fileinfo->artefacttype == 'folder'}{str tag=editfolder section=artefact.file}{else}{str tag=editfile section=artefact.file}{/if}{/if}
</th>
</tr>
<tr class="required">
<th><label for="{$prefix}_edit_title">{str tag=name}</label> <span class="requiredmarker">*</span></th>
<td><input type="text" class="text" name="{$prefix}_edit_title" id="{$prefix}_edit_title" value="{$fileinfo->title}" size="40" /></td>
</tr>
{if $fileinfo->artefacttype != 'profileicon'}
<tr>
<th><label for="{$prefix}_edit_description">{str tag=description}</label></th>
<td><input type="text" class="text" name="{$prefix}_edit_description" id="{$prefix}_edit_description" value="{$fileinfo->description}" size="40" /></td>
</tr>
{/if}
<tr class="tags">
<th><label for="{$prefix}_edit_tags">{str tag=tags}</label></th>
<td>
<input name="{$prefix}_edit_tags" size="40" id="{$prefix}_edit_tags" value="{foreach from=$fileinfo->tags item=tag name=tags}{if !$.foreach.tags.first}, {/if}{$tag}{/foreach}" />
<span>{contextualhelp plugintype='artefact' pluginname='file' section='tags'}</span>
</td>
</tr>
<tr>
<td></td>
<td class="description">{str tag=tagsdescprofile}</td>
</tr>
{if $groupinfo}
<tr>
<th><strong>{str tag=Permissions}</strong></th>
<td>
<table class="editpermissions">
<tbody>
<tr>
<th>{str tag=Role section=group}</th>
{foreach from=$groupinfo.perm item=permname}
<th>{$permname}</th>
{/foreach}
</tr>
{foreach from=$groupinfo.roles item=role key=r}
<tr>
<td>{$role->display}</td>
{foreach from=$groupinfo.perm item=whocares key=permid}
{if $fileinfo}
<td><label for="{$prefix}_permission_{$r}_{$permid}">{str tag=changerolepermissions section=group arg1=$permid arg2=$r}</label>
<input type="checkbox" class="permission" id="{$prefix}_permission_{$r}_{$permid}" name="{$prefix}_permission:{$r}:{$permid}"{if $fileinfo->permissions.$r.$permid} checked{/if}{if $r == 'admin'} disabled{/if} /></td>
{else}
<td><label for="{$prefix}_permission_{$r}_{$permid}">{str tag=changerolepermissions section=group arg1=$permid arg2=$r}</label>
<input type="checkbox" class="permission" id="{$prefix}_permission_{$r}_{$permid}" name="{$prefix}_permission:{$r}:{$permid}" {if $r == 'admin'} checked disabled{/if}/></td>
{/if}
{/foreach}
</tr>
{/foreach}
</tbody>
</table>
</td>
</tr>
{/if}
{license_form_files($prefix, 'edit')}
<tr>
<th><label for="{$prefix}_edit_allowcomments">{str tag=Comments section=artefact.comment}</label></th>
<td><div class="form-switch ">
<div class="switch onoff"><input class="switchbox" type="checkbox" name="{$prefix}_edit_allowcomments" id="{$prefix}_edit_allowcomments" {if $fileinfo->allowcomments}checked {/if}/>
<label for="{$prefix}_edit_allowcomments" class="switch-label">
<span class="switch-inner"></span>
<span class="switch-switch"></span>
</label>
</div>
</div></td>
</tr>
<tr>
<td></td>
<td>
<input type="submit" class="submit" name="{$prefix}_update[{$fileinfo->id}]" id="{$prefix}_edit_artefact" value="{str tag=savechanges section=artefact.file}" />
<input type="submit" class="cancel" name="{$prefix}_canceledit" id="{$prefix}_edit_cancel" value="{str tag=cancel}" />
</td>
</tr>
<tr><td colspan="2" id="{$prefix}_edit_messages"></td></tr>
</tbody>
</table>
</td>
</tr>
{if $config.select}
{include file="artefact:file:form/selectedlist.tpl" selectedlist=$selectedlist prefix=$prefix highlight=$highlight selectfolders=$config.selectfolders}
{/if}
<script type="application/javascript">
{$initjs|safe}
</script>
<input type="hidden" name="folder" id="{$prefix}_folder" value="{$folder}" />
<input type="hidden" name="{$prefix}_changefolder" id="{$prefix}_changefolder" value="" />
<input type="hidden" name="{$prefix}_foldername" id="{$prefix}_foldername" value="{$foldername}" />
{if $config.select}
<div id="{$prefix}_open_upload_browse_container"{if $browse} class="hidden"{/if}>
<input type="submit" class="buttondk" id="{$prefix}_open_upload_browse" name="browse" value="{if $config.selectone}{str tag=selectafile section=artefact.file}{else}{str tag=addafile section=artefact.file}{/if}" />{if $config.browsehelp}{contextualhelp plugintype=$config.plugintype pluginname=$config.pluginname section=$config.browsehelp}{/if}
</div>
{/if}
<div id="{$prefix}_upload_browse" class="upload_browse{if $config.select} select{if !$browse} hidden{/if}{/if}">
{if $config.select && !$config.alwaysopen}
<input type="submit" class="buttondk" name="{$prefix}_cancelbrowse" id="{$prefix}_close_upload_browse" value="{str tag=Close}" />
{/if}
{if $tabs}
<input type="hidden" name="{$prefix}_owner" id="{$prefix}_owner" value="{$tabs.owner}" />
<input type="hidden" name="{$prefix}_ownerid" id="{$prefix}_ownerid" value="{$tabs.ownerid}" />
<input type="hidden" name="{$prefix}_changeowner" id="{$prefix}_changeowner" value="" />
<div id="{$prefix}_ownertabs">
{include file="artefact:file:form/ownertabs.tpl" tabs=$tabs prefix=$prefix querybase=$querybase}
</div>
<div id="artefactchooser-body">
<div id="{$prefix}_ownersubtabs" {if !$tabs.subtabs}class="hidden"{/if}>
{if $tabs.subtabs}{include file="artefact:file:form/ownersubtabs.tpl" tabs=$tabs prefix=$prefix querybase=$querybase}{/if}
</div>
{/if}
{if $config.upload}
<div id="{$prefix}_upload_container" class="fileupload{if ($tabs && !$tabs.upload) || $uploaddisabled} hidden{/if}">
<p class="intro">{str tag='fileuploadinstructions1' section='artefact.file'}</p>
{* config.uploadagreement: disable the file chooser unless the agreement is checked *}
{* config.simpleupload: the form only contains a file chooser *}
{* config.submitbutton: add submit button even if js is enabled & don't start uploading as soon as a file is chosen *}
<input type="hidden" name="{$prefix}_uploadnumber" id="{$prefix}_uploadnumber" value="1" />
<input type="hidden" name="MAX_FILE_SIZE" value="{$phpmaxfilesize}" />
<div id="{$prefix}_upload_messages"></div>
{if $config.uploadagreement}
<div id="{$prefix}_agreement" class="uploadform">
<label for="{$prefix}_notice">{str tag='uploadfile' section='artefact.file'}</label>
<input type="checkbox" name="{$prefix}_notice" id="{$prefix}_notice" />
{$agreementtext|clean_html|safe}
</div>
{/if}
{$licenseform|safe}
<div class="uploadform">
<label for="{$prefix}_userfile">{if $config.simpleupload}{str tag='uploadfile' section='artefact.file'}{else}{str tag='File' section='artefact.file'}{/if}</label>
<span id="{$prefix}_userfile_container"><input type="file" class="file" {$accepts|safe} id="{$prefix}_userfile" name="userfile[]" multiple size="20" /></span>
<span id="{$prefix}_userfile_maxuploadsize">({str tag=maxuploadsize section=artefact.file} {$maxuploadsize})</span>
{if $config.uploadagreement}<script>setNodeAttribute('{$prefix}_userfile', 'disabled', true);</script>{/if}
</div>
{if $config.resizeonuploaduseroption}
<div id="{$prefix}_resizeonuploaduseroption" class="description">
{str tag='resizeonuploadenablefilebrowser1' section='artefact.file' arg1=$resizeonuploadmaxwidth arg2=$resizeonuploadmaxheight}
<input type="checkbox" name="{$prefix}_resizeonuploaduserenable" id="{$prefix}_resizeonuploaduserenable" {if $resizeonuploadenable && $config.resizeonuploaduserdefault}checked{/if}/>
{contextualhelp plugintype='artefact' pluginname='file' form='files_filebrowser' element='resizeonuploaduseroption'}
</div>
{/if}
<div id="file_dropzone_container" class="{$prefix}">
<div id="fileDropzone" class="dropzone-previews" style="display:none;">
<div class="dz-message">{str tag=dragdrophere section=artefact.file}</div>
</div>
</div>
<div class="uploadform">
<div id="{$prefix}_uploadsubmit_container">{* filebrowser.js may add a submit button in here even if config.submitbutton is off *}
{if $config.submitbutton}
<input type="submit" class="submit nojs-hidden-block" name="{$prefix}_uploadsubmit" id="{$prefix}_uploadsubmit" value="{str tag=upload section=artefact.file}" />
{/if}
<noscript><input type="submit" class="submit" name="{$prefix}_upload" id="{$prefix}_upload" value="{str tag=upload section=artefact.file}" /></noscript>
</div>
</div>
</div>
{/if}
{if $config.upload}
<div id="{$prefix}_upload_disabled" class="uploaddisabled{if !$uploaddisabled} hidden{/if}">{str tag="cannoteditfolder" section=artefact.file}</div>
{/if}
{if $config.edit}
<input type="hidden" name="{$prefix}_move" id="{$prefix}_move" value="" />
<input type="hidden" name="{$prefix}_moveto" id="{$prefix}_moveto" value="" />
{/if}
{if $config.createfolder}
<div id="createfolder"{if $uploaddisabled} class="hidden"{/if}><div id="{$prefix}_createfolder_messages" class="createfolder-message"></div>
<label for="{$prefix}_createfolder_name" class="accessible-hidden">{str tag=foldername section=artefact.file}</label>
<input type="text" class="text" name="{$prefix}_createfolder_name" id="{$prefix}_createfolder_name" size="40" />
<input type="submit" class="submit" name="{$prefix}_createfolder" id="{$prefix}_createfolder" value="{str tag=createfolder section=artefact.file}" /></div>
{/if}
<div id="{$prefix}_foldernav" class="foldernav">
{include file="artefact:file:form/folderpath.tpl" path=$path querybase=$querybase owner=$tabs.owner ownerid=$tabs.ownerid}
</div>
<div id="{$prefix}_filelist_container">
{include file="artefact:file:form/filelist.tpl" prefix=$prefix filelist=$filelist folderdownload=$folderdownload folderparams=$folderparams editable=$config.edit selectable=$config.select highlight=$highlight edit=$edit querybase=$querybase groupinfo=$groupinfo owner=$tabs.owner ownerid=$tabs.ownerid selectfolders=$config.selectfolders showtags=$config.showtags editmeta=$config.editmeta}
</div>
{* Edit form used when js is available *}
{if $edit <= 0}
<table class="hidden">
<tbody id="{$prefix}_edit_placeholder">
{include file="artefact:file:form/editfile.tpl" prefix=$prefix groupinfo=$groupinfo}
</tbody>
</table>
{/if}
{if $tabs}
</div>
{/if}
</div>
{if !$filelist}
<p>{str tag=nofilesfound section=artefact.file}</p>
{else}
<table id="{$prefix}_filelist" class="tablerenderer filelist fullwidth">
<thead>
<tr>
<th></th>
<th>{str tag=Name section=artefact.file}</th>
<th>{str tag=Description section=artefact.file}</th>
{if !$showtags && !$editmeta}
<th class="filesize">{str tag=Size section=artefact.file}</th>
<th class="filedate">{str tag=Date section=artefact.file}</th>
{/if}
{if $showtags}
<th class="filetags">{str tag=tags}</th>
{/if}
{if $editmeta}
<th class="right"></th>
{/if}
<th class="right nowrap">
<span class="accessible-hidden">{str tag=edit}</span>
</th>
</tr>
</thead>
<tbody>
{foreach from=$filelist item=file}
{if !$publishing || !$file->permissions || $file->can_republish}{assign var=publishable value=1}{else}{assign var=publishable value=0}{/if}
<tr id="file:{$file->id}" class="{cycle values='r0,r1'} directory-item{if $file->isparent} parentfolder{/if}{if $file->artefacttype == 'folder'} folder{elseif $file->artefacttype == 'profileicon'} profileicon{/if}{if $highlight && $highlight == $file->id} highlight-file{/if}{if $edit == $file->id} hidden{/if}{if !$publishable && $file->artefacttype != 'folder'} disabled{/if}" {if !$publishable && $file->artefacttype != 'folder'} title="{str tag=notpublishable section=artefact.file}"{/if}>
<td class="icon-container">
{if !$file->isparent}
{if $editable}
<div class="icon-drag" id="drag:{$file->id}" tabindex="0">
<img src="{$file->icon}" title="{str tag=clickanddragtomovefile section=artefact.file arg1=$file->title}" alt="{$file->title}">
</div>
{else}
<img src="{$file->icon}">
{/if}
{/if}
</td>
<td class="filename">
{assign var=displaytitle value=$file->title|safe}
{if $file->artefacttype == 'folder'}
<a href="{$querybase|safe}folder={$file->id}{if $owner}&owner={$owner}{if $ownerid}&ownerid={$ownerid}{/if}{/if}" id="changefolder:{$file->id}" class="changefolder" title="{str tag=gotofolder section=artefact.file arg1=$displaytitle}">
<span class="accessible-hidden">{str tag=folder section=artefact.file}:</span>
<span class="display-title {if $file->isparent}accessible-hidden{/if}">{$displaytitle}</span>
</a>
{elseif !$publishable}
{$displaytitle}
{else}
<a href="{$WWWROOT}artefact/file/download.php?file={$file->id}" target="_blank" title="{str tag=downloadfile section=artefact.file arg1=$displaytitle}">{$displaytitle}</a>
{/if}
</td>
<td class="filedescription">{$file->description}</td>
{if !$showtags && !$editmeta}
<td class="filesize">{tif $file->size ?: ''}</td>
<td class="filedate">{tif $file->mtime ?: ''}</td>
{/if}
{if $showtags}
<td class="filetags">{if $file->tags}<span>{list_tags tags=$file->tags owner=$showtags}</span>{/if}</td>
{/if}
{if $editmeta}
<td class="right s nowrap">
{if $file->locked}
<span class="dull">{str tag=Submitted section=view}</span>
{elseif !$file->isparent}
{if !isset($file->can_edit) || $file->can_edit !== 0}<input type="submit" class="btn-big-edit tag-edit submit" name="{$prefix}_edit[{$file->id}]" value="{str tag=edit}" title="{str tag=edit}" />{/if}
{/if}
</td>
{/if}
<!-- Ensure space for 3 buttons (in the case of a really long single line string in a user input field -->
<td class="right s nowrap">
{if $editable && !$file->isparent}
{if $file->locked}
<span class="dull">{str tag=Submitted section=view}</span>
{elseif !isset($file->can_edit) || $file->can_edit != 0}
{if $file->artefacttype == 'archive'}
<a href="{$WWWROOT}artefact/file/extract.php?file={$file->id}">
<img src="{theme_url filename="images/btn_extract.png"}" title="{str tag=Decompress section=artefact.file}" alt="{str(tag=decompressspecific section=artefact.file arg1=$displaytitle)|escape:html|safe}"/>
</a>
{/if}
{if $file->artefacttype == 'folder'}
{assign var=edittext value=str(tag=editfolderspecific section=artefact.file arg1=$displaytitle)}
{assign var=deletetext value=str(tag=deletefolderspecific section=artefact.file arg1=$displaytitle)}
{else}
{assign var=edittext value=str(tag=editspecific arg1=$displaytitle)}
{assign var=deletetext value=str(tag=deletespecific arg1=$displaytitle)}
{/if}
<input type="image" id="edit_{$file->id}" src="{theme_url filename="images/btn_edit.png"}" name="{$prefix}_edit[{$file->id}]" value="" title="{str tag=edit}" alt="{$edittext|escape:html|safe}" />
<input type="image" id="delete_{$file->id}" src="{theme_url filename="images/btn_deleteremove.png"}" name="{$prefix}_delete[{$file->id}]" value="" title="{str tag=delete}" alt="{$deletetext|escape:html|safe}" />
{/if}
{/if}
{if $selectable && ($file->artefacttype != 'folder' || $selectfolders) && $publishable && !$file->isparent}
<input type="submit" class="select small" name="{$prefix}_select[{$file->id}]" id="{$prefix}_select_{$file->id}" value="{str tag=select}" title="{str tag=select}" />
{/if}
</td>
</tr>
{if $edit == $file->id}
{include file="artefact:file:form/editfile.tpl" prefix=$prefix fileinfo=$file groupinfo=$groupinfo}
{/if}
{/foreach}
</tbody>
</table>
<div id="downloadfolder">
<a href="{$WWWROOT}artefact/file/downloadfolder.php?{$folderparams|safe}">{str tag=downloadfolderziplink section=artefact.file}</a>
</div>
{/if}
{foreach from=$path item=f name=path}
{if !$.foreach.path.first}/ {/if}
{if $.foreach.path.last}
{$f->title|str_shorten_text:34}
{else}
<a href="{$querybase|safe}folder={$f->id}{if $owner}&owner={$owner}{if $ownerid}&ownerid={$ownerid}{/if}{/if}" class="changefolder{if $f->class} {$f->class}{/if}">{$f->title|str_shorten_text:34}</a>
{/if}
{/foreach}
{if $tabs.subtabs}
<ul class="artefactchooser-subtabs">
{foreach from=$tabs.subtabs item=displayname key=ownerid name=subtab}
<li class="{if $tabs.ownerid == $ownerid}current{/if}{if !$dwoo.foreach.subtab.last} showrightborder{/if}"><a class="changeowner" href="{$querybase}owner={$tabs.owner}&ownerid={$ownerid}">{$displayname}</a></li>
{/foreach}
</ul>
{/if}
<ul class="artefactchooser-tabs files">
{foreach from=$tabs.tabs item=displayname key=name}
<li{if $tabs.owner == $name} class="current"{/if}><a class="changeowner" href="{$querybase}owner={$name}">{$displayname}<span class="accessible-hidden">({str tag=tab}{if $tabs.owner == $name} {str tag=selected}{/if})</span></a></li>
{/foreach}
</ul>
<p id="{$prefix}_empty_selectlist"{if $selectedlist} class="hidden"{/if}>{if !$selectfolders}{str tag=nofilesfound section=artefact.file}{/if}</p>
<table id="{$prefix}_selectlist" class="fullwidth{if !$selectedlist} hidden{/if}">
<thead>
<tr>
<th></th>
<th>{str tag=Name section=artefact.file}</th>
<th>{str tag=Description section=artefact.file}</th>
<th></th>
</tr>
</thead>
<tbody>
{foreach from=$selectedlist item=file}
{assign var=displaytitle value=$file->title|str_shorten_text:34|safe}
<tr class="{cycle values='r0,r1'}{if $highlight && $highlight == $file->id} highlight-file{/if}">
<td class="icon-container">
<img src="{if $file->artefacttype == 'image' || $file->artefacttype == 'profileicon'}{$WWWROOT}artefact/file/download.php?file={$file->id}&size=24x24{else}{theme_url filename=images/`$file->artefacttype`.png}{/if}">
</td>
<td class="filename">
{if $selectfolders}{$displaytitle}{else}<a href="{$WWWROOT}artefact/file/download.php?file={$file->id}" target="_blank" title="{str tag=downloadfile section=artefact.file arg1=$displaytitle}">{$displaytitle}</a>{/if}
</td>
<td class="filedescription">{$file->description}</td>
<td class="right s">
<input type="submit" class="button submit unselect" name="{$prefix}_unselect[{$file->id}]" value="{str tag=remove}" id="{$prefix}_unselect_{$file->id}" />
<input type="hidden" class="hidden" id="{$prefix}_selected[{$file->id}]" name="{$prefix}_selected[{$file->id}]" value="{$file->id}">
</td>
</tr>
{/foreach}
</tbody>
</table>
<div>
<a href="{$downloadpath}"><img src="{$downloadpath}&maxwidth=1000&maxheight=750" alt="{$title}"></a>
<p>{$description}</p>
<div><a href="{$metadataurl}">{str tag=Details section=artefact.file}</a></div>
</div>
{if count($entryfiles)}
<div class="section fullwidth">
<h2>{str tag=file section=artefact.file}</h2>
</div>
{foreach from=$entryfiles item=file}
<div class="{cycle name=rows values='r0,r1'} listrow">
<div id="entryfile" class="indent1 fullwidth">
<div class="importcolumn importcolumn1">
<h3 class="title">
{if $file.description}<a class="filetitle" href="" id="{$file.id}">{/if}
{$file.title|str_shorten_text:80:true}
{if $file.description}</a>{/if}
</h3>
<div id="{$file.id}_desc" class="detail hidden">{$file.description|clean_html|safe}</div>
{if $file.filesize}
<div class="filesize">
{$file.filesize|display_size}
</div>
{/if}
{if $file.tags}
<div class="tags">
<strong>{str tag=tags}:</strong> {list_tags owner=0 tags=$file.tags}
</div>
{/if}
</div>
<div class="importcolumn importcolumn2">
</div>
<div class="importcolumn importcolumn3">
{foreach from=$displaydecisions key=opt item=displayopt}
{if !$file.disabled[$opt]}
<input id="decision_{$file.id}_{$opt}" class="filedecision" id="{$file.id}" type="radio" name="decision_{$file.id}" value="{$opt}"{if $file.decision == $opt} checked="checked"{/if}>
<label for="decision_{$file.id}_{$opt}">{$displayopt}<span class="accessible-hidden">({$file.title})</span></label><br>
{/if}
{/foreach}
</div>
<div class="cb"></div>
</div>
</div>
{/foreach}
<script type="application/javascript">
jQuery(function() {
jQuery("a.filetitle").click(function(e) {
e.preventDefault();
jQuery("#" + this.id + "_desc").toggleClass("hidden");
});
});
</script>
{/if}
{include file="header.tpl"}
{$settingsformtag|safe}
<table id="profileicons" class="hidden tablerenderer fullwidth">
<thead>
<tr>
<th class="profileiconcell">{str tag="image"}</th>
<th>{str tag="imagetitle" section=artefact.file}</th>
<th class="defaultcell">{str tag="Default" section=artefact.file}</th>
<th class="deletecell">{str tag="delete"}</th>
</tr>
</thead>
<tbody>
</tbody>
<tfoot>
<tr>
<td colspan="4" class="right"><input id="settings_default" type="submit" class="submit" name="default" value="{str tag="setdefault" section=artefact.file}"> <input id="settings_delete" type="submit" class="cancel" name="delete" value="{str tag="deleteselectedicons" section=artefact.file}"></td>
</tr>
</tfoot>
</table>
<input type="hidden" name="pieform_settings" value="">
<input type="hidden" name="sesskey" value="{$USER->get('sesskey')}">
</form>
<h3>{str tag="uploadprofileicon" section="artefact.file"}</h3>
<p>{str tag="profileiconsiconsizenotice" section="artefact.file" args=$imagemaxdimensions}</p>
{$uploadform|safe}
{include file="footer.tpl"}
......@@ -130,6 +130,7 @@ blockquote {
}
.metadata {
font-family: $font-family-sans-serif;
font-size: 0.8em;
color: #888;
}
This source diff could not be displayed because it is too large. You can view the blob instead.