Modified:added lang codes

This commit is contained in:
Awais-cb 2017-05-16 15:39:31 +05:00
parent 2322fe7e6b
commit b7cae29ba3
9 changed files with 21 additions and 21 deletions

View file

@ -881,7 +881,7 @@ class cbactions
$db->update( tbl( 'playlists' ), array_keys( $fields ), array_values( $fields ), " playlist_id = '".$pid."' " );
//e( sprintf( lang( 'this_thing_added_playlist' ), $this->name ), "m" );
e('<div class="alert alert-success">This video has been added to playlist</div>', "m" );
e('<div class="alert alert-success">'.lang( 'video_added_to_playlist' ).'</div>', "m" );
return $video;
}

File diff suppressed because one or more lines are too long

View file

@ -9,13 +9,13 @@
{section name=clist loop=$collections}
<option value="{$collections[clist].collection_id}">{$collections[clist].collection_name} ({$collections[clist].total_objects})</option>
{sectionelse}
<option>No Collection Found</option>
<option>{lang code="no_collection_found"}</option>
{/section}
</select>
</div>
<div class="form-group clearfix">
<input type="button" name="add_to_playlist" value="Add to collection" class="btn btn-primary mtm btn-block" onclick="collection_actions('add_collection_form','add_new_item','{$id}','#collection_form_result','video');">
<input type="button" name="add_to_playlist" value="{lang code='add_to_collection'}" class="btn btn-primary mtm btn-block" onclick="collection_actions('add_collection_form','add_new_item','{$id}','#collection_form_result','video');">
</div>
</form>
</div>

View file

@ -10,9 +10,9 @@
</label>
<br>{$photo.photo_title|truncate:100}<br>
<span class="btn-group show">
<a class="btn btn-primary btn-sm" href="{$cbphoto->photo_links($photo,'view_item')}">view</a>
<a class="btn btn-primary btn-sm" href="{$baseurl}/edit_photo.php?photo={$photo.photo_id}">edit</a>
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onmousedown="delete_item('delete_icon_a','{$photo.photo_id}','{lang code="Are you sure you want to delete this photo? This action will delete photo permanently."}','?mode=uploaded&amp;delete_photo={$photo.photo_id}')" id="delete_icon_a-{$photo.photo_id}">delete</a>
<a class="btn btn-primary btn-sm" href="{$cbphoto->photo_links($photo,'view_item')}">{lang code='view_ph'}</a>
<a class="btn btn-primary btn-sm" href="{$baseurl}/edit_photo.php?photo={$photo.photo_id}">{lang code='edit_ph'}</a>
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onmousedown="delete_item('delete_icon_a','{$photo.photo_id}','{lang code="Are you sure you want to delete this photo? This action will delete photo permanently."}','?mode=uploaded&amp;delete_photo={$photo.photo_id}')" id="delete_icon_a-{$photo.photo_id}">{lang code='delete_ph'}</a>
{if !$userquery->isProfileItem($photo.photo_id,'p')}
<a class="btn btn-primary btn-sm" href="{$queryString}makeProfileItem={$photo.photo_id}&type=p">{lang code='make_profile_item'}</a>
{else}
@ -65,7 +65,7 @@
</label>
{$photo.photo_title|truncate:100}<br>
<span class="btn-group show">
<a class="btn btn-primary btn-sm" href="{$baseurl}/edit_photo.php?photo={$photo.photo_id}">edit</a>
<a class="btn btn-primary btn-sm" href="{$baseurl}/edit_photo.php?photo={$photo.photo_id}">{lang code='edit_ph'}</a>
<a class="btn btn-primary btn-sm" href="{get_photo size='o' details=$photo}">Direct Link</a>
<a class="btn btn-primary btn-sm" href="javascript:void(0)" onmousedown="delete_video('delete_icon_a','{$photo.photo_id}','{lang code="Are you sure you want to delete this photo? This action will delete photo permanently."}','?mode={$mode}&amp;delete_orphan_photo={$photo.photo_id}')" id="delete_icon_a-{$photo.photo_id}">{lang code='delete'}</a>
</span>

View file

@ -24,9 +24,9 @@
<div class="labels">
{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} mlabel">{if $video.active=='yes'}Active{else}InActive{/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>
<span class="label {if $video.active=='yes'}label-success{else}label-warning{/if} mlabel">{if $video.active=='yes'}{lang code='active'}{else}{lang code='inactive'}{/if}</span>
<span class="label {if $video.status=='Successful'}label-success{else}label-warning{/if}">{if $video.status=='Successful'}{lang code='successful'}{else}{lang code='processing'}{/if}</span>
<span class="label label-info">{lang code='viewed'} {$video.last_viewed|niceTime}</span>
</div>
</div>
</td>
@ -45,15 +45,15 @@
<td>
<div class="dropdown text-center">
<button id="dropdownMenu1" class="btn btn-primary btn-xs dropdown-toggle" data-toggle="dropdown">
Actions <i class="caret"></i></button>
{lang code='vdo_actions'} <i class="caret"></i></button>
<ul class="dropdown-menu pull-right" aria-labelledby="dropdownMenu1" role="menu">
{if $cbvid->is_video_owner($video.videoid,$user.userid) || has_access('admin_access')}
<li><a role="menuitem" tabindex="-1" href="{$baseurl}/edit_video.php?vid={$video.videoid}" class="">Edit</a></li>
<li><a role="menuitem" tabindex="-1" href="{$baseurl}/edit_video.php?vid={$video.videoid}" class="">{lang code='edit_video'}</a></li>
<li><a role="menuitem" tabindex="-1" href="javascript:_cb.Confirm_Delete('?vid_delete={$video.videoid}')">Delete</a>
<li><a role="menuitem" tabindex="-1" href="javascript:_cb.Confirm_Delete('?vid_delete={$video.videoid}')">{lang code='del_video'}</a>
</li>
{/if}
<li><a role="menuitem" tabindex="-1" href="{$baseurl}/watch_video.php?v={$video.videokey}"target="_blank">Watch</a>
<li><a role="menuitem" tabindex="-1" href="{$baseurl}/watch_video.php?v={$video.videokey}"target="_blank">{lang code='watch'}</a>
</li>

View file

@ -66,7 +66,7 @@
<h2>{$user.username}</h2>
<div class="btn-holder">
{if $user.userid != userid()}
<button id="report-user" class="btn btn-default">{lang code="Report"}</button>
<button id="report-user" class="btn btn-default">{lang code="report_usr"}</button>
<a href="{$baseurl}/private_message.php?mode=new_msg&to={$user.username}" class="btn btn-default">
{lang code="user_send_message"}
</a>

View file

@ -84,7 +84,7 @@
{if $mode == "add_new"}
<div class="page-hidding"><h3>{lang code='add_new_collection'}</h3>
<div class="pull-right" style="margin-top: -43px;"><a class="btn btn-primary " href="{$baseurl}/collections.php">{lang code="Back to Collections"}</a></div>
<div class="pull-right" style="margin-top: -43px;"><a class="btn btn-primary " href="{$baseurl}/collections.php">{lang code="back_to_collection"}</a></div>
</div>
{if (has_access('allow_create_collection',false,$verify_logged_user))}
<div class="upload_info">

View file

@ -38,7 +38,7 @@
<td width="25">
<input type="checkbox" name="checkall" onclick="checkUncheckAll(this);">
</td>
<td>{lang code='title'}</td>
<td>{lang code='title_ph'}</td>
<td width="100">{lang code='date_added'}</td>
<td width="100">{lang code='views'}</td>
<td width="100">{lang code='comments'}</td>
@ -96,7 +96,7 @@
<tr>
<td width="25"><input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/>
</td>
<td>{lang code='title'}</td>
<td>{lang code='title_ph'}</td>
<td width="100">{lang code='date_added'}</td>
<td width="100">{lang code='views'}</td>
<td width="100">{lang code='comments'}</td>
@ -167,7 +167,7 @@
<tr>
<td width="25"><input type="checkbox" name="checkall" onclick="checkUncheckAll(this);"/>
</td>
<td>{lang code='title'}</td>
<td>{lang code='title_ph'}</td>
<td width="100">{lang code='date_added'}</td>
<td width="100">{lang code='views'}</td>
<td width="100">{lang code='comments'}</td>

View file

@ -73,7 +73,7 @@
<div class="clearfix subscribe-col col-lg-6 col-md-6 col-sm-6 col-xs-12">
{if $photo.userid != userid()}
<a id="subscribeUser" class="btn btn-subscribe btn-primary" href="javascript:void(0)" onclick="_cb.subscribeToChannelNew('{$user.userid}','subscribe_user')">
<span>{lang('Subscribe')}</span>
<span>{lang code='subscribe_btn'}</span>
</a>
{/if}
</div>