well, i said i would do this on weekend but my mausi got in party fever so i wasn't at home over the weekend. now it's monday (my head aches) and i'm at school listening a quite boring thema (ms server2003 verwaltung), so i'm coding my first tests for phpwcms backend online-help:
in include > inc_tmpl > admin.pagelayout.tmpl.php
on line 255
change:
Code: Select all
<?php echo $BL['be_admin_page_margin'] ?>
Code: Select all
<?php echo("<a href=\"javascript:void(0);\" onclick=\"window.open('help.html#".$BL['be_admin_page_margin']."','helpwin','height=50, width=50, scrollbars=yes, status=no, location=no, toolbar=no, directories=no, resizable=yes');\">".$BL['be_admin_page_margin']."</a>") ?>
Code: Select all
<html>
<head>
<title>phpwcms online help</title>
<script type="text/javascript">
mywidth = 350;
myheight = 150;
posx = screen.width / 2 - mywidth / 2;
posy = screen.height / 2 - myheight / 2;
window.resizeTo(mywidth,myheight);
self.moveTo(posx,posy);
</script>
</head>
<body>
<br><br><br><br><br><br><br><br><br><br><br><br><br><br>
<a name="margin"><b>margin</b></a><br>
Sets the space between our homepage and the corners of our browser.
</body>
</html>
after that, i click on "margin" in backend>pagelayout, a 350x150 sized window is opened in the middle of the screen and jumps to the anchor named "margin"
now is the question, will the help.html grow too big when we add all the languages ?
but maybe for the sake of good management, it would be good to have the languages seperated... therefore-> how/where do i read (in php) which language is used in backend ? (i assume it's a variable...)
cheers
-andre
ps. oliver: would you be interested on adding this(when it's ready) to the official version, so i wouldn't need to generate an update script