aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-20 15:48:50 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-06-20 15:48:50 +0000
commit103ef32d17b17a27694873eb5ccc31e33927ed42 (patch)
treeaffdb87dfd011c95ca3b576f89f79210807ffd5f
parent0209bec852a1a8ce28b9441d99cfba6cfb08e1c0 (diff)
downloadelgg-103ef32d17b17a27694873eb5ccc31e33927ed42.tar.gz
elgg-103ef32d17b17a27694873eb5ccc31e33927ed42.tar.bz2
Closes #67 : Added new displayed field "licence"
git-svn-id: https://code.elgg.org/elgg/trunk@1029 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--languages/en.php1
-rw-r--r--mod/river/manifest.xml1
-rw-r--r--views/default/admin/plugins_opt/plugin.php1
3 files changed, 3 insertions, 0 deletions
diff --git a/languages/en.php b/languages/en.php
index 568132f16..501eac321 100644
--- a/languages/en.php
+++ b/languages/en.php
@@ -249,6 +249,7 @@
'admin:plugins:opt:description' => "Configure the tools installed on the site. ",
'admin:plugins:label:author' => "Author",
'admin:plugins:label:copyright' => "Copyright",
+ 'admin:plugins:label:licence' => "Licence",
'admin:plugins:label:website' => "URL",
'admin:plugins:disable:yes' => "Plugin %s was disabled successfully.",
'admin:plugins:disable:no' => "Plugin %s could not be disabled.",
diff --git a/mod/river/manifest.xml b/mod/river/manifest.xml
index 6fa9090f4..50be4e7f0 100644
--- a/mod/river/manifest.xml
+++ b/mod/river/manifest.xml
@@ -5,4 +5,5 @@
<field key="description" value="Provide a list of your or your friends recent activity!" />
<field key="website" value="http://www.elgg.org/" />
<field key="copyright" value="(C) Curverider 2008" />
+ <field key="licence" value="GNU Public License version 2" />
</plugin_manifest> \ No newline at end of file
diff --git a/views/default/admin/plugins_opt/plugin.php b/views/default/admin/plugins_opt/plugin.php
index 58bde4d67..ef8dd36f0 100644
--- a/views/default/admin/plugins_opt/plugin.php
+++ b/views/default/admin/plugins_opt/plugin.php
@@ -27,6 +27,7 @@
<div><?php echo $manifest['description'] ?></div>
<div><?php echo elgg_echo('admin:plugins:label:author') . ": ". $manifest['author'] ?></div>
<div><?php echo elgg_echo('admin:plugins:label:copyright') . ": ". $manifest['copyright'] ?></div>
+ <div><?php echo elgg_echo('admin:plugins:label:licence') . ": ". $manifest['licence'] ?></div>
<div><?php echo elgg_echo('admin:plugins:label:website') . ": "; ?><a href="<?php echo $manifest['website']; ?>"><?php echo $manifest['website']; ?></a></div>
<?php } ?>