Tadashi Okoshi
slash****@users*****
2005年 6月 28日 (火) 00:29:20 JST
Index: affelio/templates/default/owner_side/admin_composemessage.tmpl
diff -u /dev/null affelio/templates/default/owner_side/admin_composemessage.tmpl:1.1
--- /dev/null Tue Jun 28 00:29:20 2005
+++ affelio/templates/default/owner_side/admin_composemessage.tmpl Tue Jun 28 00:29:20 2005
@@ -0,0 +1,62 @@
+<!--===========================================-->
+<TMPL_INCLUDE NAME="admin_menu.tmpl">
+<!--===========================================-->
+<div id="afMain">
+<!--==============================================-->
+<div class="afPubContentHeading">
+<table border="0" cellspacing="0">
+<tr><td align="left"><AF_M text="Affelio Messaging">
+ <a href="javascript:void(0);" onClick="showHide('c0');">
+<font size="-2"><AF_M text="detail">...</font></a>
+<br/>
+<div class="sidehide" id="c0">
+<AF_M text="_ADM_MSG_EXP">
+</div>
+</td>
+</tr></table>
+</div>
+
+
+<div class="afPubContent">
+
+<FORM METHOD="POST" ACTION="admin.cgi?mode=messages&action=send_message">
+
+<div class="afPubContentBlock">
+
+<TABLE class="admin">
+<TR>
+<TH BGCOLOR="#AAAAFF" ALIGN="left" WIDTH="20%"><AF_M text="_ADM_MSG_TO"></TH>
+<TD ALIGN="left">
+<select name="msg_to" tabindex="1"><TMPL_LOOP NAME="friends">
+<option value="<TMPL_VAR NAME="afid">" <TMPL_IF NAME="selected">selected</TMPL_IF>><TMPL_VAR NAME="nickname">
+</TMPL_LOOP></select>
+</TD>
+</TR>
+<TR>
+<TH BGCOLOR="#AAAAFF" ALIGN="left" WIDTH="20%"><AF_M text="_ADM_MSG_TITLE"></TH>
+<TD ALIGN="left"><INPUT NAME="msg_title" TYPE="text" SIZE=70 tabindex="2"></TD>
+</TR>
+<TR>
+<TH BGCOLOR="#AAAAFF" ALIGN="left" WIDTH="20%"><AF_M text="_ADM_MSG_BODY"></TH>
+<TD ALIGN="left"><TEXTAREA NAME="msg_body" COLS=40 ROWS=15 tabindex="3"></TEXTAREA>
+</TD>
+</TR>
+</TABLE>
+</div> <!--contentblock-->
+
+<INPUT TYPE="submit" VALUE="<AF_M text="Send">" tabindex="4">
+</FORM>
+
+</div><!--container-->
+</div><!--afmain-->
+
+<!--===========================================-->
+<TMPL_INCLUDE NAME="ad.tmpl">
+<!--===========================================-->
+
+<br style="clear: both;" />
+
+<!--===========================================-->
+<!-- <TMPL_INCLUDE NAME="footer.tmpl"> -->
+<!--===========================================-->
+
Index: affelio/templates/default/owner_side/admin_showmessage_list.tmpl
diff -u affelio/templates/default/owner_side/admin_showmessage_list.tmpl:1.3 affelio/templates/default/owner_side/admin_showmessage_list.tmpl:1.4
--- affelio/templates/default/owner_side/admin_showmessage_list.tmpl:1.3 Sun Jun 26 02:19:28 2005
+++ affelio/templates/default/owner_side/admin_showmessage_list.tmpl Tue Jun 28 00:29:20 2005
@@ -3,6 +3,12 @@
<!--===========================================-->
<div id="afMain">
<!--==============================================-->
+<TMPL_IF NAME="err_msg">
+<div class="afPriError">
+<TMPL_VAR NAME="err_msg">
+</div>
+</TMPL_IF>
+
<div class="afPubContentHeading">
<table border="0" cellspacing="0">
<tr><td align="left"><AF_M text="Messages from Affelio">
@@ -20,6 +26,14 @@
<div class="afPubContent">
<div class="afPubContentBlock">
+
+<DIV STYLE="font-weight: bold; background: #ccc; border: #aaa solid 1px; float:left; padding: 5px; margin: 0px 10px 10px 0px;"><A HREF="admin.cgi?mode=messages&action=compose"><AF_M text="Compose"></A></DIV>
+<DIV STYLE="font-weight: bold; background: #ccc; border: #aaa solid 1px; float:left; padding: 5px; margin: 0px 10px 10px 0px;"><A HREF="admin.cgi?mode=messages&action=filter_config"><AF_M text="Filter Config"></A></DIV>
+
+
+<DIV STYLE="clear: both"></DIV>
+
+
<TABLE class="admin">
<TR BGCOLOR="#AAAAFF">
<TH ALIGN="left"><AF_M text="_ADM_MSG_FROM"></TH>
Index: affelio/templates/default/owner_side/style.css
diff -u affelio/templates/default/owner_side/style.css:1.3 affelio/templates/default/owner_side/style.css:1.4
--- affelio/templates/default/owner_side/style.css:1.3 Sun Jun 26 23:20:21 2005
+++ affelio/templates/default/owner_side/style.css Tue Jun 28 00:29:20 2005
@@ -311,9 +311,8 @@
text-align: left;
}
-
-.warning{
- margin: 0px 0px 0px 0px;
+.afPriError{
+ margin: 0px 0px 10px 0px;
padding: 5px 5px 5px 5px;
background-color: #FFE0E0;
border: 2px solid red;