Changeset 28341 in spip-zone for _plugins_/_test_/photos


Ignore:
Timestamp:
May 2, 2009, 11:24:38 AM (12 years ago)
Author:
bernard.blazin@…
Message:

Remplacement les chemins ../plugins/photos/etc.. par _DIR_PLUGIN_PHOTOS

Location:
_plugins_/_test_/photos/exec
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • _plugins_/_test_/photos/exec/editer_photo.php

    r28338 r28341  
    5858        $mydate=$data['dateheure'];$titre_image=$data['nom_photo'];
    5959
    60    echo "<strong>".(_T('Titre '))."</strong>".$data['nom_photo']; echo "<p><img src='../plugins/photos/vignettes/".$data['nom_photo']."' width='24%'></p>";
     60   echo "<strong>".(_T('Titre '))."</strong>".$data['nom_photo']; echo "<p><img src='"._DIR_PLUGIN_PHOTOS."vignettes/".$data['nom_photo']."' width='24%'></p>";
    6161        echo "<br /><br />".(_T('Envoy&eacute; par ')).$data['nom']." le: ".$mydate;
    6262                echo '<br /><br /><form action="" method="post"><input name="alt_image" type="text" size="60" value="'.$data['alt_photo'].'"><input name="submit" type="submit" value="ok"></form>';
  • _plugins_/_test_/photos/exec/effacer_photo.php

    r28338 r28341  
    6868 //$mydate= livredor_convertir_date($mydate);
    6969    echo "<td>".$data['id_photo']."</td> ";
    70    echo "<td><img src='../plugins/photos/vignettes/".$data['nom_photo']."' width='24%'></td> ";
     70   echo "<td><img src='"._DIR_PLUGIN_PHOTOS.'vignettes/'.$data['nom_photo']."' width='24%'></td> ";
    7171  echo"<td>".$data['alt_photo']."</td>";
    7272  echo"<td>".$mydate."</td>";
  • _plugins_/_test_/photos/exec/photos.php

    r28338 r28341  
    6868  echo"<td>".$mydate."</td>";
    6969  echo'<td>
    70 <a href="../plugins/photos/vignettes/'.$data['nom_photo'].'" onClick="window.open(this.href, \'exemple\', \'height=600, width=600, top=100, left=100, toolbar=no, menubar=no, location=no, resizable=yes, scrollbars=yes, status=no\'); return false;"/><img src="../plugins/photos/vignettes/'.$data['nom_photo'].'" width="24%"></a></td>';
     70<a href="'._DIR_PLUGIN_PHOTOS.'vignettes/'.$data['nom_photo'].'" onClick="window.open(this.href, \'exemple\', \'height=600, width=600, top=100, left=100, toolbar=no, menubar=no, location=no, resizable=yes, scrollbars=yes, status=no\'); return false;"/><img src="'._DIR_PLUGIN_PHOTOS.'vignettes/'.$data['nom_photo'].'" width="24%"></a></td>';
    7171 echo "<td><table width='100%' border='0'><tr>";
    7272
Note: See TracChangeset for help on using the changeset viewer.