<!-- internal blog setting -->
<div id="setting_local" {$blog['hide_local']}>
<div class="subtitle">{$this->ipsclass->lang['blog_local_settings']}</div>
<table cellspacing="0" class="ipbtable">
<tr>
	<td class="pformleft">
		{$this->ipsclass->lang['blog_private']}<span style="color:#992A2A;">{$blog['global_allowprivate']}</span>
	</td>
	<td class="pformright"><input type='checkbox' name='blog_private' id='blog_private' value='1' {$blog['blog_private']}/></td>
</tr>
<tr>
	<td class="pformleft">
		{$this->ipsclass->lang['blog_allowguest']}<span style="color:#992A2A;">{$blog['global_guestview']}</span>
	</td>
	<td class="pformright"><input type='checkbox' name='blog_allowguest' value='1' {$blog['blog_allowguest']} /></td>
</tr>
<tr>
	<td class="pformleft">
		{$this->ipsclass->lang['blog_allowguestcomments']}<span style="color:#992A2A;">{$blog['global_guestcomment']}</span>
	</td>
	<td class="pformright"><input type='checkbox' name='blog_allowguestcomments' value='1' {$blog['blog_allowguestcomments']} /></td>
</tr>
<tr>
	<td class="pformleft">
		{$this->ipsclass->lang['blog_disable_comments']}
	</td>
	<td class="pformright"><input type='checkbox' name='blog_disable_comments' value='1' {$blog['blog_disable_comments']} /></td>
</tr>
<tr>
	<td class="pformleft">
		{$this->ipsclass->lang['blog_allowrss']}<span style="color:#992A2A;">{$blog['global_allowrss']}</span>
	</td>
	<td class="pformright"><input type='checkbox' name='blog_allowrss' value='1' {$blog['blog_allowrss']} /></td>
</tr>
<tr>
	<td class="pformleft">
		{$this->ipsclass->lang['blog_allowtrackback']}<span style="color:#992A2A;">{$blog['global_allowtrackback']}</span>
	</td>
	<td class="pformright"><input type='checkbox' name='blog_allowtrackback' value='1' {$blog['blog_allowtrackback']} /></td>
</tr>
<tr>
	<td class="pformleft">
		{$this->ipsclass->lang['blog_trackcomments']}
	</td>
	<td class="pformright"><input type='checkbox' name='blog_trackcomments' value='1' {$blog['blog_trackcomments']} /></td>
</tr>
</table>
<div class="subtitle">{$this->ipsclass->lang['blog_view_settings']}</div>
<table cellspacing="0" class="ipbtable">
<if="$this->ipsclass->member['g_blog_allowskinchoose']">
<tr>
  <td class="pformleft"><b>{$this->ipsclass->lang['blog_choose_skin']}</b></td>
  <td class="pformright" colspan="2">
  	<select class='forminput' name='blog_skin_id'>
		{$blog['blog_skin_id']}
	</select>
  </td>
</tr>
</if>
<if="$this->ipsclass->vars['blog_allow_draft']">
<tr>
  <td class="pformleft"><b>{$this->ipsclass->lang['blog_defaultstatus']}</b></td>
  <td class="pformright" colspan="2">
  	<select class='forminput' name='blog_defaultstatus'>
		{$blog['blog_defaultstatus']}
	</select>
  </td>
</tr>
</if>
<tr>
  <td class="pformleft"><b>{$this->ipsclass->lang['entry_modoptions']}</b></td>
  <td class="pformright" colspan="2">
  	<select class='forminput' name='blog_eopt_mode'>
		{$blog['blog_eopt_mode']}
	</select>
  </td>
</tr>
<tr>
  <td class="pformleft"><b>{$this->ipsclass->lang['blog_viewmode']}</b></td>
  <td class="pformright">
  	<select class='forminput' name='blog_viewmode'>
	 <option value='list' {$blog['view_list']}>{$this->ipsclass->lang['blog_viewlist']}</option>
	 <option value='perdate' {$blog['view_perdate']}>{$this->ipsclass->lang['blog_viewperdate']}</option>
	 <option value='permonth' {$blog['view_permonth']}>{$this->ipsclass->lang['blog_viewpermonth']}</option>
    </select>
  </td>
  <td class="pformright" width="40%"><span style="color:#992A2A;">{$blog['global_defaultview']}</span></td>
</tr>
<tr>
  <td class="pformleft"><b>{$this->ipsclass->lang['blog_entriesperpage']}</b></td>
  <td class="pformright">
  	<select class='forminput' name='blog_entriesperpage'>
		{$blog['entriesperpage']}
	</select>
  </td>
  <td class="pformright" width="40%"><span style="color:#992A2A;">{$blog['global_entriesperpage']}</span></td>
</tr>
<tr>
  <td class="pformleft"><b>{$this->ipsclass->lang['blog_commentsperpage']}</b></td>
  <td class="pformright">
  	<select class='forminput' name='blog_commentsperpage'>
		{$blog['commentsperpage']}
	</select>
  </td>
  <td class="pformright" width="40%"><span style="color:#992A2A;">{$blog['global_commentsperpage']}</span></td>
</tr>
<tr>
  <td class="pformleft"><b>{$this->ipsclass->lang['blog_limitentrysize']}</b></td>
  <td class="pformright">
  	<input type='text' size='32' maxlength='10' name='blog_limitentrysize' value='{$blog['blog_limitentrysize']}' class='forminput' />
  </td>
  <td class="pformright">{$this->ipsclass->lang['blog_limitexplain']}</td>
</tr>
<tr>
  <td class="pformleft"><b>{$this->ipsclass->lang['blog_approvemode']}</b></td>
  <td class="pformright" colspan="2">
  	<select class='forminput' name='blog_approvemode'>
		{$blog['approvemode']}
	</select>
  </td>
</tr>
</table>
<if="$this->ipsclass->member['g_blog_allowprivclub']">
<div class="subtitle">{$this->ipsclass->lang['blogset_privateclub']}</div>
<p class='row2'>
{$this->ipsclass->lang['ucp_privateclub_desc']}
</p>
<p class='row1'>
<textarea cols="80" rows="7" name="private_buddies" class="textarea">{$blog['private_buddies']}</textarea>
</p>
</if>
<if="$this->ipsclass->member['g_blog_alloweditors']">
<div class="subtitle">{$this->ipsclass->lang['blogset_editors']}</div>
<p class='row2'>
{$this->ipsclass->lang['ucp_editors_desc']}
</p>
<p class='row1'>
<textarea cols="80" rows="7" name="blog_editors" class="textarea">{$blog['blog_editors']}</textarea>
</p>
</if>
</div>