[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm /localize/localize de.pm /publisher lonpubdir.pm
bisitz
bisitz@source.lon-capa.org
Fri, 05 Dec 2008 09:42:00 -0000
bisitz Fri Dec 5 09:42:00 2008 EDT
Modified files:
/loncom/interface loncommon.pm
/loncom/localize/localize de.pm
/loncom/publisher lonpubdir.pm
Log:
Standard style for actions at top of construction space screen:
- Replaced specially styled action elements with new standard divs and fieldsets.
- Removed "Directory Contents" headline (not really needed - it's obvious)
- Removed now unused styles and translation
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.707 loncom/interface/loncommon.pm:1.708
--- loncom/interface/loncommon.pm:1.707 Thu Dec 4 16:56:50 2008
+++ loncom/interface/loncommon.pm Fri Dec 5 09:41:48 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.707 2008/12/04 16:56:50 bisitz Exp $
+# $Id: loncommon.pm,v 1.708 2008/12/05 09:41:48 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4822,24 +4822,6 @@
table.LC_mail_list tr.LC_mail_odd {
}
-table#LC_cstr_controls {
- width: 100%;
- border-collapse: collapse;
-}
-table#LC_cstr_controls tr td {
- border: 4px solid $pgbg;
- padding: 4px;
- text-align: center;
- background: $tabbg;
-}
-table#LC_cstr_controls tr th {
- border: 4px solid $pgbg;
- background: $table_header;
- text-align: center;
- font-family: $sans;
- font-size: smaller;
-}
-
table.LC_data_table tr > td.LC_browser_file,
table.LC_data_table tr > td.LC_browser_file_published {
background: #CCFF88;
Index: loncom/localize/localize/de.pm
diff -u loncom/localize/localize/de.pm:1.172 loncom/localize/localize/de.pm:1.173
--- loncom/localize/localize/de.pm:1.172 Thu Dec 4 17:02:00 2008
+++ loncom/localize/localize/de.pm Fri Dec 5 09:41:54 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# German Localization Lexicon
#
-# $Id: de.pm,v 1.172 2008/12/04 17:02:00 bisitz Exp $
+# $Id: de.pm,v 1.173 2008/12/05 09:41:54 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -7840,9 +7840,6 @@
'Reset All Colors to Default'
=> 'Alle Farben auf Voreinstellung zurücksetzen',
- 'Directory Contents:'
-=> 'Verzeichnis-Inhalt:',
-
'Save and Edit'
=> 'Speichern und weiterbearbeiten',
Index: loncom/publisher/lonpubdir.pm
diff -u loncom/publisher/lonpubdir.pm:1.115 loncom/publisher/lonpubdir.pm:1.116
--- loncom/publisher/lonpubdir.pm:1.115 Fri Nov 28 16:10:26 2008
+++ loncom/publisher/lonpubdir.pm Fri Dec 5 09:41:59 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Construction Space Directory Lister
#
-# $Id: lonpubdir.pm,v 1.115 2008/11/28 16:10:26 bisitz Exp $
+# $Id: lonpubdir.pm,v 1.116 2008/12/05 09:41:59 bisitz Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -105,7 +105,6 @@
my $numres = 0;
# Start off the directory table.
- $r->print('<h3>'.&mt('Directory Contents:').'</h3>');
$r->print(&Apache::loncommon::start_data_table()
.&Apache::loncommon::start_data_table_header_row()
.'<th>'.&mt('Type').'</th>'
@@ -377,42 +376,46 @@
);
my $mytype = $lt{'type'}; # avoid conflict with " and ' in javascript
$r->print(<<END);
- <table id="LC_cstr_controls">
- <tr>
- <th>$lt{'acti'}</th>
- <th>$lt{'updc'}</th>
- <th>$lt{'crea'}</th>
- </tr>
- <tr>
- <td>
- <form name="curractions" method="post" action="">
- <select name="dirtask" onchange="currdiract(this.form)">
+<div class="columnSection">
+ <div>
+ <form name="curractions" method="post" action="">
+ <fieldset>
+ <legend>$lt{'acti'}</legend>
+ <select name="dirtask" onchange="currdiract(this.form)">
<option>$lt{'sela'}</option>
<option value="publish">$lt{'pubd'}</option>
<option value="editmeta">$lt{'edit'}</option>
<option value="printdir">$lt{'prnt'}</option>
<option value="delete">$lt{'dedr'}</option>
- </select>
- <input type="hidden" name="filename" value="/~$uname$thisdisfn/" />
- </form>
- <form name="publishdir" method="post" action="/adm/publish" target="_parent">
- <input type="hidden" name="pubrec" value="" />
- <input type="hidden" name="filename" value="" />
- </form>
- <form name="printdir" method="post" action="/adm/printout" target="_parent">
- <input type="hidden" name="postdata" value="" />
- </form>
- </td>
- <td>
- <form name="upublisher" enctype="multipart/form-data" method="post" action="/adm/upload" target="_parent">
- <input type="hidden" name="filename" value="/~$uname$thisdisfn/" />
- <input type="file" name="upfile" size="20" />
- <input type="button" value="$lt{'uplo'}" onclick="checkUpload(this.form)" />
- </form>
- </td>
- <td>
- <form name="fileaction" method="post" action="/adm/cfile" target="_parent">
- <span style="white-space: nowrap">
+ </select>
+ <input type="hidden" name="filename" value="/~$uname$thisdisfn/" />
+ </fieldset>
+ </form>
+ <form name="publishdir" method="post" action="/adm/publish" target="_parent">
+ <input type="hidden" name="pubrec" value="" />
+ <input type="hidden" name="filename" value="" />
+ </form>
+ <form name="printdir" method="post" action="/adm/printout" target="_parent">
+ <input type="hidden" name="postdata" value="" />
+ </form>
+ </div>
+
+ <div>
+ <form name="upublisher" enctype="multipart/form-data" method="post" action="/adm/upload" target="_parent">
+ <fieldset>
+ <legend>$lt{'updc'}</legend>
+ <input type="hidden" name="filename" value="/~$uname$thisdisfn/" />
+ <input type="file" name="upfile" size="20" />
+ <input type="button" value="$lt{'uplo'}" onclick="checkUpload(this.form)" />
+ </fieldset>
+ </form>
+ </div>
+
+ <div>
+ <form name="fileaction" method="post" action="/adm/cfile" target="_parent">
+ <fieldset>
+ <legend>$lt{'crea'}</legend>
+ <span class="LC_nobreak">
<input type="hidden" name="filename" value="/~$uname$thisdisfn/" />
<script type="text/javascript">
function validate_go() {
@@ -438,10 +441,10 @@
<option value="newdir">$lt{'nsub'}:</option>
</select> <input type="text" name="newfilename" value="$lt{'type'}" onfocus="if (this.value == '$mytype') this.value=''" /> <input type="button" value="Go" onclick="validate_go();" />
</span>
- </form>
- </td>
- </tr>
- </table>
+ </fieldset>
+ </form>
+ </div>
+</div>
END
}