diff --git a/plugins/ktcore/KTColumns.inc.php b/plugins/ktcore/KTColumns.inc.php
index d1e2d3c..87c258c 100644
--- a/plugins/ktcore/KTColumns.inc.php
+++ b/plugins/ktcore/KTColumns.inc.php
@@ -6,31 +6,31 @@
* Document Management Made Simple
* Copyright (C) 2008 KnowledgeTree Inc.
* Portions copyright The Jam Warehouse Software (Pty) Limited
- *
+ *
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 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, see
', $contenttype, $link);
+ if($aDataRow['document']->isSymbolicLink()){
+ return sprintf('%s', $contenttype, $link);
}else{
$size = $this->prettySize($aDataRow["document"]->getSize());
return sprintf('%s (%s)', $contenttype, $link, $size);
@@ -416,7 +416,7 @@ class AdvancedSingleSelectionColumn extends AdvancedSelectionColumn {
return ' ';
}
- $return = 'show_folders && $this->show_documents){
$return .= 'onClick="forceSingleSelect(this)" ';
}
diff --git a/resources/css/kt-contenttypes.css b/resources/css/kt-contenttypes.css
index b08e3d6..fb51789 100644
--- a/resources/css/kt-contenttypes.css
+++ b/resources/css/kt-contenttypes.css
@@ -1,7 +1,7 @@
-/*
+/*
Getting Mime-type CSS right is a bit tricky here.
the idea is that you apply these to a span, as follows:
-
+
My Filename
*/
.contenttype {
@@ -17,15 +17,25 @@
}
.contenttype.office { background-image: url(../../resources/mimetypes/office.png); }
+.contenttype.office.shortcut { background-image: url(../../resources/mimetypes/shortcuts/office.png); }
.contenttype.word { background-image: url(../../resources/mimetypes/word.png); }
+.contenttype.word.shortcut { background-image: url(../../resources/mimetypes/shortcuts/word.png); }
.contenttype.database { background-image: url(../../resources/mimetypes/database.png); }
+.contenttype.database.shortcut { background-image: url(../../resources/mimetypes/shortcuts/database.png); }
.contenttype.excel { background-image: url(../../resources/mimetypes/excel.png); }
+.contenttype.excel.shortcut { background-image: url(../../resources/mimetypes/shortcuts/excel.png); }
.contenttype.openoffice { background-image: url(../../resources/mimetypes/openoffice.png); }
+.contenttype.openoffice.shortcut { background-image: url(../../resources/mimetypes/shortcuts/openoffice.png); }
.contenttype.opendocument { background-image: url(../../resources/mimetypes/openoffice.png); }
+.contenttype.opendocument.shortcut { background-image: url(../../resources/mimetypes/shortcuts/openoffice.png); }
.contenttype.pdf { background-image: url(../../resources/mimetypes/pdf.png); }
+.contenttype.pdf.shortcut { background-image: url(../../resources/mimetypes/shortcuts/pdf.png); }
.contenttype.image { background-image: url(../../resources/mimetypes/image.png); }
+.contenttype.image.shortcut { background-image: url(../../resources/mimetypes/shortcuts/image.png); }
.contenttype.compressed { background-image: url(../../resources/mimetypes/zip.png); }
+.contenttype.compressed.shortcut { background-image: url(../../resources/mimetypes/shortcuts/zip.png); }
.contenttype.html { background-image: url(../../resources/mimetypes/html.png); }
+.contenttype.html.shortcut { background-image: url(../../resources/mimetypes/shortcuts/html.png); }
.contenttype.txt,
.contenttype.text,
diff --git a/resources/css/kt-framing.css b/resources/css/kt-framing.css
index a35598a..8a85a3c 100644
--- a/resources/css/kt-framing.css
+++ b/resources/css/kt-framing.css
@@ -2019,6 +2019,21 @@ hr {
display: block;
}
+.collapse
+{
+ padding-left: 20px;
+ border: 0px;
+ background: url(../graphics/plus.gif) no-repeat;
+}
+
+
+.expand
+{
+ padding-left: 20px;
+ border: 0px;
+ background: url(../graphics/minus.gif) no-repeat;
+}
+
/* -------------------------- iframe browse ------------------------ */
diff --git a/resources/mimetypes/shortcuts/access.png b/resources/mimetypes/shortcuts/access.png
new file mode 100755
index 0000000..3454205
--- /dev/null
+++ b/resources/mimetypes/shortcuts/access.png
diff --git a/resources/mimetypes/shortcuts/code.png b/resources/mimetypes/shortcuts/code.png
new file mode 100755
index 0000000..807e92f
--- /dev/null
+++ b/resources/mimetypes/shortcuts/code.png
diff --git a/resources/mimetypes/shortcuts/database.png b/resources/mimetypes/shortcuts/database.png
new file mode 100755
index 0000000..34adc9b
--- /dev/null
+++ b/resources/mimetypes/shortcuts/database.png
diff --git a/resources/mimetypes/shortcuts/excel.png b/resources/mimetypes/shortcuts/excel.png
new file mode 100755
index 0000000..c0c5cb3
--- /dev/null
+++ b/resources/mimetypes/shortcuts/excel.png
diff --git a/resources/mimetypes/shortcuts/flash.png b/resources/mimetypes/shortcuts/flash.png
new file mode 100755
index 0000000..6e5d7c8
--- /dev/null
+++ b/resources/mimetypes/shortcuts/flash.png
diff --git a/resources/mimetypes/shortcuts/html.png b/resources/mimetypes/shortcuts/html.png
new file mode 100755
index 0000000..684508f
--- /dev/null
+++ b/resources/mimetypes/shortcuts/html.png
diff --git a/resources/mimetypes/shortcuts/image.png b/resources/mimetypes/shortcuts/image.png
new file mode 100755
index 0000000..b7ee30c
--- /dev/null
+++ b/resources/mimetypes/shortcuts/image.png
diff --git a/resources/mimetypes/shortcuts/office.png b/resources/mimetypes/shortcuts/office.png
new file mode 100755
index 0000000..5c6e79a
--- /dev/null
+++ b/resources/mimetypes/shortcuts/office.png
diff --git a/resources/mimetypes/shortcuts/openoffice.png b/resources/mimetypes/shortcuts/openoffice.png
new file mode 100755
index 0000000..c711ace
--- /dev/null
+++ b/resources/mimetypes/shortcuts/openoffice.png
diff --git a/resources/mimetypes/shortcuts/pdf.png b/resources/mimetypes/shortcuts/pdf.png
new file mode 100755
index 0000000..8ddadb2
--- /dev/null
+++ b/resources/mimetypes/shortcuts/pdf.png
diff --git a/resources/mimetypes/shortcuts/php.png b/resources/mimetypes/shortcuts/php.png
new file mode 100755
index 0000000..bfe3cf1
--- /dev/null
+++ b/resources/mimetypes/shortcuts/php.png
diff --git a/resources/mimetypes/shortcuts/run.png b/resources/mimetypes/shortcuts/run.png
new file mode 100755
index 0000000..eac1730
--- /dev/null
+++ b/resources/mimetypes/shortcuts/run.png
diff --git a/resources/mimetypes/shortcuts/vector-image.png b/resources/mimetypes/shortcuts/vector-image.png
new file mode 100755
index 0000000..f7f5987
--- /dev/null
+++ b/resources/mimetypes/shortcuts/vector-image.png
diff --git a/resources/mimetypes/shortcuts/word.png b/resources/mimetypes/shortcuts/word.png
new file mode 100755
index 0000000..0e89c8c
--- /dev/null
+++ b/resources/mimetypes/shortcuts/word.png
diff --git a/resources/mimetypes/shortcuts/zip.png b/resources/mimetypes/shortcuts/zip.png
new file mode 100755
index 0000000..1b17c28
--- /dev/null
+++ b/resources/mimetypes/shortcuts/zip.png
diff --git a/rss.php b/rss.php
index 693f72e..a9a5ca8 100644
--- a/rss.php
+++ b/rss.php
@@ -6,48 +6,39 @@
* Document Management Made Simple
* Copyright (C) 2008 KnowledgeTree Inc.
* Portions copyright The Jam Warehouse Software (Pty) Limited
- *
+ *
* This program is free software; you can redistribute it and/or modify it under
* the terms of the GNU General Public License version 3 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, see