projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
submit_js_confirm() fixed to be used on button loadable via ajax.
[fa-stable.git]
/
applications
/
application.php
diff --git
a/applications/application.php
b/applications/application.php
index 291a78a256ec9a418d252eb085f9e330df791c06..ec0de00da541ba80241b26d1ab6a892e4f5031bb 100644
(file)
--- a/
applications/application.php
+++ b/
applications/application.php
@@
-131,11
+131,20
@@
{
if (@$mod['active'] && isset($mod['entries']))
foreach($mod['entries'] as $entry) {
{
if (@$mod['active'] && isset($mod['entries']))
foreach($mod['entries'] as $entry) {
- if ($entry['tab_id'] == $this->id)
+ if ($entry['tab_id'] == $this->id) {
+ set_ext_domain($mod['path']);
+// $_SESSION['get_text']->add_domain($_SESSION['language']->code,
+// $mod['path']."/lang");
+
$this->add_rapp_function(
isset($entry['section']) ? $entry['section'] : 2,
$this->add_rapp_function(
isset($entry['section']) ? $entry['section'] : 2,
-
$entry['title']
, $path_to_root.'/'.$mod['path'].'/'.$entry['url'],
+
_($entry['title'])
, $path_to_root.'/'.$mod['path'].'/'.$entry['url'],
isset($entry["access"]) ? $entry["access"] : 'SA_OPEN' );
isset($entry["access"]) ? $entry["access"] : 'SA_OPEN' );
+
+ set_ext_domain();
+// $_SESSION['get_text']->add_domain($_SESSION['language']->code,
+// $path_to_root."/lang", $_SESSION['language']->version);
+ }
}
}
}
}
}
}