[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fmsystem-commits] [6636] Property: link to dokuments at company network
From: |
Sigurd Nes |
Subject: |
[Fmsystem-commits] [6636] Property: link to dokuments at company network |
Date: |
Thu, 25 Nov 2010 09:18:18 +0000 |
Revision: 6636
http://svn.sv.gnu.org/viewvc/?view=rev&root=fmsystem&revision=6636
Author: sigurdne
Date: 2010-11-25 09:18:18 +0000 (Thu, 25 Nov 2010)
Log Message:
-----------
Property: link to dokuments at company network
Modified Paths:
--------------
trunk/phpgwapi/templates/portico/navbar.inc.php
trunk/property/inc/class.menu.inc.php
trunk/property/setup/phpgw_no.lang
trunk/property/templates/base/config.tpl
Modified: trunk/phpgwapi/templates/portico/navbar.inc.php
===================================================================
--- trunk/phpgwapi/templates/portico/navbar.inc.php 2010-11-24 22:03:45 UTC
(rev 6635)
+++ trunk/phpgwapi/templates/portico/navbar.inc.php 2010-11-25 09:18:18 UTC
(rev 6636)
@@ -209,9 +209,14 @@
HTML;
}
+ $target = '';
+ if(isset($item['target']))
+ {
+ $target = "target = '{$item['target']}'";
+ }
return <<<HTML
$out
- <a
href="{$item['url']}"{$link_class}{$icon_style} id="{$id}">
+ <a
href="{$item['url']}"{$link_class}{$icon_style} id="{$id}" {$target}>
<span>{$item['text']}</span>
</a>
{$children}
Modified: trunk/property/inc/class.menu.inc.php
===================================================================
--- trunk/property/inc/class.menu.inc.php 2010-11-24 22:03:45 UTC (rev
6635)
+++ trunk/property/inc/class.menu.inc.php 2010-11-25 09:18:18 UTC (rev
6636)
@@ -872,6 +872,19 @@
'text' => lang('gallery')
);
+ $config = CreateObject('phpgwapi.config',
'property');
+ $config->read();
+ $local_files =
isset($config->config_data['documentation_local_files']) &&
$config->config_data['documentation_local_files'] ?
$config->config_data['documentation_local_files'] : '';
+
+ if($local_files)
+ {
+
$menus['navigation']['documentation']['children']['local_files'] = array
+ (
+ 'url' =>
"file:{$local_files}",
+ 'text' => lang('local files'),
+ 'target'=> '_blank'
+ );
+ }
}
if ( $acl->check('.custom', PHPGW_ACL_READ, 'property')
)
Modified: trunk/property/setup/phpgw_no.lang
===================================================================
--- trunk/property/setup/phpgw_no.lang 2010-11-24 22:03:45 UTC (rev 6635)
+++ trunk/property/setup/phpgw_no.lang 2010-11-25 09:18:18 UTC (rev 6636)
@@ -957,6 +957,7 @@
list workorder property no List arbeidsordre
location property no Lokalisering
loc1_name property no Navn
+local files property no Lokale filer
location changed property no Lokalisering er endret
location code property no Lokaliserings kode
location_code property no Lokaliserings kode
Modified: trunk/property/templates/base/config.tpl
===================================================================
--- trunk/property/templates/base/config.tpl 2010-11-24 22:03:45 UTC (rev
6635)
+++ trunk/property/templates/base/config.tpl 2010-11-25 09:18:18 UTC (rev
6636)
@@ -155,6 +155,11 @@
<td><input name="newsettings[files_url]" value="{value_files_url}"></td>
</tr>
<tr class="row_on">
+ <td>{lang_local_files_at_documentation}:<br>
+ {lang_Example}: "///C|/temp" </td>
+ <td><input name="newsettings[documentation_local_files]"
value="{value_documentation_local_files}"></td>
+ </tr>
+ <tr class="row_on">
<td>{lang_Path_to_external_files_for_use_with_location}:<br>
{lang_On_windows_use}: "//computername/share" {lang_or}
"\\\\computername\share"</td>
<td><input name="newsettings[external_files]"
value="{value_external_files}"></td>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Fmsystem-commits] [6636] Property: link to dokuments at company network,
Sigurd Nes <=