r3 - 21 May 2012 - 12:59:03 - PeterSykoraYou are here: CWiki >  Canyons Web > RenderAustrianmapLinks

Function: RenderAustrianmapLinks

Parameters

Implementation

%STARTINCLUDE%
%~~ DBQUERY{topic="%name%"
*~~ format="%DBCALL{"%TOPIC%" section="format"}%"}%
%STOPINCLUDE%

Format

%STARTSECTION{"format"}%
~~~    <li>Anzeige in der [[http://www.austrianmap.at/][Austrian Map des BEV]]
~~~    <ul>
$percntCALC{$IF($EXACT($formfield(Einstiegskoordinate_x),),<li>Es wurden noch keine Einstiegskoordinaten eingegeben</li>,<li><a href='
*~~ http://canyon.carto.net/cwiki/bin/custom/create_austrianmap_links.pl?x=$expand(Einstiegskoordinate_x)&
*~~ y=$expand(Einstiegskoordinate_y)&icon=9' target='_new'>Einstieg</a></li>)}$percnt
$percntCALC{$IF($EXACT($formfield(Ausstiegskoordinate_x),),<li>Es wurden noch keine Ausstiegskoordinaten eingegeben</li>,<li><a href='
*~~ http://canyon.carto.net/cwiki/bin/custom/create_austrianmap_links.pl?x=$expand(Ausstiegskoordinate_x)&
*~~ y=$expand(Ausstiegskoordinate_y)&icon=19' target='_new'>Ausstieg</a></li>)}$percnt
~~~ <small>Hinweis: Die Punkte in der Austrian Map sind leider in manchen Browsern (z.B.: Firefox) etwas verschoben! Habe das Problem bereits an das BEV gemeldet.</small>
~~~    </ul>

%ENDSECTION{"format"}%

Test

  • Anzeige in der Austrian Map des BEV
    • Einstieg
    • Ausstieg
    • Hinweis: Die Punkte in der Austrian Map sind leider in manchen Browsern (z.B.: Firefox) etwas verschoben! Habe das Problem bereits an das BEV gemeldet.

  • -- PeterSykora - 02 Aug 2008

    Edit | WYSIWYG | Attach | Printable | Raw View | Backlinks: Web, All Webs | History: r3 < r2 < r1 | More topic actions
     
    CWiki