Changeset 270


Ignore:
Timestamp:
Jul 5, 2007 12:27:52 AM (17 years ago)
Author:
quinn
Message:

Updated admin css, tweaked services html.

Location:
trunk
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/bin/module_maker/form_template.cli.php

    r154 r270  
    6565<label for="$field"<\x3fphp \$fv->err('$field') \x3f>><\x3fphp echo _("$title"); \x3f></label>
    6666<select name="$field" id="$field" class="sc-small"><\x3fphp printSelectForm('__///___tbl', "CONCAT(__///___id, '&mdash;', __///__)", '$field', \$frm['$field'], true, 'ORDER BY $field ASC'); \x3f></select>
    67     <span class="commanditem commandtext"><a href="<\x3fphp echo \$app->oHREF('__///__.php?op=add&boomerang=true'); \x3f>" onClick="javascript:return confirm('<\x3fphp echo _("Notice: You are about to leave this form page and any changes you may have made without saving will be lost."); \x3f>')"><\x3fphp echo _("Add __///__") \x3f></a></span>
     67    <span class="commanditem commandtext"><a href="<\x3fphp echo \$app->oHREF('__///__.php?op=add&boomerang=true'); \x3f>" onclick"javascript:return confirm('<\x3fphp echo _("Notice: You are about to leave this form page and any changes you may have made without saving will be lost."); \x3f>')"><\x3fphp echo _("Add __///__") \x3f></a></span>
    6868    <\x3fphp if ('' != \$frm['__///___id']) { \x3f>
    69     <span class="commanditem commandtext"><a href="<\x3fphp echo \$app->oHREF('__///__.php?op=edit&boomerang=true&__///___id=' . \$frm['__///___id']); \x3f>" onClick="javascript:return confirm('<\x3fphp echo _("Notice: You are about to leave this form page and any changes you may have made without saving will be lost."); \x3f>')"><\x3fphp echo sprintf(_("Edit __///__ <em>%s</em>"), \$frm['__///__']) \x3f></a></span>
     69    <span class="commanditem commandtext"><a href="<\x3fphp echo \$app->oHREF('__///__.php?op=edit&boomerang=true&__///___id=' . \$frm['__///___id']); \x3f>" onclick"javascript:return confirm('<\x3fphp echo _("Notice: You are about to leave this form page and any changes you may have made without saving will be lost."); \x3f>')"><\x3fphp echo sprintf(_("Edit __///__ <em>%s</em>"), \$frm['__///__']) \x3f></a></span>
    7070    <\x3fphp } \x3f>
    7171E_O_F;
  • trunk/bin/module_maker/list_template.cli.php

    r247 r270  
    149149    <\x3fphp for (\$i = 0; \$i <= \$page->last_item - \$page->first_item && \$page->total_items > 0; \$i++) { \x3f>
    150150    <tr>
    151         <td class="sc-nowrap"><a title="<\x3fphp printf(_("Edit %s"), oTxt(\$list[\$i]['__///__'])) \x3f>" href="<\x3fphp echo \$app->oHREF(\$_SERVER['PHP_SELF'] . '?op=edit&$primary_key=' . \$list[\$i]['$primary_key']); \x3f>"><img src="/admin/_widgets/edit.gif" alt="Edit" width="14" height="18" border="0"></a> &nbsp;</td>
     151        <td class="sc-nowrap"><a title="<\x3fphp printf(_("Edit %s"), oTxt(\$list[\$i]['__///__'])) \x3f>" href="<\x3fphp echo \$app->oHREF(\$_SERVER['PHP_SELF'] . '?op=edit&$primary_key=' . \$list[\$i]['$primary_key']); \x3f>"><img src="/admin/_widgets/edit.gif" alt="Edit" width="14" height="18" border="0" /></a> &nbsp;</td>
    152152        <td class="sc-nowrap"><a title="<\x3fphp printf(_("Versions of %s"), oTxt(\$list[\$i]['__///__'])) \x3f>" href="<\x3fphp echo \$app->oHREF("/admin/versions.php?record_table=$db_tbl&record_key=$primary_key&boomerang=true&record_val=" . \$list[\$i]['$primary_key']); \x3f>"><img src="/admin/_widgets/subcategory.gif" alt="" width="18" height="14" border="0" /></a> &nbsp;</td>
    153153
     
    164164
    165165echo isset($op) ? '' : <<<E_O_F
    166         <td class="sc-nowrap" align="right"><a title="<\x3fphp printf(_("Delete %s"), oTxt(\$list[\$i]['__///__'])) \x3f>" href="<\x3fphp echo \$app->oHREF(\$_SERVER['PHP_SELF'] . "?op=del&$primary_key=" . \$list[\$i]['$primary_key']); \x3f>" onClick="javascript:return confirm('<\x3fphp printf(_("Are you sure you want to delete the record %s? This action is permanent and cannot be undone."), oTxt(\$list[\$i]['__///__'])) \x3f>')"><img src="/admin/_widgets/delete.gif" alt="Delete" width="16" height="17" border="0"></a> &nbsp;</td>
     166        <td class="sc-nowrap" align="right"><a title="<\x3fphp printf(_("Delete %s"), oTxt(\$list[\$i]['__///__'])) \x3f>" href="<\x3fphp echo \$app->oHREF(\$_SERVER['PHP_SELF'] . "?op=del&$primary_key=" . \$list[\$i]['$primary_key']); \x3f>" onclick"javascript:return confirm('<\x3fphp printf(_("Are you sure you want to delete the record %s? This action is permanent and cannot be undone."), oTxt(\$list[\$i]['__///__'])) \x3f>')"><img src="/admin/_widgets/delete.gif" alt="Delete" width="16" height="17" border="0" /></a> &nbsp;</td>
    167167    </tr>
    168168    <\x3fphp } \x3f>
  • trunk/bin/module_maker/skel/adm_list.ihtml

    r185 r270  
    2828    <?php for ($i = 0; $i <= $page->last_item - $page->first_item && $page->total_items > 0; $i++) { ?>
    2929    <tr>
    30         <td class="sc-padleft sc-nowrap"><a title="<?php printf(_("Edit %s"), oTxt($list[$i]['__///__'])) ?>" href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . '?op=edit&%PRIMARY_KEY%=' . $list[$i]['%PRIMARY_KEY%']); ?>"><img src="/admin/_widgets/edit.gif" alt="Edit" width="14" height="18" border="0"></a> &nbsp;</td>
     30        <td class="sc-padleft sc-nowrap"><a title="<?php printf(_("Edit %s"), oTxt($list[$i]['__///__'])) ?>" href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . '?op=edit&%PRIMARY_KEY%=' . $list[$i]['%PRIMARY_KEY%']); ?>"><img src="/admin/_widgets/edit.gif" alt="Edit" width="14" height="18" border="0" /></a> &nbsp;</td>
    3131        <td class="sc-padleft sc-nowrap"><a title="<?php printf(_("Versions of %s"), oTxt($list[$i]['__///__'])) ?>" href="<?php echo $app->oHREF('/admin/versions.php?record_table=%DB_TBL%&record_key=%PRIMARY_KEY%&boomerang=true&record_val=' . $list[$i]['%PRIMARY_KEY%']); ?>"><img src="/admin/_widgets/subcategory.gif" alt="" width="18" height="14" border="0" /></a> &nbsp;</td>
    3232%ADM_LIST_ROWS%
    33         <td class="sc-padleft sc-nowrap" align="right"><a title="<?php printf(_("Delete %s"), oTxt($list[$i]['__///__'])) ?>" href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . "?op=del&%PRIMARY_KEY%=" . $list[$i]['%PRIMARY_KEY%']); ?>" onClick="javascript:return confirm('<?php printf(_("Are you sure you want to delete the record %s? This action is permanent and cannot be undone."), oTxt($list[$i]['__///__'])) ?>')"><img src="/admin/_widgets/delete.gif" alt="Delete" width="16" height="17" border="0"></a> &nbsp;</td>
     33        <td class="sc-padleft sc-nowrap" align="right"><a title="<?php printf(_("Delete %s"), oTxt($list[$i]['__///__'])) ?>" href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . "?op=del&%PRIMARY_KEY%=" . $list[$i]['%PRIMARY_KEY%']); ?>" onclick"javascript:return confirm('<?php printf(_("Are you sure you want to delete the record %s? This action is permanent and cannot be undone."), oTxt($list[$i]['__///__'])) ?>')"><img src="/admin/_widgets/delete.gif" alt="Delete" width="16" height="17" border="0" /></a> &nbsp;</td>
    3434    </tr>
    3535    <?php } ?>
  • trunk/css/admin.inc.css

    r267 r270  
    3535.help,
    3636.sc-help,
    37 .commandtext { font-size: 70%; }
     37.commandtext,
     38.commanditem { font-size: 70%; }
    3839
    3940/* For fv err applied to tds. */
     
    5152#userinfo {
    5253    width: 98%;
    53     margin: 10px auto 2px;
     54    margin: 4px auto 2px;
    5455    background-color: #fff;
    5556    color: #333;
     
    6061    margin: 0;
    6162    padding: 0;
    62     font-size: 60%;
    6363}
    6464
     
    7979    margin: 0;
    8080    padding: 0;
    81     font-size: 120%;
     81    font-size: 150%;
    8282    color: #000;
    8383}
     
    102102    list-style: none;
    103103    margin: 0;
    104     border-bottom: 1px solid gray;
     104    border-bottom: 1px solid #ccc;
    105105    margin-left: 0em;
    106106    padding: 1px 0 2px 6px;
    107     font: bold 60% Verdana, sans-serif;
     107    font-size: 70%;
     108    font-weight: bold;
    108109}
    109110
     
    115116#leftnav #navlist li.label {
    116117    color: #999;
    117     padding-top: 10px;
    118     font-size: 75%;
    119     font-weight: bold;
     118    padding-top: 15px;
     119    font-size: 90%;
     120    font-weight: bold;
     121}
     122
     123#leftnav a.addlink {
     124    margin-left: 0.5em;
     125    letter-spacing: -0.1em;
     126    font-weight: normal;
    120127}
    121128
     
    126133#leftnav #navlist li a:hover, #navlist li a:active {
    127134    color: #C00;
    128 }
    129 
    130 #leftnav a.addlink {
    131     margin-left: 0.5em;
    132135}
    133136
     
    140143}
    141144
    142 #content h2 {
    143     font-size: 100%;
     145#content h1, #content h2, #content h3, #content h4, #content h5 {
    144146    margin: 0 0 .5em 0;
    145147}
    146 
    147 #content h3 {
    148     font-size: 85%;
    149     margin: 0 0 .5em 0;
    150 }
    151 
    152 #content h4 {
    153     font-size: 70%;
    154     margin: 0 0 .5em 0;
    155 }
     148#content h1 { font-size: 130%; }
     149#content h2 { font-size: 110%; }
     150#content h3 { font-size: 90%; }
     151#content h4 { font-size: 75%; }
    156152
    157153#content p {
     
    184180td {
    185181    vertical-align: top;
    186 /* 
    187182    padding: 8px 6px 0 0;
    188     Why was this here? ///
    189 */
    190183}
    191184
     
    197190
    198191table.list th {
    199     padding-right: 6px;
     192    padding: 0 6px 1px 2px;
    200193    font-size: 70%;
    201     background-color: #CCC;
    202     border-bottom: 1px solid #000;
    203 }
    204 
    205 table.list td {
     194    border-top: 2px solid #eee;
     195    border-bottom: 2px solid #eee;
     196    background-color: #ddd;
     197/*  border-bottom: 1px solid #000; */
     198}
     199
     200table.list td, #commandbox table td {
    206201    font-size: 70%;
    207     padding: 2px;
    208     border-bottom: 1px dotted #000;
    209 }
    210 
    211 table.list tr:hover {
     202    padding: 2px 6px 2px 2px;
     203    border-bottom: 1px dotted #ccc;
     204    vertical-align: top;
     205}
     206
     207table.list tr:hover, #commandbox table tr:hover {
    212208    background: #FAF8C7;
    213209}
     
    255251#commandbox
    256252{
    257     padding: 0 5px 5px 5px;
    258     margin: 0 0 15px 0;
    259     border: black 1px dotted;
    260     background-color: #DDD;
     253    padding: 3px 5px 5px 5px;
     254    margin: 0 0 10px 0;
     255    border: 2px solid #eee;
     256    background-color: #ddd;
    261257    color: inherit;
    262     line-height: 160%;
    263258}
    264259
    265260.commanditem
    266261{
    267     margin: 0 10px 0 0;
     262    padding: 0 10px 5px 0;
    268263    white-space: nowrap;
    269264}
    270265
     266#commandbox .form {
     267    margin-top: 8px;
     268}
     269
     270/* I replaced all instances of commandtext with commanditem on the SC admin, but leave it here for sites I didn't. */
    271271.commandtext
    272272{
     
    297297    background-color: #DDD;
    298298    border-top: 1px solid gray;
    299     font-size: 60%;
     299    font-size: 70%;
    300300    line-height: 100%;
    301301}
  • trunk/css/utilities.inc.css

    r269 r270  
    4242.sc-normal { font-weight: normal; }
    4343.sc-nowrap { white-space: nowrap; }
     44.sc-dim {
     45    filter:alpha(opacity=25);
     46    -moz-opacity:.25;
     47    opacity:.25;
     48}
    4449
    4550/* .sc-pkg class wraps enclosing block element around inner floated elements */
  • trunk/lib/SpellCheck.inc.php

    r176 r270  
    343343                ?>
    344344                <li>
    345                 <select name="spelling_suggestions[<?php echo $form_name ?>][<?php echo $i ?>]" onChange="document.forms[0].elements['spelling_corrections[<?php echo $form_name ?>][<?php echo $i ?>]'].value = this.value;">
     345                <select name="spelling_suggestions[<?php echo $form_name ?>][<?php echo $i ?>]" onchange"document.forms[0].elements['spelling_corrections[<?php echo $form_name ?>][<?php echo $i ?>]'].value = this.value;">
    346346                <?php $original_word = array_shift($words); ?>
    347347                <option value="<?php echo $original_word ?>">(<?php echo $original_word ?>)</option>
  • trunk/services/templates/admin_list.ihtml

    r185 r270  
    11
    22<?php $fv->printErrorMessages(); ?>
    3 <form action="<?php echo oTxt($_SERVER['PHP_SELF']); ?>" method="post">
     3<form action="<?php echo oTxt($_SERVER['PHP_SELF']); ?>" method="get">
    44<?php $app->printHiddenSession(false); ?>
    55<div id="commandbox">
    6     <span class="sc-nowrap commandtext"><a href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . '?op=add'); ?>"><?php echo _("Add administrator"); ?></a></span>
    7     <br />
     6    <span class="sc-nowrap commanditem"><a href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . '?op=add'); ?>"><?php echo _("Add administrator"); ?></a></span>
    87
    9     <input type="text" class="sc-small" size="20" name="search_query" value="<?php echo getFormData('search_query'); ?>" title="<?php echo oTxt(_("Fields searched: Admin id, Username, Userpass, First name, Last name, Email, User type, Login abuse exempt, Blocked, Blocked reason, Abuse warning level, Seconds online, Last login datetime, Last access datetime, Last login ip, Added by user id, Modified by user id, Added datetime, Modified datetime.")); ?>" />
    10     <input type="submit" value="<?php echo _("Search"); ?>" />
     8    <div class="form">
     9        <input type="text" class="sc-small" size="20" name="search_query" value="<?php echo getFormData('search_query'); ?>" title="<?php echo oTxt(_("Fields searched: Admin id, Username, Userpass, First name, Last name, Email.")); ?>" />
     10        <input type="submit" value="<?php echo _("Search"); ?>" />
     11    </div>
    1112</div>
    1213
     
    3132    <?php for ($i = 0; $i <= $page->last_item - $page->first_item && $page->total_items > 0; $i++) { ?>
    3233    <tr>
    33         <td class="sc-padleft sc-nowrap"><a title="<?php printf(_("Edit %s"), oTxt($list[$i]['username'])) ?>" href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . '?op=edit&admin_id=' . $list[$i]['admin_id']); ?>"><img src="/admin/_widgets/edit.gif" alt="Edit" width="14" height="18" border="0"></a> &nbsp;</td>
     34        <td class="sc-padleft sc-nowrap"><a title="<?php printf(_("Edit %s"), oTxt($list[$i]['username'])) ?>" href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . '?op=edit&admin_id=' . $list[$i]['admin_id']); ?>"><img src="/admin/_widgets/edit.gif" alt="Edit" width="14" height="18" border="0" /></a> &nbsp;</td>
    3435        <td class="sc-padleft sc-nowrap"><a title="<?php printf(_("Versions of %s"), oTxt($list[$i]['username'])) ?>" href="<?php echo $app->oHREF('/admin/versions.php?record_table=admin_tbl&record_key=admin_id&boomerang=true&record_val=' . $list[$i]['admin_id']); ?>"><img src="/admin/_widgets/subcategory.gif" alt="" width="18" height="14" border="0" /></a> &nbsp;</td>
    3536        <td class="sc-nowrap"><?php echo oTxt($list[$i]['admin_id'], true); ?> &nbsp;</td>
     
    4950        <td class="sc-nowrap"><?php echo oTxt($list[$i]['added_admin_username'], true); ?> &nbsp;</td>
    5051        <td class="sc-nowrap"><?php echo '0000-00-00 00:00:00' == $list[$i]['modified_datetime'] ? '' : date($app->getParam('date_format'), strtotime($list[$i]['modified_datetime'])); ?> &nbsp;</td>
    51         <td class="sc-padleft sc-nowrap" align="right"><a title="<?php printf(_("Delete %s"), oTxt($list[$i]['username'])) ?>" href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . "?op=del&admin_id=" . $list[$i]['admin_id']); ?>" onClick="javascript:return confirm('<?php printf(_("Are you sure you want to delete the record %s? This action is permanent and cannot be undone."), oTxt($list[$i]['username'])) ?>')"><img src="/admin/_widgets/delete.gif" alt="Delete" width="16" height="17" border="0"></a> &nbsp;</td>
     52        <td class="sc-padleft sc-nowrap" align="right"><a title="<?php printf(_("Delete %s"), oTxt($list[$i]['username'])) ?>" href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . "?op=del&admin_id=" . $list[$i]['admin_id']); ?>" onclick"javascript:return confirm('<?php printf(_("Are you sure you want to delete the record %s? This action is permanent and cannot be undone."), oTxt($list[$i]['username'])) ?>')"><img src="/admin/_widgets/delete.gif" alt="Delete" width="16" height="17" border="0" /></a> &nbsp;</td>
    5253    </tr>
    5354    <?php } ?>
     
    5556
    5657<?php if ($page->total_pages > 1) { ?>
    57 <div class="sc-nowrap commandtext" style="float: right;"><?php echo _("Pages:"); ?>&nbsp;<?php $page->printPageNumbers() ?></div>
     58<div class="sc-nowrap commanditem" style="float: right;"><?php echo _("Pages:"); ?>&nbsp;<?php $page->printPageNumbers() ?></div>
    5859<?php } ?>
    5960</form>
  • trunk/services/templates/list_info.ihtml

    r136 r270  
    11<div>
    22    <?php if ($page->total_pages > 1) { ?>
    3     <span class="sc-nowrap commanditem commandtext" style="float: right;"><?php echo _("Pages:"); ?>&nbsp;<?php $page->printPageNumbers() ?></span>
     3    <span class="sc-nowrap commanditem" style="float: right;"><?php echo _("Pages:"); ?>&nbsp;<?php $page->printPageNumbers() ?></span>
    44    <?php } ?>
    5     <span class="sc-nowrap commanditem commandtext">
     5    <span class="sc-nowrap commanditem">
    66        <?php printf(_("Listing <strong>%s-%s</strong> of <strong>%s</strong> results on <strong>%s</strong> pages"), (0==$page->total_items ? 0 : $page->first_item+1), (0==$page->total_items ? 0 : $page->last_item+1), $page->total_items, $page->total_pages) ?>
    77        &nbsp;&nbsp; <a href="<?php echo $app->oHREF($_SERVER['PHP_SELF'], false); ?>"><?php echo _("List all"); ?></a>
  • trunk/services/templates/log_list.ihtml

    r185 r270  
    1 <form action="<?php echo oTxt($_SERVER['PHP_SELF']); ?>" method="post">
     1<form action="<?php echo oTxt($_SERVER['PHP_SELF']); ?>" method="get">
    22<?php $app->printHiddenSession(false); ?>
    3 
    43<div id="commandbox">
    54<?php if (is_array($logs) && !empty($logs)) { ?>
     
    87    foreach ($logs as $l) {
    98        ?>
    10         <tr class="commandtext">
     9        <tr>
    1110            <td>
    1211                <?php if ($l['filename'] == $tmp_prefs->get('log_file')) { ?>
    13                     <span class="commanditem"><strong><?php echo sprintf(_("%s"), $l['filename']); ?></strong></span>
     12                    <strong class="sc-padright"><?php echo sprintf(_("%s"), $l['filename']); ?></strong>
    1413                <?php } else { ?>
    15                     <span class="commanditem"><a href="<?php echo $app->oHREF('/admin/logs.php?log=' . $l['filename']); ?>"><strong><?php echo sprintf(_("%s"), $l['filename']); ?></strong></a></span>
     14                    <a class="sc-padright" href="<?php echo $app->oHREF('/admin/logs.php?log=' . $l['filename']); ?>"><strong><?php echo sprintf(_("%s"), $l['filename']); ?></strong></a>
    1615                <?php } ?>
    1716            </td>
    1817            <td>
    19                 <span class="commanditem"><em><?php echo sprintf(_("%01.1f KB, last modified %s"), ($l['filesize']/1024), date($app->getParam('date_format'), $l['modified'])); ?></em></span>
     18                <em class="sc-padright"><?php echo sprintf(_("%01.1f KB, last modified %s"), ($l['filesize']/1024), date($app->getParam('date_format'), $l['modified'])); ?></em>
    2019            </td>
    2120            <td>
    22                 <?php if (!preg_match($no_download_files, $l['filename'])) { ?><span class="commanditem"><a href="<?php echo $app->oHREF('/admin/logs.php?op=download&log=' . $l['filename']); ?>"><?php echo _("Download"); ?></a></span><?php } ?>
    23                 <?php if (!preg_match($no_archive_files, $l['filename'])) { ?><span class="commanditem"><a href="<?php echo $app->oHREF('/admin/logs.php?op=archive&log=' . $l['filename']); ?>"><?php echo _("Archive"); ?></a></span><?php } ?>
    24                 <?php if (!preg_match($no_clear_files, $l['filename'])) { ?><span class="commanditem"><a href="<?php echo $app->oHREF('/admin/logs.php?op=clear&log=' . $l['filename']); ?>" onClick="javascript:return confirm('<?php printf(_("Are you sure you want to clear the log file %s? This will empty this file of its contents. This action is not reversible."), $l['filename'])?>')"><?php echo _("Clear"); ?></a></span><?php } ?>
    25                 <?php if (!preg_match($no_delete_files, $l['filename'])) { ?><span class="commanditem"><a href="<?php echo $app->oHREF('/admin/logs.php?op=delete&log=' . $l['filename']); ?>" onClick="javascript:return confirm('<?php printf(_("Are you sure you want to delete the log file %s? This will remove this log file permanently. This action is not reversible."), $l['filename'])?>')"><?php echo _("Delete"); ?></a></span><?php } ?>
     21                <?php if (!preg_match($no_download_files, $l['filename'])) { ?><a class="sc-padright" href="<?php echo $app->oHREF('/admin/logs.php?op=download&log=' . $l['filename']); ?>"><?php echo _("Download"); ?></a><?php } ?>
     22                <?php if (!preg_match($no_archive_files, $l['filename'])) { ?><a class="sc-padright" href="<?php echo $app->oHREF('/admin/logs.php?op=archive&log=' . $l['filename']); ?>"><?php echo _("Archive"); ?></a><?php } ?>
     23                <?php if (!preg_match($no_clear_files, $l['filename'])) { ?><a class="sc-padright" href="<?php echo $app->oHREF('/admin/logs.php?op=clear&log=' . $l['filename']); ?>" onclick"javascript:return confirm('<?php printf(_("Are you sure you want to clear the log file %s? This will empty this file of its contents. This action is not reversible."), $l['filename'])?>')"><?php echo _("Clear"); ?></a><?php } ?>
     24                <?php if (!preg_match($no_delete_files, $l['filename'])) { ?><a href="<?php echo $app->oHREF('/admin/logs.php?op=delete&log=' . $l['filename']); ?>" onclick"javascript:return confirm('<?php printf(_("Are you sure you want to delete the log file %s? This will remove this log file permanently. This action is not reversible."), $l['filename'])?>')"><?php echo _("Delete"); ?></a><?php } ?>
    2625            </td>
    2726        </tr><?php
     
    3029    </table>
    3130<?php } ?>
    32     <input type="text" class="sc-small" size="20" name="search_query" value="<?php echo oTxt(getFormData('search_query')); ?>" title="<?php echo _("All lines in currently viewed log file are searched."); ?>" />
    33     <input type="checkbox" name="search_grep"<?php frmChecked(getFormData('search_grep')) ?> /><span class="commandtext"><?php echo _("Use Grep"); ?></span>
    34     <input type="submit" name="list" value="<?php echo _("Search"); ?>" />
     31    <div class="form">
     32        <input type="text" class="sc-small" size="20" name="search_query" value="<?php echo oTxt(getFormData('search_query')); ?>" title="<?php echo _("All lines in currently viewed log file are searched."); ?>" />
     33        <input type="checkbox" name="search_grep"<?php frmChecked(getFormData('search_grep')) ?> /><label class="sc-normal"><?php echo _("Use Grep"); ?></label>
     34        <input class="sc-padleft" type="submit" name="list" value="<?php echo _("Search"); ?>" />
     35    </div>
    3536</div>
    3637
     
    4647
    4748<?php if ($page->total_pages > 1) { ?>
    48 <div class="sc-nowrap commandtext" style="float: right;"><?php echo _("Pages:"); ?>&nbsp;<?php $page->printPageNumbers() ?></div>
     49<div class="sc-nowrap commanditem" style="float: right;"><?php echo _("Pages:"); ?>&nbsp;<?php $page->printPageNumbers() ?></div>
    4950<?php } ?>
    5051</form>
  • trunk/services/templates/versions_diff.ihtml

    r267 r270  
    11<div id="commandbox">
    22<?php if (!getFormData('current', false)) { ?>
    3     <span class="sc-nowrap commandtext"><a href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . '?op=restore', array('version_id', 'version_title')); ?>"><?php echo _("Restore this saved version"); ?></a></span>
     3    <span class="sc-nowrap commanditem"><a href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . '?op=restore', array('version_id', 'version_title')); ?>"><?php echo _("Restore this saved version"); ?></a></span>
    44<?php } else { ?>
    5     <span class="sc-nowrap commandtext">&nbsp;</span>
     5    <span class="sc-nowrap commanditem">&nbsp;</span>
    66<?php } ?>
    77</div>
    88
    99<?php if (is_array($data) && !empty($data) && is_array($current) && !empty($current)) { ?>
    10 <table class="list" border="0" cellspacing="0" cellpadding="4">
     10<table class="list">
    1111    <tr>
    1212        <th class="sc-padleft"><?php echo _("Field"); ?></th>
  • trunk/services/templates/versions_list.ihtml

    r185 r270  
    22<?php $app->printHiddenSession() ?>
    33<input type="submit" name="op" value="<?php echo _("Cancel"); ?>" />
    4 <table class="list" border="0" cellspacing="0" cellpadding="4">
     4<table class="list">
    55<tr>
    66    <th class="sc-padleft" colspan="3">&nbsp;</th>
  • trunk/services/templates/versions_view.ihtml

    r254 r270  
    11<div id="commandbox">
    2 <span class="sc-nowrap commandtext"><a href="<?php echo $app->ohref(oTxt($_SERVER['PHP_SELF'])); ?>"><?php echo _("Back to the Versions List"); ?></a></span>
     2<span class="sc-nowrap commanditem"><a href="<?php echo $app->ohref(oTxt($_SERVER['PHP_SELF'])); ?>"><?php echo _("Back to the Versions List"); ?></a></span>
    33<?php if (!getFormData('current', false)) { ?>
    4     <span class="sc-nowrap commandtext"><a href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . '?op=restore', array('version_id', 'version_title')); ?>"><?php echo _("Restore this saved version"); ?></a></span>
     4    <span class="sc-nowrap commanditem"><a href="<?php echo $app->oHREF($_SERVER['PHP_SELF'] . '?op=restore', array('version_id', 'version_title')); ?>"><?php echo _("Restore this saved version"); ?></a></span>
    55<?php } ?>
    66</div>
    77
    88<?php if (is_array($data) && !empty($data)) { ?>
    9 <table class="list" border="0" cellspacing="0" cellpadding="4">
     9<table class="list">
    1010<?php
    1111while ((list($k, $v_d) = each($data))) {
Note: See TracChangeset for help on using the changeset viewer.