diff options
Diffstat (limited to 'edit_book.php')
| -rwxr-xr-x | edit_book.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/edit_book.php b/edit_book.php index 945e9cf..8971c58 100755 --- a/edit_book.php +++ b/edit_book.php @@ -71,7 +71,7 @@ if( $gContent->isValid() ){ if( isset($_REQUEST["createstructure"]) ) { if ((empty($_REQUEST['name']))) { - $gBitSmarty->assign('msg', KernelTools::tra"You must specify a name.")); + $gBitSmarty->assign('msg', KernelTools::tra( "You must specify a name.")); $gBitSystem->display( 'error.tpl' , null, array( 'display_mode' => 'edit' )); die; } @@ -95,7 +95,7 @@ if( isset($_REQUEST["createstructure"]) ) { $structure_id = $gStructure->storeNode( $structureHash ); //Cannot create a structure if a structure already exists if (!isset($structure_id)) { - $gBitSmarty->assign('msg', $_REQUEST['name'] . " " . KernelTools::tra"page not added (Exists)")); + $gBitSmarty->assign('msg', $_REQUEST['name'] . " " . KernelTools::tra( "page not added (Exists)")); $gBitSystem->display( 'error.tpl' , null, array( 'display_mode' => 'edit' )); die; } |
