From: Carsten K. <car...@us...> - 2001-12-21 03:15:31
|
Update of /cvsroot/phpwiki/phpwiki/templates In directory usw-pr-cvs1:/tmp/cvs-serv22371/phpwiki/templates Modified Files: browse.html Log Message: o The logo alt text now shows the Wiki's name and the localised name of the start page. o Removed the logo dimensions from the html code. Most browsers (probably all) do not wrap alt text inside image placeholders when images are turned off. o The page title now shows the Wiki's name, useful when making browser bookmarks of pages from multiple wikis. To accomodate this change and to encourage users to name their Wikis, the Wiki name is now enabled by default in index.php. o The link destination for the heading now points to the BackLinks for the page instead of just browsing to the page. This change maintains user-interface consistency, i.e. the title now always navigates to the BackLinks page (except for pages based on the message template). To refer to the original page during editing, click the back button in the browser or open a seperate window. o The page header now uses printf() to permit a correct language localization of the title. A hack was used in order to accomplish this, by replacing the BackLinks plugin line with a manually built url which links to the BackLinks for the current page. Index: browse.html =================================================================== RCS file: /cvsroot/phpwiki/phpwiki/templates/browse.html,v retrieving revision 1.30 retrieving revision 1.31 diff -C2 -r1.30 -r1.31 *** browse.html 2001/12/19 15:54:29 1.30 --- browse.html 2001/12/21 03:15:27 1.31 *************** *** 15,19 **** <!-- <meta name="robots" content="index,follow" /> --> <base href="${BASE_URL}" /> ! <title>${SPLIT_PAGE}</title> <!-- --> --- 15,20 ---- <!-- <meta name="robots" content="index,follow" /> --> <base href="${BASE_URL}" /> ! <title>${WIKI_NAME}: ${SPLIT_PAGE}</title> ! <!-- --> *************** *** 24,33 **** href="${BROWSE}$_("HomePage")" ><img src="${LOGO}" ! border="0" alt="${WIKI_NAME}" ! align="right" width="50" height="50" /></a></div> ! <h1> ! <?plugin-link BackLinks page="[pagename]" class="backlinks" ! linktext="${SPLIT_PAGE}" ?> ! </h1> <div class="br"><br clear="all" class="ignore" /></div> <?php if (! $IS_CURRENT) { ?> --- 25,31 ---- href="${BROWSE}$_("HomePage")" ><img src="${LOGO}" ! border="0" alt="${WIKI_NAME}: $_("HomePage")" ! align="right" /></a></div> ! <h1><?plugin-link BackLinks page="[pagename]" class="backlinks" linktext="${SPLIT_PAGE}" ?></h1> <div class="br"><br clear="all" class="ignore" /></div> <?php if (! $IS_CURRENT) { ?> |