fixed: styling issues
This commit is contained in:
parent
4a0776c108
commit
18341ca761
25 changed files with 697 additions and 490 deletions
|
@ -4,46 +4,61 @@
|
|||
<h2>Add Group</h2>
|
||||
<p class="alert alert-info">Required Member Details</p>
|
||||
<form name="upload_form" class="upload_form" method="post" action="">
|
||||
<div class="row">
|
||||
{foreach from=$requiredFields item=field}
|
||||
{$field.class = 'form-control'}
|
||||
{if $field.title == 'Group name'}
|
||||
<div class="col-md-4">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}</div>
|
||||
{/if}
|
||||
{$field.class = 'form-control'}
|
||||
{if $field.title == 'Tags'}
|
||||
<div class="col-md-4">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}</div>
|
||||
{/if}
|
||||
{$field.class = 'form-control'}
|
||||
{if $field.title == 'Description'}
|
||||
<div class="col-md-4">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="row">
|
||||
{foreach from=$requiredFields item=field}
|
||||
{$field.class = 'form-control'}
|
||||
{if $field.title == 'Choose a unique group name URL:'}
|
||||
<div class="col-md-3">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}</div>
|
||||
{/if}
|
||||
{$field.class = 'form-control'}
|
||||
{if $field.title == 'Group Category:'}
|
||||
<div class="col-md-3">
|
||||
<label for="{$field.id}">{$field.title}</label><br>
|
||||
{$field.hint_1}
|
||||
<div class="tab-content scroll">
|
||||
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
{if $field.title == 'Group name'}
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}</div>
|
||||
</div>
|
||||
{/if}
|
||||
{$field.class = 'form-control'}
|
||||
{if $field.title == 'Tags'}
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{$field.class = 'form-control'}
|
||||
{if $field.title == 'Choose a unique group name URL:'}
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="row">
|
||||
{foreach from=$requiredFields item=field}
|
||||
{$field.class = 'form-control'}
|
||||
{if $field.title == 'Description'}
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}</div>
|
||||
</div>
|
||||
{/if}
|
||||
{$field.class = 'form-control'}
|
||||
{if $field.title == 'Group Category:'}
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}">{$field.title}</label><br>
|
||||
<div class="boxBordered">
|
||||
{$field.label_class = "checkbox"}
|
||||
{$field.notShowSeprator = true}
|
||||
{$formObj->createField($field)}
|
||||
</div>
|
||||
<small>{$field.hint_1}</small>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!-- MORE Fields -->
|
||||
|
|
|
@ -1,45 +1,64 @@
|
|||
<a href="#" class="btn btn-primary btn-sm pull-right" onclick="$('#membersearchdiv').toggle();return false;" style="margin-bottom: 10px">
|
||||
Advanced Search
|
||||
<i class="glyphicon glyphicon-search"></i>
|
||||
</a>
|
||||
<div class="search_box" id="membersearchdiv" {if $smarty.cookies.show_memsearchdiv_search!='show'} style="display:none"{/if}>
|
||||
<div class="advanceSearchButton clearfix">
|
||||
<a href="#" class="btn btn-primary btn-sm pull-right" onclick="$('#membersearchdiv').toggle();return false;" style="margin-bottom: 0px;position: relative; top: 21px;z-index:10000">
|
||||
Advanced Search
|
||||
<i class="glyphicon glyphicon-chevron-down"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="search_box well" id="membersearchdiv" {if $smarty.cookies.show_memsearchdiv_search!='show'} style="display:none"{/if}>
|
||||
<br>
|
||||
<form id="user_search" name="user_search" method="get" action="members.php" class="member_search">
|
||||
<div class="form-group">
|
||||
<label for="userid">Userid</label>
|
||||
<input name="userid" type="text" class="form-control" id="userid" value="{'userid'|get_form_val:true}" />
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<div class="form-group">
|
||||
<label for="userid">Userid</label>
|
||||
<input name="userid" type="text" class="form-control" id="userid" value="{'userid'|get_form_val:true}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="username">Username</label>
|
||||
<input name="username" type="text" class="form-control" id="username" value="{$user.username}" />
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="username">Username</label>
|
||||
<input name="username" type="text" class="form-control" id="username" value="{$user.username}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="email">Email</label>
|
||||
<input name="email" type="text" class="form-control" id="email" value="{'email'|get_form_val:true}" />
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label for="email">Email</label>
|
||||
<input name="email" type="text" class="form-control" id="email" value="{'email'|get_form_val:true}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="status">Status</label>
|
||||
<select name="status" id="status" class="form-control">
|
||||
<option value="" ></option>
|
||||
<option value="Ok" {if $smarty.get.status=='Ok'} selected="selected"{/if}>OK</option>
|
||||
<option value="ToActivate" {if $smarty.get.status=='ToActivate'} selected="selected"{/if}>Inactive</option>
|
||||
</select>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="status">Status</label>
|
||||
<select name="status" id="status" class="form-control">
|
||||
<option value="" ></option>
|
||||
<option value="Ok" {if $smarty.get.status=='Ok'} selected="selected"{/if}>OK</option>
|
||||
<option value="ToActivate" {if $smarty.get.status=='ToActivate'} selected="selected"{/if}>Inactive</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
</div>
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="banned">Banned</label>
|
||||
<select name="ban" id="ban" class="form-control">
|
||||
<option value="yes" {if $smarty.get.ban=='yes'} selected="selected"{/if}>Yes</option>
|
||||
<option value="no" {if $smarty.get.ban=='no'} selected="selected"{/if}>No</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="featured">Featured</label>
|
||||
<select name="featured" id="featured" class="form-control">
|
||||
<option value="Yes" {if $smarty.get.featured=='Yes'} selected="selected"{/if}>Yes</option>
|
||||
<option value="No" {if $smarty.get.featured=='No'} selected="selected"{/if}>No</option>
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="featured">Featured</label>
|
||||
<select name="featured" id="featured" class="form-control">
|
||||
<option value="Yes" {if $smarty.get.featured=='Yes'} selected="selected"{/if}>Yes</option>
|
||||
<option value="No" {if $smarty.get.featured=='No'} selected="selected"{/if}>No</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="level">Level</label>
|
||||
<select name="level" id="level" class="form-control">
|
||||
<option value="">------</option>
|
||||
|
@ -49,12 +68,26 @@
|
|||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="category">Category</label>
|
||||
{$formObj->createField($cat_array)}
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="">Category</label>
|
||||
{$cat_array.type = 'dropdown'}
|
||||
{$cat_array.category_type = 'user'}
|
||||
{$cat_array.class = "form-control"}
|
||||
{$formObj->createField($cat_array)}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="button">
|
||||
<input type="submit" name="search" id="search" value="Search Form" class="btn btn-primary btn-sm"/>
|
||||
<input type="submit" name="search" id="search" value="Search" class="btn btn-success btn-sm"/>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
|
@ -1,105 +1,89 @@
|
|||
<a href="#" class="btn btn-primary btn-sm pull-right" onclick="$('#searchdiv').toggle();return false;" style="margin-bottom: 5px;">
|
||||
Advanced Search
|
||||
<i class="glyphicon glyphicon-search"></i>
|
||||
</a>
|
||||
<div class="search_box" id="searchdiv" {if $smarty.cookies.show_searchdiv_search!='show'} style="display:none"{/if}>
|
||||
<br><br>
|
||||
<div class="advanceSearchButton clearfix">
|
||||
<a href="#" class="btn btn-primary btn-sm pull-right" onclick="$('#searchdiv').toggle();return false;" style="margin-bottom: 0px;position: relative; top: 21px;z-index:10000">
|
||||
Advanced Search
|
||||
<i class="glyphicon glyphicon-chevron-down"></i>
|
||||
</a>
|
||||
</div>
|
||||
<div class="search_box well" id="searchdiv" {if $smarty.cookies.show_searchdiv_search!='show'} style="display:none"{/if}>
|
||||
|
||||
<form id="video_search" name="video_search" method="get" action="video_manager.php" class="video_search">
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr>
|
||||
<td style="width:150px">
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label for="title">Video title</label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input name="title" type="text" class="form-control" id="title" value="{'title'|get_form_val:true}" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input name="title" type="text" class="form-control" id="title" value="{'title'|get_form_val:divue}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<div class="form-group">
|
||||
<label for="videokey">Video key</label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="form-control" name="videokey" type="text" id="videokey" value="{'videokey'|get_form_val:true}" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input class="form-control" name="videokey" type="text" id="videokey" value="{'videokey'|get_form_val:true}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<div class="form-group">
|
||||
<label for="videoid">Video id</label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="form-control" name="videoid" type="text" id="videoid" value="{'videoid'|get_form_val:true}" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<input class="form-control" name="videoid" type="text" id="videoid" value="{'videoid'|get_form_val:true}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label for="tags">Video tags</label>
|
||||
</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="form-control" name="tags" type="text" id="tags" value="{'tags'|get_form_val:true}" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Featured</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<select class="form-control" name="featured" id="featured">
|
||||
<option value="" ></option>
|
||||
<option value="yes" {if $smarty.get.featured=='yes'} selected="selected"{/if}>Yes</option>
|
||||
<option value="no" {if $smarty.get.featured=='no'} selected="selected"{/if}>No</option>
|
||||
<input class="form-control" name="tags" type="text" id="tags" value="{'tags'|get_form_val:true}" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-2">
|
||||
<div class="form-group">
|
||||
<label for="featured">Featured</label>
|
||||
<select class="form-control" name="featured" id="featured">
|
||||
<option value="" ></option>
|
||||
<option value="yes" {if $smarty.get.featured=='yes'} selected="selected"{/if}>Yes</option>
|
||||
<option value="no" {if $smarty.get.featured=='no'} selected="selected"{/if}>No</option>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Active</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<select class="form-control" name="active" id="active">
|
||||
<option value="" ></option>
|
||||
<option value="yes" {if $smarty.get.active=='yes'} selected="selected"{/if}>Yes</option>
|
||||
<option value="no" {if $smarty.get.active=='no'} selected="selected"{/if}>No</option>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Conversion Status</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<select class="form-control" name="status" id="status">
|
||||
<option value="" ></option>
|
||||
<option value="Successful" {if $smarty.get.status=='Successful'} selected="selected"{/if}>Successful</option>
|
||||
<option value="Processing" {if $smarty.get.status=='Processing'} selected="selected"{/if}>Processing</option>
|
||||
<option value="Failed" {if $smarty.get.status=='Failed'} selected="selected"{/if}>Failed</option>
|
||||
</select>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Userid</td>
|
||||
<td>
|
||||
<div class="form-group">
|
||||
<input class="form-control" name="userid" type="text" id="userid" value="{'userid'|get_form_val:true}" />
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>Category</td>
|
||||
<td>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<div class="form-group">
|
||||
<label for="active">Active</label>
|
||||
<select class="form-control" name="active" id="active">
|
||||
<option value="" ></option>
|
||||
<option value="yes" {if $smarty.get.active=='yes'} selected="selected"{/if}>Yes</option>
|
||||
<option value="no" {if $smarty.get.active=='no'} selected="selected"{/if}>No</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<div class="form-group">
|
||||
<label for="status">Conversion Status</label>
|
||||
<select class="form-control" name="status" id="status">
|
||||
<option value="" ></option>
|
||||
<option value="Successful" {if $smarty.get.status=='Successful'} selected="selected"{/if}>Successful</option>
|
||||
<option value="Processing" {if $smarty.get.status=='Processing'} selected="selected"{/if}>Processing</option>
|
||||
<option value="Failed" {if $smarty.get.status=='Failed'} selected="selected"{/if}>Failed</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-2">
|
||||
<div class="form-group">
|
||||
<label for="userid">Userid</label>
|
||||
<input class="form-control" name="userid" type="text" id="userid" value="{'userid'|get_form_val:true}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label for="">Category</label>
|
||||
|
||||
{$cat_array.type = 'dropdown'}
|
||||
{$cat_array.category_type = 'video'}
|
||||
{$cat_array.class = "form-control"}
|
||||
{$formObj->createField($cat_array)}
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="submit" name="search" id="search" value="Search Form" class="btn btn-primary btn-sm"/>
|
||||
<input type="submit" name="search" id="search" value="Search" class="btn btn-success btn-sm"/>
|
||||
</div>
|
||||
</form>
|
||||
</div>
|
|
@ -9,8 +9,8 @@ A brief test to check weather server modules exist or not and what are there ver
|
|||
|
||||
|
||||
<div class="well">
|
||||
{check_module_path path='ffmpeg' get_path='true' assign='ffmpeg_status'}
|
||||
{var_dump($ffmpeg_status)}
|
||||
{$ffmpeg_status = check_module_path_new('ffmpeg', true)}
|
||||
{var_dump($ffmpeg_status)}
|
||||
<img src="{$imageurl}/{if $ffmpeg_status.status=='ok'}tick.png{else}alert.png{/if}"
|
||||
/>
|
||||
<h4>FFMPEG</h4>
|
||||
|
|
|
@ -7,12 +7,12 @@
|
|||
<input class="btn btn-primary btn-xs" type="submit" name="deactivate_selected" value="Deactivate" class="button" />
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="make_featured_selected" value="Make Featured" class="button"/>
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="make_unfeatured_selected" value="Make Unfeatured" class="button"/>
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="delete_selected" value="Delete" class="button" onclick="return _cb.confirm_it('Are you sure you want to delete selected collection(s)')"/>
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="delete_selected" value="Delete" class="button" onclick="return confirm_it('Are you sure you want to delete selected collection(s)')"/>
|
||||
</div>
|
||||
<table class="table table-bordered table-striped manageUsersTable">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="checkbox" name="checkall" onclick="_cb.checkUncheckAll(this);"/></td>
|
||||
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/></td>
|
||||
<td>C-ID</td>
|
||||
<td>Details</td>
|
||||
<td>Options</td>
|
||||
|
@ -86,7 +86,7 @@
|
|||
<input class="btn btn-primary btn-xs" type="submit" name="deactivate_selected" value="Deactivate" class="button" />
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="make_featured_selected" value="Make Featured" class="button"/>
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="make_unfeatured_selected" value="Make Unfeatured" class="button"/>
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="delete_selected" value="Delete" class="button" onclick="return _cb.confirm_it('Are you sure you want to delete selected collection(s)')"/>
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="delete_selected" value="Delete" class="button" onclick="return confirm_it('Are you sure you want to delete selected collection(s)')"/>
|
||||
</div>
|
||||
|
||||
|
||||
|
|
|
@ -14,12 +14,12 @@
|
|||
<div class="btn-grp formOptions">
|
||||
<input class="btn btn-xs btn-primary" type="submit" name="mark_spam" value="Mark Spam" class="button" id="mark_spam"/>
|
||||
<input class="btn btn-xs btn-primary" type="submit" name="not_spam" value="Not Spam" class="button" id="not_spam"/>
|
||||
<input class="btn btn-xs btn-primary" type="submit" name="delete_selected" value="Delete" class="button" onclick="return _cb.confirm_it('Are you sure you want to delete selected comment(s)')"/>
|
||||
<input class="btn btn-xs btn-primary" type="submit" name="delete_selected" value="Delete" class="button" onclick="return confirm_it('Are you sure you want to delete selected comment(s)')"/>
|
||||
</div>
|
||||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<td width="40" align="center" valign="middle" class="left_head">
|
||||
<input type="checkbox" name="checkall" onclick="_cb.checkUncheckAll(this);"/></td>
|
||||
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/></td>
|
||||
<td width="50" class="head">CID</td>
|
||||
<td class="head">Comment</td>
|
||||
</tr>
|
||||
|
@ -59,7 +59,7 @@
|
|||
{if $comment.spam_votes !=0} style="display:inline"{else} style="display:none;"{/if}>{lang code='remove'} {lang code='spam'}</a> </li>
|
||||
|
||||
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="#" onclick="_cb.delete_comment('{$comment.comment_id}','v'); return false;">{lang code='delete'}</a></li>
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="#" onclick="delete_comment('{$comment.comment_id}','v'); return false;">{lang code='delete'}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
</td>
|
||||
|
@ -78,7 +78,7 @@
|
|||
<a href="#" id="spam_comment_{$comment.comment_id}" onclick="admin_spam_comment({$comment.comment_id}); return false;"{if $comment.spam_votes ==0} style="display:inline"{else} style="display:none;"{/if}>Mark {lang code='spam'}</a> <a href="#" id="remove_spam_comment_{$comment.comment_id}" onclick="admin_remove_spam({$comment.comment_id}); return false;"
|
||||
{if $comment.spam_votes !=0} style="display:inline"{else} style="display:none;"{/if}>{lang code='remove'} {lang code='spam'}</a> |
|
||||
|
||||
<a href="#" onclick="_cb.delete_comment('{$comment.comment_id}','v'); return false;">{lang code='delete'}</a>
|
||||
<a href="#" onclick="delete_comment('{$comment.comment_id}','v'); return false;">{lang code='delete'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
@ -97,7 +97,7 @@
|
|||
<a href="#" id="remove_spam_comment_{$comment.comment_id}" onclick="admin_remove_spam({$comment.comment_id}); return false;"
|
||||
{if $comment.spam_votes !=0} style="display:inline"{else} style="display:none;"{/if}>{lang code='remove'} {lang code='spam'}</a>
|
||||
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href href="#" onclick="_cb.delete_comment('{$comment.comment_id}','v'); return false;">{lang code='delete'}</a></li>
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href href="#" onclick="delete_comment('{$comment.comment_id}','v'); return false;">{lang code='delete'}</a></li>
|
||||
</ul>
|
||||
</div>
|
||||
{/if}
|
||||
|
@ -114,7 +114,7 @@
|
|||
<a href="#" id="spam_comment_{$comment.comment_id}" onclick="admin_spam_comment({$comment.comment_id}); return false;"{if $comment.spam_votes ==0} style="display:inline"{else} style="display:none;"{/if}>Mark {lang code='spam'}</a> <a href="#" id="remove_spam_comment_{$comment.comment_id}" onclick="admin_remove_spam({$comment.comment_id}); return false;"
|
||||
{if $comment.spam_votes !=0} style="display:inline"{else} style="display:none;"{/if}>{lang code='remove'} {lang code='spam'}</a> |
|
||||
|
||||
<a href="#" onclick="_cb.delete_comment('{$comment.comment_id}','v'); return false;">{lang code='delete'}</a>
|
||||
<a href="#" onclick="delete_comment('{$comment.comment_id}','v'); return false;">{lang code='delete'}</a>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
|
@ -131,7 +131,7 @@
|
|||
<a href="#" id="spam_comment_{$comment.comment_id}" onclick="admin_spam_comment({$comment.comment_id}); return false;"{if $comment.spam_votes ==0} style="display:inline"{else} style="display:none;"{/if}>Mark {lang code='spam'}</a> <a href="#" id="remove_spam_comment_{$comment.comment_id}" onclick="admin_remove_spam({$comment.comment_id}); return false;"
|
||||
{if $comment.spam_votes !=0} style="display:inline"{else} style="display:none;"{/if}>{lang code='remove'} {lang code='spam'}</a> |
|
||||
|
||||
<a href="#" onclick="_cb.delete_comment('{$comment.comment_id}','v'); return false;">{lang code='delete'}</a>
|
||||
<a href="#" onclick="delete_comment('{$comment.comment_id}','v'); return false;">{lang code='delete'}</a>
|
||||
</div></div>
|
||||
|
||||
{/if}
|
||||
|
|
|
@ -13,89 +13,104 @@
|
|||
<span>{$LANG.grp_must_be} JPG | GIF | PNG</span>
|
||||
<span>{$LANG.grp_90x90}</span>
|
||||
<span>{$LANG.grp_thumb_warn}</span>
|
||||
<input type="file" class="form-control" name="thumb_file" id="thumb_file" style="
|
||||
<input type="file" class="marginTop" name="thumb_file" id="thumb_file" style="
|
||||
width: 300px;
|
||||
">
|
||||
</div>
|
||||
<button id="hideshow" class="btn btn-default pull-right dropdown-toggle" data-toggle="dropdown">
|
||||
Group Stats <i class="caret"></i></button>
|
||||
<div class="col-md-6" id="content" style="display: none">
|
||||
|
||||
<div class="form-group">
|
||||
<label for="total_views">Total Views</label>
|
||||
<input name="total_views" class="form-control" type="text" id="total_views" value="{$group.total_views}" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="total_members">Total Members</label>
|
||||
<input name="total_members" class="form-control" type="text" id="total_members" value="{$group.total_members}" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="total_videos">Total Videos</label>
|
||||
<input name="total_videos" class="form-control" type="text" id="total_views4" value="{$group.total_videos}" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="total_topics">Total Topics</label>
|
||||
<input name="total_topics" class="form-control" type="text" id="total_views5" value="{$group.total_topics}" />
|
||||
</div>
|
||||
<div class="col-md-6 well" id="content" style="display: none">
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="total_views">Total Views</label>
|
||||
<input name="total_views" class="form-control" type="text" id="total_views" value="{$group.total_views}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="total_members">Total Members</label>
|
||||
<input name="total_members" class="form-control" type="text" id="total_members" value="{$group.total_members}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="total_videos">Total Videos</label>
|
||||
<input name="total_videos" class="form-control" type="text" id="total_views4" value="{$group.total_videos}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="total_topics">Total Topics</label>
|
||||
<input name="total_topics" class="form-control" type="text" id="total_views5" value="{$group.total_topics}" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="clearfix"></div>
|
||||
</fieldset>
|
||||
<legend>Required Details</legend>
|
||||
{foreach from=$requiredFields item=field}
|
||||
{if $field.title=='Group name'}
|
||||
{$field.class='form-control'}
|
||||
<legend class="marginTop">Required Details</legend>
|
||||
<fieldset>
|
||||
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<label for="$field.id">Group name </label>
|
||||
{$formObj->createField($field)}
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{foreach from=$requiredFields item=field}
|
||||
{if $field.title=='Tags'}
|
||||
{$field.class='form-control'}
|
||||
<div class="col-md-4">
|
||||
<label for="$field.id">TAgs </label>
|
||||
{$formObj->createField($field)}
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{foreach from=$requiredFields item=field}
|
||||
{if $field.title=='Description'}
|
||||
{$field.class='form-control'}
|
||||
<div class="col-md-4">
|
||||
<label for="$field.id">Description</label>
|
||||
{$formObj->createField($field)}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{foreach from=$requiredFields item=field}
|
||||
{if $field.title=='Choose a unique group name URL:'}
|
||||
{$field.class='form-control'}
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<label for="$field.id">Choose a unique group name URL: </label>
|
||||
{$formObj->createField($field)}
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
{foreach from=$requiredFields item=field}
|
||||
{if $field.title=='Group Category:'}
|
||||
{$field.class='form-control'}
|
||||
<div class="col-md-4">
|
||||
<label for="$field.id">Category </label>
|
||||
<div class="tab-content scroll">
|
||||
{$formObj->createField($field)}
|
||||
{$field.class = 'form-control'}
|
||||
{if $field.title == 'Group name'}
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}</div>
|
||||
</div>
|
||||
{/if}
|
||||
{$field.class = 'form-control'}
|
||||
{if $field.title == 'Tags'}
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{$field.class = 'form-control'}
|
||||
{if $field.title == 'Choose a unique group name URL:'}
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="row">
|
||||
{foreach from=$requiredFields item=field}
|
||||
{$field.class = 'form-control'}
|
||||
{if $field.title == 'Description'}
|
||||
<div class="col-md-4">
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}">{$field.title}</label>
|
||||
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}</div>
|
||||
</div>
|
||||
{/if}
|
||||
{$field.class = 'form-control'}
|
||||
{if $field.title == 'Group Category:'}
|
||||
<div class="col-md-3">
|
||||
<div class="form-group">
|
||||
<label for="{$field.id}">{$field.title}</label><br>
|
||||
<div class="boxBordered">
|
||||
{$field.label_class = "checkbox"}
|
||||
{$field.notShowSeprator = true}
|
||||
{$formObj->createField($field)}
|
||||
</div>
|
||||
<small>{$field.hint_1}</small>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
<!--<div class="form-group">-->
|
||||
</fieldset> <!--<div class="form-group">-->
|
||||
<!--{$field.class='form-control'}-->
|
||||
<!--<label for="$field.id">{$field.title} </label>-->
|
||||
<!--{if $field.hint_1}{$field.hint_1}<br />{/if}-->
|
||||
|
|
|
@ -11,15 +11,6 @@
|
|||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td width="30" align="center" valign="middle" class="left_head">
|
||||
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/></td>
|
||||
<td width="50" class="head">Order</td>
|
||||
<td class="head">Details</td>
|
||||
<td width="50" class="right_head"> </td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table class="table table-bordered table-striped manageUsersTable">
|
||||
<tr>
|
||||
|
@ -27,7 +18,7 @@
|
|||
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/></td>
|
||||
<td>VID</td>
|
||||
<td>Videos Details</td>
|
||||
<td> </td>
|
||||
<td style="width: 200px"> </td>
|
||||
</tr>
|
||||
{if $videos}
|
||||
{foreach from=$videos item=video}
|
||||
|
@ -54,8 +45,8 @@
|
|||
{if $video.featured=='yes'}<span class="label label-primary">Featured{else}{/if}</span>
|
||||
<span class="label {if $video.active=='yes'}label-success{else}label-warning{/if}">
|
||||
{if $video.active=='yes'}Active{else}InActive{/if} </span>
|
||||
<span class="label {if $video.status=='yes'}label-success{else}label-warning{/if}">
|
||||
{if $video.status=='yes'}Successful{else}Processing{/if}</span>
|
||||
<span class="label {if $video.status=='Successful'}label-success{else}label-warning{/if}">
|
||||
{if $video.status=='Successful'}Successful{else}Processing{/if}</span>
|
||||
<span class="label label-info">
|
||||
Viewed {$video.last_viewed|niceTime}</span>
|
||||
</div>
|
||||
|
@ -73,7 +64,7 @@
|
|||
Actions <i class="caret"></i></button>
|
||||
<ul class="dropdown-menu" aria-labelledby="dropdownMenu1" role="menu">
|
||||
<li><a role="menuitem" tabindex="-1"
|
||||
href="?remove={$video.videoid}">Remove Video</a></li>
|
||||
href="?remove={$video.videoid}">Remove From Editor's Pick</a></li>
|
||||
|
||||
</ul>
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<meta charset="UTF-8">
|
||||
<title>ClipBucket v2.7</title>
|
||||
<title>{cbtitle}</title>
|
||||
<link rel="stylesheet" href="{$theme_url}/bootstrap/css/bootstrap.min.css">
|
||||
<link rel="stylesheet" href="{$theme_url}/assets/css/font-awesome.min.css" />
|
||||
<link rel="stylesheet" href="{$theme_url}/css/styles.css" />
|
||||
|
|
|
@ -78,9 +78,8 @@
|
|||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-2"></div>
|
||||
<div class="col-md-8">
|
||||
<div class="row marginTop">
|
||||
<div class="col-md-12">
|
||||
<textarea class="form-control" name="desc" id="desc" cols="33" rows="5">{$cat_details.category_desc}</textarea>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -92,7 +92,7 @@
|
|||
<div class="stats_subitem_d">Total Users : <strong>{get_users count_only=yes}</strong> </div>
|
||||
</td>
|
||||
<td>
|
||||
<div class="stats_subitem_d">Total Photos: <strong>{get_photos count_only=yes}10</strong> </div>
|
||||
<div class="stats_subitem_d">Total Photos: <strong>{get_photos count_only=yes}</strong> </div>
|
||||
</td>
|
||||
</table>
|
||||
|
||||
|
@ -155,9 +155,8 @@
|
|||
{foreach from=$users item=u}
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="row">
|
||||
<div class="row marginBottom">
|
||||
<div class="col-md-2">
|
||||
|
||||
<a href="view_user.php?uid={$u.userid}"> <img src="{$userquery->getUserThumb($u,'small')}" class="img-thumbnail oneUserImage" />
|
||||
</a>
|
||||
</div>
|
||||
|
@ -241,7 +240,7 @@
|
|||
{foreach from=$videos item=video}
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<img src="{getThumb vdetails=$video}" width="130" height="80" id="thumbs_{$video.videoid}" title=""/>
|
||||
<img src="{getThumb vdetails=$video}" height="80" class="img-thumbnail" id="thumbs_{$video.videoid}" title="{$video.title}"/>
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<a href="{$baseurl}/watch_video.php?v={$video.videokey}"target="_blank">
|
||||
|
@ -468,18 +467,19 @@
|
|||
<div class="widget-main">
|
||||
<form method="post">
|
||||
<textarea name="personal_note" id="personal_note" style="width:90%; height:50px; margin:5px; border:1px solid #999"></textarea>
|
||||
<a class="btn btn-primary btn-xs" href="javascript:void(0)"
|
||||
onclick="add_note('#personal_note')">Add A Note</a>
|
||||
<a class="btn btn-primary btn-xs" id="add_new_note" href="#">Add A Note</a>
|
||||
</form>
|
||||
{assign var=notes value=$myquery->get_notes()}
|
||||
<ul class="notesList row" id="note-{$the_note.note_id}" >
|
||||
{foreach from=$notes item=note}
|
||||
<ul class="stickies" id="note-{$the_note.note_id}" >
|
||||
<li class="stickies">
|
||||
<img src="{$imageurl}/cross.png" class="delete_note btn btn-danger btn-xs" onclick="delete_note('{$note.note_id}');" />
|
||||
{$note.note|nl2br}
|
||||
<li class="col-md-4">
|
||||
<p class="oneNote" id="{$note.note_id}">
|
||||
{$note.note}
|
||||
<a href="#" class="delete">×</a>
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -930,6 +930,31 @@ $(function() {
|
|||
}
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
$(".oneNote .delete").on({
|
||||
click: function(e){
|
||||
e.preventDefault();
|
||||
var noteId = $(this).parent().attr("id");
|
||||
delete_note(noteId);
|
||||
$(this).parents("li").remove();
|
||||
}
|
||||
});
|
||||
|
||||
$("#add_new_note").on({
|
||||
click: function(e){
|
||||
e.preventDefault();
|
||||
var note = $(this).prev().val();
|
||||
add_note(note);
|
||||
var li = document.createElement("li");
|
||||
li.className = "col-md-4";
|
||||
var p = "<p id='10000000' class='oneNote'>" + note + "<a href='#' class='delete'>x</a></p>";
|
||||
li.innerHTML = p;
|
||||
$(this).parents("form").next().append(li);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
});
|
||||
</script>
|
||||
|
||||
|
|
|
@ -78,9 +78,19 @@
|
|||
<span class="lead">Editing {$lang_details.language_name}</span>
|
||||
<div class="form-group">
|
||||
<form id="form1" name="form1" method="post" action="">
|
||||
Language Name <input name="name" type="text" class="form-control" id="name" value="{$lang_details.language_name}" />
|
||||
Language Code<input name="code" type="text" class="form-control" id="code" value="{$lang_details.language_code}" />
|
||||
anguage Regex<input name="regex" type="text" class="form-control" id="regex" value="{$lang_details.language_regex}" />
|
||||
|
||||
<div class="form-group">
|
||||
<label for="">Language Name</label>
|
||||
<input name="name" type="text" class="form-control" id="name" value="{$lang_details.language_name}" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="">Language Code</label>
|
||||
<input name="code" type="text" class="form-control" id="code" value="{$lang_details.language_code}" />
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="">Language Regex</label>
|
||||
<input name="regex" type="text" class="form-control" id="regex" value="{$lang_details.language_regex}" />
|
||||
</div>
|
||||
<input type="submit" name="update_language" class="btn btn-primary" value="Update" id="update_language"/>
|
||||
</form>
|
||||
</div>
|
||||
|
@ -88,10 +98,17 @@
|
|||
<legend>Editing {$lang_details.language_name} Phrases</legend>
|
||||
<div class="form-group">
|
||||
<form id="form2" name="form1" method="get" action="?">
|
||||
Phrase Code - Name<input name="varname" type="text" class="form-control" id="varname" value="{$smarty.get.varname|form_val}" />
|
||||
<input name="edit_language" type="hidden" value="{$smarty.get.edit_language}" />
|
||||
Phrase Text <input name="text" class="form-control" type="text" id="text" value="{$smarty.get.text|form_val}" />
|
||||
<div class="form-group">
|
||||
<label for="">Phrase Code - Name</label>
|
||||
<input name="varname" type="text" class="form-control" id="varname" value="{$smarty.get.varname|form_val}" />
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="">Phrase Text</label>
|
||||
<input name="text" class="form-control" type="text" id="text" value="{$smarty.get.text|form_val}" />
|
||||
</div>
|
||||
<label>
|
||||
<input name="edit_language" type="hidden" value="{$smarty.get.edit_language}" />
|
||||
<input type="submit" name="search_phrase" class="btn btn-primary" value="Submit" id="search_phrase"/>
|
||||
</label>
|
||||
</form>
|
||||
|
|
|
@ -13,7 +13,6 @@
|
|||
</a>
|
||||
</li>
|
||||
{foreach from=$adminMenu key=name item=oneMenuItem}
|
||||
|
||||
{$class='glyphicon glyphicon-stats'}
|
||||
{if $name=='Stats And Configurations'}
|
||||
{$class='glyphicon glyphicon-stats'}
|
||||
|
|
|
@ -678,40 +678,43 @@
|
|||
</div>
|
||||
</div>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<label for="max_video_duration">Max upload durations</label>
|
||||
<input class="form-control" name="max_video_duration" type="text" id="max_video_duration" value="{$row.max_video_duration}" size="15" maxlength="5" />
|
||||
in minutes
|
||||
<div class="col-md-4">
|
||||
<label for="max_video_duration">Max upload durations</label>
|
||||
<input class="form-control" name="max_video_duration" type="text" id="max_video_duration" value="{$row.max_video_duration}" size="15" maxlength="5" />
|
||||
in minutes
|
||||
</div>
|
||||
|
||||
<div class="col-md-2 marginTopLarge">
|
||||
<label class="checkbox">
|
||||
<input name="keep_original" type="checkbox" id="keep_original" value="1" {if $row.keep_original} checked="checked"{/if} />Save original file
|
||||
</label>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="col-md-2 marginTopLarge">
|
||||
<label class="checkbox">
|
||||
<input name="hq_output" type="checkbox" id="hq_output" value="yes" {if $row.hq_output} checked="checked"{/if} />Mp4 HQ Output
|
||||
<a href="javascript:void(0)" target="_blank"><img src="{$imageurl}/help.png" alt="info" border="0" class="tipsy_tip" title="if enabled, ClipBucket will generate Highh Quality mp4 video if possible" /></a>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="col-md-2 marginTopLarge">
|
||||
<label class="checkbox">
|
||||
<input name="keep_mp4_as_is" type="checkbox" id="keep_mp4_as_is" value="yes" {if $row.keep_mp4_as_is} checked="checked"{/if} />Keep Mp4 As Is
|
||||
<a href="javascript:void(0)" alt="info" target="_blank"><img src="{$imageurl}/help.png" border="0" class="tipsy_tip" title="if enabled, ClipBucket will keep mp4 vieo as is and will be playable as HQ video" /></a>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="col-md-2 marginTopLarge">
|
||||
<div class="form-group1">
|
||||
<label class="checkbox">
|
||||
<input name="activation" type="checkbox" id="activation" value="1" {if $row.activation==1} checked="checked"{/if} />
|
||||
Activation required
|
||||
</label>
|
||||
</div>
|
||||
<div class="col-md-6">
|
||||
<div class="form-group1">
|
||||
<label class="checkbox">
|
||||
<input name="keep_original" type="checkbox" id="keep_original" value="1" {if $row.keep_original} checked="checked"{/if} />Save original file
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group1">
|
||||
<label class="checkbox">
|
||||
<input name="hq_output" type="checkbox" id="hq_output" value="yes" {if $row.hq_output} checked="checked"{/if} />Mp4 HQ Output
|
||||
<a href="javascript:void(0)" target="_blank"><img src="{$imageurl}/help.png" alt="info" border="0" class="tipsy_tip" title="if enabled, ClipBucket will generate Highh Quality mp4 video if possible" /></a>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group1">
|
||||
<label class="checkbox">
|
||||
<input name="keep_mp4_as_is" type="checkbox" id="keep_mp4_as_is" value="yes" {if $row.keep_mp4_as_is} checked="checked"{/if} />Keep Mp4 As Is
|
||||
<a href="javascript:void(0)" alt="info" target="_blank"><img src="{$imageurl}/help.png" border="0" class="tipsy_tip" title="if enabled, ClipBucket will keep mp4 vieo as is and will be playable as HQ video" /></a>
|
||||
</label>
|
||||
</div>
|
||||
|
||||
<div class="form-group1">
|
||||
<label class="checkbox">
|
||||
<input name="activation" type="checkbox" id="activation" value="1" {if $row.activation==1} checked="checked"{/if} />
|
||||
Activation required
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<hr>
|
||||
<div class="tabbable">
|
||||
|
@ -898,21 +901,18 @@
|
|||
</div>
|
||||
</div>-->
|
||||
<h2>Main Settings</h2>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<label for="use_cached_pagin">Use cached pagination
|
||||
<br>
|
||||
<label class="pull-right inline" style="margin-right: 93px;">
|
||||
<input value="yes" name="use_cached_pagin" id="use_cached_pagin" {if $row.use_cached_pagin == 'yes'}checked="checked"{/if} type="checkbox" class="ace ace-switch ace-switch-5">
|
||||
<span class="lbl"></span></label>
|
||||
</label>
|
||||
</div>
|
||||
<div class="">
|
||||
<div class="form-group">
|
||||
<label for="use_cached_pagin">Use cached pagination</label>
|
||||
<input value="yes" name="use_cached_pagin" id="use_cached_pagin" {if $row.use_cached_pagin == 'yes'}checked="checked"{/if} type="checkbox" class="ace ace-switch ace-switch-5">
|
||||
<span class="show lbl"></span>
|
||||
</div>
|
||||
|
||||
<div class="col-md-6">
|
||||
<label for="cached_pagin_time">Pagination caching time</label>
|
||||
<input class="form-control" name="cached_pagin_time" type="text" id="cached_pagin_time" value="{$row.cached_pagin_time}" size="45" />
|
||||
in minutes
|
||||
</div>
|
||||
<div class="">
|
||||
<label for="cached_pagin_time">Pagination caching time</label>
|
||||
<input class="form-control" name="cached_pagin_time" type="text" id="cached_pagin_time" value="{$row.cached_pagin_time}" size="45" />
|
||||
in minutes
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr>
|
||||
|
|
|
@ -31,24 +31,30 @@
|
|||
<form method="post">
|
||||
|
||||
<legend>Add New Page</legend>
|
||||
<div class="form-group">
|
||||
<label for="page_name">Page Name</label>
|
||||
<input name="page_name" class="form-control" type="text" id="page_name" value="{$page.page_name}"></td>
|
||||
<div class="row">
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="page_name">Page Name</label>
|
||||
<input name="page_name" class="form-control" type="text" id="page_name" value="{$page.page_name}"></td>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-group">
|
||||
<label for="page_title">Page Title</label>
|
||||
<input type="text" class="form-control" name="page_title" id="page_title" value="{$page.page_title}" />
|
||||
<div class="col-md-6">
|
||||
<div class="form-group">
|
||||
<label for="page_title">Page Title</label>
|
||||
<input type="text" class="form-control" name="page_title" id="page_title" value="{$page.page_title}" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<label for="page_content">Page Content</label>
|
||||
<textarea name="page_content" id="page_content" cols="8" rows="8" class="form-control">{$page.page_content|form_val}</textarea><script type="text/javascript">
|
||||
{literal}new nicEditor({fullPanel : true,maxHeight:350}).panelInstance('page_content');{/literal}
|
||||
<textarea name="page_content" id="page_content" cols="8" rows="8" class="form-control">{$page.page_content|form_val}</textarea>
|
||||
<script type="text/javascript">
|
||||
{literal}new nicEditor({fullPanel : true,maxHeight:350}).panelInstance('page_content');{/literal}
|
||||
</script>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="submit" name="update_page" id="update_page" value="Update page" class="btn btn-primary"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="submit" name="update_page" id="update_page" value="Update page" class="btn btn-primary"/>
|
||||
</div>
|
||||
</form>
|
||||
{/if}
|
||||
{if $mode=='manage'}
|
||||
|
@ -57,7 +63,7 @@
|
|||
<input class="btn btn-primary btn-xs" type="submit" name="activate_selected" value="Activate" class="btn"/>
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="deactivate_selected" value="Deactivate" class="btn" />
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="update_order" value="Update order" class="btn" />
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="delete_selected" value="Delete" class="btn" onclick="return _cb.confirm_it('Are you sure you want to delete selected page(s)')"/>
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="delete_selected" value="Delete" class="btn" onclick="return confirm_it('Are you sure you want to delete selected page(s)')"/>
|
||||
</div>
|
||||
<div class="form-group">
|
||||
<input type="button" value="Create New Page +" class="btn btn-primary btn-sm pull-right" onClick="window.location='?mode=new'"/>
|
||||
|
@ -65,7 +71,7 @@
|
|||
<table class="table table-bordered">
|
||||
<tr>
|
||||
<td width="30" align="center" valign="middle" class="left_head">
|
||||
<input type="checkbox" name="checkall" onclick="_cb.checkUncheckAll(this);"/></td>
|
||||
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/></td>
|
||||
<td width="50" class="head_sep_left">PID</td>
|
||||
<td width="50" class="head_sep_left">Order</td>
|
||||
<td class="head"><div class="head_sep_left" style="width:250px">Details</div></td>
|
||||
|
@ -145,7 +151,7 @@
|
|||
<input class="btn btn-primary btn-xs" type="submit" name="activate_selected" value="Activate" class="btn"/>
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="deactivate_selected" value="Deactivate" class="btn" />
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="update_order" value="Update order" class="btn" />
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="delete_selected" value="Delete" class="btn" onclick="return _cb.confirm_it('Are you sure you want to delete selected page(s)')"/>
|
||||
<input class="btn btn-primary btn-xs" type="submit" name="delete_selected" value="Delete" class="btn" onclick="return confirm_it('Are you sure you want to delete selected page(s)')"/>
|
||||
</div>
|
||||
|
||||
</form>
|
||||
|
|
|
@ -244,18 +244,22 @@
|
|||
{assign var="curplayer" value=$cbplayer->getPlayerDetails($player_file,$player_dir)}
|
||||
|
||||
|
||||
<div class="row well" style="width: 800px;">
|
||||
<div class="col-md-3">
|
||||
<img src="{$cbplayer->get_preview_thumb($curplayer.folder)}" class="img-thumbnail" >
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<h2>{$curplayer.name}</h2>
|
||||
<em>
|
||||
<a href="{$curplayer.author_page}"><strong>{$curplayer.author}</strong></a>
|
||||
</em>
|
||||
<p>{$curplayer.description}</p>
|
||||
<p>Version : {$curplayer.version}, Released on {$curplayer.released|date_format}</p>
|
||||
<p>Website : <a href="{$curplayer.website}">{$curplayer.website}</a></p>
|
||||
<div class="row">
|
||||
<div class="col-md-4">
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1">
|
||||
<div class="alignCenter well">
|
||||
<img src="{$cbplayer->get_preview_thumb($curplayer.folder)}" class="img-thumbnail" >
|
||||
<h3>{$curplayer.name}</h3>
|
||||
<em>
|
||||
<a href="{$curplayer.author_page}"><strong>{$curplayer.author}</strong></a>
|
||||
</em>
|
||||
<p>{$curplayer.description}</p>
|
||||
<p>Version : {$curplayer.version}, Released on {$curplayer.released|date_format}</p>
|
||||
<p>Website : <a href="{$curplayer.website}">{$curplayer.website}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -268,27 +272,32 @@
|
|||
{assign var='players' value=$cbplayer->get_players()}
|
||||
|
||||
<div class="templates_container">
|
||||
{foreach from=$players item=player}
|
||||
{if $player_file !=$player.file && $player_dir != $player.folder}
|
||||
|
||||
|
||||
|
||||
<div class="row well" style=" width: 800px;">
|
||||
<div class="col-md-3">
|
||||
<img src="{$cbplayer->get_preview_thumb($player.folder)}" class="img-thumbnail" >
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<h2>{$curplayer.name}</h2>
|
||||
<em>
|
||||
<a href="{$player.author_page}"><strong>{$player.author}</strong></a>
|
||||
</em>
|
||||
<p>{$player.description}</p>
|
||||
<p>Version : {$player.version}, Released on {$player.released|date_format}</p>
|
||||
<p>Website : <a href="{$player.website}">{$player.website}</a></p>
|
||||
<p><a href="manage_players.php?set=yes&folder={$player.folder}&file={$player.file}">Activate This Player</a></p>
|
||||
<div class="row">
|
||||
{foreach from=$players item=player}
|
||||
{if $player_file !=$player.file && $player_dir != $player.folder}
|
||||
<div class="col-md-4">
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1">
|
||||
<div class="well alignCenter">
|
||||
<img src="{$cbplayer->get_preview_thumb($player.folder)}" class="img-thumbnail" >
|
||||
<h2>{$curplayer.name}</h2>
|
||||
<em>
|
||||
<a href="{$player.author_page}"><strong>{$player.author}</strong></a>
|
||||
</em>
|
||||
<p>{$player.description}</p>
|
||||
<p>Version : {$player.version}, Released on {$player.released|date_format}</p>
|
||||
<p>Website : <a href="{$player.website}">{$player.website}</a></p>
|
||||
<p><a href="manage_players.php?set=yes&folder={$player.folder}&file={$player.file}">Activate This Player</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
|
|
@ -45,7 +45,12 @@
|
|||
<span class="label {if $u.usr_status == Ok}label-success{else}label-warning{/if}"><span>{if $u.usr_status=='Ok'}Active
|
||||
{else}InActive{/if}</span></span>
|
||||
<span class="label label-info"><span>{$u.level|get_user_level}</span></span>
|
||||
<span class="label"><span>Last Active</span>:<span>{$u.last_active}</span></span>
|
||||
<span class="label"><span>Active</span> : <span>{$u.last_active|nicetime}</span></span>
|
||||
{if $u.ban_status == "yes"}
|
||||
<span class="label label-danger"><span>Banned : {$u.ban_status}</span></span>
|
||||
{else}
|
||||
<span class="label label-info"><span>Banned : {$u.ban_status}</span></span>
|
||||
{/if}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -24,9 +24,9 @@
|
|||
<img class="tipsy_tip browser {$theBrowser.bname}" src="{$imageurl}/dot.gif" title="{$theBrowser.name} {$theBrowser.version} on {$theBrowser.platform}" />
|
||||
</td>
|
||||
<td>
|
||||
<div class="dropdown">
|
||||
<button id="hideshow" class="btn btn-primary btn-xs drop" value="See Details">See Details..</button>
|
||||
</div>
|
||||
<div class="dropdown marginBottom">
|
||||
<button id="hideshow" class="btn btn-primary btn-xs drop" value="See Details">See Details..</button>
|
||||
</div>
|
||||
|
||||
<span class="" title="{$user.referer}">
|
||||
<b>Right Now</b> <a href="{$user.current_page}">{$user.current_page|truncate:40:'..':false:true}</a>
|
||||
|
|
|
@ -4,7 +4,7 @@
|
|||
<div class="btn-group">
|
||||
<input type="submit" name="make_featured_selected" value="Make Featured" class="btn btn-primary btn-xs"/>
|
||||
<input type="submit" name="make_unfeatured_selected" value="Make Unfeatured" class="btn btn-primary btn-xs"/>
|
||||
<input type="submit" name="delete_selected" value="Delete" class="btn btn-primary btn-xs" onclick="return _cb.confirm_it('Are you sure you want to delete selected photos(s). This will permanently delete these photos from website.')"/>
|
||||
<input type="submit" name="delete_selected" value="Delete" class="btn btn-primary btn-xs" onclick="return confirm_it('Are you sure you want to delete selected photos(s). This will permanently delete these photos from website.')"/>
|
||||
</div>
|
||||
<table class="table table-bordered table-striped manageUsersTable">
|
||||
<tr>
|
||||
|
@ -127,7 +127,7 @@
|
|||
<input type="submit" name="move_to_selected" value="Move To" class="btn btn-primary btn-xs"/>
|
||||
<input type="submit" name="make_featured_selected" value="Make Featured" class="btn btn-primary btn-xs"/>
|
||||
<input type="submit" name="make_unfeatured_selected" value="Make Unfeatured" class="btn btn-primary btn-xs"/>
|
||||
<input type="submit" name="delete_selected" value="Delete" class="btn btn-primary btn-xs" onclick="return _cb.confirm_it('Are you sure you want to delete selected photos(s)')"/>
|
||||
<input type="submit" name="delete_selected" value="Delete" class="btn btn-primary btn-xs" onclick="return confirm_it('Are you sure you want to delete selected photos(s)')"/>
|
||||
</div>
|
||||
{else}
|
||||
<div align="center"><strong><em>No Photo Found</em></strong></div>
|
||||
|
|
|
@ -6,12 +6,12 @@
|
|||
<div class="btn-group" style="margin-bottom: 10px">
|
||||
<input class="btn btn-primary btn-sm" type="submit" name="activate_selected" value="Activate" />
|
||||
<input class="btn btn-primary btn-sm" type="submit" name="deactivate_selected" value="Deactivate" />
|
||||
<input class="btn btn-primary btn-sm" type="submit" name="uninstall_selected" value="Uninstall" onclick="return _cb.confirm_it('Are you sure you want to uninstall selected plugin(s)')" id="uninstall_selected"/>
|
||||
<input class="btn btn-primary btn-sm" type="submit" name="uninstall_selected" value="Uninstall" onclick="return confirm_it('Are you sure you want to uninstall selected plugin(s)')" id="uninstall_selected"/>
|
||||
</div>
|
||||
<table class="table table-bordered table-striped">
|
||||
<tr>
|
||||
<td width="30">
|
||||
<input type="checkbox" name="checkall" onclick="_cb.checkUncheckAll(this);"/>
|
||||
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/>
|
||||
</td>
|
||||
<td>Plugin Details</td>
|
||||
<td> </td>
|
||||
|
@ -30,7 +30,7 @@
|
|||
<strong>{$plug.name}</strong>
|
||||
<p>{$plug.description}</p>
|
||||
<div class="pluginStatus">
|
||||
{if $plug.plugin_active == 'Active'}
|
||||
{if $plug.plugin_active == 'yes'}
|
||||
<span class="label label-success">Active </span>
|
||||
{elseif $plug.plugin_active != 'Active'} <span class="label label-warning">NotActive {/if}</span>
|
||||
<span class="label label-danger"><span>Author:</span><strong>{$plug.author}</strong></span>
|
||||
|
@ -64,7 +64,7 @@
|
|||
<!--</a>-->
|
||||
<!--</li>-->
|
||||
<!--{/if}-->
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:_cb.Confirm_Uninstall('?uninstall={$plug.plugin_file}{if $plug.folder!=''}&f={$plug.folder}{/if}')">
|
||||
<li role="presentation"><a role="menuitem" tabindex="-1" href="javascript:Confirm_Uninstall('?uninstall={$plug.plugin_file}{if $plug.folder!=''}&f={$plug.folder}{/if}')">
|
||||
Uninstall
|
||||
</a>
|
||||
</li>
|
||||
|
@ -77,7 +77,7 @@
|
|||
<div class="btn-group">
|
||||
<input class="btn btn-primary btn-sm" type="submit" name="activate_selected" value="Activate" />
|
||||
<input class="btn btn-primary btn-sm" type="submit" name="deactivate_selected" value="Deactivate" />
|
||||
<input class="btn btn-primary btn-sm" type="submit" name="uninstall_selected" value="Uninstall" onclick="return _cb.confirm_it('Are you sure you want to uninstall selected plugin(s)')" id="uninstall_selected"/>
|
||||
<input class="btn btn-primary btn-sm" type="submit" name="uninstall_selected" value="Uninstall" onclick="return confirm_it('Are you sure you want to uninstall selected plugin(s)')" id="uninstall_selected"/>
|
||||
</div>
|
||||
</form>
|
||||
{else}
|
||||
|
@ -92,11 +92,11 @@
|
|||
<table class="table table-bordered table-striped">
|
||||
<tr>
|
||||
<td width="30" align="center" valign="middle" class="left_head">
|
||||
<input type="checkbox" name="checkall" onclick="_cb.checkUncheckAll(this);"/></td>
|
||||
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/></td>
|
||||
<td class="head">Plugin Details</td>
|
||||
<!-- <td>
|
||||
<div class="form-group">
|
||||
<input class="btn btn-primary btn-xs pull-right" type="submit" name="install_selected" value="Install" onclick="return _cb.confirm_it('Are you sure you want to install selected plugin(s)')" id="install_selected"/>
|
||||
<input class="btn btn-primary btn-xs pull-right" type="submit" name="install_selected" value="Install" onclick="return confirm_it('Are you sure you want to install selected plugin(s)')" id="install_selected"/>
|
||||
</div>
|
||||
</td> -->
|
||||
</tr>
|
||||
|
@ -129,7 +129,7 @@
|
|||
{/foreach}
|
||||
</table>
|
||||
<div class="form-group clearfix">
|
||||
<input class="btn btn-primary btn-sm pull-right" type="submit" name="install_selected" value="Install" onclick="return _cb.confirm_it('Are you sure you want to install selected plugin(s)')" id="install_selected"/>
|
||||
<input class="btn btn-primary btn-sm pull-right" type="submit" name="install_selected" value="Install" onclick="return confirm_it('Are you sure you want to install selected plugin(s)')" id="install_selected"/>
|
||||
</div>
|
||||
</form>
|
||||
{else}
|
||||
|
|
|
@ -6,18 +6,26 @@
|
|||
<div class="selectedTemplate">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-3">
|
||||
<img src="{$cbtpl->get_preview_thumb($curtpl.dir)}" class="img-thumbnail" >
|
||||
</div>
|
||||
<div class="col-md-9">
|
||||
<h2>{$curtpl.name}</h2>
|
||||
<em>
|
||||
<a href="{$curtpl.website.link}"><strong>{$curtpl.author}</strong></a>
|
||||
</em>
|
||||
<p>{$curtpl.description}</p>
|
||||
<p>Version : {$curtpl.version}, Released on {$curtpl.released|date_format}</p>
|
||||
<p>Website : <a href="{$curtpl.website.link}">{$curtpl.website.title}</a></p>
|
||||
<div class="col-md-4">
|
||||
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1">
|
||||
<div class="well alignCenter">
|
||||
<img src="{$cbtpl->get_preview_thumb($curtpl.dir)}" class="img-thumbnail" >
|
||||
<h3>{$curtpl.name}</h3>
|
||||
<em>
|
||||
<a href="{$curtpl.website.link}"><strong>{$curtpl.author}</strong></a>
|
||||
</em>
|
||||
<p>{$curtpl.description}</p>
|
||||
<p>Version : {$curtpl.version}, Released on {$curtpl.released|date_format}</p>
|
||||
<p>Website : <a href="{$curtpl.website.link}">{$curtpl.website.title}</a></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{* Listing All Avilable Templates *}
|
||||
{assign var='templates' value=$cbtpl->get_templates()}
|
||||
|
@ -26,27 +34,31 @@
|
|||
|
||||
|
||||
<div class="availableTemplates">
|
||||
<div class="well" style="width: 800px;">
|
||||
<div class="row">
|
||||
{foreach from=$templates item=template}
|
||||
{if $selected != $template.dir}
|
||||
<div class="col-md-4">
|
||||
<img src="{$cbtpl->get_preview_thumb($curtpl.dir)}" class="img-thumbnail" >
|
||||
<div class="">
|
||||
<div class="row">
|
||||
{foreach from=$templates item=template}
|
||||
{if $selected != $template.dir}
|
||||
<div class="col-md-4">
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1">
|
||||
<div class="alignCenter well">
|
||||
<img src="{$cbtpl->get_preview_thumb($curtpl.dir)}" class="img-thumbnail" >
|
||||
<h3>{$template.name}</h3>
|
||||
<em>
|
||||
{$template.name} <br /><em>by <strong>{$template.author}</strong></em>
|
||||
</em>
|
||||
<p>Website : <a href="{$template.website.link}">{$template.website.title}</a></p>
|
||||
<a href="templates.php?change={$template.dir}">Activate This Template</a>
|
||||
<a href="{$baseurl}?template={$template.dir}" target="_blank">Preview</a>
|
||||
<a href="{$baseurl}?template={$template.dir}&set_template=yes" target="_blank">Preview & Activate</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
<div class="col-md-8">
|
||||
<h2>{$template.name}</h2>
|
||||
<em>
|
||||
{$template.name} <br /><em>by <strong>{$template.author}</strong></em>
|
||||
</em>
|
||||
<p>Website : <a href="{$template.website.link}">{$template.website.title}</a></p>
|
||||
<a href="templates.php?change={$template.dir}">Activate This Template</a>
|
||||
<a href="{$baseurl}?template={$template.dir}" target="_blank">Preview</a>
|
||||
<a href="{$baseurl}?template={$template.dir}&set_template=yes" target="_blank">Preview & Activate</a>
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
{else}
|
||||
<div align="center">No New Template Found</div>
|
||||
{/if}
|
||||
|
|
|
@ -333,40 +333,44 @@
|
|||
<h3>{$types[t].user_permission_type_name}</h3>
|
||||
|
||||
{assign var=perms value=$userquery->get_permissions($types[t].user_permission_type_id)}
|
||||
<table class="table table-bordered table-striped">
|
||||
<div class="row">
|
||||
{assign var = bgcolor value = ""}
|
||||
{foreach from=$perms item=perm}
|
||||
{if $perm.permission_id !=""}
|
||||
<tr>
|
||||
<td>
|
||||
<strong>{$perm.permission_name}</strong><br />
|
||||
<em>{$perm.permission_desc}</em>
|
||||
</td>
|
||||
<td>
|
||||
<label class="radio">
|
||||
<input type="radio" name="{$perm.permission_code}" value="yes" id="{$perm.permission_id}_yes" />Yes
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input type="radio" name="{$perm.permission_code}" value="no" id="{$perm.permission_id}_no" />No
|
||||
</label>
|
||||
</td>
|
||||
</tr>
|
||||
<div class="col-md-4">
|
||||
<div class="row">
|
||||
<div class="col-md-10 col-md-offset-1 myWell">
|
||||
<div class="col-md-8 paddingTop">
|
||||
<strong>{$perm.permission_name}</strong><br />
|
||||
<small><em>{$perm.permission_desc}</em></small>
|
||||
</div>
|
||||
<div class="col-md-4">
|
||||
<label class="radio">
|
||||
<input type="radio" name="{$perm.permission_code}" value="yes" id="{$perm.permission_id}_yes" />Yes
|
||||
</label>
|
||||
<label class="radio">
|
||||
<input type="radio" name="{$perm.permission_code}" value="no" id="{$perm.permission_id}_no" />No
|
||||
</label>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{else}
|
||||
<tr>
|
||||
<td>
|
||||
<div>
|
||||
<div class="col-md-6">
|
||||
<em>No Permission Found</em>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{foreachelse}
|
||||
<tr>
|
||||
<td>
|
||||
<div>
|
||||
<div>
|
||||
<em>No Permission Found</em>
|
||||
</td>
|
||||
</tr>
|
||||
</div>
|
||||
</div>
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
|
||||
{/section}
|
||||
<input class="btn btn-primary btn-sm" type="submit" name="add_new_level" id="button" value="Add Level" />
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<h2>Video Manager</h2>
|
||||
<h2 class="">Video Manager</h2>
|
||||
{include file="$layout_dir/blocks/advanced_search.html" }
|
||||
<!-- DIsplaying Videos -->
|
||||
<form name="video_manage" method="post">
|
||||
|
@ -15,7 +15,7 @@
|
|||
<input class="btn btn-primary btn-xs" type="submit" name="delete_selected" value="Delete" class="button"
|
||||
onclick="return _cb.confirm_it('Are you sure you want to delete selected video(s)')"/>
|
||||
</div>
|
||||
<table class="table table-bordered table-striped manageUsersTable">
|
||||
<table class="table table-bordered table-striped manageUsersTable marginTop">
|
||||
<tr>
|
||||
<td>
|
||||
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/></td>
|
||||
|
|
|
@ -36,8 +36,7 @@
|
|||
</li>
|
||||
<li class="">
|
||||
<a data-toggle="tab" href="#channelsetting">
|
||||
|
||||
Channel Settings
|
||||
Channel
|
||||
</a>
|
||||
</li>
|
||||
<li class="">
|
||||
|
@ -54,8 +53,7 @@
|
|||
</li>
|
||||
<li class="">
|
||||
<a data-toggle="tab" href="#education">
|
||||
|
||||
Education, Hobbies, etc
|
||||
Education, Hobbies
|
||||
</a>
|
||||
</li>
|
||||
</ul>
|
||||
|
@ -80,29 +78,29 @@
|
|||
<img src="{$userquery->getUserThumb($u,'small')}" class="btn btn-app btn-primary btn-xs" />
|
||||
</div>
|
||||
<div class="table-responsive">
|
||||
<table class="table table-bordered">
|
||||
<table class="myTable">
|
||||
<tr>
|
||||
<td class="alert-info"><label class="alert-info">User Id</label></td>
|
||||
<td class="first"><label class="">User Id</label></td>
|
||||
<td><input type="text" value="{$u.userid}" disabled="disabled" class="form-control"></label></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert-info"><label class="alert-info">User Name</label></td>
|
||||
<td class="first"><label class="">User Name</label></td>
|
||||
<td><input class="form-control" disabled="disabled" type="text" value="{$u.username}"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert-info"><label class="alert-info">Email</label></td>
|
||||
<td class="first"><label class="">Email</label></td>
|
||||
<td><input class="form-control" name="email" type="text" id="email" value="{$u.email}" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert-info"><label for="pass">Change password</label></td>
|
||||
<td class="first"><label for="pass">Change password</label></td>
|
||||
<td><input class="form-control" name="pass" type="text" id="pass" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert-info"><label for="cpass">Confirm password</label></td>
|
||||
<td class="first"><label for="cpass">Confirm password</label></td>
|
||||
<td><input class="form-control" name="cpass" type="text" id="cpass" /></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert-info"> <label for="laevel">User level</label></td>
|
||||
<td class="first"> <label for="laevel">User level</label></td>
|
||||
<td> <select class="form-control" name="level" id="level">
|
||||
{assign var=levels value=$userquery->get_levels()}
|
||||
{foreach from=$levels item=level}
|
||||
|
@ -111,7 +109,7 @@
|
|||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert-info"><label for="country">Country</label></td>
|
||||
<td class="first"><label for="country">Country</label></td>
|
||||
<td>
|
||||
<select class="form-control" name="country" id="country">
|
||||
{assign var='countries' value=$Cbucket->get_countries(iso2)}
|
||||
|
@ -121,7 +119,7 @@
|
|||
</select></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert-info"><label for="gender">Gender</label></td>
|
||||
<td class="first"><label for="gender">Gender</label></td>
|
||||
<td>
|
||||
<select>
|
||||
<option name="sex" value="male" id="sex_0" {if $u.sex == male} checked="checked"{/if}>
|
||||
|
@ -151,28 +149,29 @@
|
|||
</div>
|
||||
</div>
|
||||
<div id="channelsetting" class="tab-pane">
|
||||
<div class="form-group">
|
||||
|
||||
<h2>Channel Settings</h2>
|
||||
<table class="myTable table">
|
||||
{foreach from=$channel_profile_fields item=field_group}
|
||||
|
||||
{if $field_group.group_name=='Channel settings'}
|
||||
{if $field_group.group_name=='Channel settings'}
|
||||
|
||||
{foreach from=$field_group.fields item=field}
|
||||
{$field.class='form-control'}
|
||||
{foreach from=$field_group.fields item=field}
|
||||
|
||||
<table class="table-bordered" width="600">
|
||||
<tr>
|
||||
<td class="alert alert-info" width="150">
|
||||
<label for="{$field.id}">{$field.title}</label></td>
|
||||
<td>
|
||||
{$field.hint_1}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
|
||||
{$field.hint_2}
|
||||
</td>
|
||||
</tr>
|
||||
{$field.class='form-control'}
|
||||
|
||||
<tr>
|
||||
<td class="first" width="">
|
||||
<label for="{$field.id}">{$field.title}</label></td>
|
||||
<td class="last">
|
||||
{$field.class = "form-control"}
|
||||
{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
|
||||
{$field.hint_2}
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</table>
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
<div id="basicinfo" class="tab-pane">
|
||||
<div class="form-group">
|
||||
|
@ -181,9 +180,9 @@
|
|||
{foreach from=$field_group.fields item=field}
|
||||
{if $field_group.group_name=='Basic info'}
|
||||
{$field.class='form-control'}
|
||||
<table class="table-bordered" width="600">
|
||||
<table class="myTable" width="600">
|
||||
<tr>
|
||||
<td class="alert alert-info" width="150">
|
||||
<td class="first" width="150">
|
||||
<label for="{$field.id}">{$field.title}</label></td>
|
||||
<td>
|
||||
{$field.hint_1}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
|
||||
|
@ -204,9 +203,9 @@
|
|||
{if $field_group.group_name=='Location'}
|
||||
{$field.class='form-control'}
|
||||
|
||||
<table class="table-bordered" width="600">
|
||||
<table class="myTable" width="600">
|
||||
<tr>
|
||||
<td class="alert alert-info" width="150">
|
||||
<td class="first" width="150">
|
||||
<label for="{$field.id}">{$field.title}</label></td>
|
||||
<td>
|
||||
{$field.hint_1}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
|
||||
|
@ -227,9 +226,9 @@
|
|||
{if $field_group.group_name=='Education, Hobbies, etc'}
|
||||
{$field.class='form-control'}
|
||||
|
||||
<table class="table-bordered" width="600">
|
||||
<table class="myTable" width="600">
|
||||
<tr>
|
||||
<td class="alert alert-info" width="150">
|
||||
<td class="first" width="150">
|
||||
<label for="{$field.id}">{$field.title}</label></td>
|
||||
<td>
|
||||
{$field.hint_1}{ANCHOR place=$field.anchor_before}{$formObj->createField($field)}
|
||||
|
@ -305,62 +304,62 @@
|
|||
<div class="userActivity">
|
||||
<h3>User Activity</h3>
|
||||
|
||||
<table class="table-bordered">
|
||||
<table class="table table-striped table-bordered">
|
||||
<tr>
|
||||
<td class="alert alert-info"><label for="dob">Date of birth</label></td>
|
||||
<td class="first"><label for="dob">Date of birth</label></td>
|
||||
<td width="500"> <input name="dob" type="text" id="dob" value="{$u.dob} YYYY-MM-DD" class="form-control" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class="alert alert-info"> <label for="doj">Joined - IP</label></td>
|
||||
<td class="first"> <label for="doj">Joined - IP</label></td>
|
||||
<td width="500"> <input class="form-control" name="doj" type="text" id="doj" value="{$u.doj}" />
|
||||
{$u.signup_ip}
|
||||
<small>{$u.signup_ip}</small>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert alert-info"> <label for="doj">Last-Login IP</label></td>
|
||||
<td class="first"> <label for="doj">Last-Login IP</label></td>
|
||||
<td width="500"> {$u.last_logged} - {$u.ip}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert alert-info"> <label for="doj">Last-Active Online</label></td>
|
||||
<td class="first"> <label for="doj">Last-Active Online</label></td>
|
||||
<td width="500"> {$u.last_active} - {$u.last_active|is_online}
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert alert-info"><label for="profile_hits">Profile Views</label></td>
|
||||
<td class="first"><label for="profile_hits">Profile Views</label></td>
|
||||
<td width="500"><input class="form-control" name="profile_hits" type="text" id="profile_hits" value="{$u.profile_hits}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert alert-info"><label for="total_watched">Videos Watched</label></td>
|
||||
<td class="first"><label for="total_watched">Videos Watched</label></td>
|
||||
<td width="500"><input class="form-control" name="total_watched" type="text" id="total_watched" value="{$u.total_watched}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert alert-info"> <label for="total_watched3">Comments made</label></td>
|
||||
<td class="first"> <label for="total_watched3">Comments made</label></td>
|
||||
<td width="500"> <input class="form-control" name="total_comments" type="text" id="total_watched3" value="{$u.total_comments}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert alert-info"><label for="comments_count">Profile comments</label></td>
|
||||
<td class="first"><label for="comments_count">Profile comments</label></td>
|
||||
<td width="500"> <input class="form-control" name="comments_count" type="text" id="comments_count" value="{$u.comments_count}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert alert-info"><label for="tatal_watched4">Profile rating</label></td>
|
||||
<td class="first"><label for="tatal_watched4">Profile rating</label></td>
|
||||
<td width="500"> <input class="form-control" name="rating" type="text" id="total_watched4" value="{$p.rating}" />
|
||||
0-10
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert alert-info"><label for="total_watched5">Profile rated by</label></td>
|
||||
<td class="first"><label for="total_watched5">Profile rated by</label></td>
|
||||
<td width="500"> <input class="form-control" name="rated_by" type="text" id="total_watched5" value="{$p.rated_by}" />
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="alert alert-info"><label for="total_watched6">Subscribers</label></td>
|
||||
<td class="first"><label for="total_watched6">Subscribers</label></td>
|
||||
<td width="500"> <input class="form-control" name="subscribers" type="text" id="total_watched6" value="{$u.subscribers}" />
|
||||
</td>
|
||||
</tr>
|
||||
|
|
|
@ -344,6 +344,100 @@ ul.mainTabs{
|
|||
margin-bottom: 15px;
|
||||
}
|
||||
|
||||
.marginTopSmall{
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.marginTop{
|
||||
margin-top: 10px;
|
||||
}
|
||||
|
||||
.marginTopLarge{
|
||||
margin-top: 15px;
|
||||
}
|
||||
|
||||
.paddingTop{
|
||||
padding-top: 10px;
|
||||
}
|
||||
|
||||
.alignRight{
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
#todolist .widget-body{
|
||||
overflow-y: scroll;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
|
||||
.notesList{
|
||||
margin-top: 5px;
|
||||
list-style-type: none;
|
||||
height: 200px;
|
||||
overflow-y: scroll;
|
||||
width: 105%;
|
||||
}
|
||||
|
||||
.oneNote{
|
||||
background-color: #F9ED75;
|
||||
border-radius: 2px;
|
||||
color: #666666;
|
||||
font-size: 0.9em;
|
||||
height: 50px;
|
||||
padding: 2px 4px 2px 6px;
|
||||
}
|
||||
|
||||
.oneNote .delete{
|
||||
position: absolute;
|
||||
top: 0px;
|
||||
right: 2px;
|
||||
padding: 2px 4px;
|
||||
border-radius: 2px;
|
||||
background-color: #111;
|
||||
color: #eee;
|
||||
}
|
||||
|
||||
#mvideos .widget-main{
|
||||
height: 300px;
|
||||
overflow-y: scroll;
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
.myTable td{
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
|
||||
.myTable .first{
|
||||
|
||||
padding: 5px 5px 5px 5px;
|
||||
}
|
||||
|
||||
.myTable .first label{
|
||||
background-color: #EDF3F4;
|
||||
display: block;
|
||||
padding: 6px;
|
||||
text-align: right;
|
||||
color: #959AA0;
|
||||
|
||||
}
|
||||
|
||||
.myTable .last {
|
||||
|
||||
}
|
||||
|
||||
.myWell{
|
||||
padding: 5px;
|
||||
border: solid 1px #ccc;
|
||||
margin-bottom: 5px;
|
||||
}
|
||||
|
||||
.boxBordered{
|
||||
border: solid 1px #ccc;
|
||||
overflow-y: scroll;
|
||||
height: 80px;
|
||||
padding: 5px;
|
||||
}
|
||||
.alignCenter{
|
||||
text-align: center;
|
||||
}
|
Loading…
Add table
Reference in a new issue