Changeset 235
- Timestamp:
- 07/26/07 19:24:50 (1 year ago)
- Files:
-
- trunk/templates/manager/footer.html (moved) (moved from trunk/templates/manager/footer.php)
- trunk/templates/manager/gallery.html (moved) (moved from trunk/templates/manager/gallery.php) (12 diffs)
- trunk/templates/manager/header.html (moved) (moved from trunk/templates/manager/header.php) (1 diff)
- trunk/templates/manager/index.html (moved) (moved from trunk/templates/manager/index.php) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/templates/manager/gallery.html
r184 r235 1 <?php include ('header.php');?> 1 {include 'header.html'} 2 2 <script type="text/javascript"> 3 3 function toggleBigImage(id, largepath) { … … 21 21 22 22 <div class="rapid_switch"> 23 <fieldset><legend> <?php ___('Jump to gallery');?>: </legend>23 <fieldset><legend>{i18n 'Jump to gallery'} : </legend> 24 24 <form mXattribut="action:action_rapid_switch" method="get"> 25 25 <input type="hidden" id="p" name="p" value="galerie" /> 26 26 <mx:select id="rapid_switch"/> 27 27 <input type="hidden" id="page" name="page" value="0" /> 28 <input type="submit" value=" <?php ___('Go');?>" id="go_rapid_switch" class="submit" />28 <input type="submit" value="{i18n 'Go'}" id="go_rapid_switch" class="submit" /> 29 29 </form> 30 30 </fieldset> … … 32 32 33 33 34 <h1 id="h1_admin"> <?php ___('Gallery management');?>: <?php lbm::galleryNiceName(false); ?></h1>34 <h1 id="h1_admin">{i18n 'Gallery management'} : <?php lbm::galleryNiceName(false); ?></h1> 35 35 36 36 <p class="message"><?php lbm::headerMessage(); ?></p> … … 38 38 <script type="text/javascript" src="_javascript/add_upload.js"></script> 39 39 40 <h2> <?php ___('Add a photo');?></h2>40 <h2>{i18n 'Add a photo'}</h2> 41 41 <form enctype="multipart/form-data" mXattribut="action:action_ajout_photo" method="post" name="upload_form" id="upload_form"> 42 42 <input type="hidden" name="MAX_FILE_SIZE" mXattribut="value:max_file_size" /> 43 <fieldset><legend> <?php ___('Add a photo to the current gallery');?></legend>43 <fieldset><legend>{i18n 'Add a photo to the current gallery'} </legend> 44 44 <p> 45 45 <div id="positionFile"></div> … … 51 51 <input type="file" name="userfile[]" /><br /> 52 52 </noscript> 53 <input type="button" value=" <?php ___('Add an other picture');?>" id="etrombi" onclick="addPosition('positionFile');" />53 <input type="button" value="{i18n 'Add an other picture'}" id="etrombi" onclick="addPosition('positionFile');" /> 54 54 </p> 55 <p><input class="submit" type="submit" value=" <?php ___('Send the photos');?>" /></p>55 <p><input class="submit" type="submit" value="{i18n 'Send the photos'}" /></p> 56 56 </fieldset> 57 57 </form> 58 58 59 59 60 <h2> <?php ___('Gallery cache');?></h2>60 <h2>{i18n 'Gallery cache'}</h2> 61 61 <ul> 62 <li><a mXattribut="url:action_vider_cache"> <?php ___('Delete the cache for this gallery');?></a></li>63 <li><a mXattribut="url:action_generer_cache"> <?php ___('Generate the cache for this gallery');?></a></li>62 <li><a mXattribut="url:action_vider_cache">{i18n 'Delete the cache for this gallery'}</a></li> 63 <li><a mXattribut="url:action_generer_cache">{i18n 'Generate the cache for this gallery'}</a></li> 64 64 </ul> 65 65 66 66 67 <h2> <?php ___('Set a date for all photos');?></h2>67 <h2>{i18n 'Set a date for all photos'}</h2> 68 68 <form mXattribut="action:action_meme_date" method="post"> 69 <fieldset><legend> <?php ___('Set a date for all photos');?></legend>69 <fieldset><legend>{i18n 'Set a date for all photos'} </legend> 70 70 <p> 71 <?php ___('Choose a date (jj/mm/aaaa)');?>71 {i18n 'Choose a date (jj/mm/aaaa)'} 72 72 <mx:select id="jour"/><mx:select id="mois"/> 73 73 <input type="text" name="meme_date" id="meme_date" mXattribut="value:val_meme_date" style="width:80px;" /> … … 75 75 </p> 76 76 <p> 77 <input class="submit" type="submit" value=" <?php ___('Submit the date');?>" />77 <input class="submit" type="submit" value="{i18n 'Submit the date'}" /> 78 78 </p> 79 79 </fieldset> 80 80 </form> 81 81 82 <h2> <?php ___('Photo sort');?></h2>83 <p><strong> <?php ___('Manual sort');?></strong> : <a mXattribut="href:triUrl"><?php ___('Sort manually the gallery');?></a></p>82 <h2>{i18n 'Photo sort'}</h2> 83 <p><strong>{i18n 'Manual sort'}</strong> : <a mXattribut="href:triUrl">{i18n 'Sort manually the gallery'}</a></p> 84 84 <form mXattribut="action:action_tri" method="post"> 85 <fieldset><legend> <?php ___('Choose a sort criteria');?></legend>85 <fieldset><legend>{i18n 'Choose a sort criteria'}</legend> 86 86 <mx:select id="tri"/> 87 <p><input class="submit" type="submit" value=" <?php ___('Submit the sort criteria');?>" /></p>87 <p><input class="submit" type="submit" value="{i18n 'Submit the sort criteria'}" /></p> 88 88 </fieldset> 89 89 </form> 90 90 91 91 92 <h2> <?php ___('Photo list');?></h2>92 <h2>{i18n 'Photo list'}</h2> 93 93 94 94 <?php if ($res->EOP()): ?> 95 <?php ___('There is no photo to consult.');?> 95 {i18n 'There is no photo to consult.'} 96 96 <?php else: ?> 97 97 98 <p> <?php ___('Clic on the photo to enlarge');?></p>98 <p>{i18n 'Clic on the photo to enlarge'}</p> 99 99 <div id="liste_photo_div"> 100 100 <form mXattribut="action:action_date_desc" method="post"> 101 <table id="liste_photo" summary=" <?php ___('Gallery photo list');?>">101 <table id="liste_photo" summary="{i18n 'Gallery photo list'}"> 102 102 <tr> 103 <th> <?php ___('Photo');?></th>104 <th> <?php ___('Date / Description');?></th>105 <th> <?php ___('Default');?></th>106 <th> <?php ___('Delete');?></th>103 <th>{i18n 'Photo'}</th> 104 <th>{i18n 'Date / Description'}</th> 105 <th>{i18n 'Default'}</th> 106 <th>{i18n 'Delete'}</th> 107 107 </tr> 108 108 <?php while (!$res->EOP()):?> … … 113 113 114 114 <p> 115 <label for="description" class="float"><strong> <?php ___('Description');?>: </strong></label>115 <label for="description" class="float"><strong>{i18n 'Description'} : </strong></label> 116 116 <input type="text" name="description" id="description" mXattribut="value:val_description" style="width:340px;"/> 117 117 <span class="erreur"><mx:text id="err_description"/></span> 118 118 </p> 119 119 <p> 120 <label for="date" class="float"><strong> <?php ___('Date');?>: </strong></label>120 <label for="date" class="float"><strong>{i18n 'Date'} : </strong></label> 121 121 <mx:select id="jour"/><mx:select id="mois"/> 122 122 <input type="text" name="date" id="date" mXattribut="value:val_date" style="width:80px;" /> … … 126 126 </td> 127 127 <td class="liste_photo_td"> 128 <p><em> <?php ___('Default');?>:</em><strong><mx:text id="defaut_oui_non"/></strong></p>129 <p><a mXattribut="href:defaut"> <?php ___('Index image');?></a> <img src="_images/manager/ico_set_as_home.png" alt="defaut" /></p>128 <p><em>{i18n 'Default'}:</em><strong><mx:text id="defaut_oui_non"/></strong></p> 129 <p><a mXattribut="href:defaut">{i18n 'Index image'}</a> <img src="_images/manager/ico_set_as_home.png" alt="defaut" /></p> 130 130 </td> 131 131 <td class="liste_photo_td"> 132 <p><a mXattribut="href:del"><img src="<?php lbm::imgSrc('delete.png');?>" alt=" <?php ___('Delete');?>" /></a></p>132 <p><a mXattribut="href:del"><img src="<?php lbm::imgSrc('delete.png');?>" alt="{i18n 'Delete'}" /></a></p> 133 133 </td> 134 134 </tr> … … 138 138 139 139 <p> 140 <input class="submit" type="submit" value=" <?php ___('Submit');?>" />141 <input class="submit" type="reset" value=" <?php ___('Clear');?>" />140 <input class="submit" type="submit" value="{i18n 'Submit'}" /> 141 <input class="submit" type="reset" value="{i18n 'Clear'}" /> 142 142 <p> 143 143 </form> … … 146 146 147 147 <form method="post" mXattribut="action:actionLimitPage"> 148 <label for="limitPage" class="float"><strong> <?php ___('Number of photos on the page');?></strong></label>148 <label for="limitPage" class="float"><strong>{i18n 'Number of photos on the page'}</strong></label> 149 149 <input id="limitPage" name="limitPage" type="text" maxlength="3" style="width:40px;" mXattribut="value:limitPage"/> 150 <input class="submit" type="submit" value=" <?php ___(' OK ');?>"/>150 <input class="submit" type="submit" value="{i18n ' OK '}"/> 151 151 </fieldset> 152 152 </form> … … 156 156 <tr> 157 157 <td class="affpage"> 158 <?php ___('Page'); ?>158 {i18n 'Page'); ?> 159 159 <?php lb::paginatorCurrentPage(); ?> 160 <?php ___('on');?>160 {i18n 'on'} 161 161 <?php lb::paginatorTotalPages(); ?> 162 162 </td> … … 171 171 </div> 172 172 <?php endif;?> 173 <?php include ('footer.php');?> 173 {include 'footer.html'} trunk/templates/manager/header.html
r184 r235 14 14 <div id="header"> 15 15 <ul> 16 <li mXattribut="class:class_galeries" id="menuGaleries"><a href="manager/galleries/"> <?php ___('Galleries');?></a></li>17 <li mXattribut="class:class_commentaires" id="menuCommentaires"><a href="manager/comments/"> <?php ___('Comments');?></a></li>16 <li mXattribut="class:class_galeries" id="menuGaleries"><a href="manager/galleries/">{i18n 'Galleries'}</a></li> 17 <li mXattribut="class:class_commentaires" id="menuCommentaires"><a href="manager/comments/">{i18n 'Comments'}</a></li> 18 18 <mx:bloc id="isadmin"> 19 <li mXattribut="class:class_parametres" id="menuParametres"><a href="manager/parameters/"> <?php ___('Parameters');?></a></li>19 <li mXattribut="class:class_parametres" id="menuParametres"><a href="manager/parameters/">{i18n 'Parameters'}</a></li> 20 20 </mx:bloc id="isadmin"> 21 <li mXattribut="class:class_outils" id="menuOutils"><a href="manager/tools/"> <?php ___('Tools');?></a></li>22 <li class="last" id="menuDeconnection"><a href="manager/logout/"> <?php ___('Logout');?></a></li>21 <li mXattribut="class:class_outils" id="menuOutils"><a href="manager/tools/">{i18n 'Tools'}</a></li> 22 <li class="last" id="menuDeconnection"><a href="manager/logout/">{i18n 'Logout'}</a></li> 23 23 </ul> 24 24 </div> trunk/templates/manager/index.html
r184 r235 1 <?php include ('header.php');?> 1 {include 'header.html'} 2 2 3 <h1 id="h1_admin"> <?php ___('Gallery management'); ?></h1>3 <h1 id="h1_admin">{i18n 'Gallery management'); ?></h1> 4 4 5 5 6 6 <p class="message"><?php lbm::headerMessage(); ?></p> 7 7 8 <h2> <?php ___('Add a gallery');?></h2>8 <h2>{i18n 'Add a gallery'}</h2> 9 9 <form action="<?php lbm::linkActionIndexAddGallery();?>" method="post"> 10 <fieldset><legend> <?php ___('Add a new gallery');?></legend>11 <p><label for="ajout_galerie" class="float"> <?php ___('Choose a name : ');?></label>10 <fieldset><legend>{i18n 'Add a new gallery'} </legend> 11 <p><label for="ajout_galerie" class="float">{i18n 'Choose a name : '} </label> 12 12 <input type="text" name="ajout_galerie" id="ajout_galerie" mXattribut="value:val_ajout_galerie" /> 13 13 <span class="erreur"><mx:text id="err_ajout_galerie"/></span> 14 14 </p> 15 15 <p> 16 <input class="submit" type="submit" value=" <?php ___('Create the gallery');?>"/>16 <input class="submit" type="submit" value="{i18n 'Create the gallery'}"/> 17 17 </p> 18 18 </fieldset> … … 20 20 21 21 22 <h2> <?php ___('Gallery cache');?></h2>22 <h2>{i18n 'Gallery cache'}</h2> 23 23 <ul> 24 <li><a href="<?php lbm::linkActionIndexPurgecache();?>"> <?php ___('Delete the cache for all galleries');?></a></li>25 <li><a href="<?php lbm::linkActionIndexGencache();?>"> <?php ___('Generate the cache for all galleries');?></a></li>24 <li><a href="<?php lbm::linkActionIndexPurgecache();?>">{i18n 'Delete the cache for all galleries'}</a></li> 25 <li><a href="<?php lbm::linkActionIndexGencache();?>">{i18n 'Generate the cache for all galleries'}</a></li> 26 26 </ul> 27 27 28 <h2> <?php ___('Gallery sort');?></h2>29 <p><strong> <?php ___('Manual sort');?></strong> : <a mXattribut="href:triUrl"><?php ___('Sort manually the galleries.');?></a></p>28 <h2>{i18n 'Gallery sort'}</h2> 29 <p><strong>{i18n 'Manual sort'}</strong> : <a mXattribut="href:triUrl">{i18n 'Sort manually the galleries.'}</a></p> 30 30 <form action="<?php lbm::linkActionIndexSort(); ?>" method="post"> 31 <fieldset><legend> <?php ___('Choose a sort criteria :');?></legend>31 <fieldset><legend>{i18n 'Choose a sort criteria :'}</legend> 32 32 <?php lbm::indexSortSelect(); ?> 33 <p><input class="submit" type="submit" value=" <?php ___('Submit the sort criteria');?>" /></p>33 <p><input class="submit" type="submit" value="{i18n 'Submit the sort criteria'}" /></p> 34 34 </fieldset> 35 35 </form> 36 36 37 <h2> <?php ___('Gallery list');?></h2>37 <h2>{i18n 'Gallery list'}</h2> 38 38 39 39 40 40 41 41 <?php if ($res->EOF()):?> 42 <?php ___('There is no gallery to consult.');?> 42 {i18n 'There is no gallery to consult.'} 43 43 44 44 <?php else: ?> 45 45 <div id="liste_photo_div"> 46 <table id="liste_photo" summary=" <?php ___('Gallery list');?>">46 <table id="liste_photo" summary="{i18n 'Gallery list'}"> 47 47 <tr> 48 <th> <?php ___('Gallery');?></th>49 <th> <?php ___('Manage');?></th>50 <th> <?php ___('Rename');?></th>51 <th> <?php ___('Private');?></th>52 <th> <?php ___('Delete');?></th>48 <th>{i18n 'Gallery'}</th> 49 <th>{i18n 'Manage'}</th> 50 <th>{i18n 'Rename'}</th> 51 <th>{i18n 'Private'}</th> 52 <th>{i18n 'Delete'}</th> 53 53 </tr> 54 54 … … 65 65 <span class="infos"> 66 66 <?php lbm::galleryNbPhotos();?> 67 <?php ___(' pictures - ');?>67 {i18n ' pictures - '} 68 68 <?php lbm::galleryNiceSize();?>. 69 69 </span> … … 83 83 <form action="<?php lbm::linkActionIndexGalleryRename();?>" method="post"> 84 84 <p> 85 <label mXattribut="for:for_id" class="float"><strong> <?php ___('New name');?>: </strong></label>85 <label mXattribut="for:for_id" class="float"><strong>{i18n 'New name'} : </strong></label> 86 86 <input type="text" name="modifier_galerie" mXattribut="value:val_modifier_galerie;id:id_id" /> 87 87 <span class="erreur"><mx:text id="err_modifier_galerie"/></span> 88 88 </p> 89 89 <p> 90 <input class="submit" type="submit" value=" <?php ___('Rename');?>" />90 <input class="submit" type="submit" value="{i18n 'Rename'}" /> 91 91 </p> 92 92 </form> 93 93 </td> 94 94 <td class="liste_photo_td"> 95 <p><strong> <?php ___('Private');?>: </strong>95 <p><strong>{i18n 'Private'} : </strong> 96 96 <?php if(lbm::isPrivate()):?> 97 <?php ___('yes');?><br />97 {i18n 'yes'}<br /> 98 98 <?php if(lbm::isPrivateExact()):?> 99 <a href=""> <?php ___('set as public');?></a>99 <a href="">{i18n 'set as public'}</a> 100 100 <?php endif;?> 101 101 <?php else:?> 102 <?php ___('no');?><br />103 <a href=""> <?php ___('set as private');?></a>102 {i18n 'no'}<br /> 103 <a href="">{i18n 'set as private'}</a> 104 104 <?php endif;?> 105 105 </p> 106 106 </td> 107 107 <td class="liste_photo_td"> 108 <p><a href="<?php lbm::linkActionIndexGalleryDelete();?>"><img src="<?php lbm::imgSrc('delete.png');?>" alt=" <?php ___('Delete');?>" /></a></p>108 <p><a href="<?php lbm::linkActionIndexGalleryDelete();?>"><img src="<?php lbm::imgSrc('delete.png');?>" alt="{i18n 'Delete'}" /></a></p> 109 109 </td> 110 110 </tr> … … 120 120 121 121 122 <?php include ('footer.php');?> 122 {include 'footer.html'}
