Skip to content
This repository has been archived by the owner on Dec 1, 2022. It is now read-only.

Update manage_photos.html #103

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 6 additions & 20 deletions upload/styles/cb_28/layout/manage_photos.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,9 @@
{include file="$style_dir/blocks/manage/userMenuLeft.html"}
</div>
<div class="mainContent col-md-9 col-sm-9 col-xs-12">



{if $mode == 'uploaded'}
<h2>{lang code="Manage Photos"}</h2>
<h2>{lang code="manage_photos"}</h2>
<form clasws="form-inline" id="form1" name="form1" method="get" action="">
<div class="row">
<div class="col-md-6 col-md-offset-3">
Expand Down Expand Up @@ -48,7 +47,7 @@ <h2>{lang code="Manage Photos"}</h2>
{sectionelse}
<tr>
<td colspan="5">
<div align="center" style="padding:5px"><strong><em>{lang code='You dont have any photos'}</em></strong></div>
<div align="center" style="padding:5px"><strong><em>{lang code='you_dont_have_any_photos'}</em></strong></div>
</td>
</tr>
{/section}
Expand All @@ -66,10 +65,8 @@ <h2>{lang code="manage_favorite_photos"}</h2>
<div class="col-md-11">
<div class="form-group">
<input name="query" type="text" class="form-control" id="query" value="{$smarty.get.query|form_val}" />

</div>
</div>

<div class="col-md-1">
<div class="form-group text-right">
<input name="input" type="submit" class="btn btn-primary" value="{lang code='search'}"/>
Expand All @@ -80,8 +77,6 @@ <h2>{lang code="manage_favorite_photos"}</h2>
</div>
</div>



<form name="photos_manager" method="post">
<div>
<img src="{$imageurl}/dot.gif" class="arrow_pointing" />
Expand All @@ -99,14 +94,13 @@ <h2>{lang code="manage_favorite_photos"}</h2>
<td width="100">{lang code='comments'}</td>
<td width="100" class="last_td">{lang code='favorites'}</td>
</tr>



{section name=p_list loop=$photos}
{include file="$style_dir/blocks/manage/account_photo.html" photo=$photos[p_list] control='partail'}
{sectionelse}
<tr>
<td colspan="5">
<div align="center" style="padding:5px"><strong><em>{lang code='You dont have any favorite photos'}</em></strong></div>
<div align="center" style="padding:5px"><strong><em>{lang code='you_dont_have_any_favorite_photos'}</em></strong></div>
</td>
</tr>
{/section}
Expand All @@ -125,7 +119,6 @@ <h2>{lang code="manage_my_album"}</h2>
<label>
<input type="radio" name="my_album_privacy" value="private" {if $user.album_privacy =='private'} checked="checked" {/if} onclick="window.location = '{$albumPrivacyUrl}album_privacy=private'"/> Private
</label>

<label>
<input type="radio" name="my_album_privacy" value="friends" {if $user.album_privacy =='friends'} checked="checked" {/if} onclick="window.location = '{$albumPrivacyUrl}album_privacy=friends'"/>For friends
</label>
Expand All @@ -138,7 +131,6 @@ <h2>{lang code="manage_my_album"}</h2>
<div class="col-md-11">
<div class="form-group">
<input name="query" type="text" class="form-control" id="query" value="{$smarty.get.query|form_val}" />

</div>
</div>

Expand All @@ -152,7 +144,6 @@ <h2>{lang code="manage_my_album"}</h2>
</div>
</div>


<form name="photos_manager" method="post">
<div>
<img src="{$imageurl}/dot.gif" class="arrow_pointing" />
Expand All @@ -170,9 +161,7 @@ <h2>{lang code="manage_my_album"}</h2>
<td width="100">{lang code='comments'}</td>
<td width="100" class="last_td">{lang code='favorites'}</td>
</tr>




{section name=p_list loop=$photos}
{include file="$style_dir/blocks/manage/account_photo.html" photo=$photos[p_list] control='orphan'}
{sectionelse}
Expand All @@ -186,9 +175,6 @@ <h2>{lang code="manage_my_album"}</h2>
{include file="$style_dir/blocks/pagination.html"}
</form>
{/if}

</div>
</div>


</div>