Changeset 2720:bc400ebfc2e9 for admin/blogs.php
- Timestamp:
- 06/19/14 16:56:47 (11 years ago)
- Branch:
- default
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
admin/blogs.php
r2566 r2720 99 99 { 100 100 if ($core->auth->isSuperAdmin()) { 101 echo '<p class="top-add"><a class="button add" href=" blog.php">'.__('Create a new blog').'</a></p>';101 echo '<p class="top-add"><a class="button add" href="'.$core->adminurl->get("admin.blog").'">'.__('Create a new blog').'</a></p>'; 102 102 } 103 103 104 104 echo 105 '<form action=" blogs.php" method="get" id="filters-form">'.105 '<form action="'.$core->adminurl->get("admin.blogs").'" method="get" id="filters-form">'. 106 106 '<h3 class="hidden">'.__('Filter blogs list').'</h3>'. 107 107 … … 183 183 if ($GLOBALS['core']->auth->isSuperAdmin()) { 184 184 $edit_link = 185 '<a href=" blog.php?id='.$blog_id.'" title="'.sprintf(__('Edit blog settings for %s'),$blog_id).'">'.185 '<a href="'.$core->adminurl->get("admin.blog",array('id' => $blog_id)).'" title="'.sprintf(__('Edit blog settings for %s'),$blog_id).'">'. 186 186 '<img src="images/edit-mini.png" alt="'.__('Edit blog settings').'" /> '.$blog_id.'</a> '; 187 187 } else { … … 198 198 '<tr class="line">'. 199 199 '<td class="nowrap">'.$edit_link.'</td>'. 200 '<td class="maximal"><a href=" index.php?switchblog='.$rs->blog_id.'" '.200 '<td class="maximal"><a href="'.$core->adminurl->get("admin.home",array('switchblog' => $rs->blog_id)).'" '. 201 201 'title="'.sprintf(__('Switch to blog %s'),$rs->blog_id).'">'. 202 202 html::escapeHTML($rs->blog_name).'</a></td>'.
Note: See TracChangeset
for help on using the changeset viewer.