updated: create group: upload thumb added
This commit is contained in:
parent
e07f5f3262
commit
05e611b179
3 changed files with 9 additions and 7 deletions
|
@ -16,9 +16,9 @@
|
|||
<form name="upload_form" class="upload_form" method="post" action="" enctype="multipart/form-data">
|
||||
|
||||
|
||||
|
||||
|
||||
<fieldset class="fieldset">
|
||||
|
||||
<legend>Upload Thumb</legend>
|
||||
<div style="width:500px; float:left">
|
||||
<p class="nopadding">{lang code='grp_must_be'} JPG | GIF | PNG</p>
|
||||
<p class="nopadding">{lang code='grp_90x90'}</p>
|
||||
|
@ -27,10 +27,10 @@
|
|||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</fieldset>
|
||||
<!-- Required Fields
|
||||
<h3>Required fields</h3>-->
|
||||
<!-- Required Fields -->
|
||||
{foreach from=$requiredFields item=field}
|
||||
<div class="form-group">
|
||||
<legend>{lang code='grp_info_all_fields_req'}</legend>
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{if $field.hint_1}
|
||||
<p>{$field.hint_1}</p>
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
{* GETTING THUMBS INFO *}
|
||||
<fieldset class="fieldset">
|
||||
<legend>Thumbs</legend>
|
||||
<legend>Upload Thumb</legend>
|
||||
<div style="width:140px; float:left" align="center">
|
||||
<img src="{$cbgroup->get_group_thumb($group)}" border="1" style="margin:4px;max-height:120px; max-width:120px;" />
|
||||
</div>
|
||||
|
|
|
@ -356,17 +356,19 @@
|
|||
<!-- <div class="col-sm-6 clearfix"><span class="total-obj">{$limit}</span></div> -->
|
||||
</div>
|
||||
<div class="collection-grid clearfix">
|
||||
{if $collection.type=='p'}
|
||||
{if $collection.type=='photos'}
|
||||
{$items = $cbphoto->collection->get_collection_items_with_details($collection.collection_id,0,$limit,false)}
|
||||
{else}
|
||||
{$items = get_videos_of_collection($collection.collection_id,0,$limit,false) }
|
||||
{/if}
|
||||
|
||||
|
||||
|
||||
{if $items}
|
||||
{foreach from=$items item=item}
|
||||
<div class="collection-item">
|
||||
<a href="{$cbphoto->photo_links($item,'view_item')}">
|
||||
{if $collection.type=='p'}
|
||||
{if $collection.type=='photos'}
|
||||
{get_photo details=$item output='html' size="l" class="cb_img_thum"}
|
||||
{else}
|
||||
<img alt="{$item.title}" title="{$item.title}" class="cb_img_thum" id="photo_{$item.ci_id}" src="{getThumb vdetails=$item}">
|
||||
|
|
Loading…
Add table
Reference in a new issue