forward port of FormHelpers L10n
This commit is contained in:
parent
fe6d5342cf
commit
b66a649ba1
2 changed files with 23 additions and 3 deletions
|
|
@ -88,8 +88,8 @@ sub www_richEditPageTree {
|
|||
-extras=>'onclick="createLink()"'
|
||||
);
|
||||
$session->style->setScript($session->config->get("extrasURL")."/tinymce/jscripts/tiny_mce/tiny_mce_popup.js",{type=>"text/javascript"});
|
||||
my $output = '<fieldset><legend>Insert A Link</legend>
|
||||
<fieldset><legend>Link Settings</legend>'.$f->print.'</fieldset>
|
||||
my $output = '<fieldset><legend>'.$i18n->get('insert a link').'</legend>
|
||||
<fieldset><legend>'.$i18n->get('insert a link').'</legend>'.$f->print.'</fieldset>
|
||||
<script type="text/javascript">
|
||||
function createLink() {
|
||||
if (window.opener) {
|
||||
|
|
@ -101,7 +101,7 @@ window.opener.tinyMCE.insertLink("^" + "/" + ";" + document.getElementById("url_
|
|||
window.close();
|
||||
}
|
||||
}
|
||||
</script><fieldset><legend>Pages</legend> ';
|
||||
</script><fieldset><legend>'.$i18n->get('pages').'</legend> ';
|
||||
my $base = WebGUI::Asset->newByUrl($session) || WebGUI::Asset->getRoot($session);
|
||||
my @crumb;
|
||||
my $ancestors = $base->getLineage(["self","ancestors"],{returnObjects=>1});
|
||||
|
|
|
|||
|
|
@ -3856,6 +3856,26 @@ Message Boards hold forums for users. There are many different Wobjects in WebG
|
|||
lastUpdated => 1141434353,
|
||||
},
|
||||
|
||||
'insert a link' => {
|
||||
message => q|Insert A Link|,
|
||||
lastUpdated => 1141963447,
|
||||
},
|
||||
|
||||
'link settings' => {
|
||||
message => q|Link Settings|,
|
||||
lastUpdated => 1141963463,
|
||||
},
|
||||
|
||||
'choose an asset' => {
|
||||
message => q|Choose an Asset|,
|
||||
lastUpdated => 1141963463,
|
||||
},
|
||||
|
||||
'pages' => {
|
||||
message => q|Pages|,
|
||||
lastUpdated => 1141963573,
|
||||
},
|
||||
|
||||
};
|
||||
|
||||
1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue