Bonjour,
avec dc2.7 et le nouveau jeu de template, le code pour afficher les
widgets a changé :
$res =
($w->title ? $w->renderTitle(html::escapeHTML($w->title)) :
'').
$calendar->draw();
return $w->renderDiv($w->content_only,'calendar
'.$w->class,'',$res);
là c'est pour dayMode. en rendu html, ça donne ça pour la div :
<div class="widget calendar ">
<h2>Calendrier</h2><table
summary="Calendrier"><caption><a
href="http://lab.brol.info/archive/2014/12" title="décembre
2014">«</a> janvier
2015</caption><thead><tr><th scope="col"><abbr
title="dimanche">dim.</abbr></th><th
scope="col"><abbr
title="lundi">lun.</abbr></th><th
scope="col"><abbr
title="mardi">mar.</abbr></th><th
scope="col"><abbr
title="mercredi">mer.</abbr></th><th
scope="col"><abbr
title="jeudi">jeu.</abbr></th><th
scope="col"><abbr
title="vendredi">ven.</abbr></th><th
scope="col"><abbr
title="samedi">sam.</abbr></th></tr></thead><tbody><tr><td>
</td><td> </td><td> </td><td>
</td><td>1</td><td>2</td><td>3</td></tr><tr><td>4</td><td>5</td><td>6</td><td>7</td><td>8</td><td>9</td><td>10</td></tr><tr><td>11</td><td>12</td><td><a
href="http://lab.brol.info/archive/2015/01/13">13</a></td><td>14</td><td>15</td><td>16</td><td>17</td></tr><tr><td>18</td><td>19</td><td>20</td><td>21</td><td>22</td><td>23</td><td>24</td></tr><tr><td>25</td><td>26</td><td>27</td><td>28</td><td>29</td><td>30</td><td>31</td></tr></tbody></table>
</div>
sauf que précédemment il s'agissait d'un id et non d'une classe...
question : comment ajouter l'id dans le code tout en haut ?
bon, c'est possible que j'ai rien pigé, ça serait pas la première
fois.
--
brol
Show replies by date