[Slashdotjp-dev 424] CVS update: slashjp/plugins/Blob/templates

Back to archive index

Tatsuki SUGIURA sugi****@users*****
2006年 7月 12日 (水) 20:41:45 JST


Index: slashjp/plugins/Blob/templates/attached_files;misc;default
diff -u slashjp/plugins/Blob/templates/attached_files;misc;default:1.1.1.1 slashjp/plugins/Blob/templates/attached_files;misc;default:1.2
--- slashjp/plugins/Blob/templates/attached_files;misc;default:1.1.1.1	Wed Jan 28 06:54:13 2004
+++ slashjp/plugins/Blob/templates/attached_files;misc;default	Wed Jul 12 20:41:45 2006
@@ -12,18 +12,18 @@
 attached_files
 __template__
 [% FOREACH file=files %]
-	[% file.description %]<BR>
+	[% file.description %]<br>
 	[% FILTER strip_literal %]
 		[% IF file.isimage == 'yes' %]
 			<SLASH-IMAGE ID="[% file.file_id %]" TITLE="[% file.description | strip_attribute %]">
 		[% ELSE %]
-			<SLASH-FILE ID="[% file.file_id %]" TITLE="[% file.description | strip_attribute %]">[% file.description %]</SLASH>
+			<SLASH-FILE ID="[% file.file_id %]" TITLE="[% file.description | strip_attribute %]">[% file.description | strip_literal %]</slash>
 		[% END %]
 	[% END %]
-	<BR><BR>
+	<br><br>
 [% END %]
 
 __seclev__
 10000
 __version__
-$Id: attached_files;misc;default,v 1.1.1.1 2004/01/27 21:54:13 oliver Exp $
+$Id: attached_files;misc;default,v 1.2 2006/07/12 11:41:45 sugi Exp $
Index: slashjp/plugins/Blob/templates/listsid;fileadmin;default
diff -u slashjp/plugins/Blob/templates/listsid;fileadmin;default:1.1.1.1 slashjp/plugins/Blob/templates/listsid;fileadmin;default:1.2
--- slashjp/plugins/Blob/templates/listsid;fileadmin;default:1.1.1.1	Wed Jan 28 06:54:13 2004
+++ slashjp/plugins/Blob/templates/listsid;fileadmin;default	Wed Jul 12 20:41:45 2006
@@ -11,25 +11,25 @@
 __name__
 listsid
 __template__
-<P>
-<A HREF="[% constants.real_rootdir %]/admin.pl?op=edit&amp;sid=[% sid %]">[% Slash.db.getStory(sid, 'title') %]</A><BR>
-<FORM ACTION="[% constants.real_rootdir %]/fileadmin.pl" METHOD="POST" enctype="multipart/form-data">
+<p>
+<a href="[% constants.real_rootdir %]/admin.pl?op=edit&amp;sid=[% sid %]">[% Slash.db.getStory(sid, 'title') %]</a><br>
+<form action="[% constants.real_rootdir %]/fileadmin.pl" method="post" enctype="multipart/form-data">
 [% PROCESS formLabel value => "Add a new file" comment => "filename is used to determine content type so make sure you name them well" %]
-Description <INPUT TYPE="TEXT" NAME="description" SIZE="50"><BR>
-File to upload: <INPUT TYPE="FILE" NAME="file_content"><BR>
+Description <input type="text" name="description" size="50"><br>
+File to upload: <input type="file" name="file_content"><br>
 
 [% PROCESS formLabel value => "Delete Files" comment => "" %]
 	[% FOREACH file=files %]
-		<A href="[% constants.real_rootdir %]/blob.pl?id=[% file.file_id %]">[% file.description %]</A> [% IF file.is_image %](image)[% END %] <input type="checkbox" name="delete" value="[% file.id %]"><br>
+		<a href="[% constants.real_rootdir %]/blob.pl?id=[% file.file_id %]">[% file.description | strip_literal %]</a> [% IF file.is_image %](image)[% END %] <input type="checkbox" name="delete" value="[% file.id %]"><br>
 	[% END %]
-	<P>
-	<B>Checked files will be deleted</B> 
-	<INPUT TYPE="HIDDEN" NAME="op" VALUE="addFileForStory">
-	<INPUT TYPE="HIDDEN" NAME="sid" VALUE="[% sid %]">
-	<INPUT TYPE="SUBMIT" NAME="Submit" VALUE="Submit">
-</FORM>
+	<p>
+	<b>Checked files will be deleted</b> 
+	<input type="hidden" name="op" value="addFileForStory">
+	<input type="hidden" name="sid" value="[% sid %]">
+	<input type="submit" name="Submit" value="Submit">
+</form>
 
 __seclev__
 10000
 __version__
-$Id: listsid;fileadmin;default,v 1.1.1.1 2004/01/27 21:54:13 oliver Exp $
+$Id: listsid;fileadmin;default,v 1.2 2006/07/12 11:41:45 sugi Exp $
Index: slashjp/plugins/Blob/templates/liststories;fileadmin;default
diff -u slashjp/plugins/Blob/templates/liststories;fileadmin;default:1.1.1.1 slashjp/plugins/Blob/templates/liststories;fileadmin;default:1.2
--- slashjp/plugins/Blob/templates/liststories;fileadmin;default:1.1.1.1	Wed Jan 28 06:54:13 2004
+++ slashjp/plugins/Blob/templates/liststories;fileadmin;default	Wed Jul 12 20:41:45 2006
@@ -13,14 +13,14 @@
 __template__
 [% FOREACH file=files %]
 	[% IF file.sid != prev %]
-		<P>&nbsp</P>
-		<A href="[% real.rootdir %]/admin.pl?op=edit&amp;sid=[% file.sid %]">[% Slash.db.getStory(file.sid, 'title') %]</A> <A href="[% real.rootdir %]/fileadmin.pl?op=editBySid&amp;sid=[% file.sid %]">(files)</a><br>
+		<p>&nbsp;</p>
+		<a href="[% real.rootdir %]/admin.pl?op=edit&amp;sid=[% file.sid %]">[% Slash.db.getStory(file.sid, 'title') %]</a> <a href="[% real.rootdir %]/fileadmin.pl?op=editBySid&amp;sid=[% file.sid %]">(files)</a><br>
 	[% END %]
-	<LI><A href="[% real.rootdir %]/blob.pl?id=[% file.file_id %]">[% file.description %]</A> [% IF file.is_image %](image)[% END %] <br>
+	<li><a href="[% real.rootdir %]/blob.pl?id=[% file.file_id %]">[% file.description | strip_literal %]</a> [% IF file.is_image %](image)[% END %] <br>
 	[% prev = file.sid %]
 [% END %]
 
 __seclev__
 10000
 __version__
-$Id: liststories;fileadmin;default,v 1.1.1.1 2004/01/27 21:54:13 oliver Exp $
+$Id: liststories;fileadmin;default,v 1.2 2006/07/12 11:41:45 sugi Exp $


Slashdotjp-dev メーリングリストの案内
Back to archive index