<?php
/**
 * site_resources_view.php - Site resources view file.
 *
 * @author $Author: dtong $
 * @version $Id: site_resources_view.php,v 1.1 2011/02/21 12:04:04 dtong Exp $
 * @copyright Copyright (c) 2011, Tiller Software Co., Ltd.
*/
$edit_url = base_url() . 'cms/site_res/edit';
$read_url = base_url() . 'cms/site_res';
?>
<center><span style='font-size:14px;font-weight:bold'><?php echo lang('gen_siteres_title')?></span><br /><br /></center>
<?php if (isset($show_done_button) && $show_done_button) { ?>
	<input type="button" onClick="ajaxGetpage('page_content', '<?php echo $read_url?>');return false;"
		value="<?php echo lang('gen_siteres_done') ;?>" <?php osa_btn();?> />
<?php } ?>
<?php if (isset($showedit_button) && $showedit_button) { ?>
	<input type="button"
		onClick="ajaxGetpage('page_content', '<?php echo $edit_url?>');return false;"
		value="<?php echo lang('gen_siteres_edit') ;?>" <?php osa_btn();?> /><br /><br />
<?php } ?>
<?php echo $html?>
<?php if (isset($show_done_button) && $show_done_button) { ?><br />
	<input type="button" onClick="ajaxGetpage('page_content', '<?php echo $read_url?>');return false;"
		value="<?php echo lang('gen_siteres_done') ;?>" <?php osa_btn();?> />
<?php } ?>