[pLog-svn] r3561 - in plugins/trunk/jupload: class/action
templates
Oscar Renalias
oscar at renalias.net
Thu Jun 8 21:18:55 GMT 2006
Mark,
could you take a look at this plugin?
I keep getting "java.security.AccessControlException: access denied
(java.io.FilePermission / read)" when initializing the applet...
On 8 Jun 2006, at 23:35, oscar at devel.lifetype.net wrote:
> Author: oscar
> Date: 2006-06-08 20:35:27 +0000 (Thu, 08 Jun 2006)
> New Revision: 3561
>
> Modified:
> plugins/trunk/jupload/class/action/
> pluginjuploadnewresourceaction.class.php
> plugins/trunk/jupload/templates/juploadnewresource.template
> Log:
> fixed a few issues with the jupload plugin
>
>
> Modified: plugins/trunk/jupload/class/action/
> pluginjuploadnewresourceaction.class.php
> ===================================================================
> --- plugins/trunk/jupload/class/action/
> pluginjuploadnewresourceaction.class.php 2006-06-08 19:08:56 UTC
> (rev 3560)
> +++ plugins/trunk/jupload/class/action/
> pluginjuploadnewresourceaction.class.php 2006-06-08 20:35:27 UTC
> (rev 3561)
> @@ -42,7 +42,9 @@
> {
> // check that we have at least one album where to put
> our pictures
> $albums = new GalleryAlbums();
> - if( $albums->getNumUserAlbums( $this->_blogInfo->getId
> ()) == 0 ) {
> + //if( $albums->getNumUserAlbums( $this->_blogInfo-
> >getId()) == 0 ) {
> + $blogAlbums = $albums->getUserAlbums( $this->_blogInfo->getId());
> + if( count( $blogAlbums ) == 0 ) {
> $this->_view = new AdminNewAlbumView( $this-
> >_blogInfo );
> $this->_view->setErrorMessage( $this->_locale->tr
> ("error_must_create_album_first"));
> $this->setCommonData();
>
> Modified: plugins/trunk/jupload/templates/juploadnewresource.template
> ===================================================================
> --- plugins/trunk/jupload/templates/juploadnewresource.template
> 2006-06-08 19:08:56 UTC (rev 3560)
> +++ plugins/trunk/jupload/templates/juploadnewresource.template
> 2006-06-08 20:35:27 UTC (rev 3561)
> @@ -87,7 +87,7 @@
> 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 align="right"><strong><a href="http://jupload.biz/"
> title="The best multiple file upload tool in the world!">Powered by
> JUpload</a></strong></div>
> </div>
>
> {include file="$admintemplatepath/footernavigation.template"}
>
> _______________________________________________
> pLog-svn mailing list
> pLog-svn at devel.lifetype.net
> http://devel.lifetype.net/mailman/listinfo/plog-svn
>
More information about the pLog-svn
mailing list