Changeset 2518 for branches

Show
Ignore:
Timestamp:
26/08/08 14:25:20 (4 months ago)
Author:
francesco
Message:

"Added info on graphic template call"

Location:
branches/php4
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • branches/php4/admin/layout/graphic.php

    r2111 r2518  
    8888else 
    8989{ 
     90        echo $hh->input_text("ID","ID",$id,5,0,0); 
    9091        echo $hh->show_graphic($id.".".$row['format'],$row['width'],$row['height'],$row['format']); 
    9192        echo $hh->input_upload("substitute_with","img",50,$input_right); 
     
    114115        $paths = $conf->Get("paths"); 
    115116        echo "<p>URL: " . $ini->Get("pub_web") . "/" . $paths['graphic'] . "$id.{$row['format']}</p>"; 
     117         
     118        echo $hh->input_code("graphic_xsl","graphic_xsl","<xsl:call-template name=\"graphic\"><xsl:with-param name=\"id\" select=\"$id\"/></xsl:call-template>",60,2); 
     119         
    116120} 
    117121include_once(SERVER_ROOT."/include/footer.php"); 
  • branches/php4/lang/en/main.txt

    r2438 r2518  
    317317gpl_disclaimer = PhPeace is free software, and you are welcome to redistribute it under the conditions of the <a href="/gate/licence.php">GNU General Public License (GPL)</a> 
    318318gpl_warranty = PhPeace comes with absolutely no warranty 
     319graphic_xsl = Code to insert in a XSL template to show this image 
    319320graphic_style = Graphic Style 
    320321group = Group 
  • branches/php4/lang/it/main.txt

    r2438 r2518  
    317317gpl_disclaimer = PhPeace �oftware libero, e ognuno �ibero di ridistribuirlo secondo le condizioni della <a href="/gate/licence.php">licenza GNU/GPL</a> 
    318318gpl_warranty = PhPeace viene fornito senza alcuna garanzia 
     319graphic_xsl = Codice da inserire in un template XSL per visualizzare questa immagine 
    319320graphic_style = Stile grafico 
    320321group = Gruppo