Extend Traq with plugins and addons.
-
lommes
- Newbie
- Posts: 3
- Joined: Sat Apr 27, 2013 8:31 am
Post
by lommes » Sat Apr 27, 2013 8:37 am
[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

Last edited by
lommes on Sat Apr 27, 2013 9:23 am, edited 1 time in total.
-
Jack
- Advanced Member
- Posts: 668
- Joined: Fri Mar 27, 2009 7:37 pm
- Location: Australia
Post
by Jack » Sat Apr 27, 2013 8:44 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:
Code: Select all
<?php
// static_files/locale/enus.php
return array(
'static_files' => "Static Files",
'new_file' => "New File",
// ... and so on
);
Last edited by
Jack on Sat Apr 27, 2013 5:04 pm, edited 1 time in total.
-
lommes
- Newbie
- Posts: 3
- Joined: Sat Apr 27, 2013 8:31 am
Post
by lommes » Sun Apr 28, 2013 9:17 pm
[quote='Jack' pid='1253' dateline='1367016269']
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:
Code: Select all
<?php
// static_files/locale/enus.php
return array(
'static_files' => "Static Files",
'new_file' => "New File",
// ... and so on
);
[/quote]
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.
Who is online
Users browsing this forum: No registered users and 1 guest