diff options
Diffstat (limited to 'template/default/admin')
17 files changed, 516 insertions, 3 deletions
diff --git a/template/default/admin/admin.vtp b/template/default/admin/admin.vtp index 1516e6c48..5001f7d0f 100644 --- a/template/default/admin/admin.vtp +++ b/template/default/admin/admin.vtp @@ -1,6 +1,6 @@ <html> <head> - <title>{#page_title}</title> + <title>{#title_default}</title> <style> a { text-decoration:none; @@ -55,9 +55,13 @@ td.row1 { background-color:#E6E4E4; } - td.row2 { + td.row2,td.throw2 { background-color:#E8E8E8; } + td.throw2 { + text-align:center; + font-weight:bold; + } td.row3 { background-color:#eeeeee; } @@ -94,6 +98,12 @@ color:darkblue; text-align:center; } + div.key { + margin-left : 10px; + } + td.choice { + text-align : center; + } </style> <script language="javascript"> function SelectAll( formulaire ) @@ -124,6 +134,7 @@ } } </script> + <meta http-equiv="Content-Type" content="text/html; {#charset}"> </head> <body> <table> diff --git a/template/default/admin/comments.vtp b/template/default/admin/comments.vtp new file mode 100644 index 000000000..c5594c126 --- /dev/null +++ b/template/default/admin/comments.vtp @@ -0,0 +1,124 @@ +<style> + .commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent,.commentsNavigationBar { + color:{#text_color}; + font-family:arial,sans-Serif; + font-size:12px; + } + .commentsTitle,.commentsAuthor { + text-align:center; + font-weight:bold; + } + .commentsInfos { + text-align:right; + margin:3px 3px 3px 10px; + font-size:11px; + } + .commentsContent { + margin:10px; + } + .commentsTitle { + margin-top:15px; + } + .commentsAuthor { + margin:5px; + } + .commentsNavigationBar { + margin:10px; + } + .tableComment { + width:100%; + border:2px solid #006699; + margin:10px; + } + .cellAuthor { + border-right:1px solid #006699; + width:100px; + } + .cellInfo { + border-bottom:1px solid #006699; + } + .imgLink { + border:1px solid black; + } +</style> +<!--VTP_section--> +<table style="width:100%;"> + <tr> + <th> + {#title} + <!--VTP_last_days--> + [ + <!--VTP_last_day_option--> + <a href="{#link}" style="{#style}">{#option}</a>{#separation} + <!--/VTP_last_day_option--> + {#stats_last_days} + ] + <!--/VTP_last_days--> + <!--VTP_open--> + [ <a href="{#url}">{#open}</a> ] + <!--/VTP_open--> + <!--VTP_close--> + [ <a href="{#url}">{#close}</a> ] + <!--/VTP_close--> + </th> + </tr> +</table> +<!--VTP_start_form--> +<form action="{#action}" method="post"> +<!--/VTP_start_form--> +<!--VTP_picture--> +<div style="border:2px solid #D3DCE3;margin:2px;"> + <table style="width:100%;"> + <tr> + <td valign="top" width="1px"> + <!-- the thumbnail of the picture, linked to the full size page --> + <a href="{#thumb_url}" title="{#thumb_title}"> + <img src="{#thumb_src}" class="imgLink" alt="{#thumb_alt}"/> + </a> + </td> + <td> + <div style="font-weight:bold;">{#title}</div> + <!--VTP_comment--> + <table style="width:100%;"> + <tr> + <td> + <table class="tableComment"> + <tr> + <td rowspan="2" valign="top" class="cellAuthor"> + <div class="commentsAuthor">{#author}</div> + </td> + <td class="cellInfo"> + <div class="commentsInfos"> + {#date}<!--VTP_delete--><a href="{#link}" title="{#comments_del}"><img src="./images/delete.gif" style="border:none;margin-left:5px;" alt="[{#delete}]"/></a><!--/VTP_delete--> + </div> + </td> + </tr> + <tr> + <td> + <div class="commentsContent">{#content}</div> + </td> + </tr> + </table> + </td> + <!--VTP_validation--> + <td style="width:1px;"> + <input type="checkbox" name="validate-{#id}" value="true" /> + </td> + <!--/VTP_validation--> + </tr> + </table> + <!--/VTP_comment--> + </td> + </tr> + </table> +</div> +<!--/VTP_picture--> +<!--VTP_submit--> +<div style="text-align:center;margin:10px;"> + <input type="submit" name="submit" value="{#submit}" /> +</div> +<!--/VTP_submit--> +<!--VTP_end_form--> +</form> +<!--/VTP_end_form--> +<!--/VTP_section-->
\ No newline at end of file diff --git a/template/default/admin/help.vtp b/template/default/admin/help.vtp new file mode 100644 index 000000000..4e7692acd --- /dev/null +++ b/template/default/admin/help.vtp @@ -0,0 +1,26 @@ +<table style="width:100%;"> + <!--VTP_cat--> + <tr> + <th>{#name}</th> + </tr> + <tr> + <td> </td> + </tr> + <tr> + <td> + <!--VTP_illustration--> + <div style="text-align:center;margin:auto;margin-bottom:10px;"><img src="{#pic_src}" style="border:1px solid black;" alt="{#pic_alt}"/></div> + {#caption} + <!--/VTP_illustration--> + <ul style="margin-right:10px;"> + <!--VTP_item--> + <li>{#content}</li> + <!--/VTP_item--> + </ul> + </td> + </tr> + <tr> + <td> </td> + </tr> + <!--/VTP_cat--> +</table>
\ No newline at end of file diff --git a/template/default/admin/images/arrow_up.gif b/template/default/admin/images/arrow_up.gif Binary files differnew file mode 100644 index 000000000..90da978cd --- /dev/null +++ b/template/default/admin/images/arrow_up.gif diff --git a/template/default/admin/images/collapsed.gif b/template/default/admin/images/collapsed.gif Binary files differnew file mode 100644 index 000000000..3084e0877 --- /dev/null +++ b/template/default/admin/images/collapsed.gif diff --git a/template/default/admin/images/delete.gif b/template/default/admin/images/delete.gif Binary files differnew file mode 100644 index 000000000..7488b695e --- /dev/null +++ b/template/default/admin/images/delete.gif diff --git a/template/default/admin/images/expanded.gif b/template/default/admin/images/expanded.gif Binary files differnew file mode 100644 index 000000000..a1be9e6e7 --- /dev/null +++ b/template/default/admin/images/expanded.gif diff --git a/template/default/admin/images/moins.gif b/template/default/admin/images/moins.gif Binary files differnew file mode 100644 index 000000000..74fa8736f --- /dev/null +++ b/template/default/admin/images/moins.gif diff --git a/template/default/admin/images/plus.gif b/template/default/admin/images/plus.gif Binary files differnew file mode 100644 index 000000000..2fa7116c1 --- /dev/null +++ b/template/default/admin/images/plus.gif diff --git a/template/default/admin/images/puce.gif b/template/default/admin/images/puce.gif Binary files differnew file mode 100644 index 000000000..b8494bb77 --- /dev/null +++ b/template/default/admin/images/puce.gif diff --git a/template/default/admin/images/stat_left.gif b/template/default/admin/images/stat_left.gif Binary files differnew file mode 100644 index 000000000..269088b81 --- /dev/null +++ b/template/default/admin/images/stat_left.gif diff --git a/template/default/admin/images/stat_middle.gif b/template/default/admin/images/stat_middle.gif Binary files differnew file mode 100644 index 000000000..99473151e --- /dev/null +++ b/template/default/admin/images/stat_middle.gif diff --git a/template/default/admin/images/stat_right.gif b/template/default/admin/images/stat_right.gif Binary files differnew file mode 100644 index 000000000..f9584e23a --- /dev/null +++ b/template/default/admin/images/stat_right.gif diff --git a/template/default/admin/infos_image.vtp b/template/default/admin/infos_image.vtp index c6f3db7f1..b5174628e 100644 --- a/template/default/admin/infos_image.vtp +++ b/template/default/admin/infos_image.vtp @@ -42,7 +42,7 @@ </tr> <!--VTP_picture--> <tr> - <td style="text-align:center;"><a name="{#link}"><img src="{#thumbnail_url}" alt="" class="miniature" title="{#filename}" /></td> + <td style="text-align:center;"><a name="{#link}" href="{#url}"><img src="{#thumbnail_url}" alt="" class="miniature" title="{#filename}" /></td> <td style="text-align:center;">{#default_name}<br /><input type="text" name="name-{#id}" value="{#name}" maxlength="255"/></td> <td style="text-align:center;"><input type="text" name="author-{#id}" value="{#author}" maxlength="255"/></td> <td style="text-align:center;"><textarea name="comment-{#id}" rows="3" cols="40" style="overflow:auto">{#comment}</textarea></td> diff --git a/template/default/admin/stats.vtp b/template/default/admin/stats.vtp new file mode 100644 index 000000000..7636347a1 --- /dev/null +++ b/template/default/admin/stats.vtp @@ -0,0 +1,125 @@ +<style> + .commentsAuthor,.commentsTitle,.commentsInfos,.commentsContent,.commentsNavigationBar { + color:{#text_color}; + font-family:arial,sans-Serif; + font-size:12px; + } + .commentsTitle,.commentsAuthor { + text-align:center; + font-weight:bold; + } + .commentsInfos { + text-align:right; + margin:3px 3px 3px 10px; + font-size:11px; + } + .commentsContent { + margin:10px; + } + .commentsTitle { + margin-top:15px; + } + .commentsAuthor { + margin:5px; + } + .commentsNavigationBar { + margin:10px; + } + .tableComment { + width:100%; + border:2px solid #006699; + margin:10px; + } + .cellAuthor { + border-right:1px solid #006699; + width:100px; + } + .cellInfo { + border-bottom:1px solid #006699; + } + .imgLink { + border:1px solid black; + } +</style> +<div style="text-align:center;margin-top:5px;"> + <!--VTP_last_day_option--> + <a href="{#link}" style="{#style}">{#option}</a>{#separation} + <!--/VTP_last_day_option--> + {#stats_last_days} +</div> + +<table width="100%"> + <tr> + <th width="1%">{#date}</th> + <th>{#login}</th> + <th>{#IP}</th> + <th>{#file}</th> + <th>{#category}</th> + <th>{#picture}</th> + </tr> + <tr> + <td colspan="6" style="text-align:center;"><a href="{#emply_url}">{#stats_empty}</a></td> + </tr> + <!--VTP_day--> + <tr> + <td colspan="6"> + <a href="{#url}"><!--VTP_collapsed--><img src="./images/collapsed.gif" style="border:none;" /><!--/VTP_collapsed--><!--VTP_expanded--><img src="./images/expanded.gif" style="border:none;" /><!--/VTP_expanded--></a> + <span style="font-weight:bold;">{#name}</span> [ {#nb_pages} {#stats_pages_seen} - {#nb_visitors} {#stats_visitors} ] + </td> + </tr> + <!--VTP_line--> + <tr> + <td>{#date}</td> + <td style="text-align:center;">{#login}</td> + <td>{#IP}</td> + <td>{#file}</td> + <td>{#category}</td> + <td>{#picture}</td> + </tr> + <!--/VTP_line--> + <!--/VTP_day--> +</table> + +<!-- Graph with the number of pages seen per day --> +<table style="margin:auto;margin-top:10px;margin-bottom:10px;border:1px solid black;"> +<tr> + <td colspan="3" style="text-align:center;font-weight:bold">{#stats_pages_seen_graph_title}</td> +</tr> +<!--VTP_pages_day--> +<tr> + <td>{#date}</td> + <td> + <table style="border-collapse:collapse;"> + <tr> + <td style="padding:0;"><img src="./images/stat_left.gif" width="4" height="12" /></td> + <td style="padding:0;"><img src="./images/stat_middle.gif" width="{#width}" height="12" /></td> + <td style="padding:0;"><img src="./images/stat_right.gif" width="4" height="12" /></td> + </tr> + </table> + </td> + <td align="center">[ {#nb_pages} ]</td> +</tr> +<!--/VTP_pages_day--> +</table> + +<!-- Graph with the number of visitors per day --> +<table style="margin:auto;margin-top:10px;margin-bottom:10px;border:1px solid black;"> +<tr> + <td colspan="3" style="text-align:center;font-weight:bold">{#stats_visitors_graph_title}</td> +</tr> +<!--VTP_visitors_day--> +<tr> + <td>{#date}</td> + <td> + <table style="border-collapse:collapse;"> + <tr> + <td style="padding:0;"><img src="./images/stat_left.gif" width="4" height="12" /></td> + <td style="padding:0;"><img src="./images/stat_middle.gif" width="{#width}" height="12" /></td> + <td style="padding:0;"><img src="./images/stat_right.gif" width="4" height="12" /></td> + </tr> + </table> + </td> + <td align="center">[ {#nb_visitors} ]</td> +</tr> +<!--/VTP_visitors_day--> +</table>
\ No newline at end of file diff --git a/template/default/admin/thumbnail.vtp b/template/default/admin/thumbnail.vtp new file mode 100644 index 000000000..4feea3a64 --- /dev/null +++ b/template/default/admin/thumbnail.vtp @@ -0,0 +1,188 @@ +<!--VTP_directory_list--> +<table style="width:100%;"> + <tr> + <th>{#tn_dirs_title}</th> + </tr> + <tr> + <td> + <div style="text-indent:30px;"> + <img src="./images/puce.gif" alt=">" style="border:none;" /> + galleries + </div> + <!--VTP_dir--> + <div style="text-indent:{#indent}px;"> + <img src="./images/puce.gif" alt=">" style="border:none;" /> + <!--VTP_linked--> + <a href="{#url}">{#name}</a> [ {#nb_pic} {#tn_dirs_alone} ] + <!--/VTP_linked--> + <!--VTP_unlinked--> + {#name} + <!--/VTP_unlinked--> + </div> + <!--/VTP_dir--> + </td> + </tr> +</table> +<!--/VTP_directory_list--> + +<!--VTP_warning--> +<div style="text-align:center;font-weight:bold;margin:10px;"> [ 0 {#tn_dirs_alone} ]</div> +<!--/VTP_warning--> + +<!--VTP_errors--> +<div class="errors"> + <ul> + <!--VTP_li--> + <li>{#li}</li> + <!--/VTP_li--> + </ul> +</div> +<!--/VTP_errors--> + +<!--VTP_results--> +<table style="width:100%;"> + <tr> + <th colspan="10">{#tn_results_title}</th> + </tr> + <tr> + <td class="throw2"> </td> + <td class="throw2">{#tn_picture}</td> + <td class="throw2">{#filesize}</td> + <td class="throw2">{#tn_width}</td> + <td class="throw2">{#tn_height}</td> + <th>{#tn_results_gen_time}</th> + <td class="throw2">{#thumbnail}</td> + <td class="throw2">{#filesize}</td> + <td class="throw2">{#tn_width}</td> + <td class="throw2">{#tn_height}</td> + </tr> + <!--VTP_picture--> + <tr> + <td class="row2">{#num}</td> + <td class="{#class}">{#file}</td> + <td class="{#class}" style="text-align:right;">{#filesize}</td> + <td class="{#class}" style="text-align:right;">{#width}</td> + <td class="{#class}" style="text-align:right;">{#height}</td> + <th> + <div style="text-align:right;margin-right:5px;color:{#color};">{#time}</div> + </th> + <td class="{#class}">{#thumb_file}</td> + <td class="{#class}" style="text-align:right;">{#thumb_filesize}</td> + <td class="{#class}" style="text-align:right;">{#thumb_width}</td> + <td class="{#class}" style="text-align:right;">{#thumb_height}</td> + </tr> + <!--/VTP_picture--> + <tr> + <td colspan="10"> </td> + </tr> +</table> +<table style="margin:auto;border:1px solid black;"> + <tr> + <td colspan="2" style="text-align:center;font-weight:bold;" class="row2">{#tn_stats}</td> + </tr> + <tr> + <td>{#tn_stats_nb}</td> + <td style="text-align:center;">{#stats_nb}</td> + </tr> + <tr> + <td>{#tn_stats_total}</td> + <td style="text-align:right;">{#stats_total}</td> + </tr> + <tr> + <td>{#tn_stats_max}</td> + <td style="text-align:right;color:red;">{#stats_max}</td> + </tr> + <tr> + <td>{#tn_stats_min}</td> + <td style="text-align:right;color:green;">{#stats_min}</td> + </tr> + <tr> + <td>{#tn_stats_mean}</td> + <td style="text-align:right;">{#stats_mean}</td> + </tr> +</table> +<table> + <tr> + <td> </td> + </tr> +</table> +<!--/VTP_results--> + +<!--VTP_params--> +<form method="post" action="{#action}"> + <table style="width:100%;"> + <tr> + <th colspan="3">{#tn_params_title}</th> + </tr> + <tr><td colspan="3"> </td></tr> + <tr> + <td><div class="key">{#tn_params_GD}</div></td> + <td class="choice"> + <input type="radio" name="gd" value="2"{#gd2_checked} />2.x + <input type="radio" name="gd" value="1"{#gd1_checked} />1.x + </td> + <td style="width:50%;" class="row2">{#tn_params_GD_info}</td> + </tr> + <tr> + <td><div class="key">{#tn_width}</div></td> + <td class="choice"> + <input type="text" name="width" value="{#width_value}"/> + </td> + <td class="row2">{#tn_params_width_info}</td> + </tr> + <tr> + <td><div class="key">{#tn_height}</div></td> + <td class="choice"> + <input type="text" name="height" value="{#height_value}"/> + </td> + <td class="row2">{#tn_params_height_info}</td> + </tr> + <tr> + <td><div class="key">{#tn_params_create}</div></td> + <td class="choice"> + <select name="n"> + <!--VTP_n_option--> + <option{#selected}>{#option}</option> + <!--/VTP_n_option--> + </select> + </td> + <td class="row2">{#tn_params_create_info}</td> + </tr> + <tr> + <td><div class="key">{#tn_params_format}</div></td> + <td class="choice"><span style="font-weight:bold;">jpeg</span></td> + <td class="row2">{#tn_params_format_info}</td> + </tr> + <tr><td colspan="3"> </td></tr> + <tr> + <td colspan="3" style="text-align:center;"> + <input type="submit" name="submit" value="{#submit}"/> + </td> + </tr> + </table> +</form> +<!--/VTP_params--> + +<!--VTP_remainings--> +<table style="width:100%;"> + <tr> + <th colspan="5"><span style="color:#006699;">{#total}</span> {#tn_alone_title}</th> + </tr> + <tr> + <td class="throw2"> </td> + <td class="throw2" style="width:50%;">{#tn_picture}</td> + <td class="throw2" style="width:17%;">{#filesize}</td> + <td class="throw2" style="width:17%;">{#tn_width}</td> + <td class="throw2" style="width:16%;">{#tn_height}</td> + </tr> + <!--VTP_remaining--> + <tr> + <td class="row2">{#num}</td> + <td class="{#class}"><div style="margin-left:10px;">{#file}</div></td> + <td class="{#class}"><div style="margin-left:10px;">{#filesize}</div></td> + <td class="{#class}"><div style="margin-left:10px;">{#width}</div></td> + <td class="{#class}"><div style="margin-left:10px;">{#height}</div></td> + </tr> + <!--/VTP_remaining--> +</table> +<!--/VTP_remainings-->
\ No newline at end of file diff --git a/template/default/admin/waiting.vtp b/template/default/admin/waiting.vtp new file mode 100644 index 000000000..4242a776b --- /dev/null +++ b/template/default/admin/waiting.vtp @@ -0,0 +1,39 @@ +<form action="{#action}" method="post"> + <table style="width:100%;"> + <tr> + <th style="width:20%;">{#category}</th> + <th style="width:20%;">{#date}</th> + <th style="width:20%;">{#file}</th> + <th style="width:20%;">{#thumbnail}</th> + <th style="width:20%;">{#author}</th> + <th style="width:1px;"> </th> + </tr> + <!--VTP_picture--> + <tr> + <td class="{#class}" style="white-space:nowrap;">{#cat_name}</td> + <td class="{#class}" style="white-space:nowrap;">{#date}</td> + <td class="{#class}" style="white-space:nowrap;"> + <a target="_blank" href="{#preview_url}">{#file}</a> + </td> + <td class="{#class}" style="white-space:nowrap;"> + <!--VTP_thumbnail--> + <a target="_blank" href="{#preview_url}">{#file}</a> + <!--/VTP_thumbnail--> + <!--VTP_no_thumbnail--> + + <!--/VTP_no_thumbnail--> + </td> + <td class="{#class}" style="white-space:nowrap;"> + <a href="mailto:{#mail_address}">{#username}</a> + </td> + <td class="{#class}" style="white-space:nowrap;"> + <input type="radio" name="validate-{#id}" value="true" />{#submit} + <input type="radio" name="validate-{#id}" value="false" />{#delete} + </td> + </tr> + <!--/VTP_picture--> + <tr> + <td colspan="5" align="center"><input type="submit" name="submit" value="{#submit}" style="margin:5px;" /></td> + </tr> + </table> +</form>
\ No newline at end of file |