diff -ur trunk.v3/typo3/sysext/wizard_crpages/class.tx_wizardcrpages_webfunc_2.php trunk.v4/typo3/sysext/wizard_crpages/class.tx_wizardcrpages_webfunc_2.php
--- trunk.v3/typo3/sysext/wizard_crpages/class.tx_wizardcrpages_webfunc_2.php 2010-08-24 13:48:35.000000000 +0200
+++ trunk.v4/typo3/sysext/wizard_crpages/class.tx_wizardcrpages_webfunc_2.php 2010-08-24 13:48:33.000000000 +0200
@@ -201,14 +201,14 @@
$theCode .= '
' . $LANG->getLL('wiz_newPages') . ':
' .
'' . implode('', $lines) . '
' .
'
' .
- '' .
+ '' .
'
';
- // Add ExtJS inlne code
+ // Add ExtJS inline code
$extCode = '
var tpl = "' . addslashes(str_replace(
array(LF, TAB),
@@ -261,7 +261,13 @@
return '
pObj->doc->helpStyle().' alt="" />';
}
- public function getFormLine($index) {
+ /**
+ * Return one line in the form
+ *
+ * @param mixed $index An integer: the line counter for which to create the line. Use "#" to create an template for javascript (used by ExtJS)
+ * @return string HTML code for one input line for one new page
+ */
+ protected function getFormLine($index) {
$backPath = $GLOBALS['BACK_PATH'];
if (is_numeric(($index))) {
@@ -280,6 +286,13 @@
// title
$content .= 'pObj->doc->formWidth(35) . ' /> ';
+ // lorem ipsum link, if available
+ $content .= (is_object($this->loremIpsumObject) ?
+ '' . $this->loremIpsumObject->getIcon('', $this->pObj->doc->backPath) . ''
+ : '');
+
+ // type selector
$content .= '' . $GLOBALS['LANG']->sL('LLL:EXT:lang/locallang_general.php:LGL.type') . '';
$content .= '';
- $content .= (is_object($this->loremIpsumObject) ?
- '' . $this->loremIpsumObject->getIcon('', $this->pObj->doc->backPath) . ''
- : '');
-
return '' . $content . '
';
}
}
diff -ur trunk.v3/typo3/sysext/wizard_crpages/locallang.xml trunk.v4/typo3/sysext/wizard_crpages/locallang.xml
--- trunk.v3/typo3/sysext/wizard_crpages/locallang.xml 2010-08-24 13:48:35.000000000 +0200
+++ trunk.v4/typo3/sysext/wizard_crpages/locallang.xml 2010-08-24 13:48:33.000000000 +0200
@@ -19,7 +19,7 @@
-
+