[TYPO3-hci] Shortcuts ID for both FE and BE pages!
Tapio Markula
tapio.markula at atwebteam.com
Thu Sep 14 10:50:12 CEST 2006
Hi
If we use top bar shortcuts could have link both FE and BE
$this->content.='
<!--
Shortcut Display Table:
-->
'.$form.'<table style="margin: -10px 0 0 0 !important; height:auto
!important" border="0" cellpadding="0" cellspacing="2" id="typo3-shortcuts">
<tr>
'.implode('
',$this->lines).$editIdCode.'
</tr>
<tr>
</table>';
$this->content.='
</form>
<form style="margin:0;" action="" name="urlform" id="urlform"
onsubmit="if (top.content)
top.content.location.href=document.urlform.navurl.value;return false;">
URL: <input type="text" name="navurl" size="50"
value="t3test.xetpoint.com/index.php?id="> <input type="submit"
name="submit" value="Go">
</form>
<script>if (top.content)
document.urlform.navurl.value=top.content.location.href</script>
';
Of course CSS, default address and label should be defined dynamic
(no direct style attributes and proper variables).
More information about the TYPO3-team-hci
mailing list