2 //INCLUDES, DO ANY ACTIONS, THEN GET OUR DATA
3 include_once("../globals.php");
4 include_once("$srcdir/registry.inc");
5 include_once("$srcdir/sql.inc");
6 include_once("../../library/acl.inc");
7 require_once("language.inc.php");
9 //START OUT OUR PAGE....
13 <?php
html_header_show();?
>
14 <link rel
="stylesheet" href
="<?php echo $css_header;?>" type
="text/css">
15 <script type
="text/javascript" src
="../../library/overlib_mini.js"></script
>
16 <script type
="text/javascript" src
="../../library/calendar.js"></script
>
18 <script language
='JavaScript'>
19 function editLang(lang_id
) {
20 var filter
= document
.forms
[0].form_filter
.value
;
21 window
.location
= '?m=definition&edit=' + lang_id +
'&filter=' +
escape(filter
);
27 <body
class="body_top">
28 <form name
='filterform' id
='filterform' method
='get' action
='language.php'>
29 <input type
='hidden' name
='m' value
='<?php echo $_GET['m
']; ?>' />
30 <input type
='hidden' name
='edit' value
='<?php echo $_GET['edit
']; ?>' />
31 <span
class="title"><?php
xl('Multi Language Tool','e') ?
></span
>
32 <span
class='text'> 
; 
; 
;<?php
xl('Filter for Constants','e','',':'); ?
>
33 <input type
='text' name
='form_filter' size
='8' value
='' />
34 <?php
xl('(% matches any string, _ matches any character)','e'); ?
>
43 $sql="SELECT * FROM lang_languages ORDER BY lang_id";
44 $res=SqlStatement($sql);
46 while ($row=SqlFetchArray($res)){
47 $string .= "| <a href='' onclick='return editLang(" . $row['lang_id'] . ")'>" . xl($row['lang_description']) . "</a> |";
51 echo ("<a href=\"?m=language&language=add\">".xl('Add Language')."</a> or ");
52 echo ("<a href=\"?m=constant&constant=add\">".xl('Add Constant')."</a> or ");
53 echo (xl('Edit definitions').": $string <br><br>");
57 include_once('lang_definition.php');
60 include_once('lang_constant.php');
63 include_once('lang_language.php');
68 <BR
><A HREF
="lang.info.html" TARGET
="_blank"><?php
xl('Info','e'); ?
></A
>