diff options
author | plegall <plg@piwigo.org> | 2010-03-18 22:12:30 +0000 |
---|---|---|
committer | plegall <plg@piwigo.org> | 2010-03-18 22:12:30 +0000 |
commit | 27de15e07661fdff7a19d3ead990c37efb532c7a (patch) | |
tree | b7e684dfd61dbb64b64173658da867b6b7d16b7f /admin/photos_add_ftp.php | |
parent | d158f116d22a4a5dda945b09a58f2e48c0f3b1ea (diff) |
feature 1519: admin instructions are dispatched into several tabs. Only
applied to en_UK and fr_FR. The help content itself needs some updates
but it will be another set of commits, in this commit, I nearly only
modified the container.
The new "Add Photos" help page only introduces you to 3 main ways to add
photos: direct upload, pLoader and FTP. Each of them has a dedicated tab
on the Admin>Photos>Add screen.
No use of the big question mark icon linked to the Help pages in the
administration header, to avoid having this icon twice : in the header
+ in the content next to H2.
git-svn-id: http://piwigo.org/svn/trunk@5182 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r-- | admin/photos_add_ftp.php | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/admin/photos_add_ftp.php b/admin/photos_add_ftp.php new file mode 100644 index 000000000..53463d1f7 --- /dev/null +++ b/admin/photos_add_ftp.php @@ -0,0 +1,45 @@ +<?php +// +-----------------------------------------------------------------------+ +// | Piwigo - a PHP based picture gallery | +// +-----------------------------------------------------------------------+ +// | Copyright(C) 2010 Pierrick LE GALL http://piwigo.org | +// +-----------------------------------------------------------------------+ +// | This program is free software; you can redistribute it and/or modify | +// | it under the terms of the GNU General Public License as published by | +// | the Free Software Foundation | +// | | +// | This program is distributed in the hope that it will be useful, but | +// | WITHOUT ANY WARRANTY; without even the implied warranty of | +// | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU | +// | General Public License for more details. | +// | | +// | You should have received a copy of the GNU General Public License | +// | along with this program; if not, write to the Free Software | +// | Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, | +// | USA. | +// +-----------------------------------------------------------------------+ + +if (!defined('PHOTOS_ADD_BASE_URL')) +{ + die ("Hacking attempt!"); +} + +// +-----------------------------------------------------------------------+ +// | template init | +// +-----------------------------------------------------------------------+ + +$template->assign( + 'FTP_HELP_CONTENT', + load_language( + 'help/photos_add_ftp.html', + '', + array('return'=>true) + ) + ); + +// +-----------------------------------------------------------------------+ +// | sending html code | +// +-----------------------------------------------------------------------+ + +$template->assign_var_from_handle('ADMIN_CONTENT', 'plugin_admin_content'); +?>
\ No newline at end of file |