Jump to content


Click here to lend your support to: Traq and make a donation at pledgie.com !
Photo

[3.1] Static files for admin users


  • Please log in to reply
2 replies to this topic

#1 lommes

lommes

    Newbie

  • Contributor
  • Pip
  • 3 posts

Posted 26 April 2013 - 10:37 PM

[3.1] Static files for admin users

a simple plugin (it's a copy of custom_tabs so there are still some uneeded files) which enables admins to upload/delete static files. These static files can be uses as e.g. images in wiki (simple copy&paste of the files URL)

Download
Version 0.1 for Traq 3.1

Screenshot
Posted Image

#2 Jack

Jack

    Project Founder

  • Administrators
  • 673 posts
  • LocationAustralia

Posted 26 April 2013 - 10:44 PM

Please reformat your post according to the plugin posting guidelines or this post will be deleted.
---

Looking good. Just a tip, you could add the 'button_new' class to the 'New file' link so it has the green + icon next to it.

Also, if you wanted to make use of the localisation in Traq, you could add the translation strings to a plugin localisation file, like so:

// static_files/locale/enus.php
return array(
'static_files' => "Static Files",
'new_file' => "New File",
// ... and so on
);


#3 lommes

lommes

    Newbie

  • Contributor
  • Pip
  • 3 posts

Posted 28 April 2013 - 11:17 AM

Please reformat your post according to the plugin posting guidelines or this post will be deleted.
---

Looking good. Just a tip, you could add the 'button_new' class to the 'New file' link so it has the green + icon next to it.

Also, if you wanted to make use of the localisation in Traq, you could add the translation strings to a plugin localisation file, like so:


// static_files/locale/enus.php
return array(
'static_files' => "Static Files",
'new_file' => "New File",
// ... and so on
);



Thanks for the hints! I'll work on that. As said above there are still some files from the custom_tabs plugin which will also be removed.


0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users