mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 16:36:37 +02:00
spacing tidy up
This commit is contained in:
parent
a4221c1d20
commit
fd9576fb1b
6 changed files with 51 additions and 46 deletions
|
@ -236,7 +236,6 @@ class block_rss_client extends block_base {
|
|||
|
||||
$returnstring .= '<div class="link"><a href="'. $item['link'] .'" target="_blank">'. $item['title'] . '</a></div>' ."\n";
|
||||
|
||||
|
||||
if ($display_description && !empty($item['description'])) {
|
||||
$item['description'] = break_up_long_words($item['description'], 30);
|
||||
$returnstring .= '<div class="description">'.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
<?php //$Id$
|
||||
|
||||
// Print an error page condition
|
||||
require_once('../../config.php');
|
||||
|
||||
$error = required_param('error', PARAM_CLEAN);
|
||||
|
|
|
@ -17,6 +17,7 @@
|
|||
<?php print_string('clientnumentries', 'block_rss_client') ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td align="right">block_rss_timeout:</td>
|
||||
<td>
|
||||
|
@ -31,6 +32,7 @@
|
|||
<?php print_string('timeout', 'block_rss_client') ?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td align="right">block_rss_client_submitters:</td>
|
||||
<td>
|
||||
|
@ -56,13 +58,11 @@
|
|||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
<tr>
|
||||
<td colspan="3" align="center">
|
||||
<input type="submit" value="<?php print_string('savechanges') ?>"></td>
|
||||
</tr>
|
||||
<tr>
|
||||
|
||||
<td colspan="3" align="center"><a href=" <?php echo $CFG->wwwroot; ?>/blocks/rss_client/block_rss_client_action.php?id=<?php
|
||||
if (!isset($id)) {
|
||||
$id = '';
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
<?php
|
||||
<?php // $Id$ //
|
||||
require_once($CFG->libdir .'/rsslib.php');
|
||||
|
||||
$id = optional_param('id', SITEID, PARAM_INT);
|
||||
|
@ -38,6 +38,7 @@ if ($currentaction == 'configblock') {
|
|||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td align="right" width="50%">
|
||||
<?php print_string('shownumentrieslabel', 'block_rss_client') ?>
|
||||
|
@ -56,6 +57,7 @@ if ($currentaction == 'configblock') {
|
|||
?>" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td align="right" width="50%">
|
||||
<?php print_string('choosefeedlabel', 'block_rss_client') ?>
|
||||
|
@ -95,6 +97,7 @@ if ($currentaction == 'configblock') {
|
|||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td align="right" width="50%"><?php print_string('uploadlabel'); ?></td>
|
||||
<?php
|
||||
|
@ -106,6 +109,7 @@ if ($currentaction == 'configblock') {
|
|||
<td width="50%"><input type="text" name="title" size="30" value="<?php echo $title; ?>" />
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td align="right" width="50%"><?php print_string('clientshowchannellinklabel', 'block_rss_client'); ?></td>
|
||||
<td width="50%">
|
||||
|
@ -122,6 +126,7 @@ if ($currentaction == 'configblock') {
|
|||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr valign="top">
|
||||
<td align="right" width="50%"><?php print_string('clientshowimagelabel', 'block_rss_client'); ?></td>
|
||||
<td width="50%">
|
||||
|
@ -138,6 +143,7 @@ if ($currentaction == 'configblock') {
|
|||
?>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td colspan="2" align="center">
|
||||
<input type="submit" value="<?php print_string('savechanges') ?>">
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue