Changeset 850
- Timestamp:
- Aug 26, 2005, 12:43:47 AM (19 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 deleted
- 39 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/about.php
r688 r850 34 34 // 35 35 $title= $lang['about_page_title']; 36 $page['body_id'] = 'theAboutPage'; 36 37 include(PHPWG_ROOT_PATH.'include/page_header.php'); 37 38 38 39 $template->set_filenames(array('about'=>'about.tpl')); 39 $template->assign_vars(array( 40 'PAGE_TITLE' => $title, 41 'L_ABOUT' => $lang['about_message'], 42 'L_RETURN' => $lang['home'], 43 'L_RETURN_HINT' => $lang['home_hint'], 44 'U_RETURN' => add_session_id(PHPWG_ROOT_PATH.'category.php?'.$_SERVER['QUERY_STRING']) 45 ) 46 ); 40 $template->assign_vars( 41 array( 42 'L_ABOUT' => $lang['about_message'], 43 'U_HOME' => add_session_id(PHPWG_ROOT_PATH.'category.php') 44 ) 45 ); 47 46 48 47 $template->parse('about'); -
trunk/admin.php
r817 r850 58 58 //----------------------------------------------------- template initialization 59 59 $title = l10n('PhpWebGallery administration'); // for include/page_header.php 60 $page['gallery_title'] = l10n('PhpWebGallery Administration'); 61 $page['body_id'] = 'theAdminPage'; 60 62 include(PHPWG_ROOT_PATH.'include/page_header.php'); 61 63 -
trunk/admin/user_list.php
r808 r850 125 125 $formfields = 126 126 array('nb_image_line', 'nb_line_page', 'template', 'language', 127 'recent_period', ' expand', 'show_nb_comments', 'maxwidth',127 'recent_period', 'maxwidth', 'expand', 'show_nb_comments', 128 128 'maxheight', 'status'); 129 129 130 $true_false_fields = array('expand', 'show_nb_comments'); 131 130 132 foreach ($formfields as $formfield) 131 133 { 132 if ($_POST[$formfield.'_action'] != 'leave') 134 // special for true/false fields 135 if (in_array($formfield, $true_false_fields)) 136 { 137 $test = $formfield; 138 } 139 else 140 { 141 $test = $formfield.'_action'; 142 } 143 144 if ($_POST[$test] != 'leave') 133 145 { 134 146 array_push($dbfields['update'], $formfield); 135 147 } 136 148 } 137 149 138 150 // updating elements is useful only if needed... 139 151 if (count($dbfields['update']) > 0) … … 151 163 // if the action is 'unset', the key won't be in row and 152 164 // mass_updates function will set this field to NULL 153 if ('set' == $_POST[$dbfield.'_action']) 165 if (in_array($dbfield, $true_false_fields) 166 or 'set' == $_POST[$dbfield.'_action']) 154 167 { 155 168 $data[$dbfield] = $_POST[$dbfield]; … … 165 178 array_push($datas, $data); 166 179 } 180 181 // echo '<pre>'; 182 // print_r($datas); 183 // echo '</pre>'; 167 184 168 185 mass_updates(USER_INFOS_TABLE, $dbfields, $datas); … … 367 384 'MAXHEIGHT' => @$conf['default_maxheight'], 368 385 'RECENT_PERIOD' => $conf['recent_period'], 369 'EXPAND_YES' => $conf['auto_expand'] ? 'checked="checked"' : '',370 'EXPAND_NO' => !$conf['auto_expand'] ? 'checked="checked"' : '',371 'SHOW_NB_COMMENTS_YES' =>372 $conf['show_nb_comments'] ? 'checked="checked"' : '',373 'SHOW_NB_COMMENTS_NO' =>374 !$conf['show_nb_comments'] ? 'checked="checked"' : ''375 386 )); 376 387 } -
trunk/category.php
r834 r850 113 113 // 114 114 $title = $page['title']; 115 $page['body_id'] = 'theCategoryPage'; 115 116 include(PHPWG_ROOT_PATH.'include/page_header.php'); 116 117 … … 135 136 $icon_recent = get_icon(date('Y-m-d')); 136 137 137 $template->assign_vars(array( 138 $template->assign_vars( 139 array( 138 140 'NB_PICTURE' => count_user_total_images(), 139 141 'TITLE' => $template_title, -
trunk/comments.php
r848 r850 166 166 // | page header and options | 167 167 // +-----------------------------------------------------------------------+ 168 if (!defined('IN_ADMIN')) 169 { 170 $title= l10n('title_comments'); 171 include(PHPWG_ROOT_PATH.'include/page_header.php'); 172 } 168 169 $title= l10n('title_comments'); 170 $page['body_id'] = 'theCommentsPage'; 171 include(PHPWG_ROOT_PATH.'include/page_header.php'); 173 172 174 173 $template->set_filenames(array('comments'=>'comments.tpl')); -
trunk/doc/ChangeLog
r849 r850 1 2005-08-26 Pierrick LE GALL 2 3 * new : HTML BODY identifier to let CSS stylesheets manage 4 specific behaviour. 5 6 * deletion : admin/search useless 7 8 * improvement : in admin/user_list, special behaviour for 9 true/false fields (expand, show_comments) 10 11 * new : gallery_title and gallery_description are displayed at the 12 top of each page. 13 14 * improvement : simplification in HTML for categories menu. 15 16 * improvement : standardization of presentation in all public 17 pages (identification, registration, search, profile, 18 notification, comments, etc.) 19 1 20 2005-08-25 Pierrick LE GALL 2 21 -
trunk/identification.php
r808 r850 65 65 // 66 66 $title = $lang['identification']; 67 $page['body_id'] = 'theIdentificationPage'; 67 68 include(PHPWG_ROOT_PATH.'include/page_header.php'); 68 69 -
trunk/include/config_default.inc.php
r833 r850 271 271 $conf['allow_html_descriptions'] = true; 272 272 273 // gallery_title : Title for RSS feed 274 $conf['gallery_title'] = 'PhpWebGallery demo'; 273 // gallery_title : Title at top of each page and for RSS feed 274 $conf['gallery_title'] = 'PhpWebGallery demonstration site'; 275 276 // gallery_description : Short description displayed with gallery title 277 $conf['gallery_description'] = 'My photos web site'; 275 278 276 279 // galery_url : URL given in RSS feed 277 280 $conf['gallery_url'] = 'http://demo.phpwebgallery.net'; 281 278 282 ?> -
trunk/include/functions_html.inc.php
r831 r850 375 375 } 376 376 $ref_level = $level; 377 377 378 378 $menu.= ' 379 379 380 <li>'; 381 382 $url = add_session_id(PHPWG_ROOT_PATH.'category.php?cat='.$category['id']); 383 384 $class = ''; 380 <li'; 385 381 if (isset($page['cat']) 386 382 and is_numeric($page['cat']) 387 383 and $category['id'] == $page['cat']) 388 384 { 389 $class = 'menuCategorySelected'; 390 } 391 else 392 { 393 $class = 'menuCategoryNotSelected'; 394 } 395 385 $menu.= ' class="selected"'; 386 } 387 $menu.= '>'; 388 389 $url = add_session_id(PHPWG_ROOT_PATH.'category.php?cat='.$category['id']); 396 390 $menu.= ' 397 <a href="'.$url.'" class="'.$class.'">'.$category['name'].'</a>';391 <a href="'.$url.'">'.$category['name'].'</a>'; 398 392 399 393 if ($category['nb_images'] > 0) -
trunk/include/page_header.php
r722 r850 36 36 $template->assign_vars( 37 37 array( 38 'GALLERY_TITLE' => 39 isset($page['gallery_title']) ? 40 $page['gallery_title'] : $conf['gallery_title'], 41 42 'GALLERY_DESCRIPTION' => 43 isset($page['gallery_description']) ? 44 $page['gallery_description'] : $conf['gallery_description'], 45 46 'BODY_ID' => 47 isset($page['body_id']) ? 48 $page['body_id'] : '', 49 38 50 'CONTENT_ENCODING' => $lang_info['charset'], 39 51 'PAGE_TITLE' => $title, -
trunk/language/en_UK.iso-8859-1/common.lang.php
r797 r850 225 225 $lang['about_page_title'] = 'About PhpWebGallery'; 226 226 $lang['about_title'] = 'About...'; 227 $lang['about_message'] = '<div style="text-align:center;font-weigh:bold;">Information about PhpWebGallery</div> 228 <ul> 227 $lang['about_message'] = '<ul> 229 228 <li>PhpWebGallery is a web application giving you the possibility to create an online images gallery easily.</li> 230 229 <li>Technicaly, PhpWebGallery is fully developped with PHP (the elePHPant) with a MySQL database (the SQuirreL).</li> 231 <li>If you have any suggestions or comments, please visit <a href="http://www.phpwebgallery.net" style="text-decoration:underline">PhpWebGallery</a> official site, and its dedicated <a href="http://forum.phpwebgallery.net" style="text-decoration:underline">forum</a>.</li>230 <li>If you have any suggestions or comments, please visit <a href="http://www.phpwebgallery.net">PhpWebGallery</a> official site, and its dedicated <a href="http://forum.phpwebgallery.net">forum</a>.</li> 232 231 </ul>'; 233 232 -
trunk/picture.php
r849 r850 467 467 } 468 468 469 $page['body_id'] = 'thePicturePage'; 469 470 include(PHPWG_ROOT_PATH.'include/page_header.php'); 470 471 $template->set_filenames(array('picture'=>'picture.tpl')); -
trunk/profile.php
r808 r850 143 143 // | page header and options | 144 144 // +-----------------------------------------------------------------------+ 145 145 146 $title= $lang['customize_page_title']; 147 $page['body_id'] = 'theProfilePage'; 146 148 include(PHPWG_ROOT_PATH.'include/page_header.php'); 147 149 148 150 $url_action = PHPWG_ROOT_PATH.'profile.php'; 151 149 152 //----------------------------------------------------- template initialization 150 153 $template->set_filenames(array('profile_body'=>'profile.tpl')); -
trunk/register.php
r808 r850 68 68 // 69 69 $title= $lang['register_page_title']; 70 $page['body_id'] = 'theRegisterPage'; 70 71 include(PHPWG_ROOT_PATH.'include/page_header.php'); 71 72 … … 79 80 'L_CONFIRM_PASSWORD' => $lang['reg_confirm'], 80 81 'L_EMAIL' => $lang['mail_address'], 82 83 'U_HOME' => add_session_id(PHPWG_ROOT_PATH.'category.php'), 81 84 82 85 'F_ACTION' => add_session_id('register.php'), -
trunk/search.php
r773 r850 146 146 // 147 147 $title= $lang['search_title']; 148 $page['body_id'] = 'theSearchPage'; 148 149 include(PHPWG_ROOT_PATH.'include/page_header.php'); 149 150 -
trunk/template/cclear/about.tpl
r820 r850 1 <h2>{PAGE_TITLE}</h2> 2 <div class="menu" style="white-space:normal;margin:10px;"> 3 {L_ABOUT} 1 <div id="content"> 2 3 <div class="titrePage"> 4 <ul class="categoryActions"> 5 <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="./template/cclear/theme/home.png" alt="{lang:home}"/></a></li> 6 </ul> 7 <h2>{lang:About}</h2> 8 </div> 9 10 {lang:about_message} 11 4 12 </div> 5 <div style="text-align:center;margin:5px;">6 <a href="{U_RETURN}" title="{L_RETURN_HINT}">[{L_RETURN}]</a>7 </div>8 <div style="text-align:center;margin:5px;">9 <img src="./template/clear/images/php_sqreuil_artistes.gif" alt="php logo" />10 </div> -
trunk/template/cclear/admin.tpl
r828 r850 1 1 <!-- $Id$ --> 2 2 3 <div id="menubar"> 3 4 <dl> … … 67 68 68 69 <div id="content"> 69 <!--h2>{PAGE_TITLE}</h2-->70 70 <!-- BEGIN errors --> 71 71 <div id="errors"> … … 90 90 {ADMIN_CONTENT} 91 91 </div> 92 93 -
trunk/template/cclear/admin/cat_list.tpl
r837 r850 38 38 <!-- END category --> 39 39 40 <p><input name="submitOrder" type="submit" class="bouton"value="{lang:Save order}" /></p>40 <p><input name="submitOrder" type="submit" value="{lang:Save order}" /></p> 41 41 42 42 </form> … … 45 45 {L_ADD_VIRTUAL} : <input type="text" name="virtual_name" /> 46 46 <input type="hidden" name="rank" value="{NEXT_RANK}"/> 47 <input type="submit" value="{L_SUBMIT}" class="bouton"name="submitAdd" />47 <input type="submit" value="{L_SUBMIT}" name="submitAdd" /> 48 48 </form> -
trunk/template/cclear/admin/cat_perm.tpl
r840 r850 5 5 <form action="{F_ACTION}" method="post" id="categoryPermissions"> 6 6 7 <h 3>{lang:Groups}</h3>7 <h4>{lang:Groups}</h4> 8 8 9 9 <fieldset> … … 27 27 </fieldset> 28 28 29 <h 3>{lang:Users}</h3>29 <h4>{lang:Users}</h4> 30 30 31 31 <fieldset> -
trunk/template/cclear/admin/configuration.tpl
r849 r850 191 191 <tr> 192 192 <td colspan="2" align="center"> 193 <input type="submit" name="submit" class="bouton"value="{L_SUBMIT}">194 <input type="reset" name="reset" class="bouton"value="{L_RESET}">193 <input type="submit" name="submit" value="{L_SUBMIT}"> 194 <input type="reset" name="reset" value="{L_RESET}"> 195 195 </td> 196 196 </tr> -
trunk/template/cclear/admin/element_set_global.tpl
r837 r850 28 28 </ul> 29 29 30 <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit_caddie" class="bouton"/></p>30 <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit_caddie" /></p> 31 31 32 32 </fieldset> … … 153 153 154 154 155 <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit" class="bouton"/></p>155 <p style="text-align:center;"><input type="submit" value="{L_SUBMIT}" name="submit" /></p> 156 156 157 157 </fieldset> -
trunk/template/cclear/admin/group_list.tpl
r820 r850 1 <!-- BEGIN errors --> 2 <div class="errors"> 3 <ul> 4 <!-- BEGIN error --> 5 <li>{errors.error.ERROR}</li> 6 <!-- END error --> 7 </ul> 8 </div> 9 <!-- END errors --> 10 <form method="post" name="post" action="{S_GROUP_ACTION}"> 11 <div class="admin">{L_GROUP_SELECT}</div> 12 <!-- BEGIN select_box --> 13 {S_GROUP_SELECT} <input type="submit" name="edit" value="{L_LOOK_UP}" class="bouton" /> 14 <input type="submit" name="delete" value="{L_GROUP_DELETE}" class="bouton" /> 15 <div style="vertical-align:middle;"> 16 <input type="checkbox" name="confirm_delete" value="1">{L_GROUP_CONFIRM} 17 </div> 18 <!-- END select_box --> 19 <input type="text" name="newgroup"> 20 <input type="submit" class="bouton" name="new" value="{L_CREATE_NEW_GROUP}" /> 21 <br /> 22 <br /> 23 <!-- BEGIN edit_group --> 24 <div class="admin">{L_GROUP_EDIT} [{edit_group.GROUP_NAME}]</div> 25 <table class="table2" width="60%" style="margin-left:20%;"> 26 <tr class="throw"> 27 <th width="25%">{L_USER_NAME}</th> 28 <th width="25%">{L_USER_EMAIL}</th> 29 <th width="10%">{L_USER_SELECT}</th> 30 </tr> 31 <!-- BEGIN user --> 32 <tr class="{edit_group.user.T_CLASS}"> 33 <td>{edit_group.user.NAME}</td> 34 <td>{edit_group.user.EMAIL}</td> 35 <td align="center"><input name="members[]" type="checkbox" value="{edit_group.user.ID}"></td> 1 <h2>{lang:title_groups}</h2> 2 3 <form class="filter" method="post" name="add_user" action="{F_ADD_ACTION}"> 4 <fieldset> 5 <legend>{lang:Add group}</legend> 6 <label>{lang:Group name} <input type="text" name="groupname" maxlength="50" size="20" /></label> 7 <input type="submit" name="submit_add" value="{lang:Add}" /> 8 </fieldset> 9 </form> 10 11 <table class="table2"> 12 <tr class="throw"> 13 <th>{lang:Group name}</th> 14 <th>{lang:Members}</th> 15 <th>{lang:Actions}</th> 36 16 </tr> 37 <!-- END user --> 38 <tr> 39 <td colspan="3" align="right" valign="middle"> 40 <input type="submit" name="deny_user" value="{L_DENY_SELECTED}" class="bouton" /> 41 </td> 42 </tr> 17 <!-- BEGIN group --> 18 <tr class="{group.CLASS}"> 19 <td>{group.NAME}</td> 20 <td><a href="{group.U_MEMBERS}">{group.MEMBERS}</a></td> 21 <td style="text-align:center;"> 22 <a href="{group.U_PERM}"><img src="./template/default/theme/permissions.png" style="border:none" alt="permissions" title="{lang:permissions}" /></a> 23 <a href="{group.U_DELETE}"><img src="./template/default/theme/delete.png" style="border:none" alt="delete" title="{lang:delete}" /></a> 24 </td> 25 </tr> 26 <!-- END group --> 43 27 </table> 44 <div align="left" style="margin-left:20%;">45 <input type="text" name="username" maxlength="50" size="20" />46 <input type="submit" name="add" value="{L_ADD_MEMBER}" class="bouton" />47 <input name="edit_group_id" type="hidden" value="{edit_group.GROUP_ID}">48 <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="bouton" onClick="window.open('{U_SEARCH_USER}', '_phpbbsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" />49 </div>50 <br />51 <!-- END edit_group -->52 </form> -
trunk/template/cclear/admin/group_perm.tpl
r820 r850 1 <!-- BEGIN select_box --> 2 <form method="post" name="post" action="{S_GROUP_ACTION}"> 3 <div class="admin">{L_GROUP_SELECT}</div> 4 {S_GROUP_SELECT} 5 <input type="submit" name="edit" value="{L_LOOK_UP}" class="bouton" /> 1 <h2>{TITLE}</h2> 2 3 <form method="post" action="{F_ACTION}"> 4 {DOUBLE_SELECT} 6 5 </form> 7 <!-- END select_box --> 6 7 <p>{lang:Only private categories are listed}</p> -
trunk/template/cclear/admin/remote_site.tpl
r820 r850 56 56 {L_REMOTE_SITE_CREATE} 57 57 <input type="text" name="galleries_url" value="{F_GALLERIES_URL}" /> 58 <input class="bouton"type="submit" name="submit" value="{L_SUBMIT}" />58 <input type="submit" name="submit" value="{L_SUBMIT}" /> 59 59 </form> 60 60 -
trunk/template/cclear/admin/thumbnail.tpl
r841 r850 99 99 <tr> 100 100 <td colspan="3" style="text-align:center;"> 101 <input type="submit" name="submit" class="bouton"value="{L_SUBMIT}"/>101 <input type="submit" name="submit" value="{L_SUBMIT}"/> 102 102 </td> 103 103 </tr> -
trunk/template/cclear/admin/update.tpl
r849 r850 80 80 81 81 <p class="bottomButtons"> 82 <input type="submit" value="{L_SUBMIT}" name="submit" class="bouton"/>83 <input type="reset" value="{L_RESET}" name="reset" class="bouton"/>82 <input type="submit" value="{L_SUBMIT}" name="submit" /> 83 <input type="reset" value="{L_RESET}" name="reset" /> 84 84 </p> 85 85 -
trunk/template/cclear/admin/user_list.tpl
r827 r850 1 <h 1>{lang:title_liste_users}</h1>1 <h2>{lang:title_liste_users}</h2> 2 2 3 3 <form class="filter" method="post" name="add_user" action="{F_ADD_ACTION}"> … … 6 6 <label>{L_USERNAME} <input type="text" name="login" maxlength="50" size="20" /></label> 7 7 <label>{L_PASSWORD} <input type="text" name="password" /></label> 8 <input type="submit" name="submit_add" value="{L_SUBMIT}" class="bouton"/>8 <input type="submit" name="submit_add" value="{L_SUBMIT}" /> 9 9 </fieldset> 10 10 </form> … … 61 61 </label> 62 62 63 <input type="submit" name="submit_filter" value="{L_SUBMIT}" class="bouton"/>63 <input type="submit" name="submit_filter" value="{L_SUBMIT}" /> 64 64 65 65 </fieldset> … … 69 69 <form method="post" name="preferences" action="{F_PREF_ACTION}"> 70 70 71 <table class="table2" style="width:100%;">71 <table class="table2"> 72 72 <tr class="throw"> 73 <th style="width:1%;"></th>74 <th style="width:20%;">{L_USERNAME}</th>75 <th style="width:20%;">{L_STATUS}</th>76 <th style="width:30%;">{L_EMAIL}</th>77 <th style="width:30%;">{L_GROUPS}</th>78 <th style="width:1%;">{L_ACTIONS}</th>73 <th> </th> 74 <th>{L_USERNAME}</th> 75 <th>{L_STATUS}</th> 76 <th>{L_EMAIL}</th> 77 <th>{lang:Groups}</th> 78 <th>{L_ACTIONS}</th> 79 79 </tr> 80 80 <!-- BEGIN user --> … … 91 91 <!-- END user --> 92 92 </table> 93 93 94 <div class="navigationBar">{NAVBAR}</div> 94 95 … … 96 97 <fieldset> 97 98 <legend>{lang:Deletions}</legend> 98 <input type="checkbox" name="confirm_deletion" value="1" /> {lang:confirm} 99 <input type="submit" value="{lang:Delete selected users}" name="delete" class="bouton" /> 99 <label><input type="checkbox" name="confirm_deletion" value="1" /> {lang:confirm}</label> 100 <input type="submit" value="{lang:Delete selected users}" name="delete" /> 101 </fieldset> 102 103 <fieldset> 104 <legend>{lang:Status}</legend> 105 106 <table> 107 <tr> 108 <td>{L_STATUS}</td> 109 <td> 110 <label><input type="radio" name="status_action" value="leave" checked="checked" /> {lang:leave}</label> 111 <label><input type="radio" name="status_action" value="set" id="status_action_set" /> {lang:set to}</label> 112 <select onmousedown="document.getElementById('status_action_set').checked = true;" name="status" size="1"> 113 <!-- BEGIN pref_status_option --> 114 <option {pref_status_option.SELECTED} value="{pref_status_option.VALUE}">{pref_status_option.CONTENT}</option> 115 <!-- END pref_status_option --> 116 </select> 117 </td> 118 </tr> 119 </table> 120 100 121 </fieldset> 101 122 … … 140 161 <td>{L_NB_IMAGE_LINE}</td> 141 162 <td> 142 < input type="radio" name="nb_image_line_action" value="leave" checked="checked" /> leave unchanged143 < input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set" /> set to163 <label><input type="radio" name="nb_image_line_action" value="leave" checked="checked" /> {lang:leave}</label> 164 <label><input type="radio" name="nb_image_line_action" value="set" id="nb_image_line_action_set" /> {lang:set to}</label> 144 165 <input onmousedown="document.getElementById('nb_image_line_action_set').checked = true;" 145 166 size="3" maxlength="2" type="text" name="nb_image_line" value="{NB_IMAGE_LINE}" /> … … 150 171 <td>{L_NB_LINE_PAGE}</td> 151 172 <td> 152 < input type="radio" name="nb_line_page_action" value="leave" checked="checked" /> leave unchanged153 < input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set" /> set to173 <label><input type="radio" name="nb_line_page_action" value="leave" checked="checked" /> {lang:leave}</label> 174 <label><input type="radio" name="nb_line_page_action" value="set" id="nb_line_page_action_set" /> {lang:set to}</label> 154 175 <input onmousedown="document.getElementById('nb_line_page_action_set').checked = true;" 155 176 size="3" maxlength="2" type="text" name="nb_line_page" value="{NB_LINE_PAGE}" /> … … 160 181 <td>{L_TEMPLATE}</td> 161 182 <td> 162 < input type="radio" name="template_action" value="leave" checked="checked" /> leave unchanged163 < input type="radio" name="template_action" value="set" id="template_action_set" /> set to183 <label><input type="radio" name="template_action" value="leave" checked="checked" /> {lang:leave}</label> 184 <label><input type="radio" name="template_action" value="set" id="template_action_set" /> {lang:set to}</label> 164 185 <select onmousedown="document.getElementById('template_action_set').checked = true;" name="template" size="1"> 165 186 <!-- BEGIN template_option --> … … 173 194 <td>{L_LANGUAGE}</td> 174 195 <td> 175 < input type="radio" name="language_action" value="leave" checked="checked" /> leave unchanged176 < input type="radio" name="language_action" value="set" id="language_action_set" /> set to196 <label><input type="radio" name="language_action" value="leave" checked="checked" /> {lang:leave}</label> 197 <label><input type="radio" name="language_action" value="set" id="language_action_set" /> {lang:set to}</label> 177 198 <select onmousedown="document.getElementById('language_action_set').checked = true;" name="language" size="1"> 178 199 <!-- BEGIN language_option --> … … 186 207 <td>{L_RECENT_PERIOD}</td> 187 208 <td> 188 < input type="radio" name="recent_period_action" value="leave" checked="checked" /> leave unchanged189 < input type="radio" name="recent_period_action" value="set" id="recent_period_action_set" /> set to209 <label><input type="radio" name="recent_period_action" value="leave" checked="checked" /> {lang:leave}</label> 210 <label><input type="radio" name="recent_period_action" value="set" id="recent_period_action_set" /> {lang:set to}</label> 190 211 <input onmousedown="document.getElementById('recent_period_action_set').checked = true;" 191 212 type="text" size="3" maxlength="2" name="recent_period" value="{RECENT_PERIOD}" /> … … 196 217 <td>{L_EXPAND}</td> 197 218 <td> 198 <input type="radio" name="expand_action" value="leave" checked="checked" /> leave unchanged 199 <input type="radio" name="expand_action" value="set" id="expand_action_set" /> set to 200 <input onmousedown="document.getElementById('expand_action_set').checked = true;" 201 type="radio" class="radio" name="expand" value="true" {EXPAND_YES} />{L_YES} 202 <input onmousedown="document.getElementById('expand_action_set').checked = true;" 203 type="radio" class="radio" name="expand" value="false" {EXPAND_NO} />{L_NO} 219 <label><input type="radio" name="expand" value="leave" checked="checked" /> {lang:leave}</label> 220 / {lang:set to} 221 <label><input type="radio" name="expand" value="true" {EXPAND_YES} />{L_YES}</label> 222 <label><input type="radio" name="expand" value="false" {EXPAND_NO} />{L_NO}</label> 204 223 </td> 205 224 </tr> … … 208 227 <td>{L_SHOW_NB_COMMENTS}</td> 209 228 <td> 210 <input type="radio" name="show_nb_comments_action" value="leave" checked="checked" /> leave unchanged 211 <input type="radio" name="show_nb_comments_action" value="set" id="show_nb_comments_action_set" /> set to 212 <input onmousedown="document.getElementById('show_nb_comments_action_set').checked = true;" 213 type="radio" class="radio" name="show_nb_comments" value="true" {SHOW_NB_COMMENTS_YES} />{L_YES} 214 <input onmousedown="document.getElementById('show_nb_comments_action_set').checked = true;" 215 type="radio" class="radio" name="show_nb_comments" value="false" {SHOW_NB_COMMENTS_NO} />{L_NO} 229 <label><input type="radio" name="show_nb_comments" value="leave" checked="checked" /> {lang:leave}</label> 230 / {lang:set to} 231 <label><input type="radio" name="show_nb_comments" value="true" {SHOW_NB_COMMENTS_YES} />{L_YES}</label> 232 <label><input type="radio" name="show_nb_comments" value="false" {SHOW_NB_COMMENTS_NO} />{L_NO}</label> 216 233 </td> 217 234 </tr> … … 220 237 <td>{L_MAXWIDTH}</td> 221 238 <td> 222 < input type="radio" name="maxwidth_action" value="leave" checked="checked" /> leave unchanged223 < input type="radio" name="maxwidth_action" value="unset" /> unset224 < input type="radio" name="maxwidth_action" value="set" id="maxwidth_action_set" /> set to239 <label><input type="radio" name="maxwidth_action" value="leave" checked="checked" /> {lang:leave}</label> 240 <label><input type="radio" name="maxwidth_action" value="unset" /> {lang:unset}</label> 241 <label><input type="radio" name="maxwidth_action" value="set" id="maxwidth_action_set" /> {lang:set to}</label> 225 242 <input onmousedown="document.getElementById('maxwidth_action_set').checked = true;" 226 243 type="text" size="4" maxlength="4" name="maxwidth" value="{MAXWIDTH}" /> … … 232 249 <td>{L_MAXHEIGHT}</td> 233 250 <td> 234 < input type="radio" name="maxheight_action" value="leave" checked="checked" /> leave unchanged235 < input type="radio" name="maxheight_action" value="unset" /> unset236 < input type="radio" name="maxheight_action" value="set" id="maxheight_action_set" /> set to251 <label><input type="radio" name="maxheight_action" value="leave" checked="checked" /> {lang:leave}</label> 252 <label><input type="radio" name="maxheight_action" value="unset" /> {lang:unset}</label> 253 <label><input type="radio" name="maxheight_action" value="set" id="maxheight_action_set" /> {lang:set to}</label> 237 254 <input onmousedown="document.getElementById('maxheight_action_set').checked = true;" 238 255 type="text" size="4" maxlength="4" name="maxheight" value="{maxheight}" /> … … 240 257 </tr> 241 258 242 <tr>243 <td>{L_STATUS}</td>244 <td>245 <input type="radio" name="status_action" value="leave" checked="checked" /> leave unchanged246 <input type="radio" name="status_action" value="set" id="status_action_set" /> set to247 <select onmousedown="document.getElementById('status_action_set').checked = true;" name="status" size="1">248 <!-- BEGIN pref_status_option -->249 <option {pref_status_option.SELECTED} value="{pref_status_option.VALUE}">{pref_status_option.CONTENT}</option>250 <!-- END pref_status_option -->251 </select>252 </td>253 </tr>254 259 255 260 </table> … … 257 262 </fieldset> 258 263 259 <p style="text-align:center;">260 target261 < input type="radio" name="target" value="all" /> all262 < input type="radio" name="target" value="selection" checked="checked" /> selection264 <p> 265 {lang:target} 266 <label><input type="radio" name="target" value="all" /> {lang:all} 267 <label><input type="radio" name="target" value="selection" checked="checked" /> {lang:selection} 263 268 </p> 264 269 265 <p style="text-align:center;">266 <input type="submit" value="{L_SUBMIT}" name="pref_submit" class="bouton"/>267 <input type="reset" value="{L_RESET}" name="pref_reset" class="bouton"/>270 <p> 271 <input type="submit" value="{L_SUBMIT}" name="pref_submit" /> 272 <input type="reset" value="{L_RESET}" name="pref_reset" /> 268 273 </p> 269 274 -
trunk/template/cclear/admin/user_perm.tpl
r820 r850 1 <div class="admin">{L_SELECT_USERNAME}</div> 2 <form method="post" name="post" action="{F_SEARCH_USER_ACTION}"> 3 <input type="text" name="username" maxlength="50" size="20" /> 4 <input type="submit" name="submituser" value="{L_LOOKUP_USER}" class="bouton" /> 5 <input type="submit" name="usersubmit" value="{L_FIND_USERNAME}" class="bouton" onClick="window.open('{U_SEARCH_USER}', '_phpwgsearch', 'HEIGHT=250,resizable=yes,WIDTH=400');return false;" /> 6 </form> 1 <h2>{TITLE}</h2> 2 3 <!-- BEGIN groups --> 4 <fieldset> 5 <legend>{lang:Categories authorized thanks to group associations}</legend> 6 7 <ul> 8 <!-- BEGIN category --> 9 <li>{groups.category.NAME}</li> 10 <!-- END category --> 11 </ul> 12 </fieldset> 13 <!-- END groups --> 14 15 <fieldset> 16 <legend>{lang:Other private categories}</legend> 17 18 <form method="post" action="{F_ACTION}"> 19 {DOUBLE_SELECT} 20 </form> 21 </fieldset> -
trunk/template/cclear/category.tpl
r846 r850 1 1 <!-- $Id$ --> 2 <h1>PhpWebGallery demonstration site</h1>3 4 2 <div id="menubar"> 5 3 <!-- BEGIN links --> … … 85 83 </p> 86 84 <!-- END remember_me --> 87 <p><input type="submit" name="login" value="{L_SUBMIT}" class="bouton"></p>85 <p><input type="submit" name="login" value="{L_SUBMIT}"></p> 88 86 </form> 89 87 <!-- END quickconnect --> -
trunk/template/cclear/comments.tpl
r848 r850 1 <div id="commentsPage"> 2 1 <!-- $Id$ --> 3 2 <div id="content"> 4 3 … … 93 92 94 93 </div> <!-- content --> 95 96 </div> <!-- commentsPage --> -
trunk/template/cclear/content.css
r848 r850 6 6 } 7 7 8 #commentsPage #content { 8 BODY#theCommentsPage #content, 9 BODY#theRegisterPage #content, 10 BODY#theIdentificationPage #content, 11 BODY#theProfilePage #content, 12 BODY#theSearchPage #content, 13 BODY#theAboutPage #content, 14 BODY#theNotificationPage #content 15 { 9 16 margin: 1em; 10 17 } … … 127 134 #content DIV.comment > A.illustration { 128 135 display: block; 129 float: left;136 position: absolute; 130 137 margin: 5px; 131 138 } … … 143 150 text-align: center; 144 151 margin: 0.2em; 145 clear: left;146 152 } 147 153 … … 156 162 padding: 0.5em; 157 163 } 164 -
trunk/template/cclear/default-colors.css
r847 r850 118 118 border: 1px solid gray; 119 119 } 120 .bouton { 121 background-color:#d3d3d3; 122 } 120 123 121 .errors { /* Errors display */ 124 122 color:red; … … 133 131 font-weight:normal; 134 132 } 135 fieldset>legend{133 LEGEND { 136 134 font-style: italic; 137 135 } 138 136 137 FIELDSET { 138 border: 1px solid gray; 139 } -
trunk/template/cclear/default-layout.css
r848 r850 29 29 H2 { 30 30 margin: 0; 31 padding: 5px 10px;31 padding: 5px; 32 32 text-align: left; 33 33 font-size: 120%; … … 68 68 margin: 0 auto 1em auto; 69 69 } 70 form { padding: 0.5em; } 70 71 form { padding: 0em; } 72 71 73 /* form row are dl instead of table rows */ 72 74 form dl { … … 113 115 margin-top: 2em; 114 116 margin-bottom: 2em; 115 }116 117 form table {118 width: 99%; /* IE 6 seems to dislike 100% in admin->user */119 117 } 120 118 .small { … … 149 147 150 148 .table2 { 151 border: 1px solid #000000; 152 margin: auto 10px auto 10px; 153 padding:0px; 154 } 149 border: 1px solid black; 150 margin: 1em auto; 151 padding: 0; 152 } 153 154 .table2 TD, .table2 TH { 155 padding: 0 1em; 156 } 157 155 158 form#add_virtual p { text-align: left; } 156 159 form#categoryOrdering p { … … 182 185 * below the label 183 186 */ 184 FORM.filter FIELDSET { 185 padding: 10px; 187 FIELDSET { 188 padding: 1em; 189 margin: 1em; 186 190 } 187 191 … … 194 198 } 195 199 196 FORM.filter>FIELDSET>LABEL>INPUT, FORM.filter>FIELDSET>LABEL>SELECT { 197 display: block; 198 } 199 200 FORM.filter FIELDSET P, FORM.filter FIELDSET>INPUT { 200 FORM.filter FIELDSET LABEL INPUT, FORM.filter FIELDSET LABEL SELECT { 201 display: block; 202 margin: 0.5em 0; 203 } 204 205 FORM.filter FIELDSET P, FORM.filter FIELDSET INPUT { 201 206 clear: left; 202 207 display: block; 203 208 } 204 209 205 FORM.filter FIELDSET { 206 border: 1px solid gray; 207 } 208 209 FORM.filter FIELDSET + INPUT { 210 margin-top: 10px; 211 } 210 FORM.filter INPUT[type="submit"] { 211 margin-top: 1em; 212 } 213 214 FIELDSET.elementEdit A { 215 display: block; 216 float: right; 217 } 218 219 TABLE.doubleSelect { 220 text-align: center; 221 margin: 0 auto; 222 } 223 224 TABLE.doubleSelect TD { 225 padding: 0 5px; 226 } 227 228 FORM#categoryPermissions LI { 229 display:inline; 230 white-space: nowrap; 231 } 232 233 #theHeader { 234 } 235 236 #theHeader H1 { 237 margin-bottom: 0.5em; 238 } 239 240 #theHeader P { 241 margin-top: 0; 242 padding: 0; 243 } 244 245 BODY#theAdminPage #theHeader P { 246 display: none; 247 } -
trunk/template/cclear/header.tpl
r820 r850 22 22 </head> 23 23 24 <body >24 <body id="{BODY_ID}"> 25 25 <div id="the_page"> 26 27 <div id="theHeader"> 28 <h1>{GALLERY_TITLE}</h1> 29 <p>{GALLERY_DESCRIPTION}</p> 30 </div> -
trunk/template/cclear/identification.tpl
r838 r850 1 <h2>{L_TITLE}</h2> 1 <!-- $Id$ --> 2 <div id="content"> 3 4 <div class="titrePage"> 5 <ul class="categoryActions"> 6 <li><a href="{U_REGISTER}" title="{lang:Create a new account}"><img src="./template/cclear/theme/register.png" alt="{lang:register"/></a></li> 7 <li><a href="{U_HOME}" title="{lang:Go through the gallery as a visitor}"><img src="./template/cclear/theme/home.png" alt="{lang:home}"/></a></li> 8 </ul> 9 <h2>{lang:Identification}</h2> 10 </div> 11 2 12 <div class="formbox"> 3 13 <form action="{F_LOGIN_ACTION}" method="post"> … … 21 31 <!-- END remember_me --> 22 32 </dl> 23 <p><input type="submit" name="login" value="{L_LOGIN}" class="bouton" /></p>33 <p><input type="submit" name="login" value="{L_LOGIN}"></p> 24 34 </form> 25 <!-- BEGIN free_access --> 26 <p><a href="./category.php">[ {L_GUEST} ]</a></p> 27 <a href="register.php"><img src="template/cclear/theme/register.gif" style="border:0;" alt=""/> {L_REGISTER}</a> - 28 <!-- END free_access --> 29 <a href="mailto:{MAIL_ADMIN}?subject=[PhpWebGallery] {L_FORGET}"><img src="template/cclear/theme/lost.gif" style="border:0;" alt=""/> {L_FORGET}</a> 35 <a href="{U_REGISTER}"><img src="template/cclear/theme/register.png" alt=""> {L_REGISTER}</a> 30 36 </div> <!--formbox--> 37 38 </div> <!-- content --> -
trunk/template/cclear/notification.tpl
r837 r850 1 {lang:The RSS notification feed provides notification on news from this website : new pictures, updated categories, new comments. Use a RSS feed reader.} 1 <div id="content"> 2 2 3 <p><a href="{FEED_URL}">{lang:RSS feed}</a></p> 4 <p><a href="{HOME_URL}">{lang:Return to home page}</a></p> 3 <div class="titrePage"> 4 <ul class="categoryActions"> 5 <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="./template/cclear/theme/home.png" alt="{lang:home}"/></a></li> 6 </ul> 7 <h2>{lang:Notification}</h2> 8 </div> 9 10 <p>{lang:The RSS notification feed provides notification on news from this website : new pictures, updated categories, new comments. Use a RSS feed reader.}</p> 11 12 <p><a href="{FEED_URL}">{lang:RSS feed}</a></p> 13 </div> -
trunk/template/cclear/profile.tpl
r837 r850 77 77 </dl> 78 78 79 <p >80 <input type="submit" name="validate" value="{L_SUBMIT}" class="bouton" />81 <input type="reset" name="reset" value="{L_RESET}" class="bouton" />79 <p class="bottomButtons"> 80 <input type="submit" name="validate" value="{L_SUBMIT}"> 81 <input type="reset" name="reset" value="{L_RESET}"> 82 82 </p> 83 83 84 </form> 84 85 -
trunk/template/cclear/register.tpl
r820 r850 1 <h2>{L_TITLE}</h2> 1 <div id="registerPage"> 2 3 <div id="content"> 4 5 <div class="titrePage"> 6 <ul class="categoryActions"> 7 <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="./template/cclear/theme/home.png" alt="{lang:home}"/></a></li> 8 </ul> 9 <h2>{lang:Registration}</h2> 10 </div> 11 2 12 <!-- TO DO --> 3 13 <!-- It's easy, just lok at identification.tpl ;-) --> 4 14 5 <form method="post" action="{F_ACTION}"> 6 <table style="width:60%;" align="center"> 7 <!-- BEGIN errors --> 8 <tr> 9 <td colspan="2"> 10 <div class="errors"> 11 <ul> 12 <!-- BEGIN error --> 13 <li>{errors.error.ERROR}</li> 14 <!-- END error --> 15 </ul> 16 </div> 17 </td> 18 </tr> 15 <!-- BEGIN errors --> 16 <div class="errors"> 17 <ul> 18 <!-- BEGIN error --> 19 <li>{errors.error.ERROR}</li> 20 <!-- END error --> 21 </ul> 22 </div> 19 23 <!-- END errors --> 20 <tr> 21 <td width="60%">{L_USERNAME}</td> 22 <td width="40%"> 23 <input type="text" name="login" value="{F_LOGIN}" /> 24 </td> 25 </tr> 26 <tr> 27 <td >{L_PASSWORD}</td> 28 <td > 29 <input type="password" name="password" /> 30 </td> 31 </tr> 32 <tr> 33 <td >{L_CONFIRM_PASSWORD}</td> 34 <td > 35 <input type="password" name="password_conf" /> 36 </td> 37 </tr> 38 <tr> 39 <td >{L_EMAIL}</td> 40 <td > 41 <input type="text" name="mail_address" value="{F_EMAIL}" /> 42 </td> 43 </tr> 44 <tr> 45 <td colspan="2"> </td> 46 </tr> 47 <tr> 48 <tr> 49 <td colspan="2" align="center"> 50 <input type="submit" name="submit" value="{L_SUBMIT}" class="bouton" /> 51 </td> 52 </tr> 53 <tr> 54 <td colspan="2" align="center"> 55 <a href="./category.php">[ {L_GUEST} ]</a> 56 </td> 57 </tr> 58 </table> 24 25 <form method="post" action="{F_ACTION}" class="filter"> 26 <fieldset> 27 <legend>{lang:Enter your personnal informations}</legend> 28 29 <label>* {lang:Username}<input type="text" name="login" value="{F_LOGIN}"></label> 30 <label>* {lang:Password}<input type="password" name="password"></label> 31 <label>* {lang:Confirm Password}<input type="password" name="password_conf"></label> 32 <label>{lang:Mail address}<input type="text" name="mail_address" value="{F_EMAIL}"></label> 33 </fieldset> 34 35 <p class="bottomButtons"> 36 <input type="submit" name="submit" value="{lang:Register}"> 37 </p> 38 59 39 </form> 40 41 </div> <!-- content --> 42 </div> <!-- registerPage --> -
trunk/template/cclear/search.tpl
r820 r850 1 <h2>{L_SEARCH_TITLE}</h2> 1 <div id="content"> 2 3 <div class="titrePage"> 4 <ul class="categoryActions"> 5 <li><a href="{U_HOME}" title="{lang:return to homepage}"><img src="./template/cclear/theme/home.png" alt="{lang:home}"/></a></li> 6 </ul> 7 <h2>{lang:Search}</h2> 8 </div> 9 2 10 <!-- TO DO --> 3 11 <form method="post" name="post" action="{S_SEARCH_ACTION}"> … … 12 20 <!-- END errors --> 13 21 <table width="100%" align="center" cellpadding="2"> 14 <tr class="admin">15 <th colspan="4">{L_SEARCH_TITLE}</th>16 </tr>17 22 <tr> 18 23 <td width="50%" colspan="2"><b>{L_SEARCH_KEYWORDS} : </b><br /><span class="small">{L_SEARCH_KEYWORDS_HINT}</span></td> … … 130 135 </table> 131 136 </form> 132 <a href="{U_HOME}" title="{L_RETURN_HINT}">[ {L_RETURN} ]</a> 137 138 </div> <!-- content -->
Note: See TracChangeset
for help on using the changeset viewer.