[pLog-svn] r1523 - in plugins/trunk/jupload: . templates

mark at devel.plogworld.net mark at devel.plogworld.net
Wed Mar 16 09:43:50 GMT 2005


Author: mark
Date: 2005-03-16 09:43:50 +0000 (Wed, 16 Mar 2005)
New Revision: 1523

Added:
   plugins/trunk/jupload/readme.txt
Modified:
   plugins/trunk/jupload/templates/juploadnewresource.template
Log:
Update css of juploadnewresource form and also add a new readme.txt into this plugin.

Added: plugins/trunk/jupload/readme.txt
===================================================================
--- plugins/trunk/jupload/readme.txt	2005-03-16 08:52:35 UTC (rev 1522)
+++ plugins/trunk/jupload/readme.txt	2005-03-16 09:43:50 UTC (rev 1523)
@@ -0,0 +1,14 @@
+Plugin: JUpload
+Author: Mark Wu
+Release Date: 2005/03/16
+Version: 1.0
+
+This plugin offers you to integrate JUpload into resource center.
+
+Install:
+Configurate your JUpload plugin in your pLog Admin Settings.
+Enable it before use it.
+
+Notice:
+Thanks the auhtor of JUpload - Mike. He grant us the permission to boundle the JUpload 
+binary file in pLog/pLog Plugins release.
\ No newline at end of file

Modified: plugins/trunk/jupload/templates/juploadnewresource.template
===================================================================
--- plugins/trunk/jupload/templates/juploadnewresource.template	2005-03-16 08:52:35 UTC (rev 1522)
+++ plugins/trunk/jupload/templates/juploadnewresource.template	2005-03-16 09:43:50 UTC (rev 1523)
@@ -1,34 +1,50 @@
 {include file="$admintemplatepath/header.template"}
 {include file="$admintemplatepath/navigation.template" showOpt=juploadNewResource title=$locale->tr("juploadNewResource")}
+ {literal}
+  <STYLE TYPE="text/css">
+   <!--
+    .fieldset
+    {
+     color            : #000000;
+     font-family      : verdana, tahoma, sans-serif;
+     font-size        : 0.90em;
+     margin           : 1em 0em 1em 0em;
+     padding          : 0em 1em 1em 1em;
+     line-height      : 1.5em;
+     width            : 85%;
+     background-color : #FCFCFF;
+     margin-left      : auto;
+     margin-right     : auto;
+     border           : 1px solid #DEDEDE;    
+    }
+   -->
+  </STYLE>
+ {/literal}
  <div class="fieldset" style="position: relative; z-index: 1;">
  <span style="position: relative; z-index: 2; left:10px; top: -8px; background-color: #FFFFFF; font-size: 1em; font-weight: bold;">{$locale->tr("newResource")}</span>
  <form name="JUploadForm" action="admin.php" method="post" enctype="multipart/form-data">
-   {include file="$admintemplatepath/formvalidate.template" message=$locale->tr("error_adding_resource")}
-
+  {include file="$admintemplatepath/formvalidate.template" message=$locale->tr("error_adding_resource")}
   <div class="field">
-    <label for="albumId">{$locale->tr("album")}</label>
-	<span class="required">*</span>
-	<div class="formHelp">{$locale->tr("resource_album_help")}</div>
-	<select name="albumId" id="albumId">
-      {foreach from=$albums item=album}
-        {assign var=indentLevel value=$album->getValue("level")}
-	    <option value="{$album->getId()}">
-	     {textformat indent=$indentLevel indent_char="&nbsp;&nbsp;&nbsp;"}{$album->getName()}{/textformat}   
-	    </option>
-      {/foreach}
+   <label for="albumId">{$locale->tr("album")}</label>
+   <span class="required">*</span>
+   <div class="formHelp">{$locale->tr("resource_album_help")}</div>
+    <select name="albumId" id="albumId">
+     {foreach from=$albums item=album}
+      {assign var=indentLevel value=$album->getValue("level")}
+      <option value="{$album->getId()}">
+       {textformat indent=$indentLevel indent_char="&nbsp;&nbsp;&nbsp;"}{$album->getName()}{/textformat}   
+      </option>
+     {/foreach}
     </select>
-   </div>	
+   </div>   
   <div class="buttons">
-    <input type="hidden" name="op" value="addResource" />
+   <input type="hidden" name="op" value="addResource" />
   </div>
  </form>
- 
-    <strong style="font-size: 1em; font-weight: bold;"><label for="resourceFile_1">{$locale->tr("file")}</label>
-	<span class="required">*</span></strong>
-	<div class="formHelp">{$locale->tr("resource_file_help")}</div>
-	
 
-
+ <strong style="font-size: 1em; font-weight: bold;"><label for="resourceFile_1">{$locale->tr("file")}</label>
+ <span class="required">*</span></strong>
+ <div class="formHelp">{$locale->tr("resource_file_help")}</div>
  <applet 
   code="JUpload.startup"
   archive="plugins/jupload/jupload/jupload.jar,plugins/jupload/jupload/lib/skinlf.jar"
@@ -38,39 +54,41 @@
   name="JUpload"
   alt="JUpload by www.jupload.biz">     
      
-     <!-- Java Plug-In Options -->
-     <param name="progressbar" value="true">
-     <param name="boxmessage" value="Loading JUpload Applet ...">
-     <param name="disableContextMenu" value="true">
-     <param name="mainSplitpaneLocation" value="550">
-     <param name="boxbgcolor" value="#ffffff">
-     <param name="backgroundColor" value="#ffffff">
-     
-     <!-- Label Options -->
-     <param name="labelAdd" value="Add">
-     <param name="labelRemove" value="Remove">
-     <param name="labelUpload" value="Upload">
-     <param name="labelStopUpload" value="Stop">
-     
-     <!-- SkinLF Options -->
-     <param name="skinThemePackURL" value="plugins/jupload/jupload/skins/xplunathemepack.zip">
-     <param name="lookAndFeelClass" value="com.l2fprod.gui.plaf.skin.SkinLookAndFeel">
-     
-     <!-- TargetOptions -->
-     <param name="actionURL" value="{$url->getUrl("/admin.php")}">
-     <param name="completeURL" value="{$url->getUrl("/admin.php?op=juploadNewResource")}">
+   <!-- Java Plug-In Options -->
+   <param name="progressbar" value="true">
+   <param name="boxmessage" value="Loading JUpload Applet ...">
+   <param name="disableContextMenu" value="true">
+   <param name="mainSplitpaneLocation" value="550">
+   <param name="boxbgcolor" value="#ffffff">
+   <param name="backgroundColor" value="#ffffff">
+   
+   <!-- Label Options -->
+   <param name="labelAdd" value="Add">
+   <param name="labelRemove" value="Remove">
+   <param name="labelUpload" value="Upload">
+   <param name="labelStopUpload" value="Stop">
+   
+   <!-- SkinLF Options -->
+   <param name="skinThemePackURL" value="plugins/jupload/jupload/skins/xplunathemepack.zip">
+   <param name="lookAndFeelClass" value="com.l2fprod.gui.plaf.skin.SkinLookAndFeel">
+   
+   <!-- TargetOptions -->
+   <param name="actionURL" value="{$url->getUrl("/admin.php")}">
+   <param name="completeURL" value="{$url->getUrl("/admin.php?op=juploadNewResource")}">
 
-     <!-- IF YOU HAVE PROBLEMS, CHANGE THIS TO TRUE BEFORE CONTACTING SUPPORT -->
-     <param name="debug" value="false">
-     <param name="showServerResponse" value="false">
-     <param name="showSuccessDialog" value="false">
-     <param name="realTimeResponse" value="false">
-     <param name="maxFilesPerRequest" value="{$maxFilesPerRequest}"> 
-     <param name="maxTotalRequestSize" value="{$maxTotalRequestSize}">
-     Your browser does not support applets. Or you have disabled applet in your options.
-     To use this applet, please install the newest version of Sun's java. You can get it from <a href="http://www.java.com/">java.com</a>
-    </applet> 
-    </div> 
+   <!-- IF YOU HAVE PROBLEMS, CHANGE THIS TO TRUE BEFORE CONTACTING SUPPORT -->
+   <param name="debug" value="false">
+   <param name="showServerResponse" value="false">
+   <param name="showSuccessDialog" value="false">
+   <param name="realTimeResponse" value="false">
+   <param name="maxFilesPerRequest" value="{$maxFilesPerRequest}"> 
+   <param name="maxTotalRequestSize" value="{$maxTotalRequestSize}">
+   Your browser does not support applets. Or you have disabled applet in your options.
+   To use this applet, please install the newest version of Sun's java. You can get it from <a href="http://www.java.com/">java.com</a>
+  
+  </applet>
+  <div align="right"><strong><a href="http://jupload.biz/" title="The best multiple file upload tool in the world!">Power by JUpload</a></strong></div>
+ </div>
 
 {include file="$admintemplatepath/footernavigation.template"}
 {include file="$admintemplatepath/footer.template"}




More information about the pLog-svn mailing list