|
@@ 534-538 (lines=5) @@
|
| 531 |
|
} |
| 532 |
|
|
| 533 |
|
// META Data |
| 534 |
|
if ($manual_meta) { |
| 535 |
|
$sform->addElement(new XoopsFormText(_AM_BOOKSHOP_META_KEYWORDS, 'cat_metakeywords', 50, 255, $item->getVar('cat_metakeywords', 'e')), false); |
| 536 |
|
$sform->addElement(new XoopsFormText(_AM_BOOKSHOP_META_DESCRIPTION, 'cat_metadescription', 50, 255, $item->getVar('cat_metadescription', 'e')), false); |
| 537 |
|
$sform->addElement(new XoopsFormText(_AM_BOOKSHOP_META_PAGETITLE, 'cat_metatitle', 50, 255, $item->getVar('cat_metatitle', 'e')), false); |
| 538 |
|
} |
| 539 |
|
|
| 540 |
|
$button_tray = new XoopsFormElementTray('', ''); |
| 541 |
|
$button_tray->addElement(new XoopsFormButton('', 'post', $label_submit, 'submit')); |
|
@@ 1375-1379 (lines=5) @@
|
| 1372 |
|
} |
| 1373 |
|
|
| 1374 |
|
// META Data |
| 1375 |
|
if ($manual_meta) { |
| 1376 |
|
$sform->addElement(new XoopsFormText(_AM_BOOKSHOP_META_KEYWORDS, 'book_metakeywords', 50, 255, $item->getVar('book_metakeywords', 'e')), false); |
| 1377 |
|
$sform->addElement(new XoopsFormText(_AM_BOOKSHOP_META_DESCRIPTION, 'book_metadescription', 50, 255, $item->getVar('book_metadescription', 'e')), false); |
| 1378 |
|
$sform->addElement(new XoopsFormText(_AM_BOOKSHOP_META_PAGETITLE, 'book_metatitle', 50, 255, $item->getVar('book_metatitle', 'e')), false); |
| 1379 |
|
} |
| 1380 |
|
|
| 1381 |
|
if ($op === 'editbook' && trim($item->getVar('book_attachment')) != '' && file_exists(XOOPS_UPLOAD_PATH . '/' . trim($item->getVar('book_attachment')))) { |
| 1382 |
|
$attachedTray = new XoopsFormElementTray(_BOOKSHOP_ATTACHED_FILE, '<br>'); |