예제 #1
0
<?php

// $Id: EditFileDetail.tpl.php,v 1.7 2007/03/28 08:39:33 w-ota Exp $
?>

<?php 
// ファイルコンテンツ切り替えJS出力
ACSTemplateLib::print_change_file_contents_js('edit_file_detail_form', $this->_tpl_vars['file_contents_type_master_array'], $this->_tpl_vars['file_contents_type_master_row_array_array']);
?>

<?php 
if ($this->_tpl_vars['is_self_page']) {
    $title = ACSMsg::get_msg("User", "EditFileDetail.tpl.php", 'M001');
} else {
    $title = '<a href="' . $this->_tpl_vars['target_user_info_row']['top_page_url'] . '">';
    //$title .= htmlspecialchars($this->_tpl_vars['target_user_info_row']['community_name']) . "さん";
    $title .= ACSMsg::get_tag_replace(ACSMsg::get_msg("User", "EditFileDetail.tpl.php", 'NAME'), array("{USER_NAME}" => htmlspecialchars($this->_tpl_vars['target_user_info_row']['community_name'])));
    $title .= '</a>';
    $title .= ' :: <a href="' . $this->_tpl_vars['back_url'] . '">' . ACSMsg::get_msg("User", "EditFileDetail.tpl.php", 'M002') . '</a>';
}
?>
<div class="sub_title"><?php 
echo $title;
?>
 :: <?php 
echo ACSMsg::get_msg("User", "EditFileDetail.tpl.php", 'M003');
?>
 :: <?php 
echo ACSMsg::get_msg("User", "EditFileDetail.tpl.php", 'M004');
?>
</div>
예제 #2
0
<?php

// $Id: UploadFile.tpl.php,v 1.4 2007/03/01 09:01:43 w-ota Exp $
?>

<?php 
// ファイルコンテンツ切り替えJS出力
ACSTemplateLib::print_change_file_contents_js('upload_file', $this->_tpl_vars['file_contents_type_master_array'], $this->_tpl_vars['file_contents_type_master_row_array_array']);
?>

<div class="ttl"><?php 
echo ACSMsg::get_msg("User", "UploadFile.tpl.php", 'M001');
?>
</div>
<br>

<form name="upload_file" action="<?php 
echo $this->_tpl_vars['action_url'];
?>
" method="POST" enctype="multipart/form-data">

<table class="common_table" border="0" cellpadding="6" cellspacing="1" bgcolor="#99CC33">
<tr>
<td id="myttl" bgcolor="#DEEEBD"><?php 
echo ACSMsg::get_msg("User", "UploadFile.tpl.php", 'M002');
?>
</td>
<td bgcolor="#ffffff"><input type="file" name="new_file" size="50"> <input type="submit" value="アップロード"></td>
</tr>
<tr>
<td id="myttl" bgcolor="#DEEEBD"><?php