File: lang.php

package info (click to toggle)
bamboo 1.2-2
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 580 kB
  • ctags: 1,338
  • sloc: php: 4,061; makefile: 44; sh: 36
file content (10 lines) | stat: -rwxr-xr-x 300 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
<?php
$ea = get('eaction',get('ea','edit'));
if ($ea == 'newedit') $ea="info";
elseif ($ea == 'saveedit') $ea="edit";

$extra = "<input type=\"hidden\" name=\"a\" value=\"edit\">\n";
$extra .= "<input type=\"hidden\" name=\"ea\" value=\"$ea\">\n";

echo Lang::getform("$root$page->path", $extra);
?>