Changeset 2288
- Timestamp:
- Mar 21, 2008, 2:01:25 AM (16 years ago)
- Location:
- trunk
- Files:
-
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/cat_perm.php
r2223 r2288 199 199 $template->set_filename('cat_perm', 'admin/cat_perm.tpl'); 200 200 201 $template->assign _vars(201 $template->assign( 202 202 array( 203 203 'CATEGORIES_NAV' => … … 206 206 'admin.php?page=cat_modify&cat_id=' 207 207 ), 208 'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=cat_perm',209 'F_ACTION' => PHPWG_ROOT_PATH.'admin.php?page=cat_perm&cat='.$page['cat']208 'U_HELP' => get_root_url().'popuphelp.php?page=cat_perm', 209 'F_ACTION' => get_root_url().'admin.php?page=cat_perm&cat='.$page['cat'] 210 210 ) 211 211 ); -
trunk/admin/configuration.php
r2249 r2288 5 5 // | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net | 6 6 // +-----------------------------------------------------------------------+ 7 // | branch : BSF (Best So Far) 8 // | file : $RCSfile$ 7 // | file : $Id$ 9 8 // | last update : $Date$ 10 9 // | last modifier : $Author$ … … 174 173 $action.= '&section='.$page['section']; 175 174 176 $template->assign _vars(175 $template->assign( 177 176 array( 178 177 'U_HELP' => get_root_url().'popuphelp.php?page=configuration', 179 180 178 'F_ACTION'=>$action 181 179 )); -
trunk/admin/help.php
r2126 r2288 3 3 // | PhpWebGallery - a PHP based picture gallery | 4 4 // | Copyright (C) 2002-2003 Pierrick LE GALL - pierrick@phpwebgallery.net | 5 // | Copyright (C) 2003-200 5PhpWebGallery Team - http://phpwebgallery.net |5 // | Copyright (C) 2003-2008 PhpWebGallery Team - http://phpwebgallery.net | 6 6 // +-----------------------------------------------------------------------+ 7 // | branch : BSF (Best So Far) 8 // | file : $RCSfile$ 7 // | file : $Id$ 9 8 // | last update : $Date$ 10 9 // | last modifier : $Author$ … … 33 32 check_status(ACCESS_ADMINISTRATOR); 34 33 35 $template->assign _var('ADMIN_CONTENT', load_language('help.html','','',true) );34 $template->assign('ADMIN_CONTENT', load_language('help.html','','',true) ); 36 35 ?> -
trunk/admin/ws_checker.php
r2260 r2288 210 210 211 211 212 $template->assign _vars(212 $template->assign( 213 213 array( 214 'U_HELP' => PHPWG_ROOT_PATH.'popuphelp.php?page=web_service',214 'U_HELP' => get_root_url().'popuphelp.php?page=web_service', 215 215 ) 216 216 ); -
trunk/include/menubar.inc.php
r2231 r2288 271 271 array( 272 272 'TITLE'=>l10n('hint_search'), 273 'NAME'=>l10n(' search'),273 'NAME'=>l10n('Search'), 274 274 'U_SUMMARY'=> get_root_url().'search.php', 275 275 'REL'=> 'rel="search"' -
trunk/notification.php
r2240 r2288 76 76 ); 77 77 78 include(PHPWG_ROOT_PATH.'include/page_header.php');79 78 $template->set_filenames(array('notification'=>'notification.tpl')); 80 79 81 $template->assign _vars(80 $template->assign( 82 81 array( 83 82 'U_FEED' => $feed_url, 84 83 'U_FEED_IMAGE_ONLY' => $feed_image_only_url, 85 'U_HOME' => make_index_url(),86 84 ) 87 85 ); … … 90 88 // | html code display | 91 89 // +-----------------------------------------------------------------------+ 92 90 include(PHPWG_ROOT_PATH.'include/page_header.php'); 93 91 $template->parse('notification'); 94 92 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/template/yoga/admin/permalinks.tpl
r2223 r2288 2 2 <div class="titrePage"> 3 3 <ul class="categoryActions"> 4 <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}"><img src="{$ themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li>4 <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/help.png" class="button" alt="(?)"></a></li> 5 5 </ul> 6 6 <h2>{'Permalinks'|@translate}</h2> … … 25 25 26 26 <p> 27 <input type="submit" class="submit" name="set_permalink" value="{' submit'|@translate}" {$TAG_INPUT_ENABLED}/>27 <input type="submit" class="submit" name="set_permalink" value="{'Submit'|@translate}" {$TAG_INPUT_ENABLED}/> 28 28 </p> 29 29 </fieldset> … … 37 37 <td>{'Permalink'|@translate} {$SORT_PERMALINK}</td> 38 38 </tr> 39 {foreach from=$permalinks item=permalink }40 <tr >39 {foreach from=$permalinks item=permalink name="permalink_loop"} 40 <tr class="{if $smarty.foreach.permalink_loop.index is odd}row1{else}row2{/if}"> 41 41 <td>{$permalink.id}</td> 42 42 <td>{$permalink.name}</td> … … 65 65 <td>{$permalink.last_hit}</td> 66 66 <td>{$permalink.hit}</td> 67 <td><a href="{$permalink.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" alt=" Delete"></a></td>67 <td><a href="{$permalink.U_DELETE}" {$TAG_INPUT_ENABLED}><img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" alt="[{'delete'|@translate}]" class="button"></a></td> 68 68 </tr> 69 69 {/foreach} -
trunk/template/yoga/default-layout.css
r2135 r2288 10 10 11 11 #the_page { 12 12 /* Just in case another template needs an inner frame */ 13 13 } 14 14 … … 22 22 23 23 H2 { 24 margin: 0; 25 padding: 5px 0.5em 5px 0.5em; 26 text-align: left; 27 font-size: 120%; 28 } 29 H5 { 30 margin: 0; 31 padding: 0 1.5em 0 30%; 32 text-align: right; 33 font-size: 90%; 34 } 24 margin: 0; 25 padding: 5px 0.5em 5px 0.5em; 26 text-align: left; 27 font-size: 120%; 28 } 29 35 30 A { 36 37 31 text-decoration:none; 32 border-bottom: 1px dotted #005e89; 38 33 } 39 34 A:hover { 40 35 border-bottom: 1px solid #858460; 41 36 } 42 37 A.button, A.button:hover { 43 38 border: 0; 44 39 } 45 40 IMG { 46 41 border: none; 47 42 } 48 43 … … 211 206 } 212 207 213 #theHeader P {214 margin-top: 0;215 padding: 0;216 }217 218 FORM#addComment FIELDSET LABEL {219 clear: both;220 }221 222 FORM#addComment FIELDSET INPUT[type="hidden"] {223 display: none;224 }225 226 208 /* button tools */ 227 209 UL.actions { … … 273 255 } 274 256 275 BODY#thePopuphelpPage #theHeader P {276 display: none;277 }278 279 257 BODY#thePopuphelpPage #content P { 280 258 text-align: justify; -
trunk/template/yoga/identification.tpl
r2223 r2288 4 4 <div class="titrePage"> 5 5 <ul class="categoryActions"> 6 <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li>6 <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li> 7 7 {if isset($U_REGISTER) } 8 <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$ themeconf.icon_dir}/register.png" class="button" alt="{'register'|@translate}"/></a></li>8 <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"/></a></li> 9 9 {/if} 10 <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$ themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li>10 <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/home.png" class="button" alt="{'home'|@translate}"/></a></li> 11 11 </ul> 12 12 <h2>{'Identification'|@translate}</h2> … … 55 55 </fieldset> 56 56 57 <p><input class="submit" tabindex="4" type="submit" name="login" value="{' submit'|@translate}"></p>57 <p><input class="submit" tabindex="4" type="submit" name="login" value="{'Submit'|@translate}"></p> 58 58 </form> 59 59 … … 64 64 <p> 65 65 {if isset($U_REGISTER) } 66 <a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$ themeconf.icon_dir}/register.png" class="button" alt=""> {'Register'|@translate}</a>66 <a href="{$U_REGISTER}" title="{'Create a new account'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"> {'Register'|@translate}</a> 67 67 {/if} 68 <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ themeconf.icon_dir}/lost_password.png" class="button" alt=""> {'Forgot your password?'|@translate}</a>68 <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"> {'Forgot your password?'|@translate}</a> 69 69 </p> 70 70 -
trunk/template/yoga/menubar.tpl
r2265 r2288 153 153 <li><a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/lost_password.png" class="button" alt="{'Forgot your password?'|@translate}"></a></li> 154 154 {if isset($U_REGISTER)} 155 <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{' register'|@translate}"/></a></li>155 <li><a href="{$U_REGISTER}" title="{'Create a new account'|@translate}" rel="nofollow"><img src="{$ROOT_URL}{$themeconf.icon_dir}/register.png" class="button" alt="{'Register'|@translate}"/></a></li> 156 156 {/if} 157 157 </ul>
Note: See TracChangeset
for help on using the changeset viewer.