clipbucket/upload/admin_area/styles/cbadmin/layout/main.html
2009-08-25 12:16:42 +00:00

391 lines
16 KiB
HTML

<ul class="cbtab">
<li onClick='display_tab(this,"div_1",true)' id="first_tab">Website Settings</li>
<li onClick='display_tab(this,"div_2",true)' >Uploading and Conversion Settings</li>
<li onClick='display_tab(this,"div_3",true)' >Display and Listing Settings</li>
<li onClick='display_tab(this,"div_4",true)' >User &amp; Registeration</li>
</ul>
<div class="clear"></div>
<form name="form1" method="post" action="">
<input name="baseurl" value="{$row.baseurl}" type="hidden" />
<input name="basedir" value="{$row.baseurl}" type="hidden" />
<div id="tabbed_div">
<div id="div_1" class="main_page_div">
<table width="100%" border="0" cellpadding="2" cellspacing="0" class="block">
<tr>
<td width="200" valign="top">Website title</td>
<td valign="top"><input name="site_title" type="text" id="site_title" value="{$row.site_title}" size="45"></td>
</tr>
<tr>
<td valign="top">Website slogan</td>
<td valign="top"><input name="site_slogan" type="text" id="site_slogan" value="{$row.site_slogan}" size="45"></td>
</tr>
<tr>
<td valign="top">Website closed</td>
<td valign="top"><select name="closed" id="select">
<option value="1"
{if $row.closed == 1}
selected="selected"
{/if}
>Yes</option>
<option value="0"
{if $row.closed == 0}
selected="selected"
{/if}
>No</option>
</select></td>
</tr>
<tr>
<td valign="top">Closed message</td>
<td valign="top"><textarea name="closed_msg" id="closed_msg" cols="45" rows="5">{$row.closed_msg}</textarea></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td valign="top">Meta Description</td>
<td valign="top"><textarea name="description" id="description" cols="45" rows="5">{$row.description}</textarea></td>
</tr>
<tr>
<td valign="top">Meta Keywords</td>
<td valign="top"><input name="keywords" type="text" id="keywords" value="{$row.keywords}" size="45" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Default Language</td>
<td><select name="default_site_lang">
{foreach from=$languages key=k item=v}
<option value="{$k}" {if $row.default_site_lang == $k} selected="selected" {/if}>{$v}</option>
{/foreach}
</select></td>
</tr>
<tr>
<td>SEO Urls</td>
<td><select name="seo" id="select2">
<option value="yes"
{if $row.seo == yes}
selected="selected"
{/if}
>Yes</option>
<option value="no"
{if $row.seo == no}
selected="selected"
{/if}
>No</option>
</select></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Allow template change</td>
<td><select name="allow_language_change" id="allow_language_change">
<option value="1"
{if $row.allow_language_change == 1}
selected="selected"
{/if}
>Yes</option>
<option value="0"
{if $row.allow_language_change == 0}
selected="selected"
{/if}
>No</option>
</select></td>
</tr>
<tr>
<td>Allow language change</td>
<td><select name="seo2" id="seo">
<option value="yes"
{if $row.seo == yes}
selected="selected"
{/if}
>Yes</option>
<option value="no"
{if $row.seo == no}
selected="selected"
{/if}
>No</option>
</select></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Require login to watch videos ?</td>
<td><input name="video_require_login" type="checkbox" id="video_require_login" value="yes" {if $row.video_require_login=='yes'}checked="checked"{/if} /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td valign="top">Allow comments</td>
<td valign="top"><input name="video_comments" type="checkbox" id="video_comments" value="1" {if $row.video_comments=='1'}checked="checked"{/if} />
<br />
<input name="user_comment_own" type="checkbox" id="user_comment_own" value="1" {if $row.user_comment_own=='1'}checked=&quot;checked&quot;{/if} />
User can comment on his/her own video/channel</td>
</tr>
<tr>
<td valign="top">Maximum character count</td>
<td valign="top"><input name="max_comment_chr" type="text" id="max_comment_chr" value="{$row.max_comment_chr}" size="15" maxlength="5" /></td>
</tr>
<tr>
<td valign="top">Allow ratings</td>
<td valign="top"><input name="video_rating" type="checkbox" id="video_rating" value="1" {if $row.video_rating=='1'}checked="checked"{/if} />
<br />
<input name="video_comments3" type="checkbox" id="video_comments3" value="1" {if $row.video_comments=='1'}checked=&quot;checked&quot;{/if} />
User can rate his/her video/channel</td>
</tr>
<tr>
<td>Allow comments rating</td>
<td><input name="comment_rating" type="checkbox" id="comment_rating" value="1" {if $row.comment_rating=='1'}checked="checked"{/if} /></td>
</tr>
<tr>
<td>Allow video embedding</td>
<td><input name="video_embed" type="checkbox" id="video_embed" value="1" {if $row.video_embed=='1'}checked=&quot;checked&quot;{/if} /></td>
</tr>
<tr>
<td>Allow video download</td>
<td><input name="video_download" type="checkbox" id="video_download" value="1" {if $row.video_download=='1'}checked="checked"{/if} /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</div>
<div id="div_2" class="main_page_div">
<table width="100%" border="0" cellpadding="2" cellspacing="0" class="block">
<tr>
<td width="200" valign="top">FFMPEG Binary Path</td>
<td valign="top"><input name="ffmpegpath" type="text" id="ffmpegpath" value="{$row.ffmpegpath}" size="45" /></td>
</tr>
<tr>
<td valign="top">PHP Binary Path</td>
<td valign="top"><input name="php_path" type="text" id="php_path" value="{$row.php_path}" size="45" /></td>
</tr>
<tr>
<td valign="top">Allow video uploading</td>
<td valign="top"><label>
<input name="allow_upload" type="checkbox" id="allow_upload" value="yes" {if $row.allow_upload}checked="checked"{/if} />
</label></td>
</tr>
<tr>
<td valign="top">Allowed extensions</td>
<td valign="top"><label>
<textarea name="allowed_types" id="allowed_types" cols="45" rows="5">{$row.allowed_types}</textarea>
<br />
Sperate by comma [case insensitive]</label></td>
</tr>
<tr>
<td valign="top">Max upload file size</td>
<td><input name="max_upload_size" type="text" id="max_upload_size" value="{$row.max_upload_size}" size="15" maxlength="5" />
in MegaBytes </td>
</tr>
<tr>
<td>Save original file </td>
<td><input name="keep_original" type="checkbox" id="keep_original" value="1" {if $row.keep_original} checked="checked"{/if} /></td>
</tr>
<tr>
<td>Activation required</td>
<td><input name="activation" type="checkbox" id="activation" value="1" {if $row.activation==1} checked="checked"{/if} /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2">Converting video height and thumbs settings</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Video Width</td>
<td><input name="r_width" type="text" id="r_width" value="{$row.r_width}" size="45" /></td>
</tr>
<tr>
<td>Video Height</td>
<td><input name="r_height" type="text" id="r_height" value="{$row.r_height}" size="45" /></td>
</tr>
<tr>
<td>Resize Type</td>
<td><select name="resize" id="select">
<option value="no" {if $row.resize ==no} selected="selected"{/if}>No</option>
<option value="max" {if $row.resize ==max} selected="selected"{/if}>Max</option>
<option value="WxH" {if $row.resize ==WxH} selected="selected"{/if}>Stretch</option>
<option value="fit" {if $row.resize ==fit} selected="selected"{/if}>Aspect Ratio</option>
</select>&nbsp;</td>
</tr>
<tr>
<td>Thumb Width</td>
<td><input name="thumb_width" type="text" id="thumb_width" value="{$row.thumb_width}" size="45" /></td>
</tr>
<tr>
<td>Thumb Height</td>
<td><input name="thumb_height" type="text" id="thumb_height" value="{$row.thumb_height}" size="45" /></td>
</tr>
<tr>
<td>Number of thumbs</td>
<td><input name="num_thumbs" type="text" id="num_thumbs" value="{$row.num_thumbs}" size="45" /></td>
</tr>
<tr>
<td>Big Thumb Width</td>
<td><input name="big_thumb_width" type="text" id="big_thumb_width" value="{$row.big_thumb_width}" size="45" /></td>
</tr>
<tr>
<td>Big Thumb Height</td>
<td><input name="big_thumb_height" type="text" id="big_thumb_height" value="{$row.big_thumb_height}" size="45" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td colspan="2">Change only if you have good knowledge of video conversion</td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
<tr>
<td>Video Rate</td>
<td><input name="vrate" type="text" id="vrate" value="{$row.vrate}" size="45" /></td>
</tr>
<tr>
<td>Video Bitrate</td>
<td><input name="vbrate" type="text" id="vbrate" value="{$row.vbrate}" size="45" /></td>
</tr>
<tr>
<td>Audio Rate</td>
<td><input name="srate" type="text" id="srate" value="{$row.srate}" size="45" /></td>
</tr>
<tr>
<td>Audio Bitrate</td>
<td><input name="sbrate" type="text" id="sbrate" value="{$row.sbrate}" size="45" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</div>
<div id="div_3" class="main_page_div" ><table width="100%" border="0" cellpadding="2" cellspacing="0" class="block">
<tr>
<td width="200" valign="top">Current Template</td>
<td valign="top"><a href="templates.php">manage templates</a></td>
</tr>
<tr>
<td valign="top">Current FLV Player</td>
<td valign="top"><a href="flv_players.php">manage flv players</a></td>
</tr>
<tr>
<td valign="top">&nbsp;</td>
<td valign="top">&nbsp;</td>
</tr>
<tr>
<td>Videos per page</td>
<td><input name="videos_list_per_page" type="text" id="videos_list_per_page" value="{$row.videos_list_per_page}" size="6" maxlength="3" /></td>
</tr>
<tr>
<td>Videos per tab or section</td>
<td><input name="videos_list_per_tab" type="text" id="videos_list_per_tab" value="{$row.videos_list_per_tab}" size="6" maxlength="3" /></td>
</tr>
<tr>
<td>Channels per page</td>
<td><input name="channels_list_per_page" type="text" id="channels_list_per_page" value="{$row.channels_list_per_page}" size="6" maxlength="3" /></td>
</tr>
<tr>
<td>Channels per tab or section</td>
<td><input name="channels_list_per_tab" type="text" id="channels_list_per_tab" value="{$row.channels_list_per_tab}" size="6" maxlength="3" /></td>
</tr>
<tr>
<td>Search results per page</td>
<td><input name="search_list_per_page" type="text" id="search_list_per_page" value="{$row.search_list_per_page}" size="6" maxlength="3" /></td>
</tr>
<tr>
<td>Recently viewed videos</td>
<td><input name="recently_viewed_limit" type="text" id="recently_viewed_limit" value="{$row.recently_viewed_limit}" size="6" maxlength="3" /></td>
</tr>
<tr>
<td>&nbsp;</td>
<td>&nbsp;</td>
</tr>
</table>
</div>
<div id="div_4" class="main_page_div" ><table width="100%" border="0" cellpadding="2" cellspacing="0" class="block">
<tr>
<td width="200" valign="top">Turn on registerations</td>
<td valign="top"><input name="allow_registeration" type="checkbox" id="allow_registeration" value="1" {if $row.allow_registeration=='1'}checked="checked"{/if} /></td>
</tr>
<tr>
<td valign="top">Email verification</td>
<td valign="top"><input name="email_verification" type="checkbox" id="email_verification" value="1" {if $row.email_verification=='1'}checked=&quot;checked&quot;{/if} /></td>
</tr>
<tr>
<td valign="top">Image verification (captcha)</td>
<td valign="top"><select name="captcha_type">
<option value="0" {if $row.captcha_type == 0}
selected="selected"
{/if}>No</option>
<option value="1" {if $row.captcha_type == 1}
selected="selected"
{/if}>Simple</option>
<option value="2" {if $row.captcha_type == 2}
selected="selected"
{/if}>Secured</option>
</select></td>
</tr>
<tr>
<!--<td valign="top">Username regular expression</td>
<td valign="top"><label>
<input type="text" name="textfield" id="textfield" />
please refer to <a href="http://www.php.net/pcre">php.net</a></label></td>-->
</tr>
<tr>
<td valign="top">Username maximum characters</td>
<td valign="top"><input name="user_max_chr" type="text" id="user_max_chr" value="{$row.user_max_chr}" size="6" maxlength="3" /></td>
</tr>
<tr>
<td valign="top">Disallowed usernames</td>
<td valign="top"><label>
<textarea name="disallowed_usernames" id="disallowed_usernames" cols="45" rows="5">{$row.disallowed_usernames}</textarea>
<br />
sperate by commas
</label></td>
</tr>
<tr>
<td valign="top">Minimum age for registeration</td>
<td valign="top"><input name="min_age_reg" type="text" id="min_age_reg" value="{$row.min_age_reg}" size="6" maxlength="3" />
leave blank to disable this option</td>
</tr>
<tr>
<td valign="top">&nbsp;</td>
<td valign="top">&nbsp;</td>
</tr>
</table>
</div>
</div>
<div align="right"class="main_page_div" style="padding:5px; min-height:0px; margin-top:10px"><label>
<input type="submit" name="update" class="button" value="Update Settings" id="udpate" />
</label>
</div>
</form>