1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-25 07:21:03 +02:00

Fix for missing media-manager category when uploading images for the Site Link Icon or Site Logo.

This commit is contained in:
Cameron
2014-02-18 10:44:42 -08:00
parent 6a8e57bb05
commit 791944d394
3 changed files with 10 additions and 5 deletions

View File

@@ -266,13 +266,13 @@ $text = "
<tr>
<td><label for='sitename'>".PRFLAN_2."</label></td>
<td>
".$frm->text('sitename', $pref['sitename'], 100, 'required=1')."
".$frm->text('sitename', $pref['sitename'], 100, 'required=1&size=xxlarge')."
</td>
</tr>
<tr>
<td><label for='siteurl'>".PRFLAN_3."</label></td>
<td>
".$frm->text('siteurl', $pref['siteurl'], 150)."
".$frm->text('siteurl', $pref['siteurl'], 150, 'required=1&size=xxlarge')."
".($pref['siteurl'] == SITEURL ? "" : "<div class='field-help'>".PRFLAN_159.": <strong>".SITEURL."</strong></div>")."
</td>
</tr>
@@ -313,14 +313,14 @@ $text .= "<div class='field-spacer'>".$tp->parseTemplate("{IMAGESELECTOR={$parms
$sLogo = siteinfo_shortcodes::sc_logo();
*/
$text .= $frm->imagepicker('sitebutton',$pref['sitebutton'],'_common','help=Used by Facebook and others. Should be a square image of at least 144px in width and height.');
$text .= $frm->imagepicker('sitebutton',$pref['sitebutton'],'','help=Used by Facebook and others. Should be a square image of at least 144px in width and height.');
$text .= "
</td>
</tr>
<tr>
<td><label for='sitelogo'>".PRFLAN_214."</label></td>
<td>".$frm->imagepicker('sitelogo',$pref['sitelogo'],'_common','help=Used by some themes as the header image on some pages.')."</td>
<td>".$frm->imagepicker('sitelogo',$pref['sitelogo'],'','help=Used by some themes as the header image on some pages.')."</td>
</tr>
<tr>
<td><label for='sitetag'>".PRFLAN_5."</label></td>